mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-05 00:48:08 +00:00

- 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
20 lines
786 B
Makefile
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
|