83c54e274d071f4cb987229c7ae9c59631f16e9b
[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 
14
15 # The bugpoint and llvm-db tools are not portable to Win32 because they depend
16 # on fork(2) behavior that Win32 doesn't have. At some point they'll be 
17 # rewritten to not depend on fork at which time they should be added back to
18 # the list above.
19 ifneq($(OS),Win32)
20 PARALLEL_DIRS += bugpoint llvm-db 
21 endif
22
23 include $(LEVEL)/Makefile.config
24
25 ifeq ($(ARCH), Sparc)
26 PARALLEL_DIRS := $(filter-out llee, $(PARALLEL_DIRS))
27 endif
28
29 include $(LEVEL)/Makefile.common