aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests/gtphub/Makefile.am
blob: 137924da27cbafc21289045c340b170f557066e9 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
AM_CPPFLAGS = \
	$(all_includes) \
	-I$(top_srcdir)/include \
	$(NULL)

AM_CFLAGS = \
	-Wall \
	-ggdb3 \
	$(LIBOSMOCORE_CFLAGS) \
	$(NULL)

EXTRA_DIST = \
	gtphub_test.ok \
	$(NULL)

if HAVE_LIBGTP
if HAVE_LIBCARES
noinst_PROGRAMS = \
	gtphub_test \
	$(NULL)
endif
endif

gtphub_test_SOURCES = \
	gtphub_test.c \
	$(NULL)

gtphub_test_LDFLAGS = \
	-Wl,--wrap=gtphub_resolve_ggsn_addr \
	-Wl,--wrap=gtphub_ares_init \
	-Wl,--wrap=gtphub_write \
	$(NULL)

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