[PATCH] openbsc[master]: IuPS: sgsn-test: link Iu related libs

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
Mon Aug 22 12:36:06 UTC 2016


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

IuPS: sgsn-test: link Iu related libs

Add libiu and libasn1c, libosmo-sigtran, libosmo-ranap.
So far they are unused, this is preparing for a subsequent commit that
introduces calls to iu_tx().

Change-Id: I4c05f15c29797456ddcd7c95bfb7dfd480101577
---
M openbsc/tests/sgsn/Makefile.am
1 file changed, 10 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/30/730/1

diff --git a/openbsc/tests/sgsn/Makefile.am b/openbsc/tests/sgsn/Makefile.am
index b6036c7..025e2c9 100644
--- a/openbsc/tests/sgsn/Makefile.am
+++ b/openbsc/tests/sgsn/Makefile.am
@@ -1,5 +1,8 @@
 AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include
 AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBCARES_CFLAGS)
+if BUILD_IU
+AM_CFLAGS += $(LIBASN1C_CFLAGS) $(LIBOSMOSIGTRAN_CFLAGS) $(LIBOSMORANAP_CFLAGS)
+endif
 
 EXTRA_DIST = sgsn_test.ok
 
@@ -38,4 +41,11 @@
 	$(LIBCARES_LIBS) \
 	$(LIBCRYPTO_LIBS) \
 	-lgtp -lrt
+if BUILD_IU
+sgsn_test_LDADD += \
+	$(top_builddir)/src/libiu/libiu.a \
+	$(LIBOSMORANAP_LIBS) \
+	$(LIBOSMOSIGTRAN_LIBS) \
+	$(LIBASN1C_LIBS)
+endif
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4c05f15c29797456ddcd7c95bfb7dfd480101577
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: neels_test_account <neels at hofmeyr.de>



More information about the gerrit-log mailing list