Add program osmo-gtphub from gtphub_main.c to Makefile.am.
Add osmo-gtphub binary to gitignore.
Sponsored-by: On-Waves ehf
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 f012003..66d0625 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
@@ -32,3 +33,6 @@ osmo_sgsn_LDADD = \
$(top_builddir)/src/libcommon/libcommon.a \
-lgtp $(OSMO_LIBS) $(LIBOSMOABIS_LIBS) $(LIBCARES_LIBS) \
$(LIBCRYPTO_LIBS) -lrt
+
+osmo_gtphub_SOURCES = gtphub_main.c
+osmo_gtphub_LDADD = $(LIBOSMOCORE_LIBS) -lrt
--
2.1.4