7 top_srcdir
= @top_srcdir@
9 exec_prefix = @
exec_prefix@
22 ######### Define SASR if >> is a signed arithmetic shift (-1 >> 1 == -1)
24 MULHACK
= -DUSE_FLOAT_MUL
25 ######### Define this if your host multiplies floats faster than integers,
26 ######### e.g. on a SPARCstation.
29 ######### Define together with USE_FLOAT_MUL to enable the GSM library's
30 ######### approximation option for incorrect, but good-enough results.
34 ######### Define to enable the GSM library's long-term correlation
35 ######### approximation option---faster, but worse; works for
36 ######### both integer and floating point multiplications.
37 ######### This flag is still in the experimental stage.
41 ######### Define to enable the GSM library's option to pack GSM frames
42 ######### in the style used by the WAV #49 format. If you want to write
43 ######### a tool that produces .WAV files which contain GSM-encoded data,
44 ######### define this, and read about the GSM_OPT_WAV49 option in the
45 ######### manual page on gsm_option(3).
49 CFLAGS
= @CFLAGS@ @DEFS@
$(SASR
) $(MULHAC
) $(FAST
) $(LTP_CUT
) $(WAV49
) -I
$(top_srcdir
)/gsm
71 LIBOBJS
= $(GSM_OBJECTS
)
76 $(AR
) libgsm.a
$(LIBOBJS
)
80 $(top_srcdir
)/mkinstalldirs
$(libdir)
81 $(top_srcdir
)/mkinstalldirs
$(mandir)/man3
82 $(INSTALL
) -c
-m
644 libgsm.a
$(libdir)
83 $(RANLIB
) $(libdir)/libgsm.a
84 $(INSTALL
) -c
-m
644 gsm
.3 $(mandir)/man3
85 $(INSTALL
) -c
-m
644 gsm_option
.3 $(mandir)/man3
88 $(RM
) $(libdir)/libgsm.a
89 $(RM
) $(mandir)/man3
/gsm
.3
90 $(RM
) $(mandir)/man3
/gsm_option
.3
96 $(RM
) *~
*.o core libgsm.a