mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-11-02 13:03:33 +00:00
When osmo-mgw is built --with-mgcp-transcoding, linking the mgcp library also requires linking libgsm, even though e.g. osmo-msc never use it. Separate the MGCP client code from the MGCP server code to avoid this dep. The mgcp client code does use some definitions from mgcp.h and mgcp_common.c. For simplicity, link mgcp_common.c in both libosmo-legacy-mgcp as well as libosmo-mgcp-client. That means it is not possible to link both libosmo-legacy-mgcp and libosmo-mgcp-client in the same binary because of duplicate symbols, but currently that is sufficient. (An alternative would be code dup or yet another libosmo-mgcp-common library.) Add libosmo-mgcp-client to debian packaging. Related: OS#2488 Change-Id: I8e0b2d2a399b77086a36606f5e427271c6242df1
34 lines
734 B
Makefile
34 lines
734 B
Makefile
AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
|
|
|
|
## FIXME: automake >= 1.13 or autoconf >= 2.70 provide better suited AC_CONFIG_MACRO_DIRS for configure.ac
|
|
## remove line below when OE toolchain is updated to version which include those
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
AM_CPPFLAGS = \
|
|
$(all_includes) \
|
|
-I$(top_srcdir)/include \
|
|
$(NULL)
|
|
|
|
SUBDIRS = \
|
|
doc \
|
|
include \
|
|
src \
|
|
tests \
|
|
contrib \
|
|
$(NULL)
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
pkgconfig_DATA = \
|
|
libosmo-legacy-mgcp.pc \
|
|
libosmo-mgcp-client.pc \
|
|
$(NULL)
|
|
|
|
BUILT_SOURCES = $(top_srcdir)/.version
|
|
EXTRA_DIST = git-version-gen osmoappdesc.py .version
|
|
|
|
@RELMAKE@
|
|
|
|
$(top_srcdir)/.version:
|
|
echo $(VERSION) > $@-t && mv $@-t $@
|
|
dist-hook:
|
|
echo $(VERSION) > $(distdir)/.tarball-version
|