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) \ |
Harald Welte | 7e82b74 | 2017-08-12 13:43:54 +0200 | [diff] [blame] | 11 | $(LIBOSMOGSM_CFLAGS) \ |
Alexander Huemer | c2f2ad8 | 2016-09-15 16:02:18 +0200 | [diff] [blame] | 12 | $(LIBGTP_CFLAGS) \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 13 | $(NULL) |
Neels Hofmeyr | c8a614d | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 14 | |
15 | EXTRA_DIST = \ | ||||
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 16 | gtphub_test.ok \ |
17 | $(NULL) | ||||
Neels Hofmeyr | c8a614d | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 18 | |
Neels Hofmeyr | ff252bb | 2015-11-29 18:44:55 +0100 | [diff] [blame] | 19 | if HAVE_LIBGTP |
20 | if HAVE_LIBCARES | ||||
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 21 | noinst_PROGRAMS = \ |
22 | gtphub_test \ | ||||
23 | $(NULL) | ||||
Neels Hofmeyr | ff252bb | 2015-11-29 18:44:55 +0100 | [diff] [blame] | 24 | endif |
25 | endif | ||||
Neels Hofmeyr | c8a614d | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 26 | |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 27 | gtphub_test_SOURCES = \ |
28 | gtphub_test.c \ | ||||
29 | $(NULL) | ||||
30 | |||||
Neels Hofmeyr | c8a614d | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 31 | gtphub_test_LDFLAGS = \ |
Neels Hofmeyr | 30f7bcb | 2015-11-08 20:34:47 +0100 | [diff] [blame] | 32 | -Wl,--wrap=gtphub_resolve_ggsn_addr \ |
Neels Hofmeyr | 996ec1d | 2015-12-02 15:43:10 +0100 | [diff] [blame] | 33 | -Wl,--wrap=gtphub_ares_init \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 34 | -Wl,--wrap=gtphub_write \ |
35 | $(NULL) | ||||
Neels Hofmeyr | c8a614d | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 36 | |
37 | gtphub_test_LDADD = \ | ||||
38 | $(top_builddir)/src/gprs/gtphub.o \ | ||||
Neels Hofmeyr | 30f7bcb | 2015-11-08 20:34:47 +0100 | [diff] [blame] | 39 | $(top_builddir)/src/gprs/gprs_utils.o \ |
Neels Hofmeyr | c8a614d | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 40 | $(LIBOSMOCORE_LIBS) \ |
Harald Welte | 7e82b74 | 2017-08-12 13:43:54 +0200 | [diff] [blame] | 41 | $(LIBOSMOGSM_LIBS) \ |
Alexander Huemer | c2f2ad8 | 2016-09-15 16:02:18 +0200 | [diff] [blame] | 42 | $(LIBGTP_LIBS) \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 43 | -lrt \ |
44 | $(NULL) |