From 21988df94ddce026cbd3bcf0146f30fbf68a678b Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sun, 15 Nov 2009 20:39:53 +0000 Subject: Add p11-tests.pc file which is installed for pkg-config --- .gitignore | 1 + Makefile.am | 4 +++- configure.in | 1 + p11-tests.pc.in | 10 ++++++++++ 4 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 p11-tests.pc.in diff --git a/.gitignore b/.gitignore index a2476d4..81e2b6c 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ *.la *.o *.orig +*.pc .settings autom4te.cache aclocal.m4 diff --git a/Makefile.am b/Makefile.am index 7452b7b..7985be7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,6 @@ -# EXTRA_DIST = BUGS +EXTRA_DIST = p11-tests.pc.in SUBDIRS = src doc +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = p11-tests.pc diff --git a/configure.in b/configure.in index 015de22..6dacb85 100644 --- a/configure.in +++ b/configure.in @@ -35,6 +35,7 @@ fi AC_CONFIG_FILES([ Makefile +p11-tests.pc doc/Makefile src/Makefile ]) diff --git a/p11-tests.pc.in b/p11-tests.pc.in new file mode 100644 index 0000000..be389b3 --- /dev/null +++ b/p11-tests.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: p11-tests +Description: PKCS#11 Test Library +Version: @VERSION@ +Requires: openssl +Libs: -L${libdir} -lp11-tests -- cgit v1.2.3