blob: 5eb077d8e200d4e41781713135ef71f805926e1a [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#
5# This file was developed by the LLVM research group and is distributed under
6# the University of Illinois Open Source License. See LICENSE.TXT for details.
7#
8##===----------------------------------------------------------------------===##
Chris Lattner6d47bae2004-01-05 05:28:15 +00009
Chris Lattner698e9ce2002-12-06 03:53:40 +000010LEVEL := ..
Reid Spencerb590a752006-08-23 00:12:11 +000011# Note .. the tools are organized in triples consisting of one large and two
12# small executables. This is done to minimize memory load in parallel builds.
13# Please retain this ordering.
14PARALLEL_DIRS := llvm-config \
15 opt llvm-as llvm-dis \
16 llc llvm-ranlib llvm-ar \
17 lli llvm-link llvm-nm \
18 bugpoint llvm-db llvm-extract \
19 gccas llvm-bcanalyzer llvm-stub \
20 gccld llvm2cpp \
Anton Korobeynikov294492b2006-09-08 18:00:43 +000021 llvm-ld llvmc llvm-prof
Chris Lattner70c35372006-09-08 18:08:50 +000022
Chris Lattnercf8cb6d2006-09-08 18:33:49 +000023include $(LEVEL)/Makefile.config
Chris Lattner70c35372006-09-08 18:08:50 +000024
25# Disable liblto on non-darwin platforms right now until LLVM is built PIC.
Anton Korobeynikov294492b2006-09-08 18:00:43 +000026ifeq ($(OS), Darwin)
27PARALLEL_DIRS += lto
28endif
Reid Spencerac285882006-05-30 21:20:55 +000029
Chris Lattnercf8cb6d2006-09-08 18:33:49 +000030include $(LEVEL)/Makefile.common