codec: Add the missing bits for include to install and pkgconfig to work

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
debian
Sylvain Munaut 12 years ago
parent dc0ebdfbdf
commit b99b9309b2
  1. 2
      Makefile.am
  2. 2
      configure.in
  3. 4
      include/osmocom/Makefile.am
  4. 3
      include/osmocom/codec/Makefile.am
  5. 11
      libosmocodec.pc.in

@ -5,7 +5,7 @@ INCLUDES = $(all_includes) -I$(top_srcdir)/include
SUBDIRS = include src tests
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libosmocore.pc libosmovty.pc
pkgconfig_DATA = libosmocore.pc libosmocodec.pc libosmovty.pc
BUILT_SOURCES = $(top_srcdir)/.version
$(top_srcdir)/.version:

@ -99,9 +99,11 @@ AM_CONDITIONAL(ENABLE_MSGFILE, test "x$enable_msgfile" = "x1")
AC_OUTPUT(
libosmocore.pc
libosmocodec.pc
libosmovty.pc
include/osmocom/Makefile
include/osmocom/vty/Makefile
include/osmocom/codec/Makefile
include/osmocom/crypt/Makefile
include/osmocore/Makefile
include/osmocore/protocol/Makefile

@ -1,5 +1,5 @@
if ENABLE_VTY
SUBDIRS = vty crypt
SUBDIRS = vty codec crypt
else
SUBDIRS = crypt
SUBDIRS = codec crypt
endif

@ -0,0 +1,3 @@
osmocodec_HEADERS = codec.h
osmocodecdir = $(includedir)/osmocom/codec

@ -0,0 +1,11 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: Osmocom Codec related utilities Library
Description: C Utility Library
Version: @VERSION@
Libs: -L${libdir} -losmocodec
Cflags: -I${includedir}/
Loading…
Cancel
Save