llvm.org GIT mirror llvm / 22033b2
More of PR728, don't install utils either. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28673 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
1 changed file(s) with 14 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
55 # the University of Illinois Open Source License. See LICENSE.TXT for details.
66 #
77 #===------------------------------------------------------------------------===#
8
89 LEVEL = .
910 DIRS = lib/System lib/Support utils lib/VMCore lib
1011
1112 include $(LEVEL)/Makefile.config
13
1214
1315 ifeq ($(MAKECMDGOALS),tools-only)
1416 DIRS += tools
2123 $(warning Skipping runtime libraries, llvm-gcc 4 detected.)
2224 endif
2325
24 # Don't install examples or projects.
25 ifneq ($(MAKECMDGOALS),install)
26 OPTIONAL_DIRS := examples projects
27 endif
2826 DIRS += docs
2927 endif
3028 endif
29
30 # Don't install utils, they are only used to build LLVM.
31 #
32 ifeq ($(MAKECMDGOALS),install)
33 DIRS := $(filter-out utils, $(DIRS))
34
35 # Don't install examples or projects.
36 OPTIONAL_DIRS :=
37 endif
38
39
3140 EXTRA_DIST := test llvm.spec include win32 Xcode
3241
42 # Include the main makefile machinery.
3343 include $(LLVM_SRC_ROOT)/Makefile.rules
3444
3545 # Specify options to pass to configure script when we're