mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 06:18:35 +00:00
inital checkin of spandsp from http://www.soft-switch.org/downloads/snapshots/spandsp/spandsp-20080829.tar.gz
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9425 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
c72e353b55
commit
1e177dbd2b
342 files changed
+164474
No files matched your search
@@ -0,0 +1,379 @@
|
||||
##
|
||||
## SpanDSP - a series of DSP components for telephony
|
||||
##
|
||||
## Makefile.am - Process this file with automake to produce Makefile.in
|
||||
##
|
||||
## This program is free software; you can redistribute it and/or modify
|
||||
## it under the terms of the GNU Lesser General Public License version 2.1,
|
||||
## as published by the Free Software Foundation.
|
||||
##
|
||||
## This program is distributed in the hope that it will be useful,
|
||||
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
## GNU Lesser General Public License for more details.
|
||||
##
|
||||
## You should have received a copy of the GNU Lesser General Public
|
||||
## License along with this program; if not, write to the Free Software
|
||||
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
##
|
||||
## $Id: Makefile.am,v 1.100 2008/08/14 14:06:05 steveu Exp $
|
||||
|
||||
AM_CFLAGS = $(COMP_VENDOR_CFLAGS)
|
||||
AM_LDFLAGS = $(COMP_VENDOR_LDFLAGS)
|
||||
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
INCLUDES = -I$(top_builddir)
|
||||
|
||||
lib_LTLIBRARIES = libspandsp.la
|
||||
|
||||
libspandsp_la_SOURCES = adsi.c \
|
||||
async.c \
|
||||
at_interpreter.c \
|
||||
awgn.c \
|
||||
bell_r2_mf.c \
|
||||
bert.c \
|
||||
bit_operations.c \
|
||||
bitstream.c \
|
||||
complex_filters.c \
|
||||
complex_vector_float.c \
|
||||
crc.c \
|
||||
dds_float.c \
|
||||
dds_int.c \
|
||||
dtmf.c \
|
||||
echo.c \
|
||||
fax.c \
|
||||
fsk.c \
|
||||
g711.c \
|
||||
g722_encode.c \
|
||||
g722_decode.c \
|
||||
g726.c \
|
||||
gsm0610_decode.c \
|
||||
gsm0610_encode.c \
|
||||
gsm0610_long_term.c \
|
||||
gsm0610_lpc.c \
|
||||
gsm0610_preprocess.c \
|
||||
gsm0610_rpe.c \
|
||||
gsm0610_short_term.c \
|
||||
hdlc.c \
|
||||
ima_adpcm.c \
|
||||
logging.c \
|
||||
lpc10_analyse.c \
|
||||
lpc10_decode.c \
|
||||
lpc10_encode.c \
|
||||
lpc10_placev.c \
|
||||
lpc10_voicing.c \
|
||||
modem_echo.c \
|
||||
modem_connect_tones.c \
|
||||
noise.c \
|
||||
oki_adpcm.c \
|
||||
playout.c \
|
||||
plc.c \
|
||||
power_meter.c \
|
||||
queue.c \
|
||||
schedule.c \
|
||||
sig_tone.c \
|
||||
silence_gen.c \
|
||||
super_tone_rx.c \
|
||||
super_tone_tx.c \
|
||||
t4.c \
|
||||
t30.c \
|
||||
t30_api.c \
|
||||
t30_logging.c \
|
||||
t31.c \
|
||||
t35.c \
|
||||
t38_core.c \
|
||||
t38_gateway.c \
|
||||
t38_non_ecm_buffer.c \
|
||||
t38_terminal.c \
|
||||
testcpuid.c \
|
||||
time_scale.c \
|
||||
tone_detect.c \
|
||||
tone_generate.c \
|
||||
v17rx.c \
|
||||
v17tx.c \
|
||||
v22bis_rx.c \
|
||||
v22bis_tx.c \
|
||||
v27ter_rx.c \
|
||||
v27ter_tx.c \
|
||||
v29rx.c \
|
||||
v29tx.c \
|
||||
v42.c \
|
||||
v42bis.c \
|
||||
v8.c \
|
||||
vector_float.c \
|
||||
vector_int.c
|
||||
|
||||
libspandsp_la_LDFLAGS = -version-info @SPANDSP_LT_CURRENT@:@SPANDSP_LT_REVISION@:@SPANDSP_LT_AGE@
|
||||
|
||||
nobase_include_HEADERS = spandsp/adsi.h \
|
||||
spandsp/async.h \
|
||||
spandsp/arctan2.h \
|
||||
spandsp/at_interpreter.h \
|
||||
spandsp/awgn.h \
|
||||
spandsp/bell_r2_mf.h \
|
||||
spandsp/bert.h \
|
||||
spandsp/biquad.h \
|
||||
spandsp/bit_operations.h \
|
||||
spandsp/bitstream.h \
|
||||
spandsp/crc.h \
|
||||
spandsp/complex.h \
|
||||
spandsp/complex_filters.h \
|
||||
spandsp/complex_vector_float.h \
|
||||
spandsp/dc_restore.h \
|
||||
spandsp/dds.h \
|
||||
spandsp/dtmf.h \
|
||||
spandsp/echo.h \
|
||||
spandsp/fax.h \
|
||||
spandsp/fax_modems.h \
|
||||
spandsp/fir.h \
|
||||
spandsp/fsk.h \
|
||||
spandsp/g168models.h \
|
||||
spandsp/g711.h \
|
||||
spandsp/g722.h \
|
||||
spandsp/g726.h \
|
||||
spandsp/gsm0610.h \
|
||||
spandsp/hdlc.h \
|
||||
spandsp/ima_adpcm.h \
|
||||
spandsp/logging.h \
|
||||
spandsp/lpc10.h \
|
||||
spandsp/modem_echo.h \
|
||||
spandsp/modem_connect_tones.h \
|
||||
spandsp/noise.h \
|
||||
spandsp/oki_adpcm.h \
|
||||
spandsp/playout.h \
|
||||
spandsp/plc.h \
|
||||
spandsp/power_meter.h \
|
||||
spandsp/queue.h \
|
||||
spandsp/schedule.h \
|
||||
spandsp/sig_tone.h \
|
||||
spandsp/silence_gen.h \
|
||||
spandsp/super_tone_rx.h \
|
||||
spandsp/super_tone_tx.h \
|
||||
spandsp/t4.h \
|
||||
spandsp/t30.h \
|
||||
spandsp/t30_api.h \
|
||||
spandsp/t30_fcf.h \
|
||||
spandsp/t30_logging.h \
|
||||
spandsp/t31.h \
|
||||
spandsp/t35.h \
|
||||
spandsp/t38_core.h \
|
||||
spandsp/t38_gateway.h \
|
||||
spandsp/t38_non_ecm_buffer.h \
|
||||
spandsp/t38_terminal.h \
|
||||
spandsp/telephony.h \
|
||||
spandsp/time_scale.h \
|
||||
spandsp/timing.h \
|
||||
spandsp/tone_detect.h \
|
||||
spandsp/tone_generate.h \
|
||||
spandsp/v17rx.h \
|
||||
spandsp/v17tx.h \
|
||||
spandsp/v22bis.h \
|
||||
spandsp/v27ter_rx.h \
|
||||
spandsp/v27ter_tx.h \
|
||||
spandsp/v29rx.h \
|
||||
spandsp/v29tx.h \
|
||||
spandsp/v42.h \
|
||||
spandsp/v42bis.h \
|
||||
spandsp/v8.h \
|
||||
spandsp/vector_float.h \
|
||||
spandsp/vector_int.h \
|
||||
spandsp/version.h
|
||||
|
||||
nodist_include_HEADERS = spandsp.h
|
||||
|
||||
noinst_HEADERS = faxfont.h \
|
||||
filter_tools.h \
|
||||
gsm0610_local.h \
|
||||
lpc10_encdecs.h \
|
||||
t30_local.h \
|
||||
t4_states.h \
|
||||
v17rx_constellation_maps.h \
|
||||
v17tx_constellation_maps.h \
|
||||
v29tx_constellation_maps.h
|
||||
|
||||
noinst_PROGRAMS = make_at_dictionary \
|
||||
make_modem_filter
|
||||
|
||||
make_modem_filter_SOURCES = make_modem_filter.c \
|
||||
filter_tools.c
|
||||
|
||||
# We need to run make_at_dictionary, so it generates the
|
||||
# at_interpreter_dictionary.h file
|
||||
|
||||
at_interpreter.$(OBJEXT): at_interpreter_dictionary.h
|
||||
|
||||
at_interpreter.lo: at_interpreter_dictionary.h
|
||||
|
||||
at_interpreter_dictionary.h: make_at_dictionary$(EXEEXT)
|
||||
./make_at_dictionary$(EXEEXT) >at_interpreter_dictionary.h
|
||||
|
||||
v17rx.$(OBJEXT): v17rx_fixed_rrc.h v17rx_floating_rrc.h
|
||||
|
||||
v17rx.lo: v17rx_fixed_rrc.h v17rx_floating_rrc.h
|
||||
|
||||
v17rx_fixed_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.17 -i -r >v17rx_fixed_rrc.h
|
||||
|
||||
v17rx_floating_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.17 -r >v17rx_floating_rrc.h
|
||||
|
||||
v17tx.$(OBJEXT): v17tx_fixed_rrc.h v17tx_floating_rrc.h
|
||||
|
||||
v17tx.lo: v17tx_fixed_rrc.h v17tx_floating_rrc.h
|
||||
|
||||
v17tx_fixed_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.17 -i -t >v17tx_fixed_rrc.h
|
||||
|
||||
v17tx_floating_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.17 -t >v17tx_floating_rrc.h
|
||||
|
||||
v22bis_rx.$(OBJEXT): v22bis_rx_1200_fixed_rrc.h \
|
||||
v22bis_rx_2400_fixed_rrc.h \
|
||||
v22bis_rx_1200_floating_rrc.h \
|
||||
v22bis_rx_2400_floating_rrc.h
|
||||
|
||||
v22bis_rx.lo: v22bis_rx_1200_fixed_rrc.h \
|
||||
v22bis_rx_2400_fixed_rrc.h \
|
||||
v22bis_rx_1200_floating_rrc.h \
|
||||
v22bis_rx_2400_floating_rrc.h
|
||||
|
||||
v22bis_rx_1200_fixed_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.22bis1200 -i -r >v22bis_rx_1200_fixed_rrc.h
|
||||
|
||||
v22bis_rx_2400_fixed_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.22bis2400 -i -r >v22bis_rx_2400_fixed_rrc.h
|
||||
|
||||
v22bis_rx_1200_floating_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.22bis1200 -r >v22bis_rx_1200_floating_rrc.h
|
||||
|
||||
v22bis_rx_2400_floating_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.22bis2400 -r >v22bis_rx_2400_floating_rrc.h
|
||||
|
||||
v22bis_tx.$(OBJEXT): v22bis_tx_fixed_rrc.h v22bis_tx_floating_rrc.h
|
||||
|
||||
v22bis_tx.lo: v22bis_tx_fixed_rrc.h v22bis_tx_floating_rrc.h
|
||||
|
||||
v22bis_tx_fixed_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.22bis -i -t >v22bis_tx_fixed_rrc.h
|
||||
|
||||
v22bis_tx_floating_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.22bis -t >v22bis_tx_floating_rrc.h
|
||||
|
||||
v27ter_rx_.$(OBJEXT): v27ter_rx_2400_fixed_rrc.h \
|
||||
v27ter_rx_4800_fixed_rrc.h \
|
||||
v27ter_rx_2400_floating_rrc.h \
|
||||
v27ter_rx_4800_floating_rrc.h
|
||||
|
||||
v27ter_rx.lo: v27ter_rx_2400_fixed_rrc.h \
|
||||
v27ter_rx_4800_fixed_rrc.h \
|
||||
v27ter_rx_2400_floating_rrc.h \
|
||||
v27ter_rx_4800_floating_rrc.h
|
||||
|
||||
v27ter_rx_2400_fixed_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.27ter2400 -i -r >v27ter_rx_2400_fixed_rrc.h
|
||||
|
||||
v27ter_rx_4800_fixed_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.27ter4800 -i -r >v27ter_rx_4800_fixed_rrc.h
|
||||
|
||||
v27ter_rx_2400_floating_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.27ter2400 -r >v27ter_rx_2400_floating_rrc.h
|
||||
|
||||
v27ter_rx_4800_floating_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.27ter4800 -r >v27ter_rx_4800_floating_rrc.h
|
||||
|
||||
v27ter_tx_.$(OBJEXT): v27ter_tx_2400_fixed_rrc.h \
|
||||
v27ter_tx_4800_fixed_rrc.h \
|
||||
v27ter_tx_2400_floating_rrc.h \
|
||||
v27ter_tx_4800_floating_rrc.h
|
||||
|
||||
v27ter_tx.lo: v27ter_tx_2400_fixed_rrc.h \
|
||||
v27ter_tx_4800_fixed_rrc.h \
|
||||
v27ter_tx_2400_floating_rrc.h \
|
||||
v27ter_tx_4800_floating_rrc.h
|
||||
|
||||
v27ter_tx_2400_fixed_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.27ter2400 -i -t >v27ter_tx_2400_fixed_rrc.h
|
||||
|
||||
v27ter_tx_4800_fixed_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.27ter4800 -i -t >v27ter_tx_4800_fixed_rrc.h
|
||||
|
||||
v27ter_tx_2400_floating_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.27ter2400 -t >v27ter_tx_2400_floating_rrc.h
|
||||
|
||||
v27ter_tx_4800_floating_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.27ter4800 -t >v27ter_tx_4800_floating_rrc.h
|
||||
|
||||
v29rx.$(OBJEXT): v29rx_fixed_rrc.h v29rx_floating_rrc.h
|
||||
|
||||
v29rx.lo: v29rx_fixed_rrc.h v29rx_floating_rrc.h
|
||||
|
||||
v29rx_fixed_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.29 -i -r >v29rx_fixed_rrc.h
|
||||
|
||||
v29rx_floating_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.29 -r >v29rx_floating_rrc.h
|
||||
|
||||
v29tx.$(OBJEXT): v29tx_fixed_rrc.h v29tx_floating_rrc.h
|
||||
|
||||
v29tx.lo: v29tx_fixed_rrc.h v29tx_floating_rrc.h
|
||||
|
||||
v29tx_fixed_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.29 -i -t >v29tx_fixed_rrc.h
|
||||
|
||||
v29tx_floating_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.29 -t >v29tx_floating_rrc.h
|
||||
|
||||
DSP = libspandsp.dsp
|
||||
VCPROJ = libspandsp.vcproj
|
||||
|
||||
WIN32SOURCES = $(libspandsp_la_SOURCES) msvc/gettimeofday.c
|
||||
WIN32HEADERS = $(nobase_include_HEADERS) spandsp.h
|
||||
|
||||
DSPOUT = | awk '{printf("%s\r\n", $$0)}' >> $(DSP)
|
||||
VCPROJOUT = | awk '{printf("%s\r\n", $$0)}' >> $(VCPROJ)
|
||||
|
||||
$(DSP): msvc/msvcproj.head msvc/msvcproj.foot Makefile.am
|
||||
echo "creating $(DSP)"
|
||||
@(cp $(srcdir)/msvc/msvcproj.head $(DSP); \
|
||||
echo "# Begin Group \"Source Files\"" $(DSPOUT); \
|
||||
for file in $(WIN32SOURCES); do \
|
||||
echo "# Begin Source File" $(DSPOUT); \
|
||||
echo "" $(DSPOUT); \
|
||||
echo "SOURCE=.\\"$$file $(DSPOUT); \
|
||||
echo "# End Source File" $(DSPOUT); \
|
||||
done; \
|
||||
echo "# End Group" $(DSPOUT); \
|
||||
echo "# Begin Group \"Header Files\"" $(DSPOUT); \
|
||||
for file in $(WIN32HEADERS); do \
|
||||
echo "# Begin Source File" $(DSPOUT); \
|
||||
echo "" $(DSPOUT); \
|
||||
echo "SOURCE=.\\"$$file $(DSPOUT); \
|
||||
echo "# End Source File" $(DSPOUT); \
|
||||
done; \
|
||||
echo "# End Group" $(DSPOUT); \
|
||||
cat $(srcdir)/msvc/msvcproj.foot $(DSPOUT) )
|
||||
|
||||
$(VCPROJ): msvc/vc8proj.head msvc/vc8proj.foot Makefile.am
|
||||
echo "creating $(VCPROJ)"
|
||||
@(cp $(srcdir)/msvc/vc8proj.head $(VCPROJ); \
|
||||
for file in $(WIN32SOURCES); do \
|
||||
echo "<File RelativePath=\""$$file"\"></File>" $(VCPROJOUT); \
|
||||
done; \
|
||||
echo "</Filter><Filter Name=\"Header Files\">" $(VCPROJOUT); \
|
||||
for file in $(WIN32HEADERS); do \
|
||||
echo "<File RelativePath=\""$$file"\"></File>" $(VCPROJOUT); \
|
||||
done; \
|
||||
cat $(srcdir)/msvc/vc8proj.foot $(VCPROJOUT) )
|
||||
|
||||
spandsp/version.h:
|
||||
NOWDATE=`date --utc +"%Y%m%d"` ; \
|
||||
NOWTIME=`date --utc +"%H%M%S"` ; \
|
||||
sed 's/$$SPANDSP_RELEASE_DATE/'$$NOWDATE'/;s/$$SPANDSP_RELEASE_TIME/'$$NOWTIME'/' \
|
||||
<spandsp/version.h.in >spandsp/version.h
|
||||
|
||||
dist-hook:
|
||||
NOWDATE=`date --utc +"%Y%m%d"` ; \
|
||||
NOWTIME=`date --utc +"%H%M%S"` ; \
|
||||
sed 's/$$SPANDSP_RELEASE_DATE/'$$NOWDATE'/;s/$$SPANDSP_RELEASE_TIME/'$$NOWTIME'/' \
|
||||
<spandsp/version.h.in >spandsp/version.h
|
||||
Reference in new issue
Block a user