Neels Hofmeyr | e9920f2 | 2017-07-10 15:07:22 +0200 | [diff] [blame] | 1 | AM_CPPFLAGS = \ |
| 2 | $(all_includes) \ |
| 3 | -I$(top_srcdir)/include \ |
| 4 | -I$(top_srcdir) \ |
| 5 | $(NULL) |
| 6 | |
| 7 | AM_CFLAGS = \ |
| 8 | -Wall \ |
| 9 | -ggdb3 \ |
| 10 | $(LIBOSMOCORE_CFLAGS) \ |
| 11 | $(LIBOSMONETIF_CFLAGS) \ |
| 12 | $(LIBBCG729_CFLAGS) \ |
| 13 | $(COVERAGE_CFLAGS) \ |
| 14 | $(NULL) |
| 15 | |
| 16 | AM_LDFLAGS = \ |
| 17 | $(COVERAGE_LDFLAGS) \ |
| 18 | $(NULL) |
| 19 | |
| 20 | EXTRA_DIST = \ |
| 21 | mgcp_test.ok \ |
| 22 | mgcp_transcoding_test.ok \ |
Neels Hofmeyr | e9920f2 | 2017-07-10 15:07:22 +0200 | [diff] [blame] | 23 | $(NULL) |
| 24 | |
| 25 | noinst_PROGRAMS = \ |
| 26 | mgcp_test \ |
Neels Hofmeyr | e9920f2 | 2017-07-10 15:07:22 +0200 | [diff] [blame] | 27 | $(NULL) |
| 28 | if BUILD_MGCP_TRANSCODING |
| 29 | noinst_PROGRAMS += \ |
| 30 | mgcp_transcoding_test \ |
| 31 | $(NULL) |
| 32 | endif |
| 33 | |
| 34 | mgcp_test_SOURCES = \ |
| 35 | mgcp_test.c \ |
| 36 | $(NULL) |
| 37 | |
| 38 | mgcp_test_LDADD = \ |
| 39 | $(top_builddir)/src/libosmo-legacy-mgcp/libosmo-legacy-mgcp.la \ |
| 40 | $(LIBOSMOCORE_LIBS) \ |
| 41 | $(LIBOSMOVTY_LIBS) \ |
| 42 | $(LIBRARY_DL) \ |
| 43 | $(LIBOSMONETIF_LIBS) \ |
| 44 | $(LIBRARY_GSM) \ |
| 45 | -lm \ |
| 46 | $(NULL) |
| 47 | |
| 48 | mgcp_transcoding_test_SOURCES = \ |
| 49 | mgcp_transcoding_test.c \ |
| 50 | $(NULL) |
| 51 | |
| 52 | mgcp_transcoding_test_LDADD = \ |
| 53 | $(top_builddir)/src/libosmo-legacy-mgcp/libosmo-legacy-mgcp.la \ |
| 54 | $(LIBOSMOCORE_LIBS) \ |
| 55 | $(LIBOSMOVTY_LIBS) \ |
| 56 | $(LIBBCG729_LIBS) \ |
| 57 | $(LIBRARY_DL) \ |
| 58 | $(LIBOSMONETIF_LIBS) \ |
| 59 | $(LIBRARY_GSM) \ |
| 60 | -lm \ |
| 61 | $(NULL) |