summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-02 22:41:18 +0000
committerChris Lattner <sabre@nondot.org>2006-06-02 22:41:18 +0000
commit22033b2a4e0330b24fd601ef36e36bb1e544bf9d (patch)
tree183a59d0e5533ad8f899e0a44d0da1fab6879b14 /Makefile
parent3649b0efa5e663aba9596a0225c34f82de1d95b7 (diff)
downloadllvm-22033b2a4e0330b24fd601ef36e36bb1e544bf9d.tar.gz
llvm-22033b2a4e0330b24fd601ef36e36bb1e544bf9d.tar.bz2
llvm-22033b2a4e0330b24fd601ef36e36bb1e544bf9d.tar.xz
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 550f2aff29..4b68b97a1e 100644
--- a/Makefile
+++ b/Makefile
@@ -6,11 +6,13 @@
# the University of Illinois Open Source License. See LICENSE.TXT for details.
#
#===------------------------------------------------------------------------===#
+
LEVEL = .
DIRS = lib/System lib/Support utils lib/VMCore lib
include $(LEVEL)/Makefile.config
+
ifeq ($(MAKECMDGOALS),tools-only)
DIRS += tools
else
@@ -22,15 +24,23 @@ else
$(warning Skipping runtime libraries, llvm-gcc 4 detected.)
endif
- # Don't install examples or projects.
- ifneq ($(MAKECMDGOALS),install)
- OPTIONAL_DIRS := examples projects
- endif
DIRS += docs
endif
endif
+
+# Don't install utils, they are only used to build LLVM.
+#
+ifeq ($(MAKECMDGOALS),install)
+ DIRS := $(filter-out utils, $(DIRS))
+
+ # Don't install examples or projects.
+ OPTIONAL_DIRS :=
+endif
+
+
EXTRA_DIST := test llvm.spec include win32 Xcode
+# Include the main makefile machinery.
include $(LLVM_SRC_ROOT)/Makefile.rules
# Specify options to pass to configure script when we're