freebsd-dev/lib/clang/libllvmcodegen/Makefile
Ed Schouten 9987dff003 Remove unneeded files from the build.
I used the following command to determine which source files were
unneeded:

| for i in `find lib/clang -name '*.o'`
| do
| 	MATCHES="`(nm -g --defined-only $i; nm -g --defined-only \
| 		usr.bin/clang/clang/clang) | sed -e 's/.* //' | \
| 		sort | uniq -d | wc -l`"
| 	[ $MATCHES -eq 0 ] && echo "$i: unneeded"
| done

This should slightly improve the build times.
2010-06-15 17:08:03 +00:00

40 lines
1.7 KiB
Makefile

# $FreeBSD$
LIB= llvmcodegen
SRCDIR= lib/CodeGen
SRCS= AggressiveAntiDepBreaker.cpp Analysis.cpp BranchFolding.cpp \
CalcSpillWeights.cpp CodePlacementOpt.cpp \
CriticalAntiDepBreaker.cpp DeadMachineInstructionElim.cpp \
DwarfEHPrepare.cpp ELFCodeEmitter.cpp ELFWriter.cpp \
ExactHazardRecognizer.cpp GCMetadata.cpp GCStrategy.cpp \
IfConversion.cpp IntrinsicLowering.cpp LLVMTargetMachine.cpp \
LatencyPriorityQueue.cpp LiveInterval.cpp \
LiveIntervalAnalysis.cpp LiveStackAnalysis.cpp \
LiveVariables.cpp LowerSubregs.cpp MachineBasicBlock.cpp \
MachineCSE.cpp MachineDominators.cpp MachineFunction.cpp \
MachineFunctionAnalysis.cpp MachineFunctionPass.cpp \
MachineFunctionPrinterPass.cpp MachineInstr.cpp \
MachineLICM.cpp MachineLoopInfo.cpp MachineModuleInfo.cpp \
MachineModuleInfoImpls.cpp MachinePassRegistry.cpp \
MachineRegisterInfo.cpp MachineSSAUpdater.cpp MachineSink.cpp \
MachineVerifier.cpp ObjectCodeEmitter.cpp OcamlGC.cpp \
OptimizeExts.cpp OptimizePHIs.cpp PHIElimination.cpp \
Passes.cpp PostRASchedulerList.cpp PreAllocSplitting.cpp \
ProcessImplicitDefs.cpp PrologEpilogInserter.cpp \
PseudoSourceValue.cpp RegAllocFast.cpp RegAllocLinearScan.cpp \
RegAllocLocal.cpp RegAllocPBQP.cpp RegisterCoalescer.cpp \
RegisterScavenging.cpp ScheduleDAG.cpp ScheduleDAGEmit.cpp \
ScheduleDAGInstrs.cpp ScheduleDAGPrinter.cpp ShadowStackGC.cpp \
ShrinkWrapping.cpp SimpleRegisterCoalescing.cpp \
SjLjEHPrepare.cpp SlotIndexes.cpp Spiller.cpp \
StackProtector.cpp StackSlotColoring.cpp \
StrongPHIElimination.cpp TailDuplication.cpp \
TargetInstrInfoImpl.cpp TargetLoweringObjectFileImpl.cpp \
TwoAddressInstructionPass.cpp UnreachableBlockElim.cpp \
VirtRegMap.cpp VirtRegRewriter.cpp
TGHDRS= Intrinsics
.include "../clang.lib.mk"