Add pkg-config file
We're installing header file pcuif_proto.h so it's better to use pkg-config for proper version tracking similar to the way it's done for OpenBSC. Change-Id: I0520045e5655794df152b98b9755d7cbbd334049
This commit is contained in:
parent
1275a3f91a
commit
727295f206
|
@ -58,3 +58,5 @@ debian/osmo-pcu-dbg/
|
||||||
debian/osmo-pcu.substvars
|
debian/osmo-pcu.substvars
|
||||||
debian/osmo-pcu/
|
debian/osmo-pcu/
|
||||||
debian/tmp/
|
debian/tmp/
|
||||||
|
|
||||||
|
osmo-pcu.pc
|
||||||
|
|
|
@ -3,3 +3,5 @@ AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
|
||||||
SUBDIRS = include src examples tests
|
SUBDIRS = include src examples tests
|
||||||
EXTRA_DIST = osmoappdesc.py
|
EXTRA_DIST = osmoappdesc.py
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = osmo-pcu.pc
|
||||||
|
|
|
@ -83,6 +83,7 @@ STD_DEFINES_AND_INCLUDES="-Wall"
|
||||||
AC_SUBST(STD_DEFINES_AND_INCLUDES)
|
AC_SUBST(STD_DEFINES_AND_INCLUDES)
|
||||||
|
|
||||||
AC_OUTPUT(
|
AC_OUTPUT(
|
||||||
|
osmo-pcu.pc
|
||||||
include/Makefile
|
include/Makefile
|
||||||
src/Makefile
|
src/Makefile
|
||||||
examples/Makefile
|
examples/Makefile
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
etc/osmocom/osmo-pcu.cfg
|
etc/osmocom/osmo-pcu.cfg
|
||||||
usr/bin/osmo-pcu
|
usr/bin/osmo-pcu
|
||||||
usr/include/osmocom/pcu/pcuif_proto.h
|
usr/include/osmocom/pcu/pcuif_proto.h
|
||||||
|
usr/lib/pkgconfig/osmo-pcu.pc
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@/
|
||||||
|
|
||||||
|
Name: OsmoPCU
|
||||||
|
Description: Osmocom PCU implementation
|
||||||
|
Requires:
|
||||||
|
Version: @VERSION@
|
||||||
|
Cflags: -I${includedir}
|
Loading…
Reference in New Issue