[cfe-commits] r161609 - /cfe/trunk/tools/Makefile

Chandler Carruth chandlerc at gmail.com
Thu Aug 9 13:21:38 PDT 2012


Author: chandlerc
Date: Thu Aug  9 15:21:38 2012
New Revision: 161609

URL: http://llvm.org/viewvc/llvm-project?rev=161609&view=rev
Log:
Recurse into the extra tools repo the correct way from the Makefile
build system. Thanks to Nick for pointing at the actual construct which
should be used here.

Modified:
    cfe/trunk/tools/Makefile

Modified: cfe/trunk/tools/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/Makefile?rev=161609&r1=161608&r2=161609&view=diff
==============================================================================
--- cfe/trunk/tools/Makefile (original)
+++ cfe/trunk/tools/Makefile Thu Aug  9 15:21:38 2012
@@ -9,9 +9,12 @@
 
 CLANG_LEVEL := ..
 
+include $(CLANG_LEVEL)/../../Makefile.config
+
 DIRS := driver libclang c-index-test arcmt-test c-arcmt-test diagtool \
-        clang-check $(patsubst %/Makefile,%,$(wildcard extra/Makefile))
+        clang-check
 
-include $(CLANG_LEVEL)/../../Makefile.config
+# Recurse into the extra repository of tools if present.
+OPTIONAL_DIRS := extra
 
 include $(CLANG_LEVEL)/Makefile





More information about the cfe-commits mailing list