summaryrefslogtreecommitdiffstats
path: root/lib/clang/libllvmsupport/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/clang/libllvmsupport/Makefile')
-rw-r--r--lib/clang/libllvmsupport/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/clang/libllvmsupport/Makefile b/lib/clang/libllvmsupport/Makefile
index e1a16c4..fb9309f 100644
--- a/lib/clang/libllvmsupport/Makefile
+++ b/lib/clang/libllvmsupport/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
LIB= llvmsupport
SRCDIR= lib/Support
@@ -67,4 +69,14 @@ SRCS= APFloat.cpp \
system_error.cpp
LLVM_REQUIRES_RTTI=
+.if ${MK_CLANG_EXTRAS} != "no"
+SRCS+= BlockFrequency.cpp \
+ BranchProbability.cpp \
+ DataExtractor.cpp \
+ Disassembler.cpp \
+ FileUtilities.cpp \
+ MemoryObject.cpp \
+ SystemUtils.cpp
+.endif
+
.include "../clang.lib.mk"
OpenPOWER on IntegriCloud