Files
asterisk/res/libresample/Makefile.asterisk
Russell Bryant 78f4b28552 Instead of linking libresample into the main Asterisk binary, build it as
res_resample, and mark codec_resample as dependent upon res_resample.  This
prevents the linker from optimizing away libresample, and also makes it so the
libresample code isn't linked in to multiple places.  (I have another module
in a branch that needs it, too.)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-02 01:00:44 +00:00

12 lines
274 B
Makefile

include $(ASTTOPDIR)/Makefile.moddir_rules
ASTCFLAGS+= -Isrc -Iinclude
libresample.a: src/resample.o src/resamplesubs.o src/filterkit.o
$(ECHO_PREFIX) echo " [AR] $^ -> $@"
$(CMD_PREFIX) $(AR) cr $@ $^
$(CMD_PREFIX) $(RANLIB) $@
clean::
rm -f src/*.o libresample.a