Daniel Dunbar c13935e8be [LLVM up] Add basic -S option to clang.
- Split backend related consumer out into Backend.cpp, replaces
   LLVMCodeGenWriter.
 - Structure follows llvm-gcc to some extent.
 - Still need to implement all the options which impact code
   generation and the optimization passes which llvm-gcc uses at
   various levels.

llvm-svn: 57936
2008-10-21 23:49:24 +00:00

20 lines
786 B
Makefile

LEVEL = ../../..
TOOLNAME = clang
CPPFLAGS += -I$(PROJ_SRC_DIR)/../include
CXXFLAGS = -fno-rtti
# 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_COMPONENTS := $(TARGETS_TO_BUILD)
USEDLIBS = clangCodeGen.a clangAnalysis.a clangRewrite.a clangSema.a \
clangDriver.a clangAST.a clangParse.a clangLex.a \
clangBasic.a LLVMCore.a LLVMSupport.a LLVMSystem.a \
LLVMBitWriter.a LLVMBitReader.a LLVMSelectionDAG.a \
LLVMCodeGen.a LLVMTransformUtils.a LLVMScalarOpts.a \
LLVMAnalysis.a LLVMTarget.a
include $(LLVM_SRC_ROOT)/Makefile.rules