From e352c52ed8f60276cf6bfe71abf3f1c6c06c2b8d Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 19 May 2010 19:42:32 +0200 Subject: Add pkgconfig for libosmovty --- Makefile.am | 2 +- configure.in | 1 + libosmovty.pc.in | 11 +++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 libosmovty.pc.in 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}/ + -- cgit v1.2.3