Create a liblaforge with OpenBSC utility functions to be used for other projects

This commit is contained in:
Holger Hans Peter Freyther 2010-02-09 21:50:25 +01:00
parent 701d175653
commit a49ffb4cb4
5 changed files with 24 additions and 4 deletions

View File

@ -4,7 +4,7 @@ INCLUDES = $(all_includes) -I$(top_srcdir)/include
SUBDIRS = include src tests
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = openbsc.pc
pkgconfig_DATA = openbsc.pc liblaf0rge1.pc
#dist-hook:
# rm -rf `find $(distdir) -name .svn`

View File

@ -38,6 +38,7 @@ AM_CONFIG_HEADER(bscconfig.h)
AC_OUTPUT(
openbsc.pc
liblaf0rge1.pc
include/openbsc/Makefile
include/vty/Makefile
include/sccp/Makefile

View File

@ -1,8 +1,11 @@
noinst_HEADERS = abis_nm.h abis_rsl.h debug.h db.h gsm_04_08.h gsm_data.h \
gsm_subscriber.h linuxlist.h msgb.h select.h tlv.h gsm_04_11.h \
gsm_subscriber.h gsm_04_11.h \
timer.h misdn.h chan_alloc.h telnet_interface.h paging.h \
subchan_demux.h trau_frame.h e1_input.h trau_mux.h signal.h \
subchan_demux.h trau_frame.h e1_input.h trau_mux.h \
gsm_utils.h ipaccess.h rs232.h openbscdefines.h rtp_proxy.h \
bsc_rll.h mncc.h talloc.h transaction.h ussd.h gsm_04_80.h \
bsc_rll.h mncc.h transaction.h ussd.h gsm_04_80.h \
silent_call.h mgcp.h meas_rep.h bitvec.h rest_octets.h \
system_information.h handover.h statistics.h
laforge_HEADERS = signal.h linuxlist.h timer.h talloc.h msgb.h select.h tlv.h
laforgedir= $(includedir)/laf0rge1

11
openbsc/liblaf0rge1.pc.in Normal file
View File

@ -0,0 +1,11 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: LaF0rge Lib
Description: C Utility Library
Version: @VERSION@
Libs: -L${libdir} -llaf0rge1
Cflags: -I${includedir}/la

View File

@ -6,6 +6,11 @@ sbin_PROGRAMS = bsc_hack bs11_config ipaccess-find ipaccess-config \
noinst_LIBRARIES = libbsc.a libmsc.a libvty.a libsccp.a
noinst_HEADERS = vty/cardshell.h
bscdir = $(libdir)
bsc_LIBRARIES = liblaf0rge1.a
liblaf0rge1_a_SOURCES = msgb.c timer.c talloc.c select.c signal.c
libbsc_a_SOURCES = abis_rsl.c abis_nm.c gsm_data.c gsm_04_08_utils.c \
msgb.c select.c chan_alloc.c timer.c debug.c \
gsm_subscriber_base.c subchan_demux.c bsc_rll.c transaction.c \