diff options
Diffstat (limited to 'tools/libclang/Makefile')
-rw-r--r-- | tools/libclang/Makefile | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/tools/libclang/Makefile b/tools/libclang/Makefile index ff0fa33..253ea38 100644 --- a/tools/libclang/Makefile +++ b/tools/libclang/Makefile @@ -7,18 +7,11 @@ # ##===----------------------------------------------------------------------===## -LEVEL = ../../../.. +CLANG_LEVEL := ../.. LIBRARYNAME = clang EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/libclang.exports -CPP.Flags += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include - -# Include this here so we can get the configuration of the targets -# that have been configured for construction. We have to do this -# early so we can set up LINK_COMPONENTS before including Makefile.rules -include $(LEVEL)/Makefile.config - LINK_LIBS_IN_SHARED = 1 SHARED_LIBRARY = 1 @@ -26,7 +19,7 @@ LINK_COMPONENTS := bitreader mc core USEDLIBS = clangFrontend.a clangDriver.a clangSema.a \ clangAnalysis.a clangAST.a clangParse.a clangLex.a clangBasic.a -include $(LEVEL)/Makefile.common +include $(CLANG_LEVEL)/Makefile ##===----------------------------------------------------------------------===## # FIXME: This is copied from the 'lto' makefile. Should we share this? |