VirtualBox

source: kBuild/trunk/src/kmk/tests/scripts/variables/MAKE@ 2634

Last change on this file since 2634 was 2591, checked in by bird, 13 years ago

kmk: Merged in changes from GNU make 3.82. Previous GNU make base version was gnumake-2008-10-28-CVS.

  • Property svn:eol-style set to LF
File size: 473 bytes
Line 
1# -*-perl-*-
2
3$description = "Test proper behavior of the MAKE variable";
4
5$details = "DETAILS";
6
7run_make_test(q!
8TMP := $(MAKE)
9MAKE := $(subst X=$(X),,$(MAKE))
10all:
11 @echo $(TMP)
12 $(MAKE) -f #MAKEFILE# foo
13
14foo:
15 @echo $(MAKE)
16!,
17 '',
18 "#MAKEPATH#\n#MAKEPATH# -f #MAKEFILE# foo\n"
19 . "#MAKE#[1]: Entering directory `#PWD#'\n"
20 . "#MAKEPATH#\n#MAKE#[1]: Leaving directory `#PWD#'\n");
21
22rmfiles("foo");
23
241;
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette