diff options
author | Stef Walter <stef@memberwebs.com> | 2009-11-15 20:39:53 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2009-11-16 20:52:23 +0000 |
commit | 21988df94ddce026cbd3bcf0146f30fbf68a678b (patch) | |
tree | 6d89aea59a1157c03ce89f619e31dc2b6dedffaa | |
parent | 06bd1cf97720394e45e0a5da017a640fc6c2bd38 (diff) |
Add p11-tests.pc file which is installed for pkg-config
-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 |