blob: 26e550098c65578eadf854d54fe20dbfa65bc412 [file] [log] [blame]
Alexander Huemera1c09a42013-06-11 14:31:27 +02001AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include
Harald Welteba874b82014-08-20 23:47:15 +02002AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOCTRL_LIBS) $(LIBOSMOSCCP_CFLAGS) $(LIBOSMOABIS_CFLAGS) $(LIBOSMONETIF_CFLAGS) $(COVERAGE_CFLAGS)
Holger Hans Peter Freytherecd94a42010-11-15 18:37:57 +01003AM_LDFLAGS = $(COVERAGE_LDFLAGS)
Holger Hans Peter Freyther38f7c752010-06-15 18:48:36 +08004
Holger Hans Peter Freytherddf191e2013-06-25 11:44:01 +02005EXTRA_DIST = bsc_nat_test.ok bsc_data.c barr.cfg barr_dup.cfg prefixes.csv
Holger Hans Peter Freyther6db5ce52010-02-04 19:24:43 +01006
7noinst_PROGRAMS = bsc_nat_test
8
Holger Hans Peter Freyther38f7c752010-06-15 18:48:36 +08009bsc_nat_test_SOURCES = bsc_nat_test.c \
Harald Weltec1b2cfa2011-03-04 13:49:02 +010010 $(top_srcdir)/src/osmo-bsc_nat/bsc_filter.c \
11 $(top_srcdir)/src/osmo-bsc_nat/bsc_sccp.c \
12 $(top_srcdir)/src/osmo-bsc_nat/bsc_nat_utils.c \
Holger Hans Peter Freyther6ecb3cb2012-12-17 13:25:36 +010013 $(top_srcdir)/src/osmo-bsc_nat/bsc_nat_rewrite.c \
Holger Hans Peter Freytherddf191e2013-06-25 11:44:01 +020014 $(top_srcdir)/src/osmo-bsc_nat/bsc_nat_rewrite_trie.c \
Holger Hans Peter Freyther4ba947b2015-04-05 18:07:45 +020015 $(top_srcdir)/src/osmo-bsc_nat/bsc_mgcp_utils.c \
16 $(top_srcdir)/src/osmo-bsc_nat/bsc_nat_filter.c
Holger Hans Peter Freyther4247cea2015-04-04 18:42:46 +020017bsc_nat_test_LDADD = \
18 $(top_builddir)/src/libfilter/libfilter.a \
19 $(top_builddir)/src/libbsc/libbsc.a \
Holger Hans Peter Freythercb786122013-09-19 11:01:14 +020020 $(top_builddir)/src/libmgcp/libmgcp.a \
21 $(top_builddir)/src/libtrau/libtrau.a \
22 $(top_builddir)/src/libcommon/libcommon.a \
Pablo Neira Ayusoed5cacb2011-08-17 22:44:07 +020023 $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) -lrt \
24 $(LIBOSMOSCCP_LIBS) $(LIBOSMOVTY_LIBS) \
Harald Welteba874b82014-08-20 23:47:15 +020025 $(LIBOSMOABIS_LIBS) $(LIBOSMONETIF_LIBS) \
26 $(LIBOSMOCTRL_LIBS)