aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am3
-rw-r--r--configure.ac4
-rw-r--r--include/osmocom/Makefile.am4
-rw-r--r--include/osmocom/gprs/Makefile.am (renamed from openbsc/include/osmocom/gprs/Makefile.am)0
-rw-r--r--include/osmocom/gprs/gprs_bssgp.h (renamed from openbsc/include/osmocom/gprs/gprs_bssgp.h)0
-rw-r--r--include/osmocom/gprs/gprs_msgb.h (renamed from openbsc/include/osmocom/gprs/gprs_msgb.h)0
-rw-r--r--include/osmocom/gprs/gprs_ns.h (renamed from openbsc/include/osmocom/gprs/gprs_ns.h)0
-rw-r--r--include/osmocom/gprs/gprs_ns_frgre.h (renamed from openbsc/include/osmocom/gprs/gprs_ns_frgre.h)0
-rw-r--r--include/osmocom/gprs/protocol/Makefile.am (renamed from openbsc/include/osmocom/gprs/protocol/Makefile.am)0
-rw-r--r--include/osmocom/gprs/protocol/gsm_08_16.h (renamed from openbsc/include/osmocom/gprs/protocol/gsm_08_16.h)0
-rw-r--r--include/osmocom/gprs/protocol/gsm_08_18.h (renamed from openbsc/include/osmocom/gprs/protocol/gsm_08_18.h)0
-rw-r--r--libosmogb.pc.in11
-rw-r--r--openbsc/src/libgb/Makefile.am9
-rw-r--r--src/Makefile.am2
-rw-r--r--src/gb/common_vty.c (renamed from openbsc/src/libgb/common_vty.c)0
-rw-r--r--src/gb/common_vty.h (renamed from openbsc/src/libgb/common_vty.h)0
-rw-r--r--src/gb/gprs_bssgp.c (renamed from openbsc/src/libgb/gprs_bssgp.c)0
-rw-r--r--src/gb/gprs_bssgp_bss.c (renamed from openbsc/src/libgb/gprs_bssgp_bss.c)0
-rw-r--r--src/gb/gprs_bssgp_util.c (renamed from openbsc/src/libgb/gprs_bssgp_util.c)0
-rw-r--r--src/gb/gprs_bssgp_vty.c (renamed from openbsc/src/libgb/gprs_bssgp_vty.c)0
-rw-r--r--src/gb/gprs_ns.c (renamed from openbsc/src/libgb/gprs_ns.c)0
-rw-r--r--src/gb/gprs_ns_frgre.c (renamed from openbsc/src/libgb/gprs_ns_frgre.c)0
-rw-r--r--src/gb/gprs_ns_vty.c (renamed from openbsc/src/libgb/gprs_ns_vty.c)0
-rw-r--r--src/gb/libosmogb.map (renamed from openbsc/src/libgb/libosmo-gb.map)12
24 files changed, 26 insertions, 19 deletions
diff --git a/Makefile.am b/Makefile.am
index 5a157ce..9fdb4ab 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,7 +5,8 @@ INCLUDES = $(all_includes) -I$(top_srcdir)/include
SUBDIRS = include src tests utils
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libosmocore.pc libosmocodec.pc libosmovty.pc libosmogsm.pc
+pkgconfig_DATA = libosmocore.pc libosmocodec.pc libosmovty.pc libosmogsm.pc \
+ libosmogb.pc
BUILT_SOURCES = $(top_srcdir)/.version
$(top_srcdir)/.version:
diff --git a/configure.ac b/configure.ac
index 977eef9..484a7dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -146,18 +146,22 @@ AC_OUTPUT(
libosmocodec.pc
libosmovty.pc
libosmogsm.pc
+ libosmogb.pc
include/osmocom/Makefile
include/osmocom/vty/Makefile
include/osmocom/codec/Makefile
include/osmocom/crypt/Makefile
include/osmocom/gsm/Makefile
include/osmocom/gsm/protocol/Makefile
+ include/osmocom/gprs/Makefile
+ include/osmocom/gprs/protocol/Makefile
include/osmocom/core/Makefile
include/Makefile
src/Makefile
src/vty/Makefile
src/codec/Makefile
src/gsm/Makefile
+ src/gb/Makefile
tests/Makefile
tests/timer/Makefile
tests/sms/Makefile
diff --git a/include/osmocom/Makefile.am b/include/osmocom/Makefile.am
index 21f4f2d..bd3b89b 100644
--- a/include/osmocom/Makefile.am
+++ b/include/osmocom/Makefile.am
@@ -1,5 +1,5 @@
if ENABLE_VTY
-SUBDIRS = vty codec crypt gsm core
+SUBDIRS = vty codec crypt gsm gprs core
else
-SUBDIRS = codec crypt gsm core
+SUBDIRS = codec crypt gsm gprs core
endif
diff --git a/openbsc/include/osmocom/gprs/Makefile.am b/include/osmocom/gprs/Makefile.am
index d39592c..d39592c 100644
--- a/openbsc/include/osmocom/gprs/Makefile.am
+++ b/include/osmocom/gprs/Makefile.am
diff --git a/openbsc/include/osmocom/gprs/gprs_bssgp.h b/include/osmocom/gprs/gprs_bssgp.h
index 949dbdc..949dbdc 100644
--- a/openbsc/include/osmocom/gprs/gprs_bssgp.h
+++ b/include/osmocom/gprs/gprs_bssgp.h
diff --git a/openbsc/include/osmocom/gprs/gprs_msgb.h b/include/osmocom/gprs/gprs_msgb.h
index f4c8554..f4c8554 100644
--- a/openbsc/include/osmocom/gprs/gprs_msgb.h
+++ b/include/osmocom/gprs/gprs_msgb.h
diff --git a/openbsc/include/osmocom/gprs/gprs_ns.h b/include/osmocom/gprs/gprs_ns.h
index a7f32b2..a7f32b2 100644
--- a/openbsc/include/osmocom/gprs/gprs_ns.h
+++ b/include/osmocom/gprs/gprs_ns.h
diff --git a/openbsc/include/osmocom/gprs/gprs_ns_frgre.h b/include/osmocom/gprs/gprs_ns_frgre.h
index abcd43f..abcd43f 100644
--- a/openbsc/include/osmocom/gprs/gprs_ns_frgre.h
+++ b/include/osmocom/gprs/gprs_ns_frgre.h
diff --git a/openbsc/include/osmocom/gprs/protocol/Makefile.am b/include/osmocom/gprs/protocol/Makefile.am
index 8255a95..8255a95 100644
--- a/openbsc/include/osmocom/gprs/protocol/Makefile.am
+++ b/include/osmocom/gprs/protocol/Makefile.am
diff --git a/openbsc/include/osmocom/gprs/protocol/gsm_08_16.h b/include/osmocom/gprs/protocol/gsm_08_16.h
index 4c3eda3..4c3eda3 100644
--- a/openbsc/include/osmocom/gprs/protocol/gsm_08_16.h
+++ b/include/osmocom/gprs/protocol/gsm_08_16.h
diff --git a/openbsc/include/osmocom/gprs/protocol/gsm_08_18.h b/include/osmocom/gprs/protocol/gsm_08_18.h
index 3a351ea..3a351ea 100644
--- a/openbsc/include/osmocom/gprs/protocol/gsm_08_18.h
+++ b/include/osmocom/gprs/protocol/gsm_08_18.h
diff --git a/libosmogb.pc.in b/libosmogb.pc.in
new file mode 100644
index 0000000..cbfa631
--- /dev/null
+++ b/libosmogb.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Osmocom GPRS Gb Library
+Description: Osmocom GPRS Gb Interface (NS/BSSGP) Library
+Version: @VERSION@
+Libs: -L${libdir} -losmogb
+Cflags: -I${includedir}/
+
diff --git a/openbsc/src/libgb/Makefile.am b/openbsc/src/libgb/Makefile.am
deleted file mode 100644
index eafbc34..0000000
--- a/openbsc/src/libgb/Makefile.am
+++ /dev/null
@@ -1,9 +0,0 @@
-INCLUDES = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)
-AM_CFLAGS=-Wall -fno-strict-aliasing $(LIBOSMOCORE_CFLAGS) \
- $(LIBOSMOVTY_CFLAGS) $(LIBOSMOABIS_CFLAGS) $(COVERAGE_CFLAGS)
-
-noinst_LIBRARIES = libgb.a
-
-libgb_a_SOURCES = gprs_ns.c gprs_ns_frgre.c gprs_ns_vty.c \
- gprs_bssgp.c gprs_bssgp_util.c gprs_bssgp_vty.c \
- gprs_bssgp_bss.c common_vty.c
diff --git a/src/Makefile.am b/src/Makefile.am
index 079d0b4..b79c8b7 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS=. vty codec gsm
+SUBDIRS=. vty codec gsm gb
# This is _NOT_ the library release version, it's an API version.
# Please read Chapter 6 "Library interface versions" of the libtool documentation before making any modification
diff --git a/openbsc/src/libgb/common_vty.c b/src/gb/common_vty.c
index 0bd0b6c..0bd0b6c 100644
--- a/openbsc/src/libgb/common_vty.c
+++ b/src/gb/common_vty.c
diff --git a/openbsc/src/libgb/common_vty.h b/src/gb/common_vty.h
index d8d0040..d8d0040 100644
--- a/openbsc/src/libgb/common_vty.h
+++ b/src/gb/common_vty.h
diff --git a/openbsc/src/libgb/gprs_bssgp.c b/src/gb/gprs_bssgp.c
index 4b8c730..4b8c730 100644
--- a/openbsc/src/libgb/gprs_bssgp.c
+++ b/src/gb/gprs_bssgp.c
diff --git a/openbsc/src/libgb/gprs_bssgp_bss.c b/src/gb/gprs_bssgp_bss.c
index c058850..c058850 100644
--- a/openbsc/src/libgb/gprs_bssgp_bss.c
+++ b/src/gb/gprs_bssgp_bss.c
diff --git a/openbsc/src/libgb/gprs_bssgp_util.c b/src/gb/gprs_bssgp_util.c
index ae4647e..ae4647e 100644
--- a/openbsc/src/libgb/gprs_bssgp_util.c
+++ b/src/gb/gprs_bssgp_util.c
diff --git a/openbsc/src/libgb/gprs_bssgp_vty.c b/src/gb/gprs_bssgp_vty.c
index aa1f106..aa1f106 100644
--- a/openbsc/src/libgb/gprs_bssgp_vty.c
+++ b/src/gb/gprs_bssgp_vty.c
diff --git a/openbsc/src/libgb/gprs_ns.c b/src/gb/gprs_ns.c
index cdee833..cdee833 100644
--- a/openbsc/src/libgb/gprs_ns.c
+++ b/src/gb/gprs_ns.c
diff --git a/openbsc/src/libgb/gprs_ns_frgre.c b/src/gb/gprs_ns_frgre.c
index be5f0f6..be5f0f6 100644
--- a/openbsc/src/libgb/gprs_ns_frgre.c
+++ b/src/gb/gprs_ns_frgre.c
diff --git a/openbsc/src/libgb/gprs_ns_vty.c b/src/gb/gprs_ns_vty.c
index fac431c..fac431c 100644
--- a/openbsc/src/libgb/gprs_ns_vty.c
+++ b/src/gb/gprs_ns_vty.c
diff --git a/openbsc/src/libgb/libosmo-gb.map b/src/gb/libosmogb.map
index 83a8302..1916179 100644
--- a/openbsc/src/libgb/libosmo-gb.map
+++ b/src/gb/libosmogb.map
@@ -23,12 +23,12 @@ bssgp_tx_suspend;
bssgp_tx_suspend_ack;
bssgp_tx_suspend_nack;
bssgp_tx_ul_ud;
-bssgp_rcvmsg
-bssgp_rx_paging
-bssgp_set_log_ss
-bssgp_tx_dl_ud
-bssgp_tx_paging
-bssgp_vty_init
+bssgp_rcvmsg;
+bssgp_rx_paging;
+bssgp_set_log_ss;
+bssgp_tx_dl_ud;
+bssgp_tx_paging;
+bssgp_vty_init;
gprs_ns_cause_str;
gprs_ns_destroy;