summaryrefslogtreecommitdiffstats
path: root/openbsc/tests/mgcp/Makefile.am
blob: 4b18036ccc8dec75e5446e73d91fef3de60e1daa (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
AM_CPPFLAGS = \
	$(all_includes) \
	-I$(top_srcdir)/include \
	-I$(top_srcdir) \
	$(NULL)

AM_CFLAGS = \
	-Wall \
	-ggdb3 \
	$(LIBOSMOCORE_CFLAGS) \
	$(LIBOSMOGSM_FLAGS) \
	$(LIBOSMONETIF_CFLAGS) \
	$(LIBOSMOSCCP_CFLAGS) \
	$(COVERAGE_CFLAGS) \
	$(LIBBCG729_CFLAGS) \
	$(NULL)

AM_LDFLAGS = \
	$(COVERAGE_LDFLAGS) \
	$(NULL)

EXTRA_DIST = \
	mgcp_test.ok \
	mgcp_transcoding_test.ok \
	$(NULL)

noinst_PROGRAMS = \
	mgcp_test \
	$(NULL)
if BUILD_MGCP_TRANSCODING
noinst_PROGRAMS += \
	mgcp_transcoding_test \
	$(NULL)
endif

mgcp_test_SOURCES = \
	mgcp_test.c \
	$(NULL)

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) \
	$(LIBOSMOSCCP_LIBS) \
	$(LIBOSMOVTY_LIBS) \
	$(LIBRARY_DL) \
	$(LIBOSMONETIF_LIBS) \
	-lrt \
	-lm  \
	$(NULL)

mgcp_transcoding_test_SOURCES = \
	mgcp_transcoding_test.c \
	$(NULL)

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) \
	$(LIBOSMOSCCP_LIBS) \
	$(LIBOSMOVTY_LIBS) \
	$(LIBRARY_DL) \
	$(LIBOSMONETIF_LIBS) \
	$(LIBRARY_GSM) \
	-lrt \
	-lm \
	$(NULL)