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_builddir) \ |
| 5 | $(NULL) |
| 6 | |
| 7 | AM_CFLAGS = \ |
| 8 | -Wall \ |
| 9 | $(LIBOSMOCORE_CFLAGS) \ |
| 10 | $(LIBOSMOVTY_CFLAGS) \ |
| 11 | $(LIBOSMONETIF_CFLAGS) \ |
| 12 | $(COVERAGE_CFLAGS) \ |
| 13 | $(LIBBCG729_CFLAGS) \ |
| 14 | $(NULL) |
| 15 | |
| 16 | AM_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 |
| 27 | LEGACY_MGCP_LIBVERSION=0:0:0 |
| 28 | |
| 29 | lib_LTLIBRARIES = \ |
| 30 | libosmo-legacy-mgcp.la \ |
| 31 | $(NULL) |
| 32 | |
| 33 | noinst_HEADERS = \ |
| 34 | g711common.h \ |
| 35 | $(NULL) |
| 36 | |
| 37 | libosmo_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) |
| 47 | if BUILD_MGCP_TRANSCODING |
| 48 | libosmo_legacy_mgcp_la_SOURCES += \ |
| 49 | mgcp_transcode.c \ |
| 50 | $(NULL) |
| 51 | endif |
| 52 | |
| 53 | libosmo_legacy_mgcp_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LEGACY_MGCP_LIBVERSION) |