e2e4f6911d9cfbf79cfd7d814bc455af04e28cfa
[oota-llvm.git] / tools / Makefile
1 ##===- tools/Makefile --------------------------------------*- Makefile -*-===##
2
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 ##===----------------------------------------------------------------------===##
9
10 LEVEL := ..
11 PARALLEL_DIRS := llvm-as llvm-dis opt gccas llc llvm-link lli gccld llvm-stub \
12                  analyze extract llvm-nm llvm-prof llvm-ar llvm-ranlib \
13                  llvm-bcanalyzer llvmc llvm-ld llvm-db bugpoint
14
15 include $(LEVEL)/Makefile.config
16
17 # The bugpoint and llvm-db tools are not portable to Win32 because they depend
18 # on fork(2) behavior that Win32 doesn't have. At some point they'll be 
19 # rewritten to not depend on fork at which time they should be added back to
20 # the list above.
21 ifneq ($(LLVM_ON_UNIX),1)
22 PARALLEL_DIRS := $(filter-out bugpoint llvm-db,$(PARALLEL_DIRS))
23 endif
24
25 include $(LLVM_SRC_ROOT)/Makefile.rules