Mercurial > hg > audiostuff
comparison spandsp-0.0.6pre17/src/Makefile.am @ 4:26cd8f1ef0b1
import spandsp-0.0.6pre17
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Fri, 25 Jun 2010 15:50:58 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3:c6c5a16ce2f2 | 4:26cd8f1ef0b1 |
---|---|
1 ## | |
2 ## SpanDSP - a series of DSP components for telephony | |
3 ## | |
4 ## Makefile.am - Process this file with automake to produce Makefile.in | |
5 ## | |
6 ## This program is free software; you can redistribute it and/or modify | |
7 ## it under the terms of the GNU Lesser General Public License version 2.1, | |
8 ## as published by the Free Software Foundation. | |
9 ## | |
10 ## This program is distributed in the hope that it will be useful, | |
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 ## GNU Lesser General Public License for more details. | |
14 ## | |
15 ## You should have received a copy of the GNU Lesser General Public | |
16 ## License along with this program; if not, write to the Free Software | |
17 ## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
18 ## | |
19 ## $Id: Makefile.am,v 1.138.4.3 2009/12/19 10:30:10 steveu Exp $ | |
20 | |
21 AM_CFLAGS = $(COMP_VENDOR_CFLAGS) | |
22 AM_LDFLAGS = $(COMP_VENDOR_LDFLAGS) | |
23 | |
24 MAINTAINERCLEANFILES = Makefile.in | |
25 | |
26 DISTCLEANFILES = $(srcdir)/at_interpreter_dictionary.h \ | |
27 $(srcdir)/v17_v32bis_rx_fixed_rrc.h \ | |
28 $(srcdir)/v17_v32bis_rx_floating_rrc.h \ | |
29 $(srcdir)/v17_v32bis_tx_fixed_rrc.h \ | |
30 $(srcdir)/v17_v32bis_tx_floating_rrc.h \ | |
31 $(srcdir)/v22bis_rx_1200_fixed_rrc.h \ | |
32 $(srcdir)/v22bis_rx_2400_fixed_rrc.h \ | |
33 $(srcdir)/v22bis_rx_1200_floating_rrc.h \ | |
34 $(srcdir)/v22bis_rx_2400_floating_rrc.h \ | |
35 $(srcdir)/v22bis_tx_fixed_rrc.h \ | |
36 $(srcdir)/v22bis_tx_floating_rrc.h \ | |
37 $(srcdir)/v27ter_rx_2400_fixed_rrc.h \ | |
38 $(srcdir)/v27ter_rx_4800_fixed_rrc.h \ | |
39 $(srcdir)/v27ter_rx_2400_floating_rrc.h \ | |
40 $(srcdir)/v27ter_rx_4800_floating_rrc.h \ | |
41 $(srcdir)/v27ter_tx_2400_fixed_rrc.h \ | |
42 $(srcdir)/v27ter_tx_4800_fixed_rrc.h \ | |
43 $(srcdir)/v27ter_tx_2400_floating_rrc.h \ | |
44 $(srcdir)/v27ter_tx_4800_floating_rrc.h \ | |
45 $(srcdir)/v29rx_fixed_rrc.h \ | |
46 $(srcdir)/v29rx_floating_rrc.h \ | |
47 $(srcdir)/v29tx_fixed_rrc.h \ | |
48 $(srcdir)/v29tx_floating_rrc.h | |
49 | |
50 EXTRA_DIST = floating_fudge.h \ | |
51 libspandsp.dsp \ | |
52 libspandsp.2005.sln \ | |
53 libspandsp.2008.sln \ | |
54 libspandsp.2005.vcproj \ | |
55 libspandsp.2008.vcproj \ | |
56 libtiff.2005.vcproj \ | |
57 libtiff.2008.vcproj \ | |
58 filter_tools.c \ | |
59 make_at_dictionary.c \ | |
60 make_modem_filter.c \ | |
61 msvc/config.h \ | |
62 msvc/Download_TIFF.2005.vcproj \ | |
63 msvc/Download_TIFF.2008.vcproj \ | |
64 msvc/getopt.c \ | |
65 msvc/gettimeofday.c \ | |
66 msvc/inttypes.h \ | |
67 msvc/make_at_dictionary.2005.vcproj \ | |
68 msvc/make_at_dictionary.2008.vcproj \ | |
69 msvc/make_modem_filter.2005.vcproj \ | |
70 msvc/make_modem_filter.2008.vcproj \ | |
71 msvc/msvcproj.head \ | |
72 msvc/msvcproj.foot \ | |
73 msvc/spandsp.h \ | |
74 msvc/tgmath.h \ | |
75 msvc/tiff/cleancount \ | |
76 msvc/unistd.h \ | |
77 msvc/util.vbs \ | |
78 msvc/vc8proj.foot \ | |
79 msvc/vc8proj.head \ | |
80 msvc/vc9proj.foot \ | |
81 msvc/vc9proj.head \ | |
82 msvc/sys/time.h \ | |
83 spandsp/private/README \ | |
84 spandsp/version.h.in | |
85 | |
86 INCLUDES = -I$(top_builddir) | |
87 | |
88 lib_LTLIBRARIES = libspandsp.la | |
89 | |
90 libspandsp_la_SOURCES = adsi.c \ | |
91 async.c \ | |
92 at_interpreter.c \ | |
93 awgn.c \ | |
94 bell_r2_mf.c \ | |
95 bert.c \ | |
96 bit_operations.c \ | |
97 bitstream.c \ | |
98 complex_filters.c \ | |
99 complex_vector_float.c \ | |
100 complex_vector_int.c \ | |
101 crc.c \ | |
102 dds_float.c \ | |
103 dds_int.c \ | |
104 dtmf.c \ | |
105 echo.c \ | |
106 fax.c \ | |
107 fax_modems.c \ | |
108 fsk.c \ | |
109 g711.c \ | |
110 g722.c \ | |
111 g726.c \ | |
112 gsm0610_decode.c \ | |
113 gsm0610_encode.c \ | |
114 gsm0610_long_term.c \ | |
115 gsm0610_lpc.c \ | |
116 gsm0610_preprocess.c \ | |
117 gsm0610_rpe.c \ | |
118 gsm0610_short_term.c \ | |
119 hdlc.c \ | |
120 ima_adpcm.c \ | |
121 logging.c \ | |
122 lpc10_analyse.c \ | |
123 lpc10_decode.c \ | |
124 lpc10_encode.c \ | |
125 lpc10_placev.c \ | |
126 lpc10_voicing.c \ | |
127 modem_echo.c \ | |
128 modem_connect_tones.c \ | |
129 noise.c \ | |
130 oki_adpcm.c \ | |
131 playout.c \ | |
132 plc.c \ | |
133 power_meter.c \ | |
134 queue.c \ | |
135 schedule.c \ | |
136 sig_tone.c \ | |
137 silence_gen.c \ | |
138 super_tone_rx.c \ | |
139 super_tone_tx.c \ | |
140 swept_tone.c \ | |
141 t4_rx.c \ | |
142 t4_tx.c \ | |
143 t30.c \ | |
144 t30_api.c \ | |
145 t30_logging.c \ | |
146 t31.c \ | |
147 t35.c \ | |
148 t38_core.c \ | |
149 t38_gateway.c \ | |
150 t38_non_ecm_buffer.c \ | |
151 t38_terminal.c \ | |
152 testcpuid.c \ | |
153 time_scale.c \ | |
154 tone_detect.c \ | |
155 tone_generate.c \ | |
156 v17rx.c \ | |
157 v17tx.c \ | |
158 v18.c \ | |
159 v22bis_rx.c \ | |
160 v22bis_tx.c \ | |
161 v27ter_rx.c \ | |
162 v27ter_tx.c \ | |
163 v29rx.c \ | |
164 v29tx.c \ | |
165 v42.c \ | |
166 v42bis.c \ | |
167 v8.c \ | |
168 vector_float.c \ | |
169 vector_int.c | |
170 | |
171 libspandsp_la_LDFLAGS = -version-info @SPANDSP_LT_CURRENT@:@SPANDSP_LT_REVISION@:@SPANDSP_LT_AGE@ $(COMP_VENDOR_LDFLAGS) | |
172 | |
173 nobase_include_HEADERS = spandsp/adsi.h \ | |
174 spandsp/async.h \ | |
175 spandsp/arctan2.h \ | |
176 spandsp/at_interpreter.h \ | |
177 spandsp/awgn.h \ | |
178 spandsp/bell_r2_mf.h \ | |
179 spandsp/bert.h \ | |
180 spandsp/biquad.h \ | |
181 spandsp/bit_operations.h \ | |
182 spandsp/bitstream.h \ | |
183 spandsp/crc.h \ | |
184 spandsp/complex.h \ | |
185 spandsp/complex_filters.h \ | |
186 spandsp/complex_vector_float.h \ | |
187 spandsp/complex_vector_int.h \ | |
188 spandsp/dc_restore.h \ | |
189 spandsp/dds.h \ | |
190 spandsp/dtmf.h \ | |
191 spandsp/echo.h \ | |
192 spandsp/fast_convert.h \ | |
193 spandsp/fax.h \ | |
194 spandsp/fax_modems.h \ | |
195 spandsp/fir.h \ | |
196 spandsp/fsk.h \ | |
197 spandsp/g168models.h \ | |
198 spandsp/g711.h \ | |
199 spandsp/g722.h \ | |
200 spandsp/g726.h \ | |
201 spandsp/gsm0610.h \ | |
202 spandsp/hdlc.h \ | |
203 spandsp/ima_adpcm.h \ | |
204 spandsp/logging.h \ | |
205 spandsp/lpc10.h \ | |
206 spandsp/modem_echo.h \ | |
207 spandsp/modem_connect_tones.h \ | |
208 spandsp/noise.h \ | |
209 spandsp/oki_adpcm.h \ | |
210 spandsp/playout.h \ | |
211 spandsp/plc.h \ | |
212 spandsp/power_meter.h \ | |
213 spandsp/queue.h \ | |
214 spandsp/saturated.h \ | |
215 spandsp/schedule.h \ | |
216 spandsp/sig_tone.h \ | |
217 spandsp/silence_gen.h \ | |
218 spandsp/super_tone_rx.h \ | |
219 spandsp/super_tone_tx.h \ | |
220 spandsp/swept_tone.h \ | |
221 spandsp/t4_rx.h \ | |
222 spandsp/t4_tx.h \ | |
223 spandsp/t30.h \ | |
224 spandsp/t30_api.h \ | |
225 spandsp/t30_fcf.h \ | |
226 spandsp/t30_logging.h \ | |
227 spandsp/t31.h \ | |
228 spandsp/t35.h \ | |
229 spandsp/t38_core.h \ | |
230 spandsp/t38_gateway.h \ | |
231 spandsp/t38_non_ecm_buffer.h \ | |
232 spandsp/t38_terminal.h \ | |
233 spandsp/telephony.h \ | |
234 spandsp/time_scale.h \ | |
235 spandsp/timing.h \ | |
236 spandsp/tone_detect.h \ | |
237 spandsp/tone_generate.h \ | |
238 spandsp/v17rx.h \ | |
239 spandsp/v17tx.h \ | |
240 spandsp/v18.h \ | |
241 spandsp/v22bis.h \ | |
242 spandsp/v27ter_rx.h \ | |
243 spandsp/v27ter_tx.h \ | |
244 spandsp/v29rx.h \ | |
245 spandsp/v29tx.h \ | |
246 spandsp/v42.h \ | |
247 spandsp/v42bis.h \ | |
248 spandsp/v8.h \ | |
249 spandsp/vector_float.h \ | |
250 spandsp/vector_int.h \ | |
251 spandsp/version.h \ | |
252 spandsp/private/adsi.h \ | |
253 spandsp/private/async.h \ | |
254 spandsp/private/at_interpreter.h \ | |
255 spandsp/private/awgn.h \ | |
256 spandsp/private/bell_r2_mf.h \ | |
257 spandsp/private/bert.h \ | |
258 spandsp/private/bitstream.h \ | |
259 spandsp/private/dtmf.h \ | |
260 spandsp/private/echo.h \ | |
261 spandsp/private/fax.h \ | |
262 spandsp/private/fax_modems.h \ | |
263 spandsp/private/fsk.h \ | |
264 spandsp/private/g711.h \ | |
265 spandsp/private/g722.h \ | |
266 spandsp/private/g726.h \ | |
267 spandsp/private/gsm0610.h \ | |
268 spandsp/private/hdlc.h \ | |
269 spandsp/private/ima_adpcm.h \ | |
270 spandsp/private/logging.h \ | |
271 spandsp/private/lpc10.h \ | |
272 spandsp/private/modem_connect_tones.h \ | |
273 spandsp/private/modem_echo.h \ | |
274 spandsp/private/noise.h \ | |
275 spandsp/private/oki_adpcm.h \ | |
276 spandsp/private/queue.h \ | |
277 spandsp/private/schedule.h \ | |
278 spandsp/private/sig_tone.h \ | |
279 spandsp/private/silence_gen.h \ | |
280 spandsp/private/super_tone_rx.h \ | |
281 spandsp/private/super_tone_tx.h \ | |
282 spandsp/private/swept_tone.h \ | |
283 spandsp/private/t30.h \ | |
284 spandsp/private/t30_dis_dtc_dcs_bits.h \ | |
285 spandsp/private/t31.h \ | |
286 spandsp/private/t38_core.h \ | |
287 spandsp/private/t38_gateway.h \ | |
288 spandsp/private/t38_non_ecm_buffer.h \ | |
289 spandsp/private/t38_terminal.h \ | |
290 spandsp/private/t4_rx.h \ | |
291 spandsp/private/t4_tx.h \ | |
292 spandsp/private/time_scale.h \ | |
293 spandsp/private/tone_detect.h \ | |
294 spandsp/private/tone_generate.h \ | |
295 spandsp/private/v17rx.h \ | |
296 spandsp/private/v17tx.h \ | |
297 spandsp/private/v18.h \ | |
298 spandsp/private/v22bis.h \ | |
299 spandsp/private/v27ter_rx.h \ | |
300 spandsp/private/v27ter_tx.h \ | |
301 spandsp/private/v29rx.h \ | |
302 spandsp/private/v29tx.h \ | |
303 spandsp/private/v42.h \ | |
304 spandsp/private/v42bis.h \ | |
305 spandsp/private/v8.h \ | |
306 spandsp/expose.h | |
307 | |
308 nodist_include_HEADERS = spandsp.h | |
309 | |
310 noinst_HEADERS = faxfont.h \ | |
311 filter_tools.h \ | |
312 gsm0610_local.h \ | |
313 lpc10_encdecs.h \ | |
314 mmx_sse_decs.h \ | |
315 t30_local.h \ | |
316 t4_t6_decode_states.h \ | |
317 v17_v32bis_rx_constellation_maps.h \ | |
318 v17_v32bis_tx_constellation_maps.h \ | |
319 v29tx_constellation_maps.h | |
320 | |
321 make_at_dictionary$(EXEEXT): $(top_srcdir)/src/make_at_dictionary.c | |
322 $(CC_FOR_BUILD) -o make_at_dictionary$(EXEEXT) $(top_srcdir)/src/make_at_dictionary.c -DHAVE_CONFIG_H -I$(top_builddir)/src | |
323 | |
324 make_modem_filter$(EXEEXT): $(top_srcdir)/src/make_modem_filter.c $(top_srcdir)/src/filter_tools.c | |
325 $(CC_FOR_BUILD) -o make_modem_filter$(EXEEXT) $(top_srcdir)/src/make_modem_filter.c $(top_srcdir)/src/filter_tools.c -DHAVE_CONFIG_H -I$(top_builddir)/src -lm | |
326 | |
327 # We need to run make_at_dictionary, so it generates the | |
328 # at_interpreter_dictionary.h file | |
329 | |
330 at_interpreter.$(OBJEXT): at_interpreter_dictionary.h | |
331 | |
332 at_interpreter.lo: at_interpreter_dictionary.h | |
333 | |
334 at_interpreter_dictionary.h: make_at_dictionary$(EXEEXT) | |
335 ./make_at_dictionary$(EXEEXT) >at_interpreter_dictionary.h | |
336 | |
337 t4.$(OBJEXT): spandsp/version.h | |
338 | |
339 t4.lo: spandsp/version.h | |
340 | |
341 v17rx.$(OBJEXT): v17_v32bis_rx_fixed_rrc.h v17_v32bis_rx_floating_rrc.h | |
342 | |
343 v17rx.lo: v17_v32bis_rx_fixed_rrc.h v17_v32bis_rx_floating_rrc.h | |
344 | |
345 v17_v32bis_rx_fixed_rrc.h: make_modem_filter$(EXEEXT) | |
346 ./make_modem_filter$(EXEEXT) -m V.17 -i -r >v17_v32bis_rx_fixed_rrc.h | |
347 | |
348 v17_v32bis_rx_floating_rrc.h: make_modem_filter$(EXEEXT) | |
349 ./make_modem_filter$(EXEEXT) -m V.17 -r >v17_v32bis_rx_floating_rrc.h | |
350 | |
351 v17tx.$(OBJEXT): v17_v32bis_tx_fixed_rrc.h v17_v32bis_tx_floating_rrc.h | |
352 | |
353 v17tx.lo: v17_v32bis_tx_fixed_rrc.h v17_v32bis_tx_floating_rrc.h | |
354 | |
355 v17_v32bis_tx_fixed_rrc.h: make_modem_filter$(EXEEXT) | |
356 ./make_modem_filter$(EXEEXT) -m V.17 -i -t >v17_v32bis_tx_fixed_rrc.h | |
357 | |
358 v17_v32bis_tx_floating_rrc.h: make_modem_filter$(EXEEXT) | |
359 ./make_modem_filter$(EXEEXT) -m V.17 -t >v17_v32bis_tx_floating_rrc.h | |
360 | |
361 v22bis_rx.$(OBJEXT): v22bis_rx_1200_fixed_rrc.h \ | |
362 v22bis_rx_2400_fixed_rrc.h \ | |
363 v22bis_rx_1200_floating_rrc.h \ | |
364 v22bis_rx_2400_floating_rrc.h | |
365 | |
366 v22bis_rx.lo: v22bis_rx_1200_fixed_rrc.h \ | |
367 v22bis_rx_2400_fixed_rrc.h \ | |
368 v22bis_rx_1200_floating_rrc.h \ | |
369 v22bis_rx_2400_floating_rrc.h | |
370 | |
371 v22bis_rx_1200_fixed_rrc.h: make_modem_filter$(EXEEXT) | |
372 ./make_modem_filter$(EXEEXT) -m V.22bis1200 -i -r >v22bis_rx_1200_fixed_rrc.h | |
373 | |
374 v22bis_rx_2400_fixed_rrc.h: make_modem_filter$(EXEEXT) | |
375 ./make_modem_filter$(EXEEXT) -m V.22bis2400 -i -r >v22bis_rx_2400_fixed_rrc.h | |
376 | |
377 v22bis_rx_1200_floating_rrc.h: make_modem_filter$(EXEEXT) | |
378 ./make_modem_filter$(EXEEXT) -m V.22bis1200 -r >v22bis_rx_1200_floating_rrc.h | |
379 | |
380 v22bis_rx_2400_floating_rrc.h: make_modem_filter$(EXEEXT) | |
381 ./make_modem_filter$(EXEEXT) -m V.22bis2400 -r >v22bis_rx_2400_floating_rrc.h | |
382 | |
383 v22bis_tx.$(OBJEXT): v22bis_tx_fixed_rrc.h v22bis_tx_floating_rrc.h | |
384 | |
385 v22bis_tx.lo: v22bis_tx_fixed_rrc.h v22bis_tx_floating_rrc.h | |
386 | |
387 v22bis_tx_fixed_rrc.h: make_modem_filter$(EXEEXT) | |
388 ./make_modem_filter$(EXEEXT) -m V.22bis -i -t >v22bis_tx_fixed_rrc.h | |
389 | |
390 v22bis_tx_floating_rrc.h: make_modem_filter$(EXEEXT) | |
391 ./make_modem_filter$(EXEEXT) -m V.22bis -t >v22bis_tx_floating_rrc.h | |
392 | |
393 v27ter_rx_.$(OBJEXT): v27ter_rx_2400_fixed_rrc.h \ | |
394 v27ter_rx_4800_fixed_rrc.h \ | |
395 v27ter_rx_2400_floating_rrc.h \ | |
396 v27ter_rx_4800_floating_rrc.h | |
397 | |
398 v27ter_rx.lo: v27ter_rx_2400_fixed_rrc.h \ | |
399 v27ter_rx_4800_fixed_rrc.h \ | |
400 v27ter_rx_2400_floating_rrc.h \ | |
401 v27ter_rx_4800_floating_rrc.h | |
402 | |
403 v27ter_rx_2400_fixed_rrc.h: make_modem_filter$(EXEEXT) | |
404 ./make_modem_filter$(EXEEXT) -m V.27ter2400 -i -r >v27ter_rx_2400_fixed_rrc.h | |
405 | |
406 v27ter_rx_4800_fixed_rrc.h: make_modem_filter$(EXEEXT) | |
407 ./make_modem_filter$(EXEEXT) -m V.27ter4800 -i -r >v27ter_rx_4800_fixed_rrc.h | |
408 | |
409 v27ter_rx_2400_floating_rrc.h: make_modem_filter$(EXEEXT) | |
410 ./make_modem_filter$(EXEEXT) -m V.27ter2400 -r >v27ter_rx_2400_floating_rrc.h | |
411 | |
412 v27ter_rx_4800_floating_rrc.h: make_modem_filter$(EXEEXT) | |
413 ./make_modem_filter$(EXEEXT) -m V.27ter4800 -r >v27ter_rx_4800_floating_rrc.h | |
414 | |
415 v27ter_tx_.$(OBJEXT): v27ter_tx_2400_fixed_rrc.h \ | |
416 v27ter_tx_4800_fixed_rrc.h \ | |
417 v27ter_tx_2400_floating_rrc.h \ | |
418 v27ter_tx_4800_floating_rrc.h | |
419 | |
420 v27ter_tx.lo: v27ter_tx_2400_fixed_rrc.h \ | |
421 v27ter_tx_4800_fixed_rrc.h \ | |
422 v27ter_tx_2400_floating_rrc.h \ | |
423 v27ter_tx_4800_floating_rrc.h | |
424 | |
425 v27ter_tx_2400_fixed_rrc.h: make_modem_filter$(EXEEXT) | |
426 ./make_modem_filter$(EXEEXT) -m V.27ter2400 -i -t >v27ter_tx_2400_fixed_rrc.h | |
427 | |
428 v27ter_tx_4800_fixed_rrc.h: make_modem_filter$(EXEEXT) | |
429 ./make_modem_filter$(EXEEXT) -m V.27ter4800 -i -t >v27ter_tx_4800_fixed_rrc.h | |
430 | |
431 v27ter_tx_2400_floating_rrc.h: make_modem_filter$(EXEEXT) | |
432 ./make_modem_filter$(EXEEXT) -m V.27ter2400 -t >v27ter_tx_2400_floating_rrc.h | |
433 | |
434 v27ter_tx_4800_floating_rrc.h: make_modem_filter$(EXEEXT) | |
435 ./make_modem_filter$(EXEEXT) -m V.27ter4800 -t >v27ter_tx_4800_floating_rrc.h | |
436 | |
437 v29rx.$(OBJEXT): v29rx_fixed_rrc.h v29rx_floating_rrc.h | |
438 | |
439 v29rx.lo: v29rx_fixed_rrc.h v29rx_floating_rrc.h | |
440 | |
441 v29rx_fixed_rrc.h: make_modem_filter$(EXEEXT) | |
442 ./make_modem_filter$(EXEEXT) -m V.29 -i -r >v29rx_fixed_rrc.h | |
443 | |
444 v29rx_floating_rrc.h: make_modem_filter$(EXEEXT) | |
445 ./make_modem_filter$(EXEEXT) -m V.29 -r >v29rx_floating_rrc.h | |
446 | |
447 v29tx.$(OBJEXT): v29tx_fixed_rrc.h v29tx_floating_rrc.h | |
448 | |
449 v29tx.lo: v29tx_fixed_rrc.h v29tx_floating_rrc.h | |
450 | |
451 v29tx_fixed_rrc.h: make_modem_filter$(EXEEXT) | |
452 ./make_modem_filter$(EXEEXT) -m V.29 -i -t >v29tx_fixed_rrc.h | |
453 | |
454 v29tx_floating_rrc.h: make_modem_filter$(EXEEXT) | |
455 ./make_modem_filter$(EXEEXT) -m V.29 -t >v29tx_floating_rrc.h | |
456 | |
457 DSP = libspandsp.dsp | |
458 VCPROJ8 = libspandsp.2005.vcproj | |
459 VCPROJ9 = libspandsp.2008.vcproj | |
460 | |
461 WIN32SOURCES = $(libspandsp_la_SOURCES) .\\msvc\\gettimeofday.c | |
462 WIN32HEADERS = $(nobase_include_HEADERS) spandsp.h | |
463 | |
464 DSPOUT = | awk '{printf("%s\r\n", $$0)}' >> $(DSP) | |
465 VCPROJOUT8 = | awk '{printf("%s\r\n", $$0)}' >> $(VCPROJ8) | |
466 VCPROJOUT9 = | awk '{printf("%s\r\n", $$0)}' >> $(VCPROJ9) | |
467 | |
468 $(DSP): msvc/msvcproj.head msvc/msvcproj.foot Makefile.am | |
469 echo "creating $(DSP)" | |
470 @(cp $(srcdir)/msvc/msvcproj.head $(DSP); \ | |
471 echo "# Begin Group \"Source Files\"" $(DSPOUT); \ | |
472 for file in $(WIN32SOURCES); do \ | |
473 echo "# Begin Source File" $(DSPOUT); \ | |
474 echo "" $(DSPOUT); \ | |
475 echo "SOURCE=.\\"$$file $(DSPOUT); \ | |
476 echo "# End Source File" $(DSPOUT); \ | |
477 done; \ | |
478 echo "# End Group" $(DSPOUT); \ | |
479 echo "# Begin Group \"Header Files\"" $(DSPOUT); \ | |
480 for file in $(WIN32HEADERS); do \ | |
481 echo "# Begin Source File" $(DSPOUT); \ | |
482 echo "" $(DSPOUT); \ | |
483 echo "SOURCE=.\\"$$file $(DSPOUT); \ | |
484 echo "# End Source File" $(DSPOUT); \ | |
485 done; \ | |
486 echo "# End Group" $(DSPOUT); \ | |
487 cat $(srcdir)/msvc/msvcproj.foot $(DSPOUT) ) | |
488 | |
489 $(VCPROJ8): msvc/vc8proj.head msvc/vc8proj.foot Makefile.am | |
490 echo "creating $(VCPROJ8)" | |
491 @(cp $(srcdir)/msvc/vc8proj.head $(VCPROJ8); \ | |
492 for file in $(WIN32SOURCES); do \ | |
493 echo "<File RelativePath=\""$$file"\"></File>" $(VCPROJOUT8); \ | |
494 done; \ | |
495 echo "</Filter><Filter Name=\"Header Files\">" $(VCPROJOUT8); \ | |
496 for file in $(WIN32HEADERS); do \ | |
497 echo "<File RelativePath=\""$$file"\"></File>" $(VCPROJOUT8); \ | |
498 done; \ | |
499 cat $(srcdir)/msvc/vc8proj.foot $(VCPROJOUT8) ) | |
500 | |
501 $(VCPROJ9): msvc/vc9proj.head msvc/vc9proj.foot Makefile.am | |
502 echo "creating $(VCPROJ9)" | |
503 @(cp $(srcdir)/msvc/vc9proj.head $(VCPROJ9); \ | |
504 for file in $(WIN32SOURCES); do \ | |
505 echo "<File RelativePath=\""$$file"\"></File>" $(VCPROJOUT9); \ | |
506 done; \ | |
507 echo "</Filter><Filter Name=\"Header Files\">" $(VCPROJOUT9); \ | |
508 for file in $(WIN32HEADERS); do \ | |
509 echo "<File RelativePath=\""$$file"\"></File>" $(VCPROJOUT9); \ | |
510 done; \ | |
511 cat $(srcdir)/msvc/vc9proj.foot $(VCPROJOUT9) ) | |
512 | |
513 $(srcdir)/msvc/spandsp.h: spandsp.h.in | |
514 echo "creating $(srcdir)/msvc/spandsp.h" | |
515 @sed -e "s/#define _SPANDSP_H_/#define _SPANDSP_H_\n\n#define __inline__ __inline\n#pragma warning(disable:4200)/" \ | |
516 -e "s/\@SPANDSP_USE_FIXED_POINT\@/#undef SPANDSP_USE_FIXED_POINT/" \ | |
517 -e "s/\@SPANDSP_MISALIGNED_ACCESS_FAILS\@/#undef SPANDSP_MISALIGNED_ACCESS_FAILS/" \ | |
518 -e "s/\@SPANDSP_USE_EXPORT_CAPABILITY\@/#define SPANDSP_USE_EXPORT_CAPABILITY 1/" \ | |
519 -e "s/\@INSERT_INTTYPES_HEADER\@/#include <msvc\/inttypes.h>/" \ | |
520 -e "s/\@INSERT_MATH_HEADER\@/#include <math.h>/" $(srcdir)/spandsp.h.in > $(srcdir)/msvc/spandsp.h | |
521 | |
522 spandsp/version.h: | |
523 mkdir -p $(@D) | |
524 NOWDATE=`date --utc +"%Y%m%d"` ; \ | |
525 NOWTIME=`date --utc +"%H%M%S"` ; \ | |
526 sed 's/$$SPANDSP_RELEASE_DATE/'$$NOWDATE'/;s/$$SPANDSP_RELEASE_TIME/'$$NOWTIME'/' \ | |
527 <$(srcdir)/spandsp/version.h.in >$@ | |
528 | |
529 dist-hook: spandsp/version.h |