Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 1 | AM_CPPFLAGS = \ |
2 | $(all_includes) \ | ||||
3 | -I$(top_srcdir)/include \ | ||||
4 | $(NULL) | ||||
5 | |||||
6 | AM_CFLAGS = \ | ||||
7 | -Wall \ | ||||
8 | -ggdb3 \ | ||||
9 | $(LIBOSMOCORE_CFLAGS) \ | ||||
Alexander Huemer | c2f2ad8 | 2016-09-15 16:02:18 +0200 | [diff] [blame] | 10 | $(LIBOSMOABIS_CFLAGS) \ |
11 | $(LIBGTP_CFLAGS) \ | ||||
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 12 | $(NULL) |
Neels Hofmeyr | c8a614d | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 13 | |
14 | EXTRA_DIST = \ | ||||
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 15 | gtphub_test.ok \ |
16 | $(NULL) | ||||
Neels Hofmeyr | c8a614d | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 17 | |
Neels Hofmeyr | ff252bb | 2015-11-29 18:44:55 +0100 | [diff] [blame] | 18 | if HAVE_LIBGTP |
19 | if HAVE_LIBCARES | ||||
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 20 | noinst_PROGRAMS = \ |
21 | gtphub_test \ | ||||
22 | $(NULL) | ||||
Neels Hofmeyr | ff252bb | 2015-11-29 18:44:55 +0100 | [diff] [blame] | 23 | endif |
24 | endif | ||||
Neels Hofmeyr | c8a614d | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 25 | |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 26 | gtphub_test_SOURCES = \ |
27 | gtphub_test.c \ | ||||
28 | $(NULL) | ||||
29 | |||||
Neels Hofmeyr | c8a614d | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 30 | gtphub_test_LDFLAGS = \ |
Neels Hofmeyr | 30f7bcb | 2015-11-08 20:34:47 +0100 | [diff] [blame] | 31 | -Wl,--wrap=gtphub_resolve_ggsn_addr \ |
Neels Hofmeyr | 996ec1d | 2015-12-02 15:43:10 +0100 | [diff] [blame] | 32 | -Wl,--wrap=gtphub_ares_init \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 33 | -Wl,--wrap=gtphub_write \ |
34 | $(NULL) | ||||
Neels Hofmeyr | c8a614d | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 35 | |
36 | gtphub_test_LDADD = \ | ||||
37 | $(top_builddir)/src/gprs/gtphub.o \ | ||||
Neels Hofmeyr | 30f7bcb | 2015-11-08 20:34:47 +0100 | [diff] [blame] | 38 | $(top_builddir)/src/gprs/gprs_utils.o \ |
Neels Hofmeyr | c8a614d | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 39 | $(LIBOSMOCORE_LIBS) \ |
Alexander Huemer | c2f2ad8 | 2016-09-15 16:02:18 +0200 | [diff] [blame] | 40 | $(LIBGTP_LIBS) \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 41 | -lrt \ |
42 | $(NULL) |