summaryrefslogtreecommitdiff
path: root/tools/Makefile
blob: 5eb077d8e200d4e41781713135ef71f805926e1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
##===- tools/Makefile --------------------------------------*- Makefile -*-===##
# 
#                     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.
# 
##===----------------------------------------------------------------------===##

LEVEL := ..
# 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 \
                 llvm-ld llvmc llvm-prof

include $(LEVEL)/Makefile.config

# Disable liblto on non-darwin platforms right now until LLVM is built PIC.
ifeq ($(OS), Darwin)
PARALLEL_DIRS += lto
endif

include $(LEVEL)/Makefile.common