blob: 416b3c411e3d0baca691819e5ab7ffba9a5078d3 [file] [log] [blame]
Chris Lattner144992e2004-01-05 05:28:15 +00001##===- tools/Makefile --------------------------------------*- Makefile -*-===##
John Criswellabe5cdc2003-10-20 22:29:16 +00002#
3# The LLVM Compiler Infrastructure
4#
Chris Lattner8fa21ac2007-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 Criswellabe5cdc2003-10-20 22:29:16 +00007#
8##===----------------------------------------------------------------------===##
Chris Lattner144992e2004-01-05 05:28:15 +00009
Chris Lattner71b82e32002-12-06 03:53:40 +000010LEVEL := ..
Reid Spencer49785b92007-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 Spencer82f22342007-02-09 17:18:42 +000014PARALLEL_DIRS := llvm-config \
Tanya Lattnerca8eb5d2008-03-25 05:05:58 +000015 opt llvm-as llvm-dis \
Reid Spencer49785b92007-02-09 17:02:07 +000016 llc llvm-ranlib llvm-ar llvm-nm \
Reid Spencer82f22342007-02-09 17:18:42 +000017 llvm-ld llvmc llvm-prof llvm-link \
Reid Spencer49785b92007-02-09 17:02:07 +000018 lli gccas gccld llvm-extract llvm-db llvm2cpp \
Anton Korobeynikov70548d82008-03-23 08:57:20 +000019 bugpoint llvm-bcanalyzer llvm-stub llvmc2
Bill Wendling3f19dfe72007-12-08 23:58:46 +000020
Chris Lattnereda4a9e2006-09-08 18:08:50 +000021
Chris Lattnerfe01c282006-09-08 18:33:49 +000022include $(LEVEL)/Makefile.config
Chris Lattnereda4a9e2006-09-08 18:08:50 +000023
Nick Kledzikd5a2f4a2008-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 Lattner46be50c2008-03-03 17:32:40 +000029PARALLEL_DIRS += lto2
Anton Korobeynikovdc7b5192006-09-08 18:00:43 +000030endif
Reid Spencerc3b93702006-05-30 21:20:55 +000031
Chris Lattnerfe01c282006-09-08 18:33:49 +000032include $(LEVEL)/Makefile.common