[llvm-commits] [llvm] r44979 - /llvm/trunk/Makefile

Nate Begeman natebegeman at mac.com
Wed Dec 12 18:17:17 PST 2007


Author: sampo
Date: Wed Dec 12 20:17:17 2007
New Revision: 44979

URL: http://llvm.org/viewvc/llvm-project?rev=44979&view=rev
Log:
Add install-libs target which only installs libraries, not tools

Modified:
    llvm/trunk/Makefile

Modified: llvm/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile?rev=44979&r1=44978&r2=44979&view=diff

==============================================================================
--- llvm/trunk/Makefile (original)
+++ llvm/trunk/Makefile Wed Dec 12 20:17:17 2007
@@ -37,6 +37,11 @@
   OPTIONAL_DIRS :=
 endif
 
+ifeq ($(MAKECMDGOALS),install-libs)
+  DIRS := $(filter-out tools runtime docs, $(DIRS))
+  OPTIONAL_DIRS := $(filter bindings, $(OPTIONAL_DIRS))
+endif
+
 ifeq ($(MAKECMDGOALS),tools-only)
   DIRS := $(filter-out runtime docs, $(DIRS))
   OPTIONAL_DIRS :=
@@ -81,6 +86,7 @@
 
 tools-only: all
 libs-only: all
+install-libs: install
 
 #------------------------------------------------------------------------
 # Make sure the generated headers are up-to-date. This must be kept in





More information about the llvm-commits mailing list