blob: f46a40254b357c2db8e5f7cb4f0dcefa7061e631 [file] [log] [blame]
Alexander Huemer92008442013-06-11 14:31:27 +02001AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)
Holger Hans Peter Freythere3fe41d2012-01-15 17:52:02 +01002AM_CFLAGS=-Wall -fno-strict-aliasing $(LIBOSMOCORE_CFLAGS) \
Harald Welte5919b6a2014-08-20 23:47:15 +02003 $(LIBOSMOGSM_CFLAGS) $(LIBOSMOVTY_CFLAGS) $(LIBOSMOCTRL_CFLAGS) \
Holger Hans Peter Freyther180027c2015-05-25 01:21:50 +08004 $(LIBOSMOABIS_CFLAGS) $(LIBOSMOGB_CFLAGS) $(COVERAGE_CFLAGS) \
5 $(LIBCARES_CFLAGS)
Harald Welte6e96c332012-06-17 23:34:34 +08006OSMO_LIBS = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(LIBOSMOVTY_LIBS) \
Harald Welte5919b6a2014-08-20 23:47:15 +02007 $(LIBOSMOCTRL_LIBS) $(LIBOSMOGB_LIBS)
Harald Welte48030cf2010-05-04 07:41:59 +02008
Harald Welte03b24442010-08-24 13:59:08 +02009noinst_HEADERS = gprs_sndcp.h
Harald Welteba1f9312010-05-19 14:38:50 +020010
Harald Weltee2e4ce72011-02-19 16:19:19 +090011bin_PROGRAMS = osmo-gbproxy
Holger Hans Peter Freyther180027c2015-05-25 01:21:50 +080012
13if HAVE_LIBGTP
14if HAVE_LIBCARES
15bin_PROGRAMS += osmo-sgsn
16endif
Harald Welteeaf33032010-05-18 00:20:21 +020017endif
18
Jacob Erlbeck2504bc42014-05-19 10:14:58 +020019osmo_gbproxy_SOURCES = gb_proxy.c gb_proxy_main.c gb_proxy_vty.c \
Jacob Erlbeck040fabc2014-08-21 10:01:30 +020020 gb_proxy_patch.c gb_proxy_tlli.c gb_proxy_peer.c \
Jacob Erlbeckcf11e932014-08-19 12:21:01 +020021 gprs_gb_parse.c gprs_llc_parse.c crc24.c gprs_utils.c
Harald Welte6e96c332012-06-17 23:34:34 +080022osmo_gbproxy_LDADD = $(top_builddir)/src/libcommon/libcommon.a \
Holger Hans Peter Freyther52fa2d82014-08-25 07:29:15 +020023 $(OSMO_LIBS) -lrt
Harald Welte48030cf2010-05-04 07:41:59 +020024
Harald Welte94135032010-06-30 17:21:19 +020025osmo_sgsn_SOURCES = gprs_gmm.c gprs_sgsn.c gprs_sndcp.c gprs_sndcp_vty.c \
Harald Welte0c1a00b2011-03-03 23:45:28 +010026 sgsn_main.c sgsn_vty.c sgsn_libgtp.c \
Jacob Erlbecke41a14b2014-06-02 10:49:01 +020027 gprs_llc.c gprs_llc_parse.c gprs_llc_vty.c crc24.c \
Jacob Erlbeckef8e30a2014-12-11 16:54:14 +010028 sgsn_ctrl.c sgsn_auth.c gprs_subscriber.c \
Jacob Erlbeck9346dad2015-01-05 17:30:02 +010029 gprs_gsup_messages.c gprs_utils.c gprs_gsup_client.c \
Holger Hans Peter Freyther180027c2015-05-25 01:21:50 +080030 gsm_04_08_gprs.c sgsn_cdr.c sgsn_ares.c
Holger Hans Peter Freythere8e5ef22014-03-23 18:08:26 +010031osmo_sgsn_LDADD = \
Holger Hans Peter Freythere8e5ef22014-03-23 18:08:26 +010032 $(top_builddir)/src/libcommon/libcommon.a \
Holger Hans Peter Freyther180027c2015-05-25 01:21:50 +080033 -lgtp $(OSMO_LIBS) $(LIBOSMOABIS_LIBS) $(LIBCARES_LIBS) -lrt