[llvm-commits] CVS: llvm/test/Programs/External/SPEC/Makefile.spec

Chris Lattner lattner at cs.uiuc.edu
Mon Jun 16 07:17:01 PDT 2003


Changes in directory llvm/test/Programs/External/SPEC:

Makefile.spec updated: 1.9 -> 1.10

---
Log message:

Allow individual BMs to define source, add 'bytecode' target


---
Diffs of the changes:

Index: llvm/test/Programs/External/SPEC/Makefile.spec
diff -u llvm/test/Programs/External/SPEC/Makefile.spec:1.9 llvm/test/Programs/External/SPEC/Makefile.spec:1.10
--- llvm/test/Programs/External/SPEC/Makefile.spec:1.9	Wed Jun  4 09:24:58 2003
+++ llvm/test/Programs/External/SPEC/Makefile.spec	Mon Jun 16 07:15:52 2003
@@ -31,7 +31,9 @@
 SPEC_BENCH_DIR := $(SPEC_ROOT)/$(SPEC_SUBDIR)
 
 PROG := $(BENCH_NAME)
-Source := $(wildcard $(SPEC_BENCH_DIR)/src/*.c $(SPEC_BENCH_DIR)/src/*.cc) \
+ifndef Source
+Source := $(wildcard $(SPEC_BENCH_DIR)/src/*.c $(SPEC_BENCH_DIR)/src/*.cc)
+endif
 
 # Disable the default Output/%.out-* targets...
 PROGRAMS_HAVE_CUSTOM_RUN_RULES := 1
@@ -105,3 +107,7 @@
              ../../$(RUNSAFELY) $(STDIN_FILENAME) $(STDOUT_FILENAME) \
                   ../../$< $(RUN_OPTIONS)
 	-(cd Output/cbe-$(RUN_TYPE); cat $(LOCAL_OUTPUTS)) > $@
+
+# Pseudo target to build just the bytecode file.
+bytecode: Output/$(PROG).llvm.bc
+





More information about the llvm-commits mailing list