blob: cdad70f7cfc42b032593aa1354dff4d73aa20579 [file] [log] [blame]
Harald Welte48030cf2010-05-04 07:41:59 +02001INCLUDES = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)
Holger Hans Peter Freyther16bdb142010-11-15 18:37:57 +01002AM_CFLAGS=-Wall -fno-strict-aliasing $(LIBOSMOCORE_CFLAGS) $(LIBOSMOVTY_CFLAGS) $(COVERAGE_CFLAGS)
3AM_LDFLAGS = $(LIBOSMOCORE_LIBS) $(LIBOSMOVTY_LIBS) $(COVERAGE_LDFLAGS)
Harald Welte48030cf2010-05-04 07:41:59 +02004
Harald Welteba1f9312010-05-19 14:38:50 +02005noinst_LIBRARIES = libgb.a
Harald Welte03b24442010-08-24 13:59:08 +02006noinst_HEADERS = gprs_sndcp.h
Harald Welteba1f9312010-05-19 14:38:50 +02007
Harald Welteeaf33032010-05-18 00:20:21 +02008if HAVE_LIBGTP
Harald Weltee2e4ce72011-02-19 16:19:19 +09009bin_PROGRAMS = osmo-gbproxy osmo-sgsn
Harald Welteeaf33032010-05-18 00:20:21 +020010else
Harald Weltee2e4ce72011-02-19 16:19:19 +090011bin_PROGRAMS = osmo-gbproxy
Harald Welteeaf33032010-05-18 00:20:21 +020012endif
13
Harald Welte48030cf2010-05-04 07:41:59 +020014
Harald Welteba1f9312010-05-19 14:38:50 +020015libgb_a_SOURCES = gprs_ns.c gprs_ns_frgre.c gprs_ns_vty.c \
16 gprs_bssgp.c gprs_bssgp_util.c gprs_bssgp_vty.c \
17 gprs_llc.c gprs_llc_vty.c crc24.c
Harald Welte48030cf2010-05-04 07:41:59 +020018
Harald Welte4f272cc2011-03-03 23:29:05 +010019osmo_gbproxy_SOURCES = gb_proxy.c gb_proxy_main.c gb_proxy_vty.c
20osmo_gbproxy_LDADD = libgb.a $(top_builddir)/src/common/libcommon.a
Harald Welte48030cf2010-05-04 07:41:59 +020021
Harald Welte94135032010-06-30 17:21:19 +020022osmo_sgsn_SOURCES = gprs_gmm.c gprs_sgsn.c gprs_sndcp.c gprs_sndcp_vty.c \
Harald Welte4f272cc2011-03-03 23:29:05 +010023 sgsn_main.c sgsn_vty.c sgsn_libgtp.c
24osmo_sgsn_LDADD = libgb.a $(top_builddir)/src/common/libcommon.a -lgtp