summaryrefslogtreecommitdiffstats
path: root/openbsc/tests/sgsn/Makefile.am
blob: 6371707036a4792cc489d6df788089f60f50ac68 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
AM_CPPFLAGS = \
	$(all_includes) \
	-I$(top_srcdir)/include \
	$(NULL)

AM_CFLAGS = \
	-Wall \
	-ggdb3 \
	$(LIBOSMOCORE_CFLAGS) \
	$(LIBOSMOGSM_CFLAGS) \
	$(LIBCARES_CFLAGS) \
	$(NULL)
if BUILD_IU
AM_CFLAGS += \
	$(LIBASN1C_CFLAGS) \
	$(LIBOSMOSIGTRAN_CFLAGS) \
	$(LIBOSMORANAP_CFLAGS) \
	$(NULL)
endif

EXTRA_DIST = \
	sgsn_test.ok \
	$(NULL)

noinst_PROGRAMS = \
	sgsn_test \
	$(NULL)

sgsn_test_SOURCES = \
	sgsn_test.c \
	$(NULL)

sgsn_test_LDFLAGS = \
	-Wl,--wrap=RAND_bytes \
	-Wl,--wrap=sgsn_update_subscriber_data \
	-Wl,--wrap=gprs_subscr_request_update_location \
	-Wl,--wrap=gprs_subscr_request_auth_info \
	-Wl,--wrap=gprs_gsup_client_send \
	$(NULL)

sgsn_test_LDADD = \
	$(top_builddir)/src/gprs/gprs_llc_parse.o \
	$(top_builddir)/src/gprs/gprs_llc.o \
	$(top_builddir)/src/gprs/crc24.o \
	$(top_builddir)/src/gprs/gprs_sndcp.o \
	$(top_builddir)/src/gprs/gprs_gmm.o \
	$(top_builddir)/src/gprs/gprs_sgsn.o \
	$(top_builddir)/src/gprs/sgsn_vty.o \
	$(top_builddir)/src/gprs/sgsn_libgtp.o \
	$(top_builddir)/src/gprs/sgsn_auth.o \
	$(top_builddir)/src/gprs/sgsn_ares.o \
	$(top_builddir)/src/gprs/gprs_gsup_client.o \
	$(top_builddir)/src/gprs/gprs_utils.o \
	$(top_builddir)/src/gprs/gprs_subscriber.o \
	$(top_builddir)/src/gprs/gprs_gb_parse.o \
	$(top_builddir)/src/gprs/oap.o \
	$(top_builddir)/src/gprs/oap_messages.o \
	$(top_builddir)/src/gprs/gprs_llc_xid.o \
	$(top_builddir)/src/libcommon/libcommon.a \
	$(LIBOSMOABIS_LIBS) \
	$(LIBOSMOCORE_LIBS) \
	$(LIBOSMOGSM_LIBS) \
	$(LIBOSMOGB_LIBS) \
	$(LIBCARES_LIBS) \
	$(LIBCRYPTO_LIBS) \
	-lgtp \
	-lrt \
	$(NULL)
if BUILD_IU
sgsn_test_LDADD += \
	$(top_builddir)/src/libiu/libiu.a \
	$(LIBOSMORANAP_LIBS) \
	$(LIBOSMOSIGTRAN_LIBS) \
	$(LIBASN1C_LIBS) \
	$(NULL)
endif