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) \ |
Harald Welte | 6e96c33 | 2012-06-17 23:34:34 +0800 | [diff] [blame] | 4 | $(LIBOSMOABIS_CFLAGS) $(LIBOSMOGB_CFLAGS) $(COVERAGE_CFLAGS) |
| 5 | OSMO_LIBS = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(LIBOSMOVTY_LIBS) \ |
Harald Welte | 5919b6a | 2014-08-20 23:47:15 +0200 | [diff] [blame] | 6 | $(LIBOSMOCTRL_LIBS) $(LIBOSMOGB_LIBS) |
Harald Welte | 48030cf | 2010-05-04 07:41:59 +0200 | [diff] [blame] | 7 | |
Harald Welte | 03b2444 | 2010-08-24 13:59:08 +0200 | [diff] [blame] | 8 | noinst_HEADERS = gprs_sndcp.h |
Harald Welte | ba1f931 | 2010-05-19 14:38:50 +0200 | [diff] [blame] | 9 | |
Harald Welte | eaf3303 | 2010-05-18 00:20:21 +0200 | [diff] [blame] | 10 | if HAVE_LIBGTP |
Harald Welte | e2e4ce7 | 2011-02-19 16:19:19 +0900 | [diff] [blame] | 11 | bin_PROGRAMS = osmo-gbproxy osmo-sgsn |
Harald Welte | eaf3303 | 2010-05-18 00:20:21 +0200 | [diff] [blame] | 12 | else |
Harald Welte | e2e4ce7 | 2011-02-19 16:19:19 +0900 | [diff] [blame] | 13 | bin_PROGRAMS = osmo-gbproxy |
Harald Welte | eaf3303 | 2010-05-18 00:20:21 +0200 | [diff] [blame] | 14 | endif |
| 15 | |
Jacob Erlbeck | 2504bc4 | 2014-05-19 10:14:58 +0200 | [diff] [blame] | 16 | 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] | 17 | gb_proxy_patch.c gb_proxy_tlli.c gb_proxy_peer.c \ |
Jacob Erlbeck | cf11e93 | 2014-08-19 12:21:01 +0200 | [diff] [blame] | 18 | 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] | 19 | osmo_gbproxy_LDADD = $(top_builddir)/src/libcommon/libcommon.a \ |
Holger Hans Peter Freyther | 52fa2d8 | 2014-08-25 07:29:15 +0200 | [diff] [blame] | 20 | $(OSMO_LIBS) -lrt |
Harald Welte | 48030cf | 2010-05-04 07:41:59 +0200 | [diff] [blame] | 21 | |
Harald Welte | 9413503 | 2010-06-30 17:21:19 +0200 | [diff] [blame] | 22 | 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] | 23 | sgsn_main.c sgsn_vty.c sgsn_libgtp.c \ |
Jacob Erlbeck | e41a14b | 2014-06-02 10:49:01 +0200 | [diff] [blame] | 24 | 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] | 25 | sgsn_ctrl.c sgsn_auth.c gprs_subscriber.c \ |
Jacob Erlbeck | 2b2dc9e | 2014-12-18 12:28:21 +0100 | [diff] [blame^] | 26 | gprs_gsup_messages.c gprs_utils.c gprs_gsup_client.c |
Holger Hans Peter Freyther | e8e5ef2 | 2014-03-23 18:08:26 +0100 | [diff] [blame] | 27 | osmo_sgsn_LDADD = \ |
Holger Hans Peter Freyther | e8e5ef2 | 2014-03-23 18:08:26 +0100 | [diff] [blame] | 28 | $(top_builddir)/src/libcommon/libcommon.a \ |
| 29 | -lgtp $(OSMO_LIBS) $(LIBOSMOABIS_LIBS) |