blob: 5eb077d8e200d4e41781713135ef71f805926e1a [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#
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 Lattner144992e2004-01-05 05:28:15 +00009
Chris Lattner71b82e32002-12-06 03:53:40 +000010LEVEL := ..
Reid Spencer3376c6d2006-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 Korobeynikovdc7b5192006-09-08 18:00:43 +000021 llvm-ld llvmc llvm-prof
Chris Lattnereda4a9e2006-09-08 18:08:50 +000022
Chris Lattnerfe01c282006-09-08 18:33:49 +000023include $(LEVEL)/Makefile.config
Chris Lattnereda4a9e2006-09-08 18:08:50 +000024
25# Disable liblto on non-darwin platforms right now until LLVM is built PIC.
Anton Korobeynikovdc7b5192006-09-08 18:00:43 +000026ifeq ($(OS), Darwin)
27PARALLEL_DIRS += lto
28endif
Reid Spencerc3b93702006-05-30 21:20:55 +000029
Chris Lattnerfe01c282006-09-08 18:33:49 +000030include $(LEVEL)/Makefile.common