blob: 523df61d7913d2abf0595aed9721cd84f7307c4c [file] [log] [blame]
Alexander Huemer7477d712016-09-09 00:43:15 +02001AM_CPPFLAGS = \
2 $(all_includes) \
3 -I$(top_srcdir)/include \
4 $(NULL)
5
6AM_CFLAGS = \
7 -Wall \
8 -ggdb3 \
9 $(LIBOSMOCORE_CFLAGS) \
Alexander Huemer49769532016-09-15 16:02:18 +020010 $(LIBOSMOABIS_CFLAGS) \
Harald Welte265b3b62017-08-12 13:43:54 +020011 $(LIBOSMOGSM_CFLAGS) \
Alexander Huemer49769532016-09-15 16:02:18 +020012 $(LIBGTP_CFLAGS) \
Alexander Huemer7477d712016-09-09 00:43:15 +020013 $(NULL)
Neels Hofmeyr9f796642015-09-24 17:32:30 +020014
15EXTRA_DIST = \
Alexander Huemer7477d712016-09-09 00:43:15 +020016 gtphub_test.ok \
17 $(NULL)
Neels Hofmeyr9f796642015-09-24 17:32:30 +020018
Alexander Huemer7477d712016-09-09 00:43:15 +020019noinst_PROGRAMS = \
20 gtphub_test \
21 $(NULL)
Neels Hofmeyr9f796642015-09-24 17:32:30 +020022
Alexander Huemer7477d712016-09-09 00:43:15 +020023gtphub_test_SOURCES = \
24 gtphub_test.c \
25 $(NULL)
26
Neels Hofmeyr9f796642015-09-24 17:32:30 +020027gtphub_test_LDFLAGS = \
Neels Hofmeyrf16657a2015-11-08 20:34:47 +010028 -Wl,--wrap=gtphub_resolve_ggsn_addr \
Neels Hofmeyrf6fe2122015-12-02 15:43:10 +010029 -Wl,--wrap=gtphub_ares_init \
Alexander Huemer7477d712016-09-09 00:43:15 +020030 -Wl,--wrap=gtphub_write \
31 $(NULL)
Neels Hofmeyr9f796642015-09-24 17:32:30 +020032
33gtphub_test_LDADD = \
34 $(top_builddir)/src/gprs/gtphub.o \
Neels Hofmeyrf16657a2015-11-08 20:34:47 +010035 $(top_builddir)/src/gprs/gprs_utils.o \
Neels Hofmeyr9f796642015-09-24 17:32:30 +020036 $(LIBOSMOCORE_LIBS) \
Harald Welte265b3b62017-08-12 13:43:54 +020037 $(LIBOSMOGSM_LIBS) \
Alexander Huemer49769532016-09-15 16:02:18 +020038 $(LIBGTP_LIBS) \
Alexander Huemer7477d712016-09-09 00:43:15 +020039 -lrt \
40 $(NULL)