Convert feature of the simple isel over for the pattern isel to use.
[oota-llvm.git] / lib / Target / Makefile
index f4a6908fa1cbc63e6446f06ca1d6b6c1d0d386bc..ae70488a4d0b3c555d177e83536a02be3e58ca57 100644 (file)
@@ -1,4 +1,4 @@
-##===- lib/Target/Makefile ------------------------------*- Makefile -*-===##
+#===- lib/Target/Makefile ----------------------------------*- Makefile -*-===##
 # 
 #                     The LLVM Compiler Infrastructure
 #
@@ -7,8 +7,14 @@
 # 
 ##===----------------------------------------------------------------------===##
 LEVEL = ../..
-DIRS = CBackend X86 SparcV9 PowerPC
-LIBRARYNAME = target
+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
+