diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-10-30 16:53:42 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-10-30 16:53:42 +0000 |
commit | d20202d1acc842fca2091c53a71fa03e613a6ef7 (patch) | |
tree | 1c9c40f94d9c37775e6cdfb5a6a1e9be104bcc27 /lib/clang/Makefile | |
parent | ce6cf18f950357a4fe070e0d697f3d7ad75f9919 (diff) | |
download | FreeBSD-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/Makefile')
-rw-r--r-- | lib/clang/Makefile | 8 |
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> |