blob: f043124866672202e9b475efd63835254fab074f [file] [log] [blame]
Neels Hofmeyre9920f22017-07-10 15:07:22 +02001AM_CPPFLAGS = \
2 $(all_includes) \
3 -I$(top_srcdir)/include \
4 -I$(top_srcdir) \
5 $(NULL)
6
7AM_CFLAGS = \
8 -Wall \
9 -ggdb3 \
10 $(LIBOSMOCORE_CFLAGS) \
11 $(LIBOSMONETIF_CFLAGS) \
12 $(LIBBCG729_CFLAGS) \
13 $(COVERAGE_CFLAGS) \
14 $(NULL)
15
16AM_LDFLAGS = \
17 $(COVERAGE_LDFLAGS) \
18 $(NULL)
19
20EXTRA_DIST = \
21 mgcp_test.ok \
22 mgcp_transcoding_test.ok \
Neels Hofmeyre9920f22017-07-10 15:07:22 +020023 $(NULL)
24
25noinst_PROGRAMS = \
26 mgcp_test \
Neels Hofmeyre9920f22017-07-10 15:07:22 +020027 $(NULL)
28if BUILD_MGCP_TRANSCODING
29noinst_PROGRAMS += \
30 mgcp_transcoding_test \
31 $(NULL)
32endif
33
34mgcp_test_SOURCES = \
35 mgcp_test.c \
36 $(NULL)
37
38mgcp_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
48mgcp_transcoding_test_SOURCES = \
49 mgcp_transcoding_test.c \
50 $(NULL)
51
52mgcp_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)