diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-05-19 19:42:32 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-05-25 22:28:40 +0200 |
commit | e352c52ed8f60276cf6bfe71abf3f1c6c06c2b8d (patch) | |
tree | dc2c57c625aecf6c8849d07a49c0372ae17ff852 | |
parent | ab1b819930fc891d2efb75651e781b0b60ea366c (diff) |
Add pkgconfig for libosmovty
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.in | 1 | ||||
-rw-r--r-- | libosmovty.pc.in | 11 |
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}/ + |