Instead of linking libresample into the main Asterisk binary, build it as
authorRussell Bryant <russell@russellbryant.com>
Wed, 2 Jan 2008 01:00:44 +0000 (01:00 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 2 Jan 2008 01:00:44 +0000 (01:00 +0000)
commit78f4b2855256c930adea77479e4577f4289a6cfa
treed9e7bf943c45a0e0aeba13bc434511804f43df90
parente7f195e82ab286c925153ffcff1c9e6e66e2ede2
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
26 files changed:
codecs/Makefile
codecs/codec_resample.c
main/Makefile
res/Makefile
res/libresample/LICENSE.txt [moved from main/libresample/LICENSE.txt with 100% similarity]
res/libresample/Makefile.asterisk [moved from main/libresample/Makefile.asterisk with 100% similarity]
res/libresample/Makefile.in [moved from main/libresample/Makefile.in with 100% similarity]
res/libresample/README.txt [moved from main/libresample/README.txt with 100% similarity]
res/libresample/config.guess [moved from main/libresample/config.guess with 100% similarity]
res/libresample/config.sub [moved from main/libresample/config.sub with 100% similarity]
res/libresample/configure [moved from main/libresample/configure with 100% similarity]
res/libresample/configure.in [moved from main/libresample/configure.in with 100% similarity]
res/libresample/include/libresample.h [moved from main/libresample/include/libresample.h with 100% similarity]
res/libresample/install-sh [moved from main/libresample/install-sh with 100% similarity]
res/libresample/src/configtemplate.h [moved from main/libresample/src/configtemplate.h with 100% similarity]
res/libresample/src/filterkit.c [moved from main/libresample/src/filterkit.c with 100% similarity]
res/libresample/src/filterkit.h [moved from main/libresample/src/filterkit.h with 100% similarity]
res/libresample/src/resample.c [moved from main/libresample/src/resample.c with 100% similarity]
res/libresample/src/resample_defs.h [moved from main/libresample/src/resample_defs.h with 100% similarity]
res/libresample/src/resamplesubs.c [moved from main/libresample/src/resamplesubs.c with 100% similarity]
res/libresample/tests/compareresample.c [moved from main/libresample/tests/compareresample.c with 100% similarity]
res/libresample/tests/resample-sndfile.c [moved from main/libresample/tests/resample-sndfile.c with 100% similarity]
res/libresample/tests/testresample.c [moved from main/libresample/tests/testresample.c with 100% similarity]
res/libresample/win/libresample.dsp [moved from main/libresample/win/libresample.dsp with 100% similarity]
res/libresample/win/libresample.vcproj [moved from main/libresample/win/libresample.vcproj with 100% similarity]
res/res_resample.c [new file with mode: 0644]