summaryrefslogtreecommitdiff
path: root/module/Makefile.am
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-02-17 22:24:16 +0100
committerStef Walter <stefw@collabora.co.uk>2011-02-17 22:24:16 +0100
commit80fe1806941d555433f3a1c97ab116dd281041e0 (patch)
tree4f0e5ab650f4396a8af67bf66cbaba0331773f81 /module/Makefile.am
parentc03b1023835887569315fbec6295be3cc0f4cf42 (diff)
Add a proper pkg-config file.
Diffstat (limited to 'module/Makefile.am')
-rw-r--r--module/Makefile.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/module/Makefile.am b/module/Makefile.am
index 6103485..23589d2 100644
--- a/module/Makefile.am
+++ b/module/Makefile.am
@@ -1,8 +1,4 @@
-INCLUDES = \
- -DPKCS11_CONFIG_FILE=\"$(sysconfdir)/pkcs11.conf\" \
- -DPKCS11_CONFIG_LIBS=\"$(sysconfdir)/pkcs11/libs\"
-
MODULE_SRCS = \
conf.c conf.h \
hash.c hash.h \
@@ -26,5 +22,9 @@ libp11_kit_testable_la_LDFLAGS = \
libp11_kit_testable_la_SOURCES = $(MODULE_SRCS)
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = p11-kit.pc
+
EXTRA_DIST = \
- pkcs11.h \ No newline at end of file
+ pkcs11.h \
+ p11-kit.pc.in \ No newline at end of file