aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-02-12 12:31:11 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-02-12 22:42:13 +0100
commit5e6f52f15ac337599dd7f0971e906da8c162f219 (patch)
treeb06e72969ff4eac755f0bde0a06f3084d27ccb70 /openbsc
parent6d89dac7216b4ce727dccc29ee3ee67c8edfa135 (diff)
[sccp] Install the static sccp library and the headers
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/Makefile.am2
-rw-r--r--openbsc/configure.in1
-rw-r--r--openbsc/include/sccp/Makefile.am3
-rw-r--r--openbsc/libsccp.pc.in10
-rw-r--r--openbsc/src/Makefile.am4
5 files changed, 16 insertions, 4 deletions
diff --git a/openbsc/Makefile.am b/openbsc/Makefile.am
index eda3e90b1..7dcd956df 100644
--- a/openbsc/Makefile.am
+++ b/openbsc/Makefile.am
@@ -4,7 +4,7 @@ INCLUDES = $(all_includes) -I$(top_srcdir)/include
SUBDIRS = include src tests
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = openbsc.pc liblaf0rge1.pc
+pkgconfig_DATA = openbsc.pc liblaf0rge1.pc libsccp.pc
#dist-hook:
# rm -rf `find $(distdir) -name .svn`
diff --git a/openbsc/configure.in b/openbsc/configure.in
index de16c01a8..88a3f61f4 100644
--- a/openbsc/configure.in
+++ b/openbsc/configure.in
@@ -39,6 +39,7 @@ AM_CONFIG_HEADER(bscconfig.h)
AC_OUTPUT(
openbsc.pc
liblaf0rge1.pc
+ libsccp.pc
include/openbsc/Makefile
include/vty/Makefile
include/sccp/Makefile
diff --git a/openbsc/include/sccp/Makefile.am b/openbsc/include/sccp/Makefile.am
index 42fd31047..6c8a51714 100644
--- a/openbsc/include/sccp/Makefile.am
+++ b/openbsc/include/sccp/Makefile.am
@@ -1 +1,2 @@
-noinst_HEADERS = sccp_types.h sccp.h
+sccp_HEADERS = sccp_types.h sccp.h
+sccpdir = $(includedir)/sccp
diff --git a/openbsc/libsccp.pc.in b/openbsc/libsccp.pc.in
new file mode 100644
index 000000000..eda8d499c
--- /dev/null
+++ b/openbsc/libsccp.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: OpenBSC SCCP Lib
+Description: OpenBSC SCCP Lib
+Version: @VERSION@
+Libs: -L${libdir} -lsccp
+Cflags: -I${includedir}/
diff --git a/openbsc/src/Makefile.am b/openbsc/src/Makefile.am
index 941509837..d17a4be3f 100644
--- a/openbsc/src/Makefile.am
+++ b/openbsc/src/Makefile.am
@@ -3,11 +3,11 @@ AM_CFLAGS=-Wall
sbin_PROGRAMS = bsc_hack bs11_config ipaccess-find ipaccess-config \
isdnsync bsc_mgcp ipaccess-proxy
-noinst_LIBRARIES = libbsc.a libmsc.a libvty.a libsccp.a
+noinst_LIBRARIES = libbsc.a libmsc.a libvty.a
noinst_HEADERS = vty/cardshell.h
bscdir = $(libdir)
-bsc_LIBRARIES = liblaf0rge1.a
+bsc_LIBRARIES = liblaf0rge1.a libsccp.a
liblaf0rge1_a_SOURCES = msgb.c timer.c talloc.c select.c signal.c