[llvm-commits] CVS: llvm/lib/Target/Sparc/Makefile

John Criswell criswell at choi.cs.uiuc.edu
Mon Jun 30 10:17:01 PDT 2003


Changes in directory llvm/lib/Target/Sparc:

Makefile updated: 1.23.2.1 -> 1.23.2.2

---
Log message:

Modified the Makefiles so that dependency rules use .lo files (libtool) as
opposed to .o files to determine if targets are out of date.
Note that the generated header file dependencies aren't handled properly yet.


---
Diffs of the changes:

Index: llvm/lib/Target/Sparc/Makefile
diff -u llvm/lib/Target/Sparc/Makefile:1.23.2.1 llvm/lib/Target/Sparc/Makefile:1.23.2.2
--- llvm/lib/Target/Sparc/Makefile:1.23.2.1	Mon Jun 23 14:07:07 2003
+++ llvm/lib/Target/Sparc/Makefile	Mon Jun 30 10:16:11 2003
@@ -14,15 +14,24 @@
 Debug/Sparc.burm.cpp: Debug/Sparc.burm Debug/.dir
 	$(RunBurg) $< -o $@
 
-$(BUILD_OBJ_DIR)/Debug/Sparc.burm.o: Debug/Sparc.burm.cpp
+$(BUILD_OBJ_DIR)/Debug/Sparc.burm.lo: Debug/Sparc.burm.cpp
 	$(CompileG) $< -o $@
 
-$(BUILD_OBJ_DIR)/Release/Sparc.burm.o: Debug/Sparc.burm.cpp
+$(BUILD_OBJ_DIR)/Release/Sparc.burm.lo: Debug/Sparc.burm.cpp
 	$(CompileO) $< -o $@
 
-$(BUILD_OBJ_DIR)/Profile/Sparc.burm.o: Debug/Sparc.burm.cpp
+$(BUILD_OBJ_DIR)/Profile/Sparc.burm.lo: Debug/Sparc.burm.cpp
 	$(CompileP) $< -o $@
 
+#$(BUILD_OBJ_DIR)/Debug/Sparc.burm.o: Debug/Sparc.burm.cpp
+#	$(CompileG) $< -o $@
+
+#$(BUILD_OBJ_DIR)/Release/Sparc.burm.o: Debug/Sparc.burm.cpp
+#	$(CompileO) $< -o $@
+
+#$(BUILD_OBJ_DIR)/Profile/Sparc.burm.o: Debug/Sparc.burm.cpp
+#	$(CompileP) $< -o $@
+
 Debug/Sparc.burg.in1 : Sparc.burg.in Debug/.dir
 	$(CXX) -E -I$(LEVEL)/include $(DEBUG_FLAG) -x c++ $< | ${SED} '/^# /d' | ${SED} 's/Ydefine/#define/' > $@
 
@@ -40,3 +49,4 @@
 
 clean::
 	${RM} -f SparcV9CodeEmitter.inc
+





More information about the llvm-commits mailing list