summaryrefslogtreecommitdiffstats
path: root/openbsc/tests/mgcp/Makefile.am
blob: 82d6ac6050704150f563dafa79fd6a6f83ea02bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_srcdir)
AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_FLAGS) $(LIBOSMONETIF_CFLAGS) $(LIBOSMOSCCP_CFLAGS) $(COVERAGE_CFLAGS) $(LIBBCG729_CFLAGS)
AM_LDFLAGS = $(COVERAGE_LDFLAGS)

EXTRA_DIST = mgcp_test.ok mgcp_transcoding_test.ok

noinst_PROGRAMS = mgcp_test

if BUILD_MGCP_TRANSCODING
noinst_PROGRAMS += mgcp_transcoding_test
endif

mgcp_test_SOURCES = mgcp_test.c

mgcp_test_LDADD = $(top_builddir)/src/libbsc/libbsc.a \
		$(top_builddir)/src/libmgcp/libmgcp.a \
		$(top_builddir)/src/libcommon/libcommon.a \
		$(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) \
		-lrt -lm $(LIBOSMOSCCP_LIBS) $(LIBOSMOVTY_LIBS) \
		$(LIBRARY_DL) $(LIBOSMONETIF_LIBS)

mgcp_transcoding_test_SOURCES = mgcp_transcoding_test.c

mgcp_transcoding_test_LDADD = \
		$(top_builddir)/src/libbsc/libbsc.a \
		$(top_builddir)/src/libmgcp/libmgcp.a \
		$(top_builddir)/src/libcommon/libcommon.a \
		$(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) \
		$(LIBBCG729_LIBS) -lrt -lm $(LIBOSMOSCCP_LIBS) $(LIBOSMOVTY_LIBS) \
		$(LIBRARY_DL) $(LIBOSMONETIF_LIBS) $(LIBRARY_GSM)