blob: d742f41bd65caf8dff27b692eec803e17dd39719 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001##===- tools/Makefile --------------------------------------*- Makefile -*-===##
2#
3# The LLVM Compiler Infrastructure
4#
Chris Lattnere692fc82007-12-29 20:07:17 +00005# This file is distributed under the University of Illinois Open Source
6# License. See LICENSE.TXT for details.
Dan Gohmanf17a25c2007-07-18 16:29:46 +00007#
8##===----------------------------------------------------------------------===##
9
10LEVEL := ..
11# NOTE: The tools are organized into five groups of four consisting of one
12# large and three small executables. This is done to minimize memory load
13# in parallel builds. Please retain this ordering.
14PARALLEL_DIRS := llvm-config \
Tanya Lattner984b1292008-03-25 05:05:58 +000015 opt llvm-as llvm-dis \
Dan Gohmanf17a25c2007-07-18 16:29:46 +000016 llc llvm-ranlib llvm-ar llvm-nm \
Chris Lattner56317b22008-03-30 18:58:05 +000017 llvm-ld llvm-prof llvm-link \
Anton Korobeynikov43578cd2008-04-23 22:46:24 +000018 lli gccas gccld llvm-extract llvm-db \
Anton Korobeynikove9ffb5b2008-03-23 08:57:20 +000019 bugpoint llvm-bcanalyzer llvm-stub llvmc2
Bill Wendling0fe34c22007-12-08 23:58:46 +000020
Dan Gohmanf17a25c2007-07-18 16:29:46 +000021
22include $(LEVEL)/Makefile.config
23
Nick Kledzik0ae84d82008-02-29 19:31:29 +000024# Disable liblto as it is going away
25#PARALLEL_DIRS += lto
26
27# only build new lto project on Darwin for now
28ifeq ($(OS),Darwin)
Tanya Lattner32d30142008-03-03 17:32:40 +000029PARALLEL_DIRS += lto2
Dan Gohmanf17a25c2007-07-18 16:29:46 +000030endif
31
32include $(LEVEL)/Makefile.common