Alexander Huemer | 7477d71 | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 1 | AM_CPPFLAGS = \ |
| 2 | $(all_includes) \ |
| 3 | -I$(top_srcdir)/include \ |
| 4 | $(NULL) |
| 5 | |
| 6 | AM_CFLAGS = \ |
| 7 | -Wall \ |
| 8 | -ggdb3 \ |
| 9 | $(LIBOSMOCORE_CFLAGS) \ |
Alexander Huemer | 4976953 | 2016-09-15 16:02:18 +0200 | [diff] [blame] | 10 | $(LIBOSMOABIS_CFLAGS) \ |
Alexander Huemer | 7477d71 | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 11 | $(LIBOSMOGSM_CFLAGS) \ |
| 12 | $(LIBCARES_CFLAGS) \ |
| 13 | $(NULL) |
Daniel Willmann | 63dddc7 | 2016-05-21 17:36:18 +0200 | [diff] [blame] | 14 | if BUILD_IU |
Alexander Huemer | 7477d71 | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 15 | AM_CFLAGS += \ |
| 16 | $(LIBASN1C_CFLAGS) \ |
| 17 | $(LIBOSMOSIGTRAN_CFLAGS) \ |
| 18 | $(LIBOSMORANAP_CFLAGS) \ |
| 19 | $(NULL) |
Daniel Willmann | 63dddc7 | 2016-05-21 17:36:18 +0200 | [diff] [blame] | 20 | endif |
Holger Hans Peter Freyther | 232f621 | 2014-09-30 09:10:25 +0200 | [diff] [blame] | 21 | |
Alexander Huemer | 7477d71 | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 22 | EXTRA_DIST = \ |
| 23 | sgsn_test.ok \ |
| 24 | $(NULL) |
Holger Hans Peter Freyther | 232f621 | 2014-09-30 09:10:25 +0200 | [diff] [blame] | 25 | |
Alexander Huemer | 7477d71 | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 26 | noinst_PROGRAMS = \ |
| 27 | sgsn_test \ |
| 28 | $(NULL) |
Holger Hans Peter Freyther | 232f621 | 2014-09-30 09:10:25 +0200 | [diff] [blame] | 29 | |
Alexander Huemer | 7477d71 | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 30 | sgsn_test_SOURCES = \ |
| 31 | sgsn_test.c \ |
| 32 | $(NULL) |
| 33 | |
Jacob Erlbeck | e8b6968 | 2014-11-12 10:12:11 +0100 | [diff] [blame] | 34 | sgsn_test_LDFLAGS = \ |
Max | 9943d7a | 2016-07-05 15:19:12 +0200 | [diff] [blame] | 35 | -Wl,--wrap=RAND_bytes \ |
Jacob Erlbeck | d04f7cc | 2014-11-12 10:18:09 +0100 | [diff] [blame] | 36 | -Wl,--wrap=sgsn_update_subscriber_data \ |
Jacob Erlbeck | 828059f | 2014-11-28 14:55:25 +0100 | [diff] [blame] | 37 | -Wl,--wrap=gprs_subscr_request_update_location \ |
Jacob Erlbeck | 0d2cf60 | 2015-01-09 15:07:16 +0100 | [diff] [blame] | 38 | -Wl,--wrap=gprs_subscr_request_auth_info \ |
Alexander Huemer | 7477d71 | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 39 | -Wl,--wrap=gprs_gsup_client_send \ |
| 40 | $(NULL) |
Jacob Erlbeck | e8b6968 | 2014-11-12 10:12:11 +0100 | [diff] [blame] | 41 | |
Holger Hans Peter Freyther | 49dbcd9 | 2014-10-02 21:27:24 +0200 | [diff] [blame] | 42 | sgsn_test_LDADD = \ |
| 43 | $(top_builddir)/src/gprs/gprs_llc_parse.o \ |
| 44 | $(top_builddir)/src/gprs/gprs_llc.o \ |
| 45 | $(top_builddir)/src/gprs/crc24.o \ |
| 46 | $(top_builddir)/src/gprs/gprs_sndcp.o \ |
| 47 | $(top_builddir)/src/gprs/gprs_gmm.o \ |
| 48 | $(top_builddir)/src/gprs/gprs_sgsn.o \ |
| 49 | $(top_builddir)/src/gprs/sgsn_vty.o \ |
| 50 | $(top_builddir)/src/gprs/sgsn_libgtp.o \ |
Jacob Erlbeck | 4760eae | 2014-10-24 15:11:03 +0200 | [diff] [blame] | 51 | $(top_builddir)/src/gprs/sgsn_auth.o \ |
Holger Hans Peter Freyther | 2b1d49a | 2015-05-25 12:26:49 +0800 | [diff] [blame] | 52 | $(top_builddir)/src/gprs/sgsn_ares.o \ |
Jacob Erlbeck | 233715c | 2014-12-18 12:46:47 +0100 | [diff] [blame] | 53 | $(top_builddir)/src/gprs/gprs_gsup_client.o \ |
Jacob Erlbeck | 5641cfc | 2014-12-12 15:01:37 +0100 | [diff] [blame] | 54 | $(top_builddir)/src/gprs/gprs_utils.o \ |
Jacob Erlbeck | e8b6968 | 2014-11-12 10:12:11 +0100 | [diff] [blame] | 55 | $(top_builddir)/src/gprs/gprs_subscriber.o \ |
Jacob Erlbeck | 28c28f9 | 2015-10-12 19:36:32 +0200 | [diff] [blame] | 56 | $(top_builddir)/src/gprs/gprs_gb_parse.o \ |
Neels Hofmeyr | 38b5e27 | 2015-10-12 11:57:37 +0200 | [diff] [blame] | 57 | $(top_builddir)/src/gprs/oap.o \ |
| 58 | $(top_builddir)/src/gprs/oap_messages.o \ |
Alexander Huemer | 7477d71 | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 59 | $(top_builddir)/src/gprs/gprs_llc_xid.o \ |
Jacob Erlbeck | e8b6968 | 2014-11-12 10:12:11 +0100 | [diff] [blame] | 60 | $(top_builddir)/src/libcommon/libcommon.a \ |
Jacob Erlbeck | 233715c | 2014-12-18 12:46:47 +0100 | [diff] [blame] | 61 | $(LIBOSMOABIS_LIBS) \ |
Holger Hans Peter Freyther | 49dbcd9 | 2014-10-02 21:27:24 +0200 | [diff] [blame] | 62 | $(LIBOSMOCORE_LIBS) \ |
| 63 | $(LIBOSMOGSM_LIBS) \ |
| 64 | $(LIBOSMOGB_LIBS) \ |
Holger Hans Peter Freyther | 2b1d49a | 2015-05-25 12:26:49 +0800 | [diff] [blame] | 65 | $(LIBCARES_LIBS) \ |
Daniel Willmann | d7f6cdf | 2015-10-12 19:36:33 +0200 | [diff] [blame] | 66 | $(LIBCRYPTO_LIBS) \ |
Alexander Huemer | 4976953 | 2016-09-15 16:02:18 +0200 | [diff] [blame] | 67 | $(LIBGTP_LIBS) \ |
Alexander Huemer | 7477d71 | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 68 | -lrt \ |
| 69 | $(NULL) |
Daniel Willmann | 63dddc7 | 2016-05-21 17:36:18 +0200 | [diff] [blame] | 70 | if BUILD_IU |
| 71 | sgsn_test_LDADD += \ |
| 72 | $(top_builddir)/src/libiu/libiu.a \ |
| 73 | $(LIBOSMORANAP_LIBS) \ |
| 74 | $(LIBOSMOSIGTRAN_LIBS) \ |
Alexander Huemer | 7477d71 | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 75 | $(LIBASN1C_LIBS) \ |
| 76 | $(NULL) |
Daniel Willmann | 63dddc7 | 2016-05-21 17:36:18 +0200 | [diff] [blame] | 77 | endif |