[PATCH] openbsc[master]: move grps_gsup_client.c to libcommon/gsup_client.c

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Fri Dec 9 00:38:26 UTC 2016


Review at  https://gerrit.osmocom.org/1390

move grps_gsup_client.c to libcommon/gsup_client.c

This is in preparation for libvlr.

Change-Id: I9ad7dc7f17f3b033c779de9ae8bc120655502fce
---
M openbsc/src/gprs/Makefile.am
M openbsc/src/libcommon/Makefile.am
R openbsc/src/libcommon/gsup_client.c
R openbsc/src/libcommon/gsup_test_client.c
M openbsc/tests/sgsn/Makefile.am
5 files changed, 17 insertions(+), 16 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/90/1390/1

diff --git a/openbsc/src/gprs/Makefile.am b/openbsc/src/gprs/Makefile.am
index d059aee..cff17dd 100644
--- a/openbsc/src/gprs/Makefile.am
+++ b/openbsc/src/gprs/Makefile.am
@@ -37,7 +37,6 @@
 	$(NULL)
 
 bin_PROGRAMS = \
-	gsup_test_client \
 	osmo-gbproxy \
 	$(NULL)
 if HAVE_LIBGTP
@@ -88,7 +87,6 @@
 	sgsn_auth.c \
 	gprs_subscriber.c \
 	gprs_utils.c \
-	gprs_gsup_client.c \
 	sgsn_cdr.c \
 	sgsn_ares.c \
 	slhc.c \
@@ -130,18 +128,5 @@
 	$(LIBOSMOVTY_LIBS) \
 	$(LIBCARES_LIBS) \
 	$(LIBGTP_LIBS) \
-	-lrt \
-	$(NULL)
-
-gsup_test_client_SOURCES = \
-	gprs_gsup_client.c \
-	gsup_test_client.c \
-	$(NULL)
-gsup_test_client_LDADD = \
-	$(top_builddir)/src/libcommon/libcommon.a \
-	$(LIBOSMOCORE_LIBS) \
-	$(LIBOSMOGSM_LIBS) \
-	$(LIBOSMOVTY_LIBS) \
-	$(LIBOSMOABIS_LIBS) \
 	-lrt \
 	$(NULL)
diff --git a/openbsc/src/libcommon/Makefile.am b/openbsc/src/libcommon/Makefile.am
index 6582d1e..0b258c0 100644
--- a/openbsc/src/libcommon/Makefile.am
+++ b/openbsc/src/libcommon/Makefile.am
@@ -23,8 +23,25 @@
 	debug.c \
 	gsm_data.c \
 	gsm_data_shared.c \
+	gsup_client.c \
 	oap_client.c \
 	socket.c \
 	talloc_ctx.c \
 	gsm_subscriber_base.c \
 	$(NULL)
+
+noinst_PROGRAMS = \
+	gsup_test_client \
+	$(NULL)
+
+gsup_test_client_SOURCES = \
+	gsup_test_client.c \
+	$(NULL)
+gsup_test_client_LDADD = \
+	libcommon.a \
+	$(LIBOSMOCORE_LIBS) \
+	$(LIBOSMOGSM_LIBS) \
+	$(LIBOSMOVTY_LIBS) \
+	$(LIBOSMOABIS_LIBS) \
+	-lrt \
+	$(NULL)
diff --git a/openbsc/src/gprs/gprs_gsup_client.c b/openbsc/src/libcommon/gsup_client.c
similarity index 100%
rename from openbsc/src/gprs/gprs_gsup_client.c
rename to openbsc/src/libcommon/gsup_client.c
diff --git a/openbsc/src/gprs/gsup_test_client.c b/openbsc/src/libcommon/gsup_test_client.c
similarity index 100%
rename from openbsc/src/gprs/gsup_test_client.c
rename to openbsc/src/libcommon/gsup_test_client.c
diff --git a/openbsc/tests/sgsn/Makefile.am b/openbsc/tests/sgsn/Makefile.am
index 86f596d..77419d7 100644
--- a/openbsc/tests/sgsn/Makefile.am
+++ b/openbsc/tests/sgsn/Makefile.am
@@ -50,7 +50,6 @@
 	$(top_builddir)/src/gprs/sgsn_libgtp.o \
 	$(top_builddir)/src/gprs/sgsn_auth.o \
 	$(top_builddir)/src/gprs/sgsn_ares.o \
-	$(top_builddir)/src/gprs/gprs_gsup_client.o \
 	$(top_builddir)/src/gprs/gprs_utils.o \
 	$(top_builddir)/src/gprs/gprs_subscriber.o \
 	$(top_builddir)/src/gprs/gprs_gb_parse.o \

-- 
To view, visit https://gerrit.osmocom.org/1390
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9ad7dc7f17f3b033c779de9ae8bc120655502fce
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list