Jacob Erlbeck | 497c2de | 2014-04-08 16:10:04 +0200 | [diff] [blame] | 1 | AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_srcdir) |
Andreas Rottmann | 3f6fc6a | 2015-06-16 23:23:28 +0200 | [diff] [blame] | 2 | AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS) $(LIBOSMONETIF_CFLAGS) $(LIBOSMOSCCP_CFLAGS) $(COVERAGE_CFLAGS) $(LIBBCG729_CFLAGS) |
Holger Hans Peter Freyther | f0bc075 | 2011-01-06 19:32:52 +0100 | [diff] [blame] | 3 | AM_LDFLAGS = $(COVERAGE_LDFLAGS) |
| 4 | |
Jacob Erlbeck | 497c2de | 2014-04-08 16:10:04 +0200 | [diff] [blame] | 5 | EXTRA_DIST = mgcp_test.ok mgcp_transcoding_test.ok |
Holger Hans Peter Freyther | fee826b | 2012-01-06 15:16:12 +0100 | [diff] [blame] | 6 | |
Holger Hans Peter Freyther | f0bc075 | 2011-01-06 19:32:52 +0100 | [diff] [blame] | 7 | noinst_PROGRAMS = mgcp_test |
| 8 | |
Jacob Erlbeck | 497c2de | 2014-04-08 16:10:04 +0200 | [diff] [blame] | 9 | if BUILD_MGCP_TRANSCODING |
| 10 | noinst_PROGRAMS += mgcp_transcoding_test |
| 11 | endif |
| 12 | |
Harald Welte | 3d1aaac | 2011-03-04 13:18:30 +0100 | [diff] [blame] | 13 | mgcp_test_SOURCES = mgcp_test.c |
| 14 | |
| 15 | mgcp_test_LDADD = $(top_builddir)/src/libbsc/libbsc.a \ |
| 16 | $(top_builddir)/src/libmgcp/libmgcp.a \ |
| 17 | $(top_builddir)/src/libcommon/libcommon.a \ |
Holger Hans Peter Freyther | e5d57f6 | 2014-02-03 13:25:42 +0100 | [diff] [blame] | 18 | $(LIBOSMOCORE_LIBS) -lrt -lm $(LIBOSMOSCCP_LIBS) $(LIBOSMOVTY_LIBS) \ |
Pablo Neira Ayuso | 4a2f659 | 2014-02-05 18:56:17 +0100 | [diff] [blame] | 19 | $(LIBRARY_DL) $(LIBOSMONETIF_LIBS) |
Jacob Erlbeck | 497c2de | 2014-04-08 16:10:04 +0200 | [diff] [blame] | 20 | |
Jacob Erlbeck | 535173a | 2014-05-08 14:08:37 +0200 | [diff] [blame] | 21 | mgcp_transcoding_test_SOURCES = mgcp_transcoding_test.c |
Jacob Erlbeck | 497c2de | 2014-04-08 16:10:04 +0200 | [diff] [blame] | 22 | |
| 23 | mgcp_transcoding_test_LDADD = \ |
| 24 | $(top_builddir)/src/libbsc/libbsc.a \ |
| 25 | $(top_builddir)/src/libmgcp/libmgcp.a \ |
| 26 | $(top_builddir)/src/libcommon/libcommon.a \ |
| 27 | $(LIBOSMOCORE_LIBS) $(LIBBCG729_LIBS) -lrt -lm $(LIBOSMOSCCP_LIBS) $(LIBOSMOVTY_LIBS) \ |
Holger Hans Peter Freyther | 2431e59 | 2015-07-02 09:51:31 +0200 | [diff] [blame^] | 28 | $(LIBRARY_DL) $(LIBOSMONETIF_LIBS) $(LIBRARY_GSM) |