[llvm-commits] CVS: llvm/tools/lto/Makefile

Devang Patel dpatel at apple.com
Wed Jan 31 17:19:13 PST 2007



Changes in directory llvm/tools/lto:

Makefile updated: 1.7 -> 1.8
---
Log message:

Include Makefile.config before testing OS.


---
Diffs of the changes:  (+5 -5)

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


Index: llvm/tools/lto/Makefile
diff -u llvm/tools/lto/Makefile:1.7 llvm/tools/lto/Makefile:1.8
--- llvm/tools/lto/Makefile:1.7	Mon Jan  8 00:25:29 2007
+++ llvm/tools/lto/Makefile	Wed Jan 31 19:18:57 2007
@@ -10,6 +10,11 @@
 LEVEL = ../..
 LIBRARYNAME = LLVMlto
 
+# Include this here so we can get the configuration of the targets
+# that have been configured for construction. We have to do this 
+# early so we can set up LINK_COMPONENTS before includeing Makefile.rules
+include $(LEVEL)/Makefile.config
+
 LINK_LIBS_IN_SHARED = 1
 ifeq ($(OS),Darwin)
   SHARED_LIBRARY = 1
@@ -19,11 +24,6 @@
   BUILD_ARCHIVE = 1
 endif
 
-# Include this here so we can get the configuration of the targets
-# that have been configured for construction. We have to do this 
-# early so we can set up LINK_COMPONENTS before includeing Makefile.rules
-include $(LEVEL)/Makefile.config
-
 LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bcreader bcwriter
 
 include $(LEVEL)/Makefile.common






More information about the llvm-commits mailing list