summaryrefslogtreecommitdiffstats
path: root/lib/clang/libllvmobject/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/clang/libllvmobject/Makefile')
-rw-r--r--lib/clang/libllvmobject/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/clang/libllvmobject/Makefile b/lib/clang/libllvmobject/Makefile
index 948cebd..c575ecd 100644
--- a/lib/clang/libllvmobject/Makefile
+++ b/lib/clang/libllvmobject/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-.include <bsd.own.mk>
+.include <src.opts.mk>
LIB= llvmobject
@@ -17,10 +17,13 @@ SRCS= Archive.cpp \
IRObjectFile.cpp \
MachOObjectFile.cpp \
MachOUniversal.cpp \
- Object.cpp \
ObjectFile.cpp \
RecordStreamer.cpp \
- SymbolSize.cpp \
SymbolicFile.cpp
+.if ${MK_CLANG_EXTRAS} != "no"
+SRCS+= Object.cpp \
+ SymbolSize.cpp
+.endif
+
.include "../clang.lib.mk"
OpenPOWER on IntegriCloud