blob: 5d7844da442fecb6b565be84cb65a479051b67d2 [file] [log] [blame]
Alexander Huemer7b6673f2016-09-09 00:43:15 +02001AM_CPPFLAGS = \
2 $(all_includes) \
3 -I$(top_srcdir)/include \
4 -I$(top_builddir) \
5 $(NULL)
Harald Welte31c00f72011-03-03 23:29:05 +01006
Alexander Huemer7b6673f2016-09-09 00:43:15 +02007AM_CFLAGS = \
8 -Wall \
9 $(LIBOSMOCORE_CFLAGS) \
10 $(LIBOSMOVTY_CFLAGS) \
11 $(LIBOSMONETIF_CFLAGS) \
12 $(COVERAGE_CFLAGS) \
13 $(LIBBCG729_CFLAGS) \
14 $(NULL)
Harald Welte31c00f72011-03-03 23:29:05 +010015
Alexander Huemer7b6673f2016-09-09 00:43:15 +020016AM_LDFLAGS = \
17 $(LIBOSMOCORE_LIBS) \
18 $(LIBOSMOGSM_LIBS) \
19 $(LIBOSMONETIF_LIBS) \
20 $(COVERAGE_LDFLAGS) \
21 $(LIBBCG729_LIBS) \
22 $(NULL)
Jacob Erlbeck909fac62014-05-08 14:08:37 +020023
Alexander Huemer7b6673f2016-09-09 00:43:15 +020024noinst_LIBRARIES = \
25 libmgcp.a \
26 $(NULL)
Jacob Erlbeck909fac62014-05-08 14:08:37 +020027
Alexander Huemer7b6673f2016-09-09 00:43:15 +020028noinst_HEADERS = \
29 g711common.h \
30 $(NULL)
31
32libmgcp_a_SOURCES = \
Neels Hofmeyra1756f32016-05-20 21:59:55 +020033 mgcp_common.c \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020034 mgcp_protocol.c \
35 mgcp_network.c \
36 mgcp_vty.c \
37 mgcp_osmux.c \
38 mgcp_sdp.c \
Neels Hofmeyra1756f32016-05-20 21:59:55 +020039 mgcpgw_client.c \
40 mgcpgw_client_vty.c \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020041 $(NULL)
Jacob Erlbeck909fac62014-05-08 14:08:37 +020042if BUILD_MGCP_TRANSCODING
Alexander Huemer7b6673f2016-09-09 00:43:15 +020043libmgcp_a_SOURCES += \
44 mgcp_transcode.c \
45 $(NULL)
Jacob Erlbeck909fac62014-05-08 14:08:37 +020046endif