2004-01-05 13:28:15 +08:00
|
|
|
##===- tools/Makefile --------------------------------------*- Makefile -*-===##
|
2003-10-21 06:29:16 +08:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2004-01-05 13:28:15 +08:00
|
|
|
|
2002-12-06 11:53:40 +08:00
|
|
|
LEVEL := ..
|
2006-08-23 08:12:11 +08:00
|
|
|
# Note .. the tools are organized in triples consisting of one large and two
|
|
|
|
# small executables. This is done to minimize memory load in parallel builds.
|
|
|
|
# Please retain this ordering.
|
|
|
|
PARALLEL_DIRS := llvm-config \
|
|
|
|
opt llvm-as llvm-dis \
|
|
|
|
llc llvm-ranlib llvm-ar \
|
|
|
|
lli llvm-link llvm-nm \
|
|
|
|
bugpoint llvm-db llvm-extract \
|
|
|
|
gccas llvm-bcanalyzer llvm-stub \
|
|
|
|
gccld llvm2cpp \
|
2006-09-09 02:00:43 +08:00
|
|
|
llvm-ld llvmc llvm-prof
|
2006-09-09 02:08:50 +08:00
|
|
|
|
2006-09-09 02:33:49 +08:00
|
|
|
include $(LEVEL)/Makefile.config
|
2006-09-09 02:08:50 +08:00
|
|
|
|
|
|
|
# Disable liblto on non-darwin platforms right now until LLVM is built PIC.
|
2006-09-09 02:00:43 +08:00
|
|
|
ifeq ($(OS), Darwin)
|
|
|
|
PARALLEL_DIRS += lto
|
|
|
|
endif
|
2006-05-31 05:20:55 +08:00
|
|
|
|
2006-09-09 02:33:49 +08:00
|
|
|
include $(LEVEL)/Makefile.common
|