blob: 22d7ffbfb5965d1b469b85014ed91fd91fdc0b96 [file] [log] [blame]
Reid Spencer5f016e22007-07-11 17:01:13 +00001LEVEL = ../../..
Daniel Dunbard69bacc2008-10-21 23:49:24 +00002TOOLNAME = clang
Reid Spencer5f016e22007-07-11 17:01:13 +00003CPPFLAGS += -I$(PROJ_SRC_DIR)/../include
4CXXFLAGS = -fno-rtti
5
Daniel Dunbard69bacc2008-10-21 23:49:24 +00006# Include this here so we can get the configuration of the targets
7# that have been configured for construction. We have to do this
8# early so we can set up LINK_COMPONENTS before including Makefile.rules
9include $(LEVEL)/Makefile.config
Reid Spencer5f016e22007-07-11 17:01:13 +000010
Daniel Dunbar6c308cc2008-10-24 06:24:13 +000011LINK_COMPONENTS := $(TARGETS_TO_BUILD) bitreader bitwriter codegen ipo selectiondag
Daniel Dunbard69bacc2008-10-21 23:49:24 +000012USEDLIBS = clangCodeGen.a clangAnalysis.a clangRewrite.a clangSema.a \
13 clangDriver.a clangAST.a clangParse.a clangLex.a \
Daniel Dunbar6c308cc2008-10-24 06:24:13 +000014 clangBasic.a
Daniel Dunbard69bacc2008-10-21 23:49:24 +000015
16include $(LLVM_SRC_ROOT)/Makefile.rules