X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FMakefile;h=50a360f1f868f520bdafad0ccad739568dfdb67f;hb=11fb1d0eb5f55b4008630ee3f9c64faf6f68f357;hp=6d27a5d68a87ca32362f2a5daf198725d00be465;hpb=c29e6a4f16424ef5bd13793d1f48774413c8dcad;p=oota-llvm.git diff --git a/lib/Target/Makefile b/lib/Target/Makefile index 6d27a5d68a8..50a360f1f86 100644 --- a/lib/Target/Makefile +++ b/lib/Target/Makefile @@ -1,14 +1,20 @@ #===- 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 = ../.. -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