Imported Upstream version 3.2.2
[debian/gnuradio] / gr-gsm-fr-vocoder / src / lib / gsm / Makefile.am
1 #
2 # Copyright 2005,2008 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 AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) -DNeedFunctionPrototypes=1 \
47         $(OPTIONS) $(WITH_INCLUDES)
48
49 noinst_LTLIBRARIES = libgsm.la
50
51 libgsm_la_SOURCES =     \
52         add.c           \
53         code.c          \
54         debug.c         \
55         decode.c        \
56         gsm_create.c    \
57         gsm_decode.c    \
58         gsm_destroy.c   \
59         gsm_encode.c    \
60         gsm_explode.c   \
61         gsm_implode.c   \
62         gsm_option.c    \
63         gsm_print.c     \
64         long_term.c     \
65         lpc.c           \
66         preprocess.c    \
67         rpe.c           \
68         short_term.c    \
69         table.c         
70
71 noinst_HEADERS =        \
72         config.h        \
73         gsm.h           \
74         private.h       \
75         proto.h         \
76         unproto.h