2007-07-11 21:01:13 +04:00
|
|
|
LEVEL = ../../..
|
2008-10-22 03:49:24 +04:00
|
|
|
TOOLNAME = clang
|
2007-07-11 21:01:13 +04:00
|
|
|
CPPFLAGS += -I$(PROJ_SRC_DIR)/../include
|
|
|
|
CXXFLAGS = -fno-rtti
|
|
|
|
|
2008-10-22 03:49:24 +04:00
|
|
|
# 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
|
|
|
|
|
2008-10-24 10:24:13 +04:00
|
|
|
LINK_COMPONENTS := $(TARGETS_TO_BUILD) bitreader bitwriter codegen ipo selectiondag
|
2008-10-22 03:49:24 +04:00
|
|
|
USEDLIBS = clangCodeGen.a clangAnalysis.a clangRewrite.a clangSema.a \
|
|
|
|
clangDriver.a clangAST.a clangParse.a clangLex.a \
|
2008-10-24 10:24:13 +04:00
|
|
|
clangBasic.a
|
2007-07-11 21:01:13 +04:00
|
|
|
|
2008-10-22 03:49:24 +04:00
|
|
|
include $(LLVM_SRC_ROOT)/Makefile.rules
|