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

Daniel Dunbar daniel at zuster.org
Fri Apr 30 13:04:45 PDT 2010


Author: ddunbar
Date: Fri Apr 30 15:04:45 2010
New Revision: 102751

URL: http://llvm.org/viewvc/llvm-project?rev=102751&view=rev
Log:
Add an install-clang-c top-level target, which does a Clang C API install.

Modified:
    llvm/trunk/Makefile

Modified: llvm/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile?rev=102751&r1=102750&r2=102751&view=diff
==============================================================================
--- llvm/trunk/Makefile (original)
+++ llvm/trunk/Makefile Fri Apr 30 15:04:45 2010
@@ -69,6 +69,14 @@
   NO_INSTALL = 1
 endif
 
+ifeq ($(MAKECMDGOALS),install-clang-c)
+  DIRS := tools/clang/tools/driver tools/clang/lib/Headers \
+          tools/clang/tools/CIndex tools/clang/tools/c-index-test \
+	  tools/clang/include/clang-c
+  OPTIONAL_DIRS :=
+  NO_INSTALL = 1
+endif
+
 ifeq ($(MAKECMDGOALS),clang-only)
   DIRS := $(filter-out tools runtime docs unittests, $(DIRS)) tools/clang
   OPTIONAL_DIRS :=
@@ -145,6 +153,7 @@
 tools-only: all
 libs-only: all
 install-clang: install
+install-clang-c: install
 install-libs: install
 
 #------------------------------------------------------------------------





More information about the llvm-commits mailing list