Imported Upstream version 3.0.4
[debian/gnuradio] / gr-gsm-fr-vocoder / src / lib / gsm / Makefile.am
1 #
2 # Copyright 2005 Free Software Foundation, Inc.
3
4 # This file is part of GNU Radio
5
6 # GNU Radio is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3, or (at your option)
9 # any later version.
10
11 # GNU Radio is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15
16 # You should have received a copy of the GNU General Public License
17 # along with GNU Radio; see the file COPYING.  If not, write to
18 # the Free Software Foundation, Inc., 51 Franklin Street,
19 # Boston, MA 02110-1301, USA.
20
21
22 include $(top_srcdir)/Makefile.common
23
24 # Machine- or installation dependent flags you should configure to port
25
26 SASR    = -DSASR
27 ######### Define SASR if >> is a signed arithmetic shift (-1 >> 1 == -1)
28
29 MULHACK = -DUSE_FLOAT_MUL
30 ######### Define this if your host multiplies floats faster than integers,
31 ######### e.g. on a SPARCstation.
32
33 FAST    = -DFAST
34 ######### Define together with USE_FLOAT_MUL to enable the GSM library's
35 ######### approximation option for incorrect, but good-enough results.
36
37 # LTP_CUT       = -DLTP_CUT
38 LTP_CUT =
39 ######### Define to enable the GSM library's long-term correlation 
40 ######### approximation option---faster, but worse; works for
41 ######### both integer and floating point multiplications.
42 ######### This flag is still in the experimental stage.
43
44 OPTIONS = $(SASR) $(MULHACK) $(FAST) $(LTP_CUT)
45
46 INCLUDES = $(STD_DEFINES_AND_INCLUDES) -DNeedFunctionPrototypes=1 $(OPTIONS)
47
48 noinst_LTLIBRARIES = libgsm.la
49
50 libgsm_la_SOURCES =     \
51         add.c           \
52         code.c          \
53         debug.c         \
54         decode.c        \
55         gsm_create.c    \
56         gsm_decode.c    \
57         gsm_destroy.c   \
58         gsm_encode.c    \
59         gsm_explode.c   \
60         gsm_implode.c   \
61         gsm_option.c    \
62         gsm_print.c     \
63         long_term.c     \
64         lpc.c           \
65         preprocess.c    \
66         rpe.c           \
67         short_term.c    \
68         table.c         
69
70 noinst_HEADERS =        \
71         config.h        \
72         gsm.h           \
73         private.h       \
74         proto.h         \
75         unproto.h