Sylvain Munaut | 2c8b3fd | 2013-06-17 08:51:36 +0200 | [diff] [blame] | 1 | AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir) |
Harald Welte | ce94d97 | 2013-02-11 11:34:58 +0100 | [diff] [blame] | 2 | AM_CFLAGS=-Wall $(LIBOSMOCODEC_CFLAGS) $(LIBOSMOCORE_CFLAGS) \ |
Harald Welte | 2ae47af | 2017-05-27 23:35:23 +0200 | [diff] [blame] | 3 | ${OPENCORE_AMRNB_CFLAGS} $(LIBALSA_CFLAGS) |
Harald Welte | ce94d97 | 2013-02-11 11:34:58 +0100 | [diff] [blame] | 4 | AM_LDFLAGS=$(LIBOSMOCODEC_LIBS) $(LIBOSMOCORE_LIBS) \ |
Harald Welte | 2ae47af | 2017-05-27 23:35:23 +0200 | [diff] [blame] | 5 | ${OPENCORE_AMRNB_LIBS} ${LIBGSM_LIBS} $(LIBALSA_LIBS) |
Sylvain Munaut | 96b1c3b | 2010-10-24 10:22:06 +0200 | [diff] [blame] | 6 | |
Harald Welte | 2ae47af | 2017-05-27 23:35:23 +0200 | [diff] [blame] | 7 | COM_SOURCES = procqueue.c pq_file.c pq_format.c pq_codec.c pq_rtp.c pq_alsa.c \ |
Sylvain Munaut | 723df06 | 2010-10-29 11:47:06 +0200 | [diff] [blame] | 8 | formats.c fmt_amr.c fmt_gsm.c fmt_hr_ref.c fmt_racal.c \ |
Harald Welte | 8b01f0c | 2017-05-28 11:04:26 +0200 | [diff] [blame] | 9 | fmt_amr_opencore.c fmt_rtp_amr.c fmt_rawpcm.c fmt_ti.c benchmark.c \ |
| 10 | codecs.c codec_pcm.c codec_hr.c codec_fr.c codec_efr.c codec_amr.c |
Sylvain Munaut | a0c4d21 | 2010-11-12 17:48:45 +0100 | [diff] [blame] | 11 | |
Harald Welte | ce94d97 | 2013-02-11 11:34:58 +0100 | [diff] [blame] | 12 | bin_PROGRAMS = gapk |
| 13 | |
| 14 | gapk_SOURCES = main.c $(COM_SOURCES) |
| 15 | |
Sylvain Munaut | a0c4d21 | 2010-11-12 17:48:45 +0100 | [diff] [blame] | 16 | if ENABLE_GSMHR |
| 17 | gapk_LDADD = $(top_builddir)/libgsmhr/libgsmhr.la |
| 18 | endif |