Reid Spencer | 5f016e2 | 2007-07-11 17:01:13 +0000 | [diff] [blame] | 1 | LEVEL = ../../.. |
Daniel Dunbar | d69bacc | 2008-10-21 23:49:24 +0000 | [diff] [blame] | 2 | TOOLNAME = clang |
Reid Spencer | 5f016e2 | 2007-07-11 17:01:13 +0000 | [diff] [blame] | 3 | CPPFLAGS += -I$(PROJ_SRC_DIR)/../include |
| 4 | CXXFLAGS = -fno-rtti |
| 5 | |
Daniel Dunbar | d69bacc | 2008-10-21 23:49:24 +0000 | [diff] [blame] | 6 | # 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 |
| 9 | include $(LEVEL)/Makefile.config |
Reid Spencer | 5f016e2 | 2007-07-11 17:01:13 +0000 | [diff] [blame] | 10 | |
Daniel Dunbar | 6c308cc | 2008-10-24 06:24:13 +0000 | [diff] [blame] | 11 | LINK_COMPONENTS := $(TARGETS_TO_BUILD) bitreader bitwriter codegen ipo selectiondag |
Daniel Dunbar | d69bacc | 2008-10-21 23:49:24 +0000 | [diff] [blame] | 12 | USEDLIBS = clangCodeGen.a clangAnalysis.a clangRewrite.a clangSema.a \ |
| 13 | clangDriver.a clangAST.a clangParse.a clangLex.a \ |
Daniel Dunbar | 6c308cc | 2008-10-24 06:24:13 +0000 | [diff] [blame] | 14 | clangBasic.a |
Daniel Dunbar | d69bacc | 2008-10-21 23:49:24 +0000 | [diff] [blame] | 15 | |
| 16 | include $(LLVM_SRC_ROOT)/Makefile.rules |