Fix return sequence on armv4 thumb
[oota-llvm.git] / lib / Target / Makefile
index cedd70f68ee3c4211eb1376fafb3270b7003c317..50a360f1f868f520bdafad0ccad739568dfdb67f 100644 (file)
@@ -1,14 +1,20 @@
-##===- lib/Target/Makefile ------------------------------*- Makefile -*-===##
-# 
+#===- lib/Target/Makefile ----------------------------------*- Makefile -*-===##
+#
 #                     The LLVM Compiler Infrastructure
 #
-# This file was developed by the LLVM research group and is distributed under
-# the University of Illinois Open Source License. See LICENSE.TXT for details.
-# 
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
 ##===----------------------------------------------------------------------===##
+
 LEVEL = ../..
-DIRS = CBackend X86 SparcV9 Skeleton
-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