2002-01-16 22:49:03 +00:00
|
|
|
# Process this file with automake to create Makefile.in
|
|
|
|
|
|
|
|
SUBDIRS = . rsaref
|
|
|
|
|
|
|
|
libdir = ${prefix}/lib/pkcs11
|
|
|
|
|
2002-02-25 11:05:25 +00:00
|
|
|
INCLUDES = @CFLAGS_OPENSC@
|
2002-01-16 22:49:03 +00:00
|
|
|
|
2002-01-17 12:04:43 +00:00
|
|
|
LDFLAGS = @LDFLAGS@ @LIBDL@ @LIBOPENSC@
|
2002-01-16 22:49:03 +00:00
|
|
|
|
|
|
|
SRC = pkcs11-global.c pkcs11-session.c pkcs11-object.c misc.c slot.c \
|
2002-03-15 15:22:41 +00:00
|
|
|
secretkey.c framework-pkcs15.c
|
2002-01-16 22:49:03 +00:00
|
|
|
INC = sc-pkcs11.h
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = opensc-pkcs11.la
|
|
|
|
|
|
|
|
opensc_pkcs11_la_SOURCES = $(SRC) $(INC)
|
|
|
|
opensc_pkcs11_la_LDFLAGS = -module -avoid-version
|
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
|