[llvm-commits] CVS: llvm/test/Programs/Makefile.dummylib TEST.dsgraph.Makefile

Chris Lattner lattner at cs.uiuc.edu
Sat Feb 8 14:44:00 PST 2003


Changes in directory llvm/test/Programs:

Makefile.dummylib added (r1.1)
TEST.dsgraph.Makefile updated: 1.6 -> 1.7

---
Log message:

Factor makefile code out into Makefile.dummylib


---
Diffs of the changes:

Index: llvm/test/Programs/TEST.dsgraph.Makefile
diff -u llvm/test/Programs/TEST.dsgraph.Makefile:1.6 llvm/test/Programs/TEST.dsgraph.Makefile:1.7
--- llvm/test/Programs/TEST.dsgraph.Makefile:1.6	Fri Jan 17 17:25:08 2003
+++ llvm/test/Programs/TEST.dsgraph.Makefile	Sat Feb  8 14:43:46 2003
@@ -5,25 +5,11 @@
 #
 ##===----------------------------------------------------------------------===##
 
+# We require the programs to be linked with libdummy
+include $(LEVEL)/test/Programs/Makefile.dummylib
+
 # PASS - The dsgraph pass to run: ds, bu, td
 PASS := td
-
-# DUMMYLIB - The path to the library of stub functions which is used to resolve
-# external functions for dsanalysis.
-#
-DUMMYLIB := $(LEVEL)/test/Libraries/Output/libdummy.bc
-DUMMYSRC := $(LEVEL)/test/Libraries/libdummy
-
-# Rebuild dummylib if neccesary...
-$(DUMMYLIB) : $(wildcard $(DUMMYSRC)/*.c)
-	cd $(DUMMYSRC); $(MAKE)
-
-# LINKED_PROGS - All of the programs linked to libdummy
-LINKED_PROGS := $(PROGRAMS_TO_TEST:%=Output/%.lib.bc)
-
-IPO_OPTS := -internalize -funcresolve -globaldce 
-$(LINKED_PROGS): Output/%.lib.bc: Output/%.llvm.bc $(DUMMYLIB)
-	$(LLINK) $< $(DUMMYLIB) | $(LOPT) $(IPO_OPTS) > $@ 
 
 ANALYZE_OPTS := -stats -time-passes -only-print-main-ds -dsstats -instcount
 





More information about the llvm-commits mailing list