[pkg-opensc-commit] [engine-pkcs11] 03/152: include more build rules for building the engine.

Eric Dorland eric at moszumanska.debian.org
Mon Oct 19 03:11:08 UTC 2015


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository engine-pkcs11.

commit c12d5df9fb4708bc43f97745c7eb4ebc3226458b
Author: Andreas Jellinghaus <andreas at ionisiert.de>
Date:   Sun Aug 28 20:17:48 2005 +0000

    include more build rules for building the engine.
---
 src/Makefile.mak | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/Makefile.mak b/src/Makefile.mak
index c67124e..e5edb7c 100644
--- a/src/Makefile.mak
+++ b/src/Makefile.mak
@@ -1,4 +1,13 @@
-TOPDIR = ..\..
+# - set the OPENSSL_INCL_DIR below to your openssl include directory, preceded by "/I"
+# - set the OPENSSL_LIB below to your openssl lib file
+# Note: these instructions obsolete the instructions in opensc.html
+
+OPENSSL_INCL_DIR = /IC:\openssl\include
+OPENSSL_LIB = C:\openssl\out32dll\libeay32.lib
+
+COPTS = /Zi /MD /nologo /DHAVE_CONFIG_H $(OPENSSL_INCL_DIR) /D_WIN32_WINNT=0x0400 /DHAVE_OPENSSL
+LINKFLAGS = /DEBUG /NOLOGO /INCREMENTAL:NO /MACHINE:IX86
+
 
 TARGET                  = engine_pkcs11.dll
 
@@ -6,7 +15,8 @@ OBJECTS			= engine_pkcs11.obj hw_pkcs11.obj
 
 all: $(TARGET)
 
-!INCLUDE $(TOPDIR)\win32\Make.rules.mak
+.c.obj::
+	cl $(COPTS) /c $<
 
 $(TARGET): $(OBJECTS) ..\libp11\libp11.lib ..\scconf\scconf.lib
 	link $(LINKFLAGS) /dll /def:$*.def /implib:$*.lib /out:$(TARGET) $(OBJECTS) ..\libp11\libp11.lib ..\scconf\scconf.lib winscard.lib $(OPENSSL_LIB) gdi32.lib

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/engine-pkcs11.git



More information about the pkg-opensc-commit mailing list