summaryrefslogtreecommitdiffstats
path: root/lib/clang/libllvmdebuginfo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/clang/libllvmdebuginfo/Makefile')
-rw-r--r--lib/clang/libllvmdebuginfo/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/clang/libllvmdebuginfo/Makefile b/lib/clang/libllvmdebuginfo/Makefile
index c8039dc..3cee40e 100644
--- a/lib/clang/libllvmdebuginfo/Makefile
+++ b/lib/clang/libllvmdebuginfo/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-.include <bsd.own.mk>
+.include <src.opts.mk>
LIB= llvmdebuginfo
@@ -21,4 +21,9 @@ SRCS= DIContext.cpp \
DWARFTypeUnit.cpp \
DWARFUnit.cpp
+.if ${MK_CLANG_EXTRAS} != "no"
+SRCS+= DWARFAcceleratorTable.cpp \
+ SyntaxHighlighting.cpp
+.endif
+
.include "../clang.lib.mk"
OpenPOWER on IntegriCloud