Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | # -*- makefile -*- |
michael@0 | 2 | # |
michael@0 | 3 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | # License, v. 2.0. If a copy of the MPL was not distributed with this file, |
michael@0 | 5 | # You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | # |
michael@0 | 7 | |
michael@0 | 8 | export STANDALONE_MAKEFILE=1 |
michael@0 | 9 | PYTHON ?= python |
michael@0 | 10 | PYTEST = $(PYTHON) -E |
michael@0 | 11 | |
michael@0 | 12 | # python -B not supported by older interpreters |
michael@0 | 13 | export PYTHONDONTWRITEBYTECODE=1 |
michael@0 | 14 | |
michael@0 | 15 | include $(topsrcdir)/config/rules.mk |
michael@0 | 16 | |
michael@0 | 17 | autotgt_tests = .deps/autotargets.mk.ts |
michael@0 | 18 | |
michael@0 | 19 | tgts =\ |
michael@0 | 20 | .deps/.mkdir.done\ |
michael@0 | 21 | $(autotgt_tests) |
michael@0 | 22 | $(NULL) |
michael@0 | 23 | |
michael@0 | 24 | export MAKE |
michael@0 | 25 | export .PYMAKE |
michael@0 | 26 | |
michael@0 | 27 | ##------------------_## |
michael@0 | 28 | ##---] TARGETS [---## |
michael@0 | 29 | ##------------------_## |
michael@0 | 30 | all:: |
michael@0 | 31 | |
michael@0 | 32 | check:: $(tgts) |
michael@0 | 33 | |
michael@0 | 34 | # Only run unit test when autotargets.mk is modified |
michael@0 | 35 | $(autotgt_tests): $(topsrcdir)/config/makefiles/autotargets.mk |
michael@0 | 36 | $(PYTEST) $(srcdir)/check_mkdir.tpy |
michael@0 | 37 | @$(TOUCH) $@ |