5
|
1 ## Makefile.am -- Process this file with automake to produce Makefile.in
|
|
2 ##
|
|
3 ## This program is free software; you can redistribute it and/or modify
|
|
4 ## it under the terms of the GNU General Public License version 2, as
|
|
5 ## published by the Free Software Foundation.
|
|
6 ##
|
|
7 ## This program is distributed in the hope that it will be useful,
|
|
8 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
9 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
10 ## GNU General Public License for more details.
|
|
11 ##
|
|
12 ## You should have received a copy of the GNU General Public License
|
|
13 ## along with this program; if not, write to the Free Software
|
|
14 ## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
15 ##
|
|
16 ## $Id: Makefile.am,v 1.61 2006/11/30 15:41:47 steveu Exp $
|
|
17
|
|
18 AM_CFLAGS = $(COMP_VENDOR_CFLAGS)
|
|
19
|
|
20 MAINTAINERCLEANFILES = Makefile.in
|
|
21
|
|
22 INCLUDES = -I$(top_builddir)
|
|
23
|
|
24 lib_LTLIBRARIES = libspandsp.la
|
|
25
|
|
26 libspandsp_la_SOURCES = adsi.c \
|
|
27 async.c \
|
|
28 at_interpreter.c \
|
|
29 awgn.c \
|
|
30 bell_r2_mf.c \
|
|
31 bert.c \
|
|
32 bit_operations.c \
|
|
33 bitstream.c \
|
|
34 complex_dds.c \
|
|
35 complex_filters.c \
|
|
36 complex_vector_float.c \
|
|
37 dds.c \
|
|
38 dtmf.c \
|
|
39 echo.c \
|
|
40 fax.c \
|
|
41 fsk.c \
|
|
42 g711.c \
|
|
43 g722_encode.c \
|
|
44 g722_decode.c \
|
|
45 g726.c \
|
|
46 gsm0610_decode.c \
|
|
47 gsm0610_encode.c \
|
|
48 gsm0610_long_term.c \
|
|
49 gsm0610_lpc.c \
|
|
50 gsm0610_preprocess.c \
|
|
51 gsm0610_rpe.c \
|
|
52 gsm0610_short_term.c \
|
|
53 hdlc.c \
|
|
54 ima_adpcm.c \
|
|
55 logging.c \
|
|
56 lpc10_analyse.c \
|
|
57 lpc10_decode.c \
|
|
58 lpc10_encode.c \
|
|
59 lpc10_placev.c \
|
|
60 lpc10_voicing.c \
|
|
61 modem_echo.c \
|
|
62 modem_connect_tones.c \
|
|
63 noise.c \
|
|
64 oki_adpcm.c \
|
|
65 playout.c \
|
|
66 plc.c \
|
|
67 power_meter.c \
|
|
68 queue.c \
|
|
69 schedule.c \
|
|
70 sig_tone.c \
|
|
71 silence_gen.c \
|
|
72 super_tone_rx.c \
|
|
73 super_tone_tx.c \
|
|
74 t4.c \
|
|
75 t30.c \
|
|
76 t31.c \
|
|
77 t35.c \
|
|
78 t38_core.c \
|
|
79 t38_gateway.c \
|
|
80 t38_terminal.c \
|
|
81 testcpuid.c \
|
|
82 time_scale.c \
|
|
83 tone_detect.c \
|
|
84 tone_generate.c \
|
|
85 v17rx.c \
|
|
86 v17tx.c \
|
|
87 v22bis_rx.c \
|
|
88 v22bis_tx.c \
|
|
89 v27ter_rx.c \
|
|
90 v27ter_tx.c \
|
|
91 v29rx.c \
|
|
92 v29tx.c \
|
|
93 v42.c \
|
|
94 v42bis.c \
|
|
95 v8.c \
|
|
96 vector_float.c \
|
|
97 vector_int.c
|
|
98
|
|
99 libspandsp_la_LDFLAGS = -version-info @SPANDSP_LT_CURRENT@:@SPANDSP_LT_REVISION@:@SPANDSP_LT_AGE@
|
|
100
|
|
101 nobase_include_HEADERS = spandsp/adsi.h \
|
|
102 spandsp/async.h \
|
|
103 spandsp/arctan2.h \
|
|
104 spandsp/at_interpreter.h \
|
|
105 spandsp/awgn.h \
|
|
106 spandsp/bell_r2_mf.h \
|
|
107 spandsp/bert.h \
|
|
108 spandsp/biquad.h \
|
|
109 spandsp/bit_operations.h \
|
|
110 spandsp/bitstream.h \
|
|
111 spandsp/complex.h \
|
|
112 spandsp/complex_filters.h \
|
|
113 spandsp/complex_vector_float.h \
|
|
114 spandsp/dc_restore.h \
|
|
115 spandsp/dds.h \
|
|
116 spandsp/dtmf.h \
|
|
117 spandsp/echo.h \
|
|
118 spandsp/fax.h \
|
|
119 spandsp/fir.h \
|
|
120 spandsp/fsk.h \
|
|
121 spandsp/g168models.h \
|
|
122 spandsp/g711.h \
|
|
123 spandsp/g722.h \
|
|
124 spandsp/g726.h \
|
|
125 spandsp/gsm0610.h \
|
|
126 spandsp/hdlc.h \
|
|
127 spandsp/ima_adpcm.h \
|
|
128 spandsp/logging.h \
|
|
129 spandsp/lpc10.h \
|
|
130 spandsp/modem_echo.h \
|
|
131 spandsp/modem_connect_tones.h \
|
|
132 spandsp/noise.h \
|
|
133 spandsp/oki_adpcm.h \
|
|
134 spandsp/playout.h \
|
|
135 spandsp/plc.h \
|
|
136 spandsp/power_meter.h \
|
|
137 spandsp/queue.h \
|
|
138 spandsp/schedule.h \
|
|
139 spandsp/sig_tone.h \
|
|
140 spandsp/silence_gen.h \
|
|
141 spandsp/super_tone_rx.h \
|
|
142 spandsp/super_tone_tx.h \
|
|
143 spandsp/t4.h \
|
|
144 spandsp/t30.h \
|
|
145 spandsp/t30_fcf.h \
|
|
146 spandsp/t31.h \
|
|
147 spandsp/t35.h \
|
|
148 spandsp/t38_core.h \
|
|
149 spandsp/t38_gateway.h \
|
|
150 spandsp/t38_terminal.h \
|
|
151 spandsp/telephony.h \
|
|
152 spandsp/time_scale.h \
|
|
153 spandsp/timing.h \
|
|
154 spandsp/tone_detect.h \
|
|
155 spandsp/tone_generate.h \
|
|
156 spandsp/v17rx.h \
|
|
157 spandsp/v17tx.h \
|
|
158 spandsp/v22bis.h \
|
|
159 spandsp/v27ter_rx.h \
|
|
160 spandsp/v27ter_tx.h \
|
|
161 spandsp/v29rx.h \
|
|
162 spandsp/v29tx.h \
|
|
163 spandsp/v42.h \
|
|
164 spandsp/v42bis.h \
|
|
165 spandsp/v8.h \
|
|
166 spandsp/vector_float.h \
|
|
167 spandsp/vector_int.h \
|
|
168 spandsp.h
|
|
169
|
|
170 noinst_HEADERS = faxfont.h \
|
|
171 gsm0610_local.h \
|
|
172 lpc10_encdecs.h \
|
|
173 t4states.h
|
|
174
|
|
175 noinst_PROGRAMS = at_dictionary_gen
|
|
176
|
|
177 # We need to run at_dictionary_gen, so it generates the at_interpreter_dictionary.h file
|
|
178 # used by several of the test programs.
|
|
179
|
|
180 at_interpreter.$(OBJEXT): at_dictionary_gen$(EXEEXT) at_interpreter_dictionary.h
|
|
181
|
|
182 at_interpreter.lo: at_dictionary_gen$(EXEEXT) at_interpreter_dictionary.h
|
|
183
|
|
184 at_interpreter_dictionary.h: at_dictionary_gen$(EXEEXT)
|
|
185 ./at_dictionary_gen$(EXEEXT) >at_interpreter_dictionary.h
|
|
186
|
|
187 DSP = libspandsp.dsp
|
|
188 VCPROJ = libspandsp.vcproj
|
|
189
|
|
190 WIN32SOURCES = $(libspandsp_la_SOURCES) gettimeofday.c
|
|
191 WIN32HEADERS = $(nobase_include_HEADERS) spandsp.h
|
|
192
|
|
193 DSPOUT = | awk '{printf("%s\r\n", $$0)}' >> $(DSP)
|
|
194 VCPROJOUT = | awk '{printf("%s\r\n", $$0)}' >> $(VCPROJ)
|
|
195
|
|
196 $(DSP): msvc/msvcproj.head msvc/msvcproj.foot Makefile.am
|
|
197 echo "creating $(DSP)"
|
|
198 @(cp $(srcdir)/msvc/msvcproj.head $(DSP); \
|
|
199 echo "# Begin Group \"Source Files\"" $(DSPOUT); \
|
|
200 for file in $(WIN32SOURCES); do \
|
|
201 echo "# Begin Source File" $(DSPOUT); \
|
|
202 echo "" $(DSPOUT); \
|
|
203 echo "SOURCE=.\\"$$file $(DSPOUT); \
|
|
204 echo "# End Source File" $(DSPOUT); \
|
|
205 done; \
|
|
206 echo "# End Group" $(DSPOUT); \
|
|
207 echo "# Begin Group \"Header Files\"" $(DSPOUT); \
|
|
208 for file in $(WIN32HEADERS); do \
|
|
209 echo "# Begin Source File" $(DSPOUT); \
|
|
210 echo "" $(DSPOUT); \
|
|
211 echo "SOURCE=.\\"$$file $(DSPOUT); \
|
|
212 echo "# End Source File" $(DSPOUT); \
|
|
213 done; \
|
|
214 echo "# End Group" $(DSPOUT); \
|
|
215 cat $(srcdir)/msvc/msvcproj.foot $(DSPOUT) )
|
|
216
|
|
217 $(VCPROJ): msvc/vc8proj.head msvc/vc8proj.foot Makefile.am
|
|
218 echo "creating $(VCPROJ)"
|
|
219 @(cp $(srcdir)/msvc/vc8proj.head $(VCPROJ); \
|
|
220 for file in $(WIN32SOURCES); do \
|
|
221 echo "<File RelativePath=\""$$file"\"></File>" $(VCPROJOUT); \
|
|
222 done; \
|
|
223 echo "</Filter><Filter Name=\"Header Files\">" $(VCPROJOUT); \
|
|
224 for file in $(WIN32HEADERS); do \
|
|
225 echo "<File RelativePath=\""$$file"\"></File>" $(VCPROJOUT); \
|
|
226 done; \
|
|
227 cat $(srcdir)/msvc/vc8proj.foot $(VCPROJOUT) )
|