michael@0: # -*- makefile -*- michael@0: # michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: # You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: # michael@0: michael@0: export STANDALONE_MAKEFILE=1 michael@0: PYTHON ?= python michael@0: PYTEST = $(PYTHON) -E michael@0: michael@0: # python -B not supported by older interpreters michael@0: export PYTHONDONTWRITEBYTECODE=1 michael@0: michael@0: include $(topsrcdir)/config/rules.mk michael@0: michael@0: autotgt_tests = .deps/autotargets.mk.ts michael@0: michael@0: tgts =\ michael@0: .deps/.mkdir.done\ michael@0: $(autotgt_tests) michael@0: $(NULL) michael@0: michael@0: export MAKE michael@0: export .PYMAKE michael@0: michael@0: ##------------------_## michael@0: ##---] TARGETS [---## michael@0: ##------------------_## michael@0: all:: michael@0: michael@0: check:: $(tgts) michael@0: michael@0: # Only run unit test when autotargets.mk is modified michael@0: $(autotgt_tests): $(topsrcdir)/config/makefiles/autotargets.mk michael@0: $(PYTEST) $(srcdir)/check_mkdir.tpy michael@0: @$(TOUCH) $@