Neels Hofmeyr | 9f79664 | 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 | 193badf | 2015-11-18 16:11:26 +0100 | [diff] [blame] | 5 | gtphub_test.ok |
Neels Hofmeyr | 9f79664 | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 6 | |
Neels Hofmeyr | ae2c7e8 | 2015-11-29 18:44:55 +0100 | [diff] [blame] | 7 | if HAVE_LIBGTP |
| 8 | if HAVE_LIBCARES |
Neels Hofmeyr | 9f79664 | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 9 | noinst_PROGRAMS = gtphub_test |
Neels Hofmeyr | ae2c7e8 | 2015-11-29 18:44:55 +0100 | [diff] [blame] | 10 | endif |
| 11 | endif |
Neels Hofmeyr | 9f79664 | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 12 | |
| 13 | gtphub_test_SOURCES = gtphub_test.c |
| 14 | gtphub_test_LDFLAGS = \ |
Neels Hofmeyr | f16657a | 2015-11-08 20:34:47 +0100 | [diff] [blame] | 15 | -Wl,--wrap=gtphub_resolve_ggsn_addr \ |
Neels Hofmeyr | f6fe212 | 2015-12-02 15:43:10 +0100 | [diff] [blame] | 16 | -Wl,--wrap=gtphub_ares_init \ |
| 17 | -Wl,--wrap=gtphub_write |
Neels Hofmeyr | 9f79664 | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 18 | |
| 19 | gtphub_test_LDADD = \ |
| 20 | $(top_builddir)/src/gprs/gtphub.o \ |
Neels Hofmeyr | f16657a | 2015-11-08 20:34:47 +0100 | [diff] [blame] | 21 | $(top_builddir)/src/gprs/gprs_utils.o \ |
Neels Hofmeyr | 9f79664 | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 22 | $(LIBOSMOCORE_LIBS) \ |
| 23 | -lgtp -lrt |
| 24 | |