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
changes/08/2008/2
Maxim Suraev 6 years ago
parent 1275a3f91a
commit 727295f206
  1. 2
      .gitignore
  2. 2
      Makefile.am
  3. 1
      configure.ac
  4. 1
      debian/osmo-pcu.install
  5. 10
      osmo-pcu.pc.in

2
.gitignore vendored

@ -58,3 +58,5 @@ debian/osmo-pcu-dbg/
debian/osmo-pcu.substvars
debian/osmo-pcu/
debian/tmp/
osmo-pcu.pc

@ -3,3 +3,5 @@ AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
SUBDIRS = include src examples tests
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_OUTPUT(
osmo-pcu.pc
include/Makefile
src/Makefile
examples/Makefile

@ -1,3 +1,4 @@
etc/osmocom/osmo-pcu.cfg
usr/bin/osmo-pcu
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…
Cancel
Save