70538df621
Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user specifies not to. Dont build ASTMatchers with Rewriter disabled and StaticAnalyzer when it's disabled. Without all those three, the clang binary shrinks (x86_64) from ~36MB to ~32MB (unstripped). To disable these clang components, and get a smaller clang binary built and installed, set WITHOUT_CLANG_FULL in src.conf(5). During the initial stages of buildworld, those extra components are already disabled automatically, to save some build time. MFC after: 1 week
35 lines
702 B
Makefile
35 lines
702 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
LIB= llvmselectiondag
|
|
|
|
SRCDIR= lib/CodeGen/SelectionDAG
|
|
SRCS= DAGCombiner.cpp \
|
|
FastISel.cpp \
|
|
FunctionLoweringInfo.cpp \
|
|
InstrEmitter.cpp \
|
|
LegalizeDAG.cpp \
|
|
LegalizeFloatTypes.cpp \
|
|
LegalizeIntegerTypes.cpp \
|
|
LegalizeTypes.cpp \
|
|
LegalizeTypesGeneric.cpp \
|
|
LegalizeVectorOps.cpp \
|
|
LegalizeVectorTypes.cpp \
|
|
ResourcePriorityQueue.cpp \
|
|
ScheduleDAGFast.cpp \
|
|
ScheduleDAGRRList.cpp \
|
|
ScheduleDAGSDNodes.cpp \
|
|
ScheduleDAGVLIW.cpp \
|
|
SelectionDAG.cpp \
|
|
SelectionDAGBuilder.cpp \
|
|
SelectionDAGDumper.cpp \
|
|
SelectionDAGISel.cpp \
|
|
SelectionDAGPrinter.cpp \
|
|
TargetLowering.cpp \
|
|
TargetSelectionDAGInfo.cpp
|
|
|
|
TGHDRS= Intrinsics
|
|
|
|
.include "../clang.lib.mk"
|