blob: 9f62ff74dc5e5c20446e2f8e056268065d7439b0 [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 \
Reid Spencer49785b92007-02-09 17:02:07 +000015 opt llvm-as llvm-dis llvm-upgrade \
16 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 \
Chris Lattnerad6094d2007-12-09 00:27:38 +000019 bugpoint llvm-bcanalyzer llvm-stub
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
Chandler Carruthb2d4caa2007-01-08 06:25:29 +000024# Disable liblto on Windows until compatability is determined.
25ifneq ($(OS), MingW)
Anton Korobeynikovdc7b5192006-09-08 18:00:43 +000026PARALLEL_DIRS += lto
27endif
Reid Spencerc3b93702006-05-30 21:20:55 +000028
Chris Lattnerfe01c282006-09-08 18:33:49 +000029include $(LEVEL)/Makefile.common