1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/config/tests/makefiles/autodeps/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +# -*- makefile -*- 1.5 +# 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this file, 1.8 +# You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 +# 1.10 + 1.11 +export STANDALONE_MAKEFILE=1 1.12 +PYTHON ?= python 1.13 +PYTEST = $(PYTHON) -E 1.14 + 1.15 +# python -B not supported by older interpreters 1.16 +export PYTHONDONTWRITEBYTECODE=1 1.17 + 1.18 +include $(topsrcdir)/config/rules.mk 1.19 + 1.20 +autotgt_tests = .deps/autotargets.mk.ts 1.21 + 1.22 +tgts =\ 1.23 + .deps/.mkdir.done\ 1.24 + $(autotgt_tests) 1.25 + $(NULL) 1.26 + 1.27 +export MAKE 1.28 +export .PYMAKE 1.29 + 1.30 +##------------------_## 1.31 +##---] TARGETS [---## 1.32 +##------------------_## 1.33 +all:: 1.34 + 1.35 +check:: $(tgts) 1.36 + 1.37 +# Only run unit test when autotargets.mk is modified 1.38 +$(autotgt_tests): $(topsrcdir)/config/makefiles/autotargets.mk 1.39 + $(PYTEST) $(srcdir)/check_mkdir.tpy 1.40 + @$(TOUCH) $@