From 798acd00dc97e2b090e7b2ce0910edeabe477c7d Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 3 Apr 2019 09:33:12 +0200 Subject: [PATCH] Add libosmo-rspro.pc.in for pkg-config integration Change-Id: Ic8bbf27bdb5ce7c810ede307a35ad4dc10338912 --- Makefile.am | 3 +++ configure.ac | 1 + libosmo-rspro.pc.in | 10 ++++++++++ 3 files changed, 14 insertions(+) create mode 100644 libosmo-rspro.pc.in diff --git a/Makefile.am b/Makefile.am index ec76bff..4843641 100644 --- a/Makefile.am +++ b/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 diff --git a/configure.ac b/configure.ac index 7281196..1d2ccc2 100644 --- a/configure.ac +++ b/configure.ac @@ -129,6 +129,7 @@ AC_MSG_RESULT([CPPFLAGS="$CPPFLAGS"]) AC_OUTPUT( Makefile + libosmo-rspro.pc doc/Makefile doc/manuals/Makefile src/Makefile diff --git a/libosmo-rspro.pc.in b/libosmo-rspro.pc.in new file mode 100644 index 0000000..e810d42 --- /dev/null +++ b/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}/