diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-04-22 17:20:11 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-04-22 17:20:11 +0000 |
commit | e4481c7c82efe9a4f0c64b064db5c013c45859fd (patch) | |
tree | d6f6e51bb55bb4b0b4613ccdc387b487d87ad5b9 /llvm/lib/Target/Makefile | |
parent | ce9612b23c9612300d11c0d5b0c69498c74e2ca0 (diff) | |
download | bcm5719-llvm-e4481c7c82efe9a4f0c64b064db5c013c45859fd.tar.gz bcm5719-llvm-e4481c7c82efe9a4f0c64b064db5c013c45859fd.zip |
Implement the --enable-targets= feature of the configure script. The make
variable TARGETS_TO_BUILD is used to determine which targets in lib/Target
are built and which libraries are linked into llc. This effectively
implements the feature. One item remains: disabling targets in the dejagnu
test suite.
llvm-svn: 21450
Diffstat (limited to 'llvm/lib/Target/Makefile')
-rw-r--r-- | llvm/lib/Target/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/llvm/lib/Target/Makefile b/llvm/lib/Target/Makefile index 5b69f49b2eb..ae70488a4d0 100644 --- a/llvm/lib/Target/Makefile +++ b/llvm/lib/Target/Makefile @@ -7,8 +7,14 @@ # ##===----------------------------------------------------------------------===## LEVEL = ../.. -PARALLEL_DIRS = CBackend X86 SparcV8 SparcV9 PowerPC Alpha IA64 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 + |