[llvm-commits] CVS: llvm/test/DSGraphs/Makefile.DSGraphs

Chris Lattner lattner at cs.uiuc.edu
Fri Nov 8 14:49:05 PST 2002


Changes in directory llvm/test/DSGraphs:

Makefile.DSGraphs updated: 1.7 -> 1.8

---
Log message:

Minor tweaks.


---
Diffs of the changes:

Index: llvm/test/DSGraphs/Makefile.DSGraphs
diff -u llvm/test/DSGraphs/Makefile.DSGraphs:1.7 llvm/test/DSGraphs/Makefile.DSGraphs:1.8
--- llvm/test/DSGraphs/Makefile.DSGraphs:1.7	Wed Nov  6 19:51:16 2002
+++ llvm/test/DSGraphs/Makefile.DSGraphs	Fri Nov  8 14:47:40 2002
@@ -1,4 +1,4 @@
-## $Id: Makefile.DSGraphs,v 1.7 2002/11/07 01:51:16 lattner Exp $
+## $Id: Makefile.DSGraphs,v 1.8 2002/11/08 20:47:40 lattner Exp $
 ##---------------------------------------------------------------------------- 
 ## Common makefile rules for testing DSGraph analysis.
 ## 
@@ -8,7 +8,9 @@
 ##    PROGPATH = location from where to copy the *.bc file.
 ##---------------------------------------------------------------------------- 
 
-all: $(PROG:.bc=.ps)
+include $(LEVEL)/test/Makefile.tests
+
+all:: $(PROG:.bc=.ps)
 
 PASS = td
 
@@ -24,17 +26,17 @@
 
 .PRECIOUS: %.lib.bc
 
-%.lib.bc: %.bc ../dummylib.o $(LANALYZE)
+%.lib.bc: %.bc ../dummylib.o
 	link $< ../dummylib.o | opt -internalize -funcresolve -globaldce > $@
 
 
 ANALYZE_OPTS = -stats -time-passes -only-print-main-ds
 
-%.ps: %.lib.bc
+%.ps: %.lib.bc $(LANALYZE)
 	@echo "---------------------------------------------------------------"
 	@echo ">>> ========= " $<
 	@echo "---------------------------------------------------------------"
-	-time analyze -$(PASS)datastructure $(ANALYZE_OPTS) $<  | \
+	-time -p $(LANALYZE) -$(PASS)datastructure $(ANALYZE_OPTS) $<  | \
                  tee $<.analyze$(PASS).out 2>&1
 	-dot -Tps < $(PASS).main.dot > $@
 





More information about the llvm-commits mailing list