Skip to content

Commit b99b930

Browse files
committed
codec: Add the missing bits for include to install and pkgconfig to work
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
1 parent dc0ebdf commit b99b930

File tree

5 files changed

+19
-3
lines changed

5 files changed

+19
-3
lines changed

Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ INCLUDES = $(all_includes) -I$(top_srcdir)/include
55
SUBDIRS = include src tests
66

77
pkgconfigdir = $(libdir)/pkgconfig
8-
pkgconfig_DATA = libosmocore.pc libosmovty.pc
8+
pkgconfig_DATA = libosmocore.pc libosmocodec.pc libosmovty.pc
99

1010
BUILT_SOURCES = $(top_srcdir)/.version
1111
$(top_srcdir)/.version:

configure.in

+2
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,11 @@ AM_CONDITIONAL(ENABLE_MSGFILE, test "x$enable_msgfile" = "x1")
9999

100100
AC_OUTPUT(
101101
libosmocore.pc
102+
libosmocodec.pc
102103
libosmovty.pc
103104
include/osmocom/Makefile
104105
include/osmocom/vty/Makefile
106+
include/osmocom/codec/Makefile
105107
include/osmocom/crypt/Makefile
106108
include/osmocore/Makefile
107109
include/osmocore/protocol/Makefile

include/osmocom/Makefile.am

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
if ENABLE_VTY
2-
SUBDIRS = vty crypt
2+
SUBDIRS = vty codec crypt
33
else
4-
SUBDIRS = crypt
4+
SUBDIRS = codec crypt
55
endif

include/osmocom/codec/Makefile.am

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
osmocodec_HEADERS = codec.h
2+
3+
osmocodecdir = $(includedir)/osmocom/codec

libosmocodec.pc.in

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
prefix=@prefix@
2+
exec_prefix=@exec_prefix@
3+
libdir=@libdir@
4+
includedir=@includedir@
5+
6+
Name: Osmocom Codec related utilities Library
7+
Description: C Utility Library
8+
Version: @VERSION@
9+
Libs: -L${libdir} -losmocodec
10+
Cflags: -I${includedir}/
11+

0 commit comments

Comments
 (0)