summaryrefslogtreecommitdiffstats
path: root/lib/FrontendTool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/FrontendTool/Makefile')
-rw-r--r--lib/FrontendTool/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/FrontendTool/Makefile b/lib/FrontendTool/Makefile
index c43213f..9ce4b76 100644
--- a/lib/FrontendTool/Makefile
+++ b/lib/FrontendTool/Makefile
@@ -11,3 +11,18 @@ CLANG_LEVEL := ../..
LIBRARYNAME := clangFrontendTool
include $(CLANG_LEVEL)/Makefile
+include $(CLANG_LEVEL)/../../Makefile.config
+
+ifeq ($(ENABLE_CLANG_ARCMT),1)
+ CXX.Flags += -DCLANG_ENABLE_ARCMT
+endif
+
+ifeq ($(ENABLE_CLANG_REWRITER),1)
+ CXX.Flags += -DCLANG_ENABLE_REWRITER
+endif
+
+ifeq ($(ENABLE_CLANG_STATIC_ANALYZER),1)
+ CXX.Flags += -DCLANG_ENABLE_STATIC_ANALYZER
+endif
+
+
OpenPOWER on IntegriCloud