Make ARM-specific version of getInlineAsmLength
[oota-llvm.git] / lib / Target / Makefile
index 6d27a5d68a87ca32362f2a5daf198725d00be465..8b75294c5b65ed64b18e3c9231e865c32ecfe304 100644 (file)
@@ -6,9 +6,16 @@
 # the University of Illinois Open Source License. See LICENSE.TXT for details.
 # 
 ##===----------------------------------------------------------------------===##
+
 LEVEL = ../..
-PARALLEL_DIRS = CBackend X86 SparcV9 PowerPC 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
+