Browse Source

Add libosmo-rspro.pc.in for pkg-config integration

Change-Id: Ic8bbf27bdb5ce7c810ede307a35ad4dc10338912
changes/97/13497/1
Harald Welte 3 years ago
parent
commit
798acd00dc
  1. 3
      Makefile.am
  2. 1
      configure.ac
  3. 10
      libosmo-rspro.pc.in

3
Makefile.am

@ -2,6 +2,9 @@ AUTOMAKE_OPTIONS = foreign dist-bzip2
SUBDIRS = src include doc
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libosmo-rspro.pc
EXTRA_DIST = asn1 .version README.md
pkgcofigdir = $(libdir)/pkgconfig

1
configure.ac

@ -129,6 +129,7 @@ AC_MSG_RESULT([CPPFLAGS="$CPPFLAGS"])
AC_OUTPUT(
Makefile
libosmo-rspro.pc
doc/Makefile
doc/manuals/Makefile
src/Makefile

10
libosmo-rspro.pc.in

@ -0,0 +1,10 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: Osmocom RSPRO library
Description: Osmocom Remote SIM Protocol library
Version: @VERSION@
Libs: -L${libdir} -losmo-rspro
Cflags: -I${includedir}/
Loading…
Cancel
Save