2004-01-05 05:28:15 +00:00
|
|
|
##===- tools/Makefile --------------------------------------*- Makefile -*-===##
|
2003-10-20 22:29:16 +00: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 05:28:15 +00:00
|
|
|
|
2002-12-06 03:53:40 +00:00
|
|
|
LEVEL := ..
|
2006-08-23 00:12:11 +00: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.
|
2006-12-02 04:46:36 +00:00
|
|
|
PARALLEL_DIRS := llvm-config llvm-upgrade \
|
2006-08-23 00:12:11 +00:00
|
|
|
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-08 18:00:43 +00:00
|
|
|
llvm-ld llvmc llvm-prof
|
2006-09-08 18:08:50 +00:00
|
|
|
|
2006-09-08 18:33:49 +00:00
|
|
|
include $(LEVEL)/Makefile.config
|
2006-09-08 18:08:50 +00:00
|
|
|
|
|
|
|
# Disable liblto on non-darwin platforms right now until LLVM is built PIC.
|
2006-09-08 18:00:43 +00:00
|
|
|
ifeq ($(OS), Darwin)
|
|
|
|
PARALLEL_DIRS += lto
|
|
|
|
endif
|
2006-05-30 21:20:55 +00:00
|
|
|
|
2006-09-08 18:33:49 +00:00
|
|
|
include $(LEVEL)/Makefile.common
|