blob: 42f25c0fe132fa7b426bbc87222b361082e7d7b6 [file] [log] [blame]
Neels Hofmeyre9920f22017-07-10 15:07:22 +02001AM_CPPFLAGS = \
2 $(all_includes) \
3 -I$(top_srcdir)/include \
4 -I$(top_builddir) \
5 $(NULL)
6
7AM_CFLAGS = \
8 -Wall \
9 $(LIBOSMOCORE_CFLAGS) \
10 $(LIBOSMOVTY_CFLAGS) \
11 $(LIBOSMONETIF_CFLAGS) \
12 $(COVERAGE_CFLAGS) \
13 $(LIBBCG729_CFLAGS) \
14 $(NULL)
15
16AM_LDFLAGS = \
17 $(LIBOSMOCORE_LIBS) \
18 $(LIBOSMOGSM_LIBS) \
19 $(LIBOSMONETIF_LIBS) \
20 $(COVERAGE_LDFLAGS) \
21 $(LIBBCG729_LIBS) \
22 $(NULL)
23
24# This is _NOT_ the library release version, it's an API version.
25# Please read Chapter 6 "Library interface versions" of the libtool
26# documentation before making any modification
27LEGACY_MGCP_LIBVERSION=0:0:0
28
29lib_LTLIBRARIES = \
30 libosmo-legacy-mgcp.la \
31 $(NULL)
32
33noinst_HEADERS = \
34 g711common.h \
35 $(NULL)
36
37libosmo_legacy_mgcp_la_SOURCES = \
38 mgcp_common.c \
39 mgcp_protocol.c \
40 mgcp_network.c \
41 mgcp_vty.c \
42 mgcp_osmux.c \
43 mgcp_sdp.c \
44 mgcpgw_client.c \
45 mgcpgw_client_vty.c \
46 $(NULL)
47if BUILD_MGCP_TRANSCODING
48libosmo_legacy_mgcp_la_SOURCES += \
49 mgcp_transcode.c \
50 $(NULL)
51endif
52
53libosmo_legacy_mgcp_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LEGACY_MGCP_LIBVERSION)