summaryrefslogtreecommitdiffstats
path: root/openbsc/tests/gtphub/Makefile.am
blob: dcb721150137feade370339faef5c69eb7f8a838 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include
AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS)

EXTRA_DIST = \
	gtphub_test.ok

if HAVE_LIBGTP
if HAVE_LIBCARES
noinst_PROGRAMS = gtphub_test
endif
endif

gtphub_test_SOURCES = gtphub_test.c
gtphub_test_LDFLAGS = \
	-Wl,--wrap=gtphub_resolve_ggsn_addr \
	-Wl,--wrap=gtphub_ares_init \
	-Wl,--wrap=gtphub_write

gtphub_test_LDADD = \
	$(top_builddir)/src/gprs/gtphub.o \
	$(top_builddir)/src/gprs/gprs_utils.o \
	$(LIBOSMOCORE_LIBS) \
	-lgtp -lrt