[llvm-commits] CVS: llvm/Makefile

Reid Spencer reid at x10sys.com
Wed May 25 14:03:29 PDT 2005



Changes in directory llvm:

Makefile updated: 1.48 -> 1.49
---
Log message:

Add a "libs-only" target for avoiding construction of the tools and
runtime libraries.


---
Diffs of the changes:  (+9 -4)

 Makefile |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)


Index: llvm/Makefile
diff -u llvm/Makefile:1.48 llvm/Makefile:1.49
--- llvm/Makefile:1.48	Mon May 23 21:33:20 2005
+++ llvm/Makefile	Wed May 25 16:03:17 2005
@@ -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 @@
 	  $(TopDistDir)/include/llvm/Support/ThreadSupport.h
 
 tools-only: all
+libs-only: all






More information about the llvm-commits mailing list