Add a "libs-only" target for avoiding construction of the tools and
authorReid Spencer <rspencer@reidspencer.com>
Wed, 25 May 2005 21:03:17 +0000 (21:03 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 25 May 2005 21:03:17 +0000 (21:03 +0000)
runtime libraries.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22169 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile

index d221175a98b5b84967ac4f971105bc8c5ceb4d92..fec284d0727e9462787df623033a58fdb56e0d06 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,11 +7,15 @@
 # 
 #===------------------------------------------------------------------------===#
 LEVEL = .
-DIRS = lib/System lib/Support utils lib tools 
+DIRS = lib/System lib/Support utils lib
 
-ifneq ($(MAKECMDGOALS),tools-only)
-DIRS += runtime docs
-OPTIONAL_DIRS = examples projects
+ifeq ($(MAKECMDGOALS),tools-only)
+DIRS += tools
+else
+  ifneq ($(MAKECMDGOALS),libs-only)
+    DIRS += runtime docs
+    OPTIONAL_DIRS = examples projects
+  endif
 endif
 
 EXTRA_DIST := test llvm.spec include
@@ -46,3 +50,4 @@ dist-hook::
          $(TopDistDir)/include/llvm/Support/ThreadSupport.h
 
 tools-only: all
+libs-only: all