aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-01-03 18:12:22 +0100
committerHarald Welte <laforge@gnumonks.org>2016-01-03 18:12:22 +0100
commit216ac210bfb0e540545ae22faa3da7ee44ccdd28 (patch)
treee2447f97f90314672e7ae375a93d2867f3b0faf2
parent3761ef479070497242bcd2c024c195c8d79ba608 (diff)
add pkg-config file for libosmo-ranap
-rw-r--r--Makefile.am3
-rw-r--r--configure.ac1
-rw-r--r--libosmo-ranap.pc.in10
3 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 491e1ff..8cb3142 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,6 +2,9 @@ AUTOMAKE_OPTIONS = foreign dist-bzip2
SUBDIRS = src
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libosmo-ranap.pc
+
EXTRA_DIST = asn1 .version
BUILT_SOURCES = $(top_srcdir)/.version
diff --git a/configure.ac b/configure.ac
index d6e320b..8341d5d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,6 +29,7 @@ dnl checks for header files
AC_HEADER_STDC
AC_OUTPUT(
+ libosmo-ranap.pc
src/Makefile
src/hnbap/Makefile
src/ranap/Makefile
diff --git a/libosmo-ranap.pc.in b/libosmo-ranap.pc.in
new file mode 100644
index 0000000..3a8f5b0
--- /dev/null
+++ b/libosmo-ranap.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Osmocom RANAP protocol library
+Description: C Utility Library
+Version: @VERSION@
+Libs: -L${libdir} -losmo-ranap
+Cflags: -I${includedir}/