Neels Hofmeyr | c8a614d | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 1 | AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include |
| 2 | AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS) |
| 3 | |
| 4 | EXTRA_DIST = \ |
Neels Hofmeyr | ad945b6 | 2015-11-18 16:11:26 +0100 | [diff] [blame] | 5 | gtphub_test.ok |
Neels Hofmeyr | c8a614d | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 6 | |
Neels Hofmeyr | ff252bb | 2015-11-29 18:44:55 +0100 | [diff] [blame] | 7 | if HAVE_LIBGTP |
| 8 | if HAVE_LIBCARES |
Neels Hofmeyr | c8a614d | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 9 | noinst_PROGRAMS = gtphub_test |
Neels Hofmeyr | ff252bb | 2015-11-29 18:44:55 +0100 | [diff] [blame] | 10 | endif |
| 11 | endif |
Neels Hofmeyr | c8a614d | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 12 | |
| 13 | gtphub_test_SOURCES = gtphub_test.c |
| 14 | gtphub_test_LDFLAGS = \ |
Neels Hofmeyr | 30f7bcb | 2015-11-08 20:34:47 +0100 | [diff] [blame] | 15 | -Wl,--wrap=gtphub_resolve_ggsn_addr \ |
| 16 | -Wl,--wrap=gtphub_ares_init |
Neels Hofmeyr | c8a614d | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 17 | |
| 18 | gtphub_test_LDADD = \ |
| 19 | $(top_builddir)/src/gprs/gtphub.o \ |
Neels Hofmeyr | 30f7bcb | 2015-11-08 20:34:47 +0100 | [diff] [blame] | 20 | $(top_builddir)/src/gprs/gprs_utils.o \ |
Neels Hofmeyr | c8a614d | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 21 | $(LIBOSMOCORE_LIBS) \ |
| 22 | -lgtp -lrt |
| 23 | |