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