summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-19 19:42:32 +0200
committerHarald Welte <laforge@gnumonks.org>2010-05-25 22:28:40 +0200
commite352c52ed8f60276cf6bfe71abf3f1c6c06c2b8d (patch)
treedc2c57c625aecf6c8849d07a49c0372ae17ff852
parentab1b819930fc891d2efb75651e781b0b60ea366c (diff)
Add pkgconfig for libosmovty
-rw-r--r--Makefile.am2
-rw-r--r--configure.in1
-rw-r--r--libosmovty.pc.in11
3 files changed, 13 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 2adf5023..81da6294 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,7 +5,7 @@ INCLUDES = $(all_includes) -I$(top_srcdir)/include
SUBDIRS = include src tests
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libosmocore.pc
+pkgconfig_DATA = libosmocore.pc libosmovty.pc
BUILT_SOURCES = $(top_srcdir)/.version
$(top_srcdir)/.version:
diff --git a/configure.in b/configure.in
index abf098cc..6e427733 100644
--- a/configure.in
+++ b/configure.in
@@ -46,6 +46,7 @@ AM_CONDITIONAL(ENABLE_TESTS, test "x$enable_tests" = "x1")
AC_OUTPUT(
libosmocore.pc
+ libosmovty.pc
include/osmocom/Makefile
include/osmocom/vty/Makefile
include/osmocore/Makefile
diff --git a/libosmovty.pc.in b/libosmovty.pc.in
new file mode 100644
index 00000000..2cc0b5f8
--- /dev/null
+++ b/libosmovty.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Osmocom VTY Interface Library
+Description: C Utility Library
+Version: @VERSION@
+Libs: -L${libdir} -losmovty
+Cflags: -I${includedir}/
+