diff mbox

[02/10] gtphub: add to build

Message ID 1444227508-26608-3-git-send-email-nhofmeyr@sysmocom.de
State Accepted
Headers show

Commit Message

Neels Hofmeyr Oct. 7, 2015, 2:18 p.m. UTC
Add program osmo-gtphub from gtphub_main.c to Makefile.am.
Add osmo-gtphub binary to gitignore.

Sponsored-by: On-Waves ehf
---
 openbsc/.gitignore           | 1 +
 openbsc/src/gprs/Makefile.am | 4 ++++
 2 files changed, 5 insertions(+)
diff mbox

Patch

diff --git a/openbsc/.gitignore b/openbsc/.gitignore
index 2210c47..f024d76 100644
--- a/openbsc/.gitignore
+++ b/openbsc/.gitignore
@@ -53,6 +53,7 @@  src/utils/isdnsync
 src/nat/bsc_nat
 src/gprs/osmo-sgsn
 src/gprs/osmo-gbproxy
+src/gprs/osmo-gtphub
 src/osmo-bsc_nat/osmo-bsc_nat
 
 #tests
diff --git a/openbsc/src/gprs/Makefile.am b/openbsc/src/gprs/Makefile.am
index f46a402..753a073 100644
--- a/openbsc/src/gprs/Makefile.am
+++ b/openbsc/src/gprs/Makefile.am
@@ -11,6 +11,7 @@  noinst_HEADERS = gprs_sndcp.h
 bin_PROGRAMS = osmo-gbproxy
 
 if HAVE_LIBGTP
+bin_PROGRAMS += osmo-gtphub
 if HAVE_LIBCARES
 bin_PROGRAMS += osmo-sgsn
 endif
@@ -31,3 +32,6 @@  osmo_sgsn_SOURCES =	gprs_gmm.c gprs_sgsn.c gprs_sndcp.c gprs_sndcp_vty.c \
 osmo_sgsn_LDADD = 	\
 			$(top_builddir)/src/libcommon/libcommon.a \
 			-lgtp $(OSMO_LIBS) $(LIBOSMOABIS_LIBS) $(LIBCARES_LIBS) -lrt
+
+osmo_gtphub_SOURCES =	gtphub_main.c
+osmo_gtphub_LDADD = 	$(LIBOSMOCORE_LIBS) -lrt