[llvm-commits] [test-suite] r58448 - in /test-suite/trunk: Makefile.programs Makefile.rules

Chris Lattner sabre at nondot.org
Thu Oct 30 11:49:56 PDT 2008


Author: lattner
Date: Thu Oct 30 13:49:56 2008
New Revision: 58448

URL: http://llvm.org/viewvc/llvm-project?rev=58448&view=rev
Log:
add support for using 'make native' as a recursive target.


Modified:
    test-suite/trunk/Makefile.programs
    test-suite/trunk/Makefile.rules

Modified: test-suite/trunk/Makefile.programs
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/Makefile.programs?rev=58448&r1=58447&r2=58448&view=diff

==============================================================================
--- test-suite/trunk/Makefile.programs (original)
+++ test-suite/trunk/Makefile.programs Thu Oct 30 13:49:56 2008
@@ -431,7 +431,7 @@
 JIT_OPTS += -enable-correct-eh-support
 endif
 
-native: $(PROGRAMS_TO_TEST:%=Output/%.native)
+native:: $(PROGRAMS_TO_TEST:%=Output/%.native)
 stripped-bytecode:: $(PROGRAMS_TO_TEST:%=Output/%.llvm.stripped.bc)
 
 ifndef PROGRAMS_HAVE_CUSTOM_RUN_RULES

Modified: test-suite/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/Makefile.rules?rev=58448&r1=58447&r2=58448&view=diff

==============================================================================
--- test-suite/trunk/Makefile.rules (original)
+++ test-suite/trunk/Makefile.rules Thu Oct 30 13:49:56 2008
@@ -123,7 +123,7 @@
 # which are marked as Phony.
 #
 .PHONY: all dynamic bytecodelib install-bytecode-library
-.PHONY: clean distclean install test bytecode prdirs
+.PHONY: clean distclean install test bytecode native prdirs
 
 ###########################################################################
 # Miscellaneous paths and commands:
@@ -462,7 +462,7 @@
 #---------------------------------------------------------
 
 ifdef DIRS
-all install clean test bytecode stripped-bytecode install-bytecode::
+all install clean test bytecode native stripped-bytecode install-bytecode::
 	$(VERB) for dir in ${DIRS}; do \
 		if [ ! -f $$dir/Makefile ]; \
 		then \
@@ -480,10 +480,12 @@
 clean    :: $(addsuffix /.makeclean   , $(PARALLEL_DIRS))
 test     :: $(addsuffix /.maketest    , $(PARALLEL_DIRS))
 bytecode :: $(addsuffix /.makebytecode, $(PARALLEL_DIRS))
+native   :: $(addsuffix /.makenative, $(PARALLEL_DIRS))
 stripped-bytecode :: $(addsuffix /.makestripped-bytecode, $(PARALLEL_DIRS))
 install-bytecode :: $(addsuffix /.makeinstall-bytecode, $(PARALLEL_DIRS))
 
-%/.makeall %/.makeinstall %/.makeclean %/.maketest %/.makebytecode %/.makestripped-bytecode %/.makeinstall-bytecode:
+%/.makeall %/.makeinstall %/.makeclean %/.maketest %/.makebytecode \
+%/.makestripped-bytecode %/.makeinstall-bytecode %/.makenative:
 	$(VERB) if [ ! -f $(@D)/Makefile ]; \
 	then \
 		$(MKDIR) $(@D); \





More information about the llvm-commits mailing list