diff --git a/lib/clang/libclanganalysis/Makefile b/lib/clang/libclanganalysis/Makefile index 66e7248f23ad..2967440e9a8b 100644 --- a/lib/clang/libclanganalysis/Makefile +++ b/lib/clang/libclanganalysis/Makefile @@ -10,17 +10,13 @@ SRCS= AnalysisDeclContext.cpp \ CFG.cpp \ CFGReachabilityAnalysis.cpp \ CFGStmtMap.cpp \ - CallGraph.cpp \ CocoaConventions.cpp \ - CodeInjector.cpp \ Consumed.cpp \ - Dominators.cpp \ FormatString.cpp \ LiveVariables.cpp \ ObjCNoReturn.cpp \ PostOrderCFGView.cpp \ PrintfFormatString.cpp \ - ProgramPoint.cpp \ PseudoConstantAnalysis.cpp \ ReachableCode.cpp \ ScanfFormatString.cpp \ @@ -29,6 +25,13 @@ SRCS= AnalysisDeclContext.cpp \ ThreadSafetyTIL.cpp \ UninitializedValues.cpp +.if ${MK_CLANG_FULL} != "no" +SRCS+= CallGraph.cpp \ + CodeInjector.cpp \ + Dominators.cpp \ + ProgramPoint.cpp +.endif + .if ${MK_CLANG_EXTRAS} != "no" SRCS+= ThreadSafetyLogical.cpp .endif diff --git a/lib/clang/libllvmsupport/Makefile b/lib/clang/libllvmsupport/Makefile index 30695a1ff19e..51543bffc790 100644 --- a/lib/clang/libllvmsupport/Makefile +++ b/lib/clang/libllvmsupport/Makefile @@ -35,7 +35,6 @@ SRCS= APFloat.cpp \ Host.cpp \ IntEqClasses.cpp \ IntervalMap.cpp \ - IntrusiveRefCntPtr.cpp \ JamCRC.cpp \ LEB128.cpp \ LineIterator.cpp \ @@ -93,6 +92,10 @@ SRCS= APFloat.cpp \ regfree.c \ regstrlcpy.c +.if ${MK_CLANG_FULL} != "no" +SRCS+= IntrusiveRefCntPtr.cpp +.endif + .if ${MK_CLANG_EXTRAS} != "no" SRCS+= ARMWinEH.cpp \ COM.cpp \