From d20202d1acc842fca2091c53a71fa03e613a6ef7 Mon Sep 17 00:00:00 2001 From: rpaulo Date: Sat, 30 Oct 2010 16:53:42 +0000 Subject: 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. --- lib/clang/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lib/clang') 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 -- cgit v1.1