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 | # -*- Mode: Makefile -*- |
michael@0 | 2 | |
michael@0 | 3 | $(info MAKEFLAGS = '$(MAKEFLAGS)') |
michael@0 | 4 | $(info MAKE = '$(MAKE)') |
michael@0 | 5 | $(info value MAKE = "$(value MAKE)") |
michael@0 | 6 | |
michael@0 | 7 | shellresult := $(shell echo -n $$EVAR) |
michael@0 | 8 | ifneq ($(shellresult),eval) |
michael@0 | 9 | $(error EVAR should be eval, is instead $(shellresult)) |
michael@0 | 10 | endif |
michael@0 | 11 | |
michael@0 | 12 | all: |
michael@0 | 13 | env |
michael@0 | 14 | test "$(MAKELEVEL)" = "1" |
michael@0 | 15 | echo "value(MAKE)" '$(value MAKE)' |
michael@0 | 16 | echo "value(MAKE_COMMAND)" = '$(value MAKE_COMMAND)' |
michael@0 | 17 | test "$(origin CVAR)" = "command line" |
michael@0 | 18 | test "$(CVAR)" = "c val=spac\ed" |
michael@0 | 19 | test "$(origin EVAR)" = "environment" |
michael@0 | 20 | test "$(EVAR)" = "eval" |
michael@0 | 21 | test "$(OVAL)" = "cline" |
michael@0 | 22 | test "$(OVAL2)" = "cline2" |
michael@0 | 23 | test "$(ALLVAR)" = "allspecific" |
michael@0 | 24 | @echo TEST-PASS |