aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmgcp/Makefile.am
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-05-08 14:08:37 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2014-06-05 14:08:53 +0200
commit909fac6689df570ef0c5983fe51da14eb3bf2783 (patch)
tree2e5bc74983afb21eac9436230f05510fdc41aa9d /openbsc/src/libmgcp/Makefile.am
parent84a45cbf8384be753e2b83414dddc95ad63f4f2b (diff)
mgcp: Move transcoding to libmgcp
This patch moves the files relevant to transcoding from src/osmo-bsc_mgcp to src/libmgcp and src/include/openbsc. Makefiles and include directives are being updated accordingly. Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/src/libmgcp/Makefile.am')
-rw-r--r--openbsc/src/libmgcp/Makefile.am12
1 files changed, 9 insertions, 3 deletions
diff --git a/openbsc/src/libmgcp/Makefile.am b/openbsc/src/libmgcp/Makefile.am
index 262ad34..e5dab1a 100644
--- a/openbsc/src/libmgcp/Makefile.am
+++ b/openbsc/src/libmgcp/Makefile.am
@@ -1,9 +1,15 @@
AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)
-AM_CFLAGS=-Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOVTY_CFLAGS) \
- $(LIBOSMONETIF_CFLAGS) $(COVERAGE_CFLAGS)
+AM_CFLAGS = -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOVTY_CFLAGS) \
+ $(LIBOSMONETIF_CFLAGS) $(COVERAGE_CFLAGS) $(LIBBCG729_CFLAGS)
AM_LDFLAGS = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) \
- $(LIBOSMONETIF_LIBS) $(COVERAGE_LDFLAGS)
+ $(LIBOSMONETIF_LIBS) $(COVERAGE_LDFLAGS) $(LIBBCG729_LIBS)
noinst_LIBRARIES = libmgcp.a
+noinst_HEADERS = g711common.h
+
libmgcp_a_SOURCES = mgcp_protocol.c mgcp_network.c mgcp_vty.c osmux.c
+
+if BUILD_MGCP_TRANSCODING
+ libmgcp_a_SOURCES += mgcp_transcode.c
+endif