[llvm-commits] CVS: llvm/test/Makefile.tests
John Criswell
criswell at cs.uiuc.edu
Thu Sep 11 13:06:02 PDT 2003
Changes in directory llvm/test:
Makefile.tests updated: 1.78 -> 1.79
---
Log message:
Fixed SPEC so that it would run correctly with the new autoconf-style object
directory.
Cleaned up the Makefile so that it uses VPATH to find source files.
---
Diffs of the changes:
Index: llvm/test/Makefile.tests
diff -u llvm/test/Makefile.tests:1.78 llvm/test/Makefile.tests:1.79
--- llvm/test/Makefile.tests:1.78 Sat Sep 6 10:12:21 2003
+++ llvm/test/Makefile.tests Thu Sep 11 13:04:19 2003
@@ -85,23 +85,14 @@
$(RM) -rf Output/
# Compile from X.c to Output/X.ll
-Output/%.ll: $(SourceDir)/%.c $(LCC1) Output/.dir $(INCLUDES)
- $(LCC) $(CPPFLAGS) $(LCCFLAGS) -S $< -o $@
-
Output/%.ll: %.c $(LCC1) Output/.dir $(INCLUDES)
$(LCC) $(CPPFLAGS) $(LCCFLAGS) -S $< -o $@
# Compile from X.cpp to Output/X.ll
-Output/%.ll: $(SourceDir)/%.cpp $(LCC1XX) Output/.dir $(INCLUDES)
- $(LCXX) $(CPPFLAGS) $(LCXXFLAGS) -S $< -o $@
-
Output/%.ll: %.cpp $(LCC1XX) Output/.dir $(INCLUDES)
$(LCXX) $(CPPFLAGS) $(LCXXFLAGS) -S $< -o $@
# Compile from X.cc to Output/X.ll
-Output/%.ll: $(SourceDir)/%.cc $(LCC1XX) Output/.dir $(INCLUDES)
- $(LCXX) $(CPPFLAGS) $(LCXXFLAGS) -S $< -o $@
-
Output/%.ll: %.cc $(LCC1XX) Output/.dir $(INCLUDES)
$(LCXX) $(CPPFLAGS) $(LCXXFLAGS) -S $< -o $@
@@ -114,25 +105,15 @@
# LLVM Assemble from X.ll to Output/X.bc. Because we are coming directly from
# LLVM source, use the non-transforming assembler.
#
-Output/%.bc: $(SourceDir)/%.ll $(LAS) Output/.dir
+Output/%.bc: %.ll $(LAS) Output/.dir
$(LAS) -f $< -o $@
#
# Testing versions of provided utilities...
#
-Output/%.tll: $(SourceDir)/%.c $(LCC1) Output/.dir $(INCLUDES)
- @echo "======== Compiling $<"
- $(LCC) $(CPPFLAGS) $(LCCFLAGS) -S $< -o $@ || \
- ( rm -f $@; $(FAILURE) $@ )
-
Output/%.tll: %.c $(LCC1) Output/.dir $(INCLUDES)
@echo "======== Compiling $<"
$(LCC) $(CPPFLAGS) $(LCCFLAGS) -S $< -o $@ || \
- ( rm -f $@; $(FAILURE) $@ )
-
-Output/%.tll: $(SourceDir)/%.cpp $(LCC1XX) Output/.dir $(INCLUDES)
- @echo "======== Compiling $<"
- $(LCXX) $(CPPFLAGS) $(LCXXFLAGS) -S $< -o $@ || \
( rm -f $@; $(FAILURE) $@ )
Output/%.tll: %.cpp $(LCC1XX) Output/.dir $(INCLUDES)
More information about the llvm-commits
mailing list