blob: 6f2ff881c7fc4e2394cbf39b835e7e93e788db79 [file] [log] [blame]
Chris Lattner6d47bae2004-01-05 05:28:15 +00001##===- tools/Makefile --------------------------------------*- Makefile -*-===##
John Criswelle2fab732003-10-20 22:29:16 +00002#
3# The LLVM Compiler Infrastructure
4#
Chris Lattner51167842007-12-29 20:07:17 +00005# This file is distributed under the University of Illinois Open Source
6# License. See LICENSE.TXT for details.
John Criswelle2fab732003-10-20 22:29:16 +00007#
8##===----------------------------------------------------------------------===##
Chris Lattner6d47bae2004-01-05 05:28:15 +00009
Chris Lattner698e9ce2002-12-06 03:53:40 +000010LEVEL := ..
Reid Spencer36a987e2007-02-09 17:02:07 +000011# 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.
Reid Spencerfd57a002007-02-09 17:18:42 +000014PARALLEL_DIRS := llvm-config \
Tanya Lattner6fefa6a2008-03-25 05:05:58 +000015 opt llvm-as llvm-dis \
Reid Spencer36a987e2007-02-09 17:02:07 +000016 llc llvm-ranlib llvm-ar llvm-nm \
Chris Lattner8c2ec512008-03-30 18:58:05 +000017 llvm-ld llvm-prof llvm-link \
Reid Spencer36a987e2007-02-09 17:02:07 +000018 lli gccas gccld llvm-extract llvm-db llvm2cpp \
Anton Korobeynikovac67b7e2008-03-23 08:57:20 +000019 bugpoint llvm-bcanalyzer llvm-stub llvmc2
Bill Wendling041b3f82007-12-08 23:58:46 +000020
Chris Lattner70c35372006-09-08 18:08:50 +000021
Chris Lattnercf8cb6d2006-09-08 18:33:49 +000022include $(LEVEL)/Makefile.config
Chris Lattner70c35372006-09-08 18:08:50 +000023
Nick Kledzik1f008a82008-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 Lattner8f3153e2008-03-03 17:32:40 +000029PARALLEL_DIRS += lto2
Anton Korobeynikov294492b2006-09-08 18:00:43 +000030endif
Reid Spencerac285882006-05-30 21:20:55 +000031
Chris Lattnercf8cb6d2006-09-08 18:33:49 +000032include $(LEVEL)/Makefile.common