2002-01-16 22:49:03 +00:00
|
|
|
# Process this file with automake to create Makefile.in
|
|
|
|
|
2002-11-29 08:56:32 +00:00
|
|
|
libdir = @libdir@/pkcs11
|
2002-04-05 10:25:14 +00:00
|
|
|
|
2002-04-02 09:38:06 +00:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
|
2002-01-16 22:49:03 +00:00
|
|
|
SUBDIRS = . rsaref
|
|
|
|
|
2002-04-15 13:42:10 +00:00
|
|
|
INCLUDES = @CFLAGS_OPENSC@ -I../pkcs15init
|
2002-01-16 22:49:03 +00:00
|
|
|
|
2003-04-16 14:20:40 +00:00
|
|
|
LDFLAGS = @LDFLAGS@ @LIBDL@ @LIBOPENSC@ ../pkcs15init/libpkcs15init.la \
|
2003-01-20 09:57:23 +00:00
|
|
|
../scrandom/libscrandom.a
|
2002-01-16 22:49:03 +00:00
|
|
|
|
|
|
|
SRC = pkcs11-global.c pkcs11-session.c pkcs11-object.c misc.c slot.c \
|
2002-12-17 11:48:54 +00:00
|
|
|
mechanism.c openssl.c \
|
2003-04-16 14:18:07 +00:00
|
|
|
secretkey.c framework-pkcs15.c framework-pkcs15init.c \
|
|
|
|
debug.c
|
2002-01-16 22:49:03 +00:00
|
|
|
INC = sc-pkcs11.h
|
|
|
|
|
2002-12-17 11:48:54 +00:00
|
|
|
lib_LTLIBRARIES = opensc-pkcs11.la libpkcs11.la
|
2002-01-16 22:49:03 +00:00
|
|
|
|
|
|
|
opensc_pkcs11_la_SOURCES = $(SRC) $(INC)
|
|
|
|
opensc_pkcs11_la_LDFLAGS = -module -avoid-version
|
2002-01-24 16:27:09 +00:00
|
|
|
|
2002-12-17 11:48:54 +00:00
|
|
|
libpkcs11_la_SOURCES = libpkcs11.c
|
|
|
|
libpkcs11_la_LIBADD = $(LIBDL)
|
|
|
|
libpkcs11_la_LDFLAGS = -version-info 0:6:0
|
|
|
|
|
2003-03-10 21:35:47 +00:00
|
|
|
include_HEADERS = pkcs11.h rsaref/pkcs11.h rsaref/pkcs11f.h rsaref/pkcs11t.h
|
|
|
|
noinst_HEADERS = rsaref/unix.h rsaref/win32.h
|
2002-12-17 11:48:54 +00:00
|
|
|
|
2002-01-24 16:27:09 +00:00
|
|
|
jar-dir:
|
|
|
|
if test ! -d jar-dir ; then mkdir jar-dir ; fi
|
|
|
|
|
|
|
|
pkcs11-jar: jar-dir
|
|
|
|
cp .libs/*.so jar-dir
|
|
|
|
cp opensc_pkcs11_install.js jar-dir
|
|
|
|
signtool -Z"opensc-pkcs11.jar" -i"opensc_pkcs11_install.js" \
|
|
|
|
-k"testcert" jar-dir
|
2002-02-06 12:32:22 +00:00
|
|
|
|
|
|
|
install-exec-local: install-libLTLIBRARIES
|
|
|
|
-rm -f $(DESTDIR)$(libdir)/opensc-pkcs11.a $(DESTDIR)$(libdir)/opensc-pkcs11.la
|