summaryrefslogtreecommitdiff
path: root/module/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'module/Makefile.am')
-rw-r--r--module/Makefile.am16
1 files changed, 12 insertions, 4 deletions
diff --git a/module/Makefile.am b/module/Makefile.am
index c3fcad2..6103485 100644
--- a/module/Makefile.am
+++ b/module/Makefile.am
@@ -10,13 +10,21 @@ MODULE_SRCS = \
p11-kit-proxy.c \
p11-kit-private.h p11-kit.h
-lib_LTLIBRARIES = p11-kit.la
+lib_LTLIBRARIES = \
+ libp11-kit.la
-p11_kit_la_LDFLAGS = \
- -module -avoid-version \
+noinst_LTLIBRARIES = \
+ libp11-kit-testable.la
+
+libp11_kit_la_LDFLAGS = \
-no-undefined -export-symbols-regex 'C_GetFunctionList'
-p11_kit_la_SOURCES = $(MODULE_SRCS)
+libp11_kit_la_SOURCES = $(MODULE_SRCS)
+
+libp11_kit_testable_la_LDFLAGS = \
+ -no-undefined
+
+libp11_kit_testable_la_SOURCES = $(MODULE_SRCS)
EXTRA_DIST = \
pkcs11.h \ No newline at end of file