build/pymake/tests/vpath2.mk

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 VPATH = foo bar
     3 $(shell \
     4 mkdir bar; touch bar/test.source; \
     5 sleep 2; \
     6 mkdir foo; touch foo/tfile1; \
     7 touch bar/tfile2 bar/tfile3 bar/test.objtest; \
     8 )
    10 all: tfile1 tfile2 tfile3 test.objtest test.source
    11 	test "$^" = "foo/tfile1 bar/tfile2 bar/tfile3 bar/test.objtest bar/test.source"
    12 	@echo TEST-PASS
    14 tfile3: test.objtest
    16 %.objtest: %.source
    17 	test "$<" = bar/test.source
    18 	test "$@" = test.objtest

mercurial