libosmogb: move files to proper location and fix build

This commit is contained in:
Harald Welte 2012-06-17 23:05:26 +08:00
parent e02b9f404c
commit 641f7cee5d
24 changed files with 26 additions and 19 deletions

View File

@ -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:

View File

@ -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

View File

@ -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

11
libosmogb.pc.in Normal file
View File

@ -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}/

View File

@ -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

View File

@ -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

View File

@ -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;