2016-09-08 22:43:15 +00:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
$(all_includes) \
|
|
|
|
-I$(top_srcdir)/include \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
AM_CFLAGS = \
|
|
|
|
-Wall \
|
|
|
|
-ggdb3 \
|
|
|
|
$(LIBOSMOCORE_CFLAGS) \
|
2016-09-15 14:02:18 +00:00
|
|
|
$(LIBOSMOABIS_CFLAGS) \
|
2016-09-08 22:43:15 +00:00
|
|
|
$(LIBOSMOGSM_CFLAGS) \
|
|
|
|
$(LIBCARES_CFLAGS) \
|
2018-01-16 13:09:24 +00:00
|
|
|
$(LIBGTP_CFLAGS) \
|
2016-09-08 22:43:15 +00:00
|
|
|
$(NULL)
|
2016-05-21 15:36:18 +00:00
|
|
|
if BUILD_IU
|
2016-09-08 22:43:15 +00:00
|
|
|
AM_CFLAGS += \
|
|
|
|
$(LIBASN1C_CFLAGS) \
|
|
|
|
$(LIBOSMOSIGTRAN_CFLAGS) \
|
|
|
|
$(LIBOSMORANAP_CFLAGS) \
|
|
|
|
$(NULL)
|
2016-05-21 15:36:18 +00:00
|
|
|
endif
|
2014-09-30 07:10:25 +00:00
|
|
|
|
2016-09-08 22:43:15 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
sgsn_test.ok \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
noinst_PROGRAMS = \
|
|
|
|
sgsn_test \
|
|
|
|
$(NULL)
|
2014-09-30 07:10:25 +00:00
|
|
|
|
2016-09-08 22:43:15 +00:00
|
|
|
sgsn_test_SOURCES = \
|
|
|
|
sgsn_test.c \
|
|
|
|
$(NULL)
|
2014-09-30 07:10:25 +00:00
|
|
|
|
2014-11-12 09:12:11 +00:00
|
|
|
sgsn_test_LDFLAGS = \
|
2017-11-01 12:28:38 +00:00
|
|
|
-Wl,--wrap=osmo_get_rand_id \
|
2014-11-12 09:18:09 +00:00
|
|
|
-Wl,--wrap=sgsn_update_subscriber_data \
|
2014-11-28 13:55:25 +00:00
|
|
|
-Wl,--wrap=gprs_subscr_request_update_location \
|
2015-01-09 14:07:16 +00:00
|
|
|
-Wl,--wrap=gprs_subscr_request_auth_info \
|
2016-12-08 20:19:57 +00:00
|
|
|
-Wl,--wrap=gsup_client_send \
|
2016-09-08 22:43:15 +00:00
|
|
|
$(NULL)
|
2014-11-12 09:12:11 +00:00
|
|
|
|
2014-10-02 19:27:24 +00:00
|
|
|
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 \
|
2018-05-22 16:29:14 +00:00
|
|
|
$(top_builddir)/src/gprs/gprs_gmm_attach.o \
|
2014-10-02 19:27:24 +00:00
|
|
|
$(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 \
|
2014-10-24 13:11:03 +00:00
|
|
|
$(top_builddir)/src/gprs/sgsn_auth.o \
|
2015-05-25 04:26:49 +00:00
|
|
|
$(top_builddir)/src/gprs/sgsn_ares.o \
|
2014-12-12 14:01:37 +00:00
|
|
|
$(top_builddir)/src/gprs/gprs_utils.o \
|
2014-11-12 09:12:11 +00:00
|
|
|
$(top_builddir)/src/gprs/gprs_subscriber.o \
|
2015-10-12 17:36:32 +00:00
|
|
|
$(top_builddir)/src/gprs/gprs_gb_parse.o \
|
2016-08-10 10:08:03 +00:00
|
|
|
$(top_builddir)/src/gprs/gprs_llc_xid.o \
|
|
|
|
$(top_builddir)/src/gprs/gprs_sndcp_xid.o \
|
2016-08-26 14:58:41 +00:00
|
|
|
$(top_builddir)/src/gprs/slhc.o \
|
2016-08-26 15:00:21 +00:00
|
|
|
$(top_builddir)/src/gprs/gprs_sndcp_comp.o \
|
|
|
|
$(top_builddir)/src/gprs/gprs_sndcp_pcomp.o \
|
2016-09-02 11:32:38 +00:00
|
|
|
$(top_builddir)/src/gprs/v42bis.o \
|
2016-09-02 11:38:01 +00:00
|
|
|
$(top_builddir)/src/gprs/gprs_sndcp_dcomp.o \
|
2017-07-13 00:03:50 +00:00
|
|
|
$(top_builddir)/src/gprs/gsup_client.o \
|
2014-12-18 11:46:47 +00:00
|
|
|
$(LIBOSMOABIS_LIBS) \
|
2014-10-02 19:27:24 +00:00
|
|
|
$(LIBOSMOCORE_LIBS) \
|
|
|
|
$(LIBOSMOGSM_LIBS) \
|
|
|
|
$(LIBOSMOGB_LIBS) \
|
2015-05-25 04:26:49 +00:00
|
|
|
$(LIBCARES_LIBS) \
|
2016-09-15 14:02:18 +00:00
|
|
|
$(LIBGTP_LIBS) \
|
2016-09-08 22:43:15 +00:00
|
|
|
-lrt \
|
2016-08-10 10:08:03 +00:00
|
|
|
-lm \
|
2016-09-08 22:43:15 +00:00
|
|
|
$(NULL)
|
2016-08-10 10:08:03 +00:00
|
|
|
|
2016-05-21 15:36:18 +00:00
|
|
|
if BUILD_IU
|
|
|
|
sgsn_test_LDADD += \
|
|
|
|
$(LIBOSMORANAP_LIBS) \
|
|
|
|
$(LIBOSMOSIGTRAN_LIBS) \
|
2016-09-08 22:43:15 +00:00
|
|
|
$(LIBASN1C_LIBS) \
|
|
|
|
$(NULL)
|
2016-05-21 15:36:18 +00:00
|
|
|
endif
|