X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FMakefile;h=59f50fef0bd82440c706e8481fe66f9fd58e298c;hb=7b73a5d6dead3fa765cdde8316a19ac8930cc60d;hp=01ad71116b558127919458804b5e18eb5c1941f2;hpb=b1b9dc35a7705bff13b40182488c03f9ac8b44d5;p=oota-llvm.git diff --git a/lib/Target/Makefile b/lib/Target/Makefile index 01ad71116b5..59f50fef0bd 100644 --- a/lib/Target/Makefile +++ b/lib/Target/Makefile @@ -1,4 +1,4 @@ -##===- lib/Target/Makefile ------------------------------*- Makefile -*-===## +#===- lib/Target/Makefile ----------------------------------*- Makefile -*-===## # # The LLVM Compiler Infrastructure # @@ -6,9 +6,15 @@ # the University of Illinois Open Source License. See LICENSE.TXT for details. # ##===----------------------------------------------------------------------===## + LEVEL = ../.. -DIRS = Sparc X86 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