2004-01-05 05:28:15 +00:00
|
|
|
##===- tools/Makefile --------------------------------------*- Makefile -*-===##
|
2008-11-25 21:38:12 +00:00
|
|
|
#
|
2003-10-20 22:29:16 +00:00
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
2007-12-29 20:07:17 +00:00
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
2008-11-25 21:38:12 +00:00
|
|
|
#
|
2003-10-20 22:29:16 +00:00
|
|
|
##===----------------------------------------------------------------------===##
|
2004-01-05 05:28:15 +00:00
|
|
|
|
2002-12-06 03:53:40 +00:00
|
|
|
LEVEL := ..
|
2008-11-25 21:38:12 +00:00
|
|
|
# NOTE: The tools are organized into five groups of four consisting of one
|
|
|
|
# large and three small executables. This is done to minimize memory load
|
2007-02-09 17:02:07 +00:00
|
|
|
# in parallel builds. Please retain this ordering.
|
2007-02-09 17:18:42 +00:00
|
|
|
PARALLEL_DIRS := llvm-config \
|
2008-03-25 05:05:58 +00:00
|
|
|
opt llvm-as llvm-dis \
|
2007-02-09 17:02:07 +00:00
|
|
|
llc llvm-ranlib llvm-ar llvm-nm \
|
2008-03-30 18:58:05 +00:00
|
|
|
llvm-ld llvm-prof llvm-link \
|
2008-04-23 22:46:24 +00:00
|
|
|
lli gccas gccld llvm-extract llvm-db \
|
2008-11-25 21:38:12 +00:00
|
|
|
bugpoint llvm-bcanalyzer llvm-stub llvmc
|
2007-12-08 23:58:46 +00:00
|
|
|
|
2006-09-08 18:08:50 +00:00
|
|
|
|
2006-09-08 18:33:49 +00:00
|
|
|
include $(LEVEL)/Makefile.config
|
2006-09-08 18:08:50 +00:00
|
|
|
|
2008-02-29 19:31:29 +00:00
|
|
|
# only build new lto project on Darwin for now
|
|
|
|
ifeq ($(OS),Darwin)
|
2008-06-30 18:15:01 +00:00
|
|
|
PARALLEL_DIRS += lto
|
2006-09-08 18:00:43 +00:00
|
|
|
endif
|
2006-05-30 21:20:55 +00:00
|
|
|
|
2006-09-08 18:33:49 +00:00
|
|
|
include $(LEVEL)/Makefile.common
|