build/pymake/tests/submake.makefile2

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

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

mercurial