2004-01-05 13:28:15 +08:00
|
|
|
##===- tools/Makefile --------------------------------------*- Makefile -*-===##
|
2003-10-21 06:29:16 +08:00
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
2007-12-30 04:07:17 +08:00
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
2003-10-21 06:29:16 +08:00
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2004-01-05 13:28:15 +08:00
|
|
|
|
2002-12-06 11:53:40 +08:00
|
|
|
LEVEL := ..
|
2007-02-10 01:02:07 +08:00
|
|
|
# NOTE: The tools are organized into five groups of four consisting of one
|
|
|
|
# large and three small executables. This is done to minimize memory load
|
|
|
|
# in parallel builds. Please retain this ordering.
|
2007-02-10 01:18:42 +08:00
|
|
|
PARALLEL_DIRS := llvm-config \
|
2008-03-25 13:05:58 +08:00
|
|
|
opt llvm-as llvm-dis \
|
2007-02-10 01:02:07 +08:00
|
|
|
llc llvm-ranlib llvm-ar llvm-nm \
|
2008-03-31 02:58:05 +08:00
|
|
|
llvm-ld llvm-prof llvm-link \
|
2008-04-24 06:46:24 +08:00
|
|
|
lli gccas gccld llvm-extract llvm-db \
|
2008-03-23 16:57:20 +08:00
|
|
|
bugpoint llvm-bcanalyzer llvm-stub llvmc2
|
2007-12-09 07:58:46 +08:00
|
|
|
|
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
|
|
|
|
2008-03-01 03:31:29 +08:00
|
|
|
# Disable liblto as it is going away
|
|
|
|
#PARALLEL_DIRS += lto
|
|
|
|
|
|
|
|
# only build new lto project on Darwin for now
|
|
|
|
ifeq ($(OS),Darwin)
|
2008-03-04 01:32:40 +08:00
|
|
|
PARALLEL_DIRS += lto2
|
2006-09-09 02:00:43 +08:00
|
|
|
endif
|
2006-05-31 05:20:55 +08:00
|
|
|
|
2006-09-09 02:33:49 +08:00
|
|
|
include $(LEVEL)/Makefile.common
|