diff options
Diffstat (limited to 'lib/clang/libllvmobjcarcopts/Makefile')
-rw-r--r-- | lib/clang/libllvmobjcarcopts/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/clang/libllvmobjcarcopts/Makefile b/lib/clang/libllvmobjcarcopts/Makefile index 308e11a..b88c5b5 100644 --- a/lib/clang/libllvmobjcarcopts/Makefile +++ b/lib/clang/libllvmobjcarcopts/Makefile @@ -1,15 +1,12 @@ # $FreeBSD$ -.include <bsd.own.mk> +.include <src.opts.mk> LIB= llvmobjcarcopts SRCDIR= lib/Transforms/ObjCARC -SRCS= ARCInstKind.cpp \ - DependencyAnalysis.cpp \ - ObjCARC.cpp \ +SRCS= DependencyAnalysis.cpp \ ObjCARCAPElim.cpp \ - ObjCARCAliasAnalysis.cpp \ ObjCARCContract.cpp \ ObjCARCExpand.cpp \ ObjCARCOpts.cpp \ @@ -17,6 +14,11 @@ SRCS= ARCInstKind.cpp \ ProvenanceAnalysisEvaluator.cpp \ PtrState.cpp -TGHDRS= Intrinsics +.if ${MK_CLANG_EXTRAS} != "no" +SRCS+= ObjCARC.cpp +.endif + +TGHDRS= Attributes \ + Intrinsics .include "../clang.lib.mk" |