aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/gprs/Makefile.am')
-rw-r--r--src/gprs/Makefile.am22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/gprs/Makefile.am b/src/gprs/Makefile.am
new file mode 100644
index 00000000..16c2200e
--- /dev/null
+++ b/src/gprs/Makefile.am
@@ -0,0 +1,22 @@
+INCLUDES = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)
+AM_CFLAGS=-Wall -fno-strict-aliasing $(LIBOSMOCORE_CFLAGS) $(LIBOSMOVTY_CFLAGS) $(COVERAGE_CFLAGS)
+AM_LDFLAGS = $(LIBOSMOCORE_LIBS) $(LIBOSMOVTY_LIBS) $(COVERAGE_LDFLAGS)
+
+noinst_HEADERS = gprs_sndcp.h
+
+if HAVE_LIBGTP
+bin_PROGRAMS = osmo-gbproxy osmo-sgsn
+else
+bin_PROGRAMS = osmo-gbproxy
+endif
+
+osmo_gbproxy_SOURCES = gb_proxy.c gb_proxy_main.c gb_proxy_vty.c
+osmo_gbproxy_LDADD = $(top_builddir)/src/libgb/libgb.a \
+ $(top_builddir)/src/libcommon/libcommon.a
+
+osmo_sgsn_SOURCES = gprs_gmm.c gprs_sgsn.c gprs_sndcp.c gprs_sndcp_vty.c \
+ sgsn_main.c sgsn_vty.c sgsn_libgtp.c \
+ gprs_llc.c gprs_llc_vty.c crc24.c
+osmo_sgsn_LDADD = $(top_builddir)/src/libgb/libgb.a \
+ $(top_builddir)/src/libcommon/libcommon.a \
+ -lgtp