summaryrefslogtreecommitdiffstats
path: root/lib/clang/libllvmvectorize/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/clang/libllvmvectorize/Makefile')
-rw-r--r--lib/clang/libllvmvectorize/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/clang/libllvmvectorize/Makefile b/lib/clang/libllvmvectorize/Makefile
index 7a63c9e..bfe1a10 100644
--- a/lib/clang/libllvmvectorize/Makefile
+++ b/lib/clang/libllvmvectorize/Makefile
@@ -1,14 +1,17 @@
# $FreeBSD$
-.include <bsd.own.mk>
+.include <src.opts.mk>
LIB= llvmvectorize
SRCDIR= lib/Transforms/Vectorize
SRCS= BBVectorize.cpp \
LoopVectorize.cpp \
- SLPVectorizer.cpp \
- Vectorize.cpp
+ SLPVectorizer.cpp
+
+.if ${MK_CLANG_EXTRAS} != "no"
+SRCS+= Vectorize.cpp
+.endif
TGHDRS= Intrinsics
OpenPOWER on IntegriCloud