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.)

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

mercurial