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

Reid Spencer reid at x10sys.com
Fri Apr 22 10:20:23 PDT 2005



Changes in directory llvm/lib/Target:

Makefile updated: 1.23 -> 1.24
---
Log message:

Implement the --enable-targets= feature of the configure script. The make
variable TARGETS_TO_BUILD is used to determine which targets in lib/Target
are built and which libraries are linked into llc. This effectively 
implements the feature. One item remains: disabling targets in the dejagnu
test suite.


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

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


Index: llvm/lib/Target/Makefile
diff -u llvm/lib/Target/Makefile:1.23 llvm/lib/Target/Makefile:1.24
--- llvm/lib/Target/Makefile:1.23	Thu Mar 17 12:29:04 2005
+++ llvm/lib/Target/Makefile	Fri Apr 22 12:20:11 2005
@@ -7,8 +7,14 @@
 # 
 ##===----------------------------------------------------------------------===##
 LEVEL = ../..
-PARALLEL_DIRS = CBackend X86 SparcV8 SparcV9 PowerPC Alpha IA64 Skeleton
 LIBRARYNAME = LLVMTarget
 BUILD_ARCHIVE = 1
 
-include $(LEVEL)/Makefile.common
+# We include this early so we can access the value of TARGETS_TO_BUILD as the
+# value for PARALLEL_DIRS which must be set before Makefile.rules is included
+include $(LEVEL)/Makefile.config
+
+PARALLEL_DIRS := $(TARGETS_TO_BUILD)
+
+include $(LLVM_SRC_ROOT)/Makefile.rules
+






More information about the llvm-commits mailing list