summaryrefslogtreecommitdiffstats
path: root/lib/clang
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2010-10-30 16:53:42 +0000
committerrpaulo <rpaulo@FreeBSD.org>2010-10-30 16:53:42 +0000
commitd20202d1acc842fca2091c53a71fa03e613a6ef7 (patch)
tree1c9c40f94d9c37775e6cdfb5a6a1e9be104bcc27 /lib/clang
parentce6cf18f950357a4fe070e0d697f3d7ad75f9919 (diff)
downloadFreeBSD-src-d20202d1acc842fca2091c53a71fa03e613a6ef7.zip
FreeBSD-src-d20202d1acc842fca2091c53a71fa03e613a6ef7.tar.gz
When the make target is 'install', don't descend into the clang
libraries subdirectories since there's nothing to do there. This saves us quite a few seconds off installworld, esp. if the disk I/O is slow.
Diffstat (limited to 'lib/clang')
-rw-r--r--lib/clang/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/clang/Makefile b/lib/clang/Makefile
index 39bd4c7..bd6ece6 100644
--- a/lib/clang/Makefile
+++ b/lib/clang/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+.if !make(install)
SUBDIR= libclanganalysis \
libclangast \
libclangbasic \
@@ -48,8 +49,9 @@ SUBDIR= libclanganalysis \
libllvmx86asmprinter \
libllvmx86codegen \
libllvmx86disassembler \
- libllvmx86info \
- \
- include
+ libllvmx86info
+.endif
+
+SUBDIR+= include
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud