Moved win32/readme.txt to README.Win32, and updated this file

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1062 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
sth 2003-04-22 12:41:03 +00:00
parent 0523e1d1fb
commit 2de518de2d
3 changed files with 53 additions and 36 deletions

View File

@ -4,23 +4,70 @@ README for Win32 port of OpenSC
Compiling
=========
Type "nmake -f makefile.mak" to compile.
Type "nmake -f makefile.mak" in the opensc\ dir to compile.
You need also perl and flex installed for the compile process
to complete succesfully.
What works
==========
At the moment only libopensc and basic tools have been ported
to windows. They should at least compile.
At the moment only libopensc.dll and opensc-pkcs11.dll, and most
executables in the tools\ and tests\ dir have been ported.
They are tested on Win98, WinNT, Win2000 and WinXP.
Installation
============
No installation script has been provided, so you have to do this
manually:
- Copy opensc.conf to your Windows directory (usually C:\WINDOWS
or C:\WINNT). This is optional.
- Copy opensc.dll and opensc-pkcs11.dll to your path.
- If you want to use pkcs15-init.exe, make sure the *.profile files
in the pkcs15-init\ dir are in the same directory as pkcs15-init.exe.
What needs to be done
=====================
Other parts of OpenSC should ported as well (other tools & pkcs11
module). Also we should implement native Win32 APIs such as
Other parts of OpenSC be should ported as well.
Also we should implement native Win32 APIs such as
CryptoAPI Provider, some login stuff and ActiveX plugin for
Explorer to do the signing.
How to add openssl
==================
This adds extended functionality.
E.g. the pkcs15-init tool, pkcs11 hash mechanisms and more
pkcs11 signature mechs.
- download and compile the openssl sources from
http://www.openssl.org/source/
- Add the inc32\ dir to your include path,
the out32dll\ to your lib path and your executable path
set include=%include%;.....\inc32
set lib=%lib%;.....\out32dll
set path=%path%;....\out32dll
- In src/tools/Makefile.mak
- uncomment pkcs15-init.exe in the "TARGETS" line (optionally)
- Add libeay32.lib to the "link" line
- In src/libopensc/Makefile.mak
- Add libeay32.lib to the "link" line
- In src/pkcs11/Makefile.mak
- Add libeay32.lib to the "link" line
- In win32/Make.rules.mak
- Add /DHAVE_OPENSSL to the "COPTS" line
To add the OpenSSL code to the DLLs (so you won't need libeay32.dll
anymore): statically compile OpenSSL and add gdi32.lib next to
libeay32.lib in the 3 Makefile.mak files above.

View File

@ -1,3 +1,3 @@
EXTRA_DIST = Make.rules.mak makedef.pl readme.txt
EXTRA_DIST = Make.rules.mak makedef.pl
MAINTAINERCLEANFILES = Makefile.in

View File

@ -1,30 +0,0 @@
How to add openssl for extended functionality
(e.g. hash mechanisms, the pkcs15-init tool, more signature
mechanism)
- download and compile the openssl sources from
http://www.openssl.org/source/
- Add the inc32\ dir to your include path,
the out32dll\ to your lib path and your executable path
set include=%include%;.....\inc32
set lib=%lib%;.....\out32dll
set path=%path%;....\out32dll
- In src/tools/Makefile.mak
- uncomment pkcs15-init.exe in the "TARGETS" line (optionally)
- Add libeay32.lib to the "link" line
- In src/libopensc/Makefile.mak
- Add libeay32.lib to the "link" line
- In src/pkcs11/Makefile.mak
- Add libeay32.lib to the "link" line
- In win32/Make.rules.mak
- Add /DHAVE_OPENSSL to the "COPTS" line
To add the OpenSSL code to the DLLs (so you won't need libeay32.dll
anymore): statically compile OpenSSL and add gdi32.lib next to
libeay32.lib in the 3 Makefile.mak files above.