2006-10-06 12:15:06 +08:00
|
|
|
LEVEL = ../../..
|
2008-10-22 07:49:24 +08:00
|
|
|
TOOLNAME = clang
|
2006-10-26 12:56:55 +08:00
|
|
|
CPPFLAGS += -I$(PROJ_SRC_DIR)/../include
|
2006-10-06 12:15:06 +08:00
|
|
|
CXXFLAGS = -fno-rtti
|
|
|
|
|
2008-10-22 07:49:24 +08: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 14:24:13 +08:00
|
|
|
LINK_COMPONENTS := $(TARGETS_TO_BUILD) bitreader bitwriter codegen ipo selectiondag
|
2008-10-22 07:49:24 +08:00
|
|
|
USEDLIBS = clangCodeGen.a clangAnalysis.a clangRewrite.a clangSema.a \
|
|
|
|
clangDriver.a clangAST.a clangParse.a clangLex.a \
|
2008-10-24 14:24:13 +08:00
|
|
|
clangBasic.a
|
2006-10-06 12:15:06 +08:00
|
|
|
|
2008-10-22 07:49:24 +08:00
|
|
|
include $(LLVM_SRC_ROOT)/Makefile.rules
|