ed a5ff04df0c 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

17 lines
521 B
Makefile

# $FreeBSD$
LIB= llvmipo
SRCDIR= lib/Transforms/IPO
SRCS= ArgumentPromotion.cpp ConstantMerge.cpp \
DeadArgumentElimination.cpp DeadTypeElimination.cpp \
ExtractGV.cpp FunctionAttrs.cpp GlobalDCE.cpp GlobalOpt.cpp \
IPConstantPropagation.cpp InlineAlways.cpp InlineSimple.cpp \
Inliner.cpp Internalize.cpp LoopExtractor.cpp LowerSetJmp.cpp \
MergeFunctions.cpp PartialSpecialization.cpp PruneEH.cpp \
StripDeadPrototypes.cpp StripSymbols.cpp StructRetPromotion.cpp
TGHDRS= Intrinsics
.include "../clang.lib.mk"