Alexander Huemer | 9200844 | 2013-06-11 14:31:27 +0200 | [diff] [blame] | 1 | AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir) |
Holger Hans Peter Freyther | e3fe41d | 2012-01-15 17:52:02 +0100 | [diff] [blame] | 2 | AM_CFLAGS=-Wall -fno-strict-aliasing $(LIBOSMOCORE_CFLAGS) \ |
Harald Welte | 5919b6a | 2014-08-20 23:47:15 +0200 | [diff] [blame] | 3 | $(LIBOSMOGSM_CFLAGS) $(LIBOSMOVTY_CFLAGS) $(LIBOSMOCTRL_CFLAGS) \ |
Holger Hans Peter Freyther | 180027c | 2015-05-25 01:21:50 +0800 | [diff] [blame] | 4 | $(LIBOSMOABIS_CFLAGS) $(LIBOSMOGB_CFLAGS) $(COVERAGE_CFLAGS) \ |
Alexander Huemer | 566642c | 2016-01-26 00:50:35 +0100 | [diff] [blame] | 5 | $(LIBCARES_CFLAGS) $(LIBCRYPTO_CFLAGS) $(LIBGTP_CFLAGS) |
Harald Welte | 6e96c33 | 2012-06-17 23:34:34 +0800 | [diff] [blame] | 6 | OSMO_LIBS = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(LIBOSMOVTY_LIBS) \ |
Harald Welte | 5919b6a | 2014-08-20 23:47:15 +0200 | [diff] [blame] | 7 | $(LIBOSMOCTRL_LIBS) $(LIBOSMOGB_LIBS) |
Harald Welte | 48030cf | 2010-05-04 07:41:59 +0200 | [diff] [blame] | 8 | |
Harald Welte | 03b2444 | 2010-08-24 13:59:08 +0200 | [diff] [blame] | 9 | noinst_HEADERS = gprs_sndcp.h |
Harald Welte | ba1f931 | 2010-05-19 14:38:50 +0200 | [diff] [blame] | 10 | |
Harald Welte | e2e4ce7 | 2011-02-19 16:19:19 +0900 | [diff] [blame] | 11 | bin_PROGRAMS = osmo-gbproxy |
Holger Hans Peter Freyther | 180027c | 2015-05-25 01:21:50 +0800 | [diff] [blame] | 12 | |
| 13 | if HAVE_LIBGTP |
| 14 | if HAVE_LIBCARES |
Harald Welte | cca7c67 | 2015-11-21 13:16:08 +0100 | [diff] [blame] | 15 | bin_PROGRAMS += osmo-sgsn osmo-gtphub |
Holger Hans Peter Freyther | 180027c | 2015-05-25 01:21:50 +0800 | [diff] [blame] | 16 | endif |
Harald Welte | eaf3303 | 2010-05-18 00:20:21 +0200 | [diff] [blame] | 17 | endif |
| 18 | |
Jacob Erlbeck | 2504bc4 | 2014-05-19 10:14:58 +0200 | [diff] [blame] | 19 | osmo_gbproxy_SOURCES = gb_proxy.c gb_proxy_main.c gb_proxy_vty.c \ |
Jacob Erlbeck | 040fabc | 2014-08-21 10:01:30 +0200 | [diff] [blame] | 20 | gb_proxy_patch.c gb_proxy_tlli.c gb_proxy_peer.c \ |
Jacob Erlbeck | cf11e93 | 2014-08-19 12:21:01 +0200 | [diff] [blame] | 21 | gprs_gb_parse.c gprs_llc_parse.c crc24.c gprs_utils.c |
Harald Welte | 6e96c33 | 2012-06-17 23:34:34 +0800 | [diff] [blame] | 22 | osmo_gbproxy_LDADD = $(top_builddir)/src/libcommon/libcommon.a \ |
Daniel Willmann | 2b10af3 | 2015-10-12 19:36:35 +0200 | [diff] [blame] | 23 | $(OSMO_LIBS) $(LIBCRYPTO_LIBS) -lrt |
Harald Welte | 48030cf | 2010-05-04 07:41:59 +0200 | [diff] [blame] | 24 | |
Harald Welte | 9413503 | 2010-06-30 17:21:19 +0200 | [diff] [blame] | 25 | osmo_sgsn_SOURCES = gprs_gmm.c gprs_sgsn.c gprs_sndcp.c gprs_sndcp_vty.c \ |
Harald Welte | 0c1a00b | 2011-03-03 23:45:28 +0100 | [diff] [blame] | 26 | sgsn_main.c sgsn_vty.c sgsn_libgtp.c \ |
Jacob Erlbeck | e41a14b | 2014-06-02 10:49:01 +0200 | [diff] [blame] | 27 | gprs_llc.c gprs_llc_parse.c gprs_llc_vty.c crc24.c \ |
Jacob Erlbeck | ef8e30a | 2014-12-11 16:54:14 +0100 | [diff] [blame] | 28 | sgsn_ctrl.c sgsn_auth.c gprs_subscriber.c \ |
Harald Welte | e2b5349 | 2016-04-25 14:53:43 +0200 | [diff] [blame] | 29 | osmo_gsup_messages.c gprs_utils.c gprs_gsup_client.c \ |
Harald Welte | 35ade5e | 2016-04-20 17:11:43 +0200 | [diff] [blame] | 30 | sgsn_cdr.c sgsn_ares.c \ |
Neels Hofmeyr | 1b34761 | 2015-10-12 11:57:34 +0200 | [diff] [blame] | 31 | oap.c oap_messages.c |
Holger Hans Peter Freyther | e8e5ef2 | 2014-03-23 18:08:26 +0100 | [diff] [blame] | 32 | osmo_sgsn_LDADD = \ |
Holger Hans Peter Freyther | e8e5ef2 | 2014-03-23 18:08:26 +0100 | [diff] [blame] | 33 | $(top_builddir)/src/libcommon/libcommon.a \ |
Daniel Willmann | d7f6cdf | 2015-10-12 19:36:33 +0200 | [diff] [blame] | 34 | -lgtp $(OSMO_LIBS) $(LIBOSMOABIS_LIBS) $(LIBCARES_LIBS) \ |
| 35 | $(LIBCRYPTO_LIBS) -lrt |
Neels Hofmeyr | 9f79664 | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 36 | |
Neels Hofmeyr | f6fe212 | 2015-12-02 15:43:10 +0100 | [diff] [blame] | 37 | osmo_gtphub_SOURCES = gtphub_main.c gtphub.c gtphub_sock.c gtphub_ares.c \ |
| 38 | gtphub_vty.c sgsn_ares.c gprs_utils.c |
Neels Hofmeyr | 9f79664 | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 39 | osmo_gtphub_LDADD = \ |
| 40 | $(top_builddir)/src/libcommon/libcommon.a \ |
Neels Hofmeyr | f16657a | 2015-11-08 20:34:47 +0100 | [diff] [blame] | 41 | -lgtp $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(LIBOSMOVTY_LIBS) \ |
| 42 | $(LIBCARES_LIBS) -lrt |