[llvm-commits] CVS: llvm-test/External/SPEC/CINT2006/471.omnetpp/Makefile

Chris Lattner lattner at cs.uiuc.edu
Thu Sep 7 23:19:01 PDT 2006



Changes in directory llvm-test/External/SPEC/CINT2006/471.omnetpp:

Makefile updated: 1.4 -> 1.5
---
Log message:

bugfixes, allowing this program to find all its sources


---
Diffs of the changes:  (+10 -2)

 Makefile |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)


Index: llvm-test/External/SPEC/CINT2006/471.omnetpp/Makefile
diff -u llvm-test/External/SPEC/CINT2006/471.omnetpp/Makefile:1.4 llvm-test/External/SPEC/CINT2006/471.omnetpp/Makefile:1.5
--- llvm-test/External/SPEC/CINT2006/471.omnetpp/Makefile:1.4	Thu Sep  7 18:17:18 2006
+++ llvm-test/External/SPEC/CINT2006/471.omnetpp/Makefile	Fri Sep  8 01:18:47 2006
@@ -34,7 +34,9 @@
            chead.cc cnetmod.cc csimul.cc distrib.cc cdetect.cc chist.cc        \
            cobject.cc cstat.cc errmsg.cc cdispstr.cc cksplit.cc coutvect.cc    \
            cstruct.cc onstartup.cc cenum.cc cllist.cc cpacket.cc ctopo.cc      \
-           random.cc std/netpack.cc)
+           random.cc)
+SIMSTDSources := \
+         $(SPEC_BENCH_DIR)/src/libs/sim/std/netpack.cc
 SPECSources   := \
          $(SPEC_BENCH_DIR)/src/libs/spec/spec_qsort.cc
 
@@ -42,6 +44,7 @@
           $(addprefix cmdenv_,$(notdir $(CMDENVSources)))   \
           $(addprefix envir_,$(notdir $(ENVIRSources)))     \
           $(addprefix sim_,$(notdir $(SIMSources)))         \
+          $(addprefix simstd_,$(notdir $(SIMSTDSources)))   \
           $(addprefix spec_,$(notdir $(SPECSources)))
 
 CPPFLAGS += -DNDEBUG=1                            \
@@ -78,7 +81,12 @@
 $(addprefix sim_,$(notdir $(SIMSources))) : sim_% : \
 $(SPEC_BENCH_DIR)/src/libs/sim/%
 	cp $< $@
-$(notdir $(SPECSources)) : % : $(SPEC_BENCH_DIR)/src/libs/spec/%
+$(addprefix simstd_,$(notdir $(SIMSTDSources))) : simstd_% : \
+$(SPEC_BENCH_DIR)/src/libs/sim/std/%
+	cp $< $@
+
+
+$(addprefix spec_,$(notdir $(SPECSources)) ): spec_% : $(SPEC_BENCH_DIR)/src/libs/spec/%
 	cp $< $@
 
 ##===----------------------------------------------------------------------===##






More information about the llvm-commits mailing list