root/pykcs11/tags/1.2.0/Makefile.win32

Revision 83, 0.5 kB (checked in by midori, 4 years ago)

added a makefile for win32 (works with nmake and VS.NET)
latest swig versions use dymanic_cast: this require /GR compiler argument when used with VS.NET.

Line 
1
2 build: src/win32_pykcs11_wrap.cpp
3         setup.py build
4
5 install: build
6         setup.py install
7
8 clean:
9         setup.py clean
10         DEL /F /Q src\win32_pykcs11_wrap.cpp
11         DEL /S /F /Q build
12         DEL /F /Q *.pyc PyKCS11\*.pyc
13         DEL /F /Q PyKCS11\LowLevel.py
14
15 rebuild: clean build
16
17 src/win32_pykcs11_wrap.cpp: src/pykcs11.i
18     swig.exe -c++ -Fmicrosoft -o src\win32_pykcs11_wrap.cpp -python src\pykcs11.i
19     move src\LowLevel.py PyKCS11\
20
21 src/pykcs11.i: src/rsaref/cryptoki.h src/pkcs11lib.h src/pykcs11string.h src/ck_attribute_smart.h
22
Note: See TracBrowser for help on using the browser.
(C) 2006 bit4id srl, for informations please contact info@bit4id.com
visitors since August 21, 2006