aboutsummaryrefslogtreecommitdiffstats
path: root/res/Makefile
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-02 01:00:44 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-02 01:00:44 +0000
commit21969815a0c032a44762a59886766a6c932885f9 (patch)
treed9e7bf943c45a0e0aeba13bc434511804f43df90 /res/Makefile
parent4ff493aff51bc02da8e49edd7200f57e59e83b98 (diff)
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: http://svn.digium.com/svn/asterisk/trunk@95697 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/Makefile')
-rw-r--r--res/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/res/Makefile b/res/Makefile
index cfac3183a..496264f0b 100644
--- a/res/Makefile
+++ b/res/Makefile
@@ -47,6 +47,9 @@ ael/ael.tab.c ael/ael.tab.h:
ael/pval.o: ael/pval.c
+res_resample.so: libresample/src/resample.o libresample/src/resamplesubs.o libresample/src/filterkit.o
+
clean::
rm -f snmp/*.o
rm -f ael/*.o
+ rm -f libresample/src/*.o