diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | configure.in | 1 | ||||
-rw-r--r-- | p11-tests.pc.in | 10 |
4 files changed, 15 insertions, 1 deletions
@@ -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 |