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