win32: control from Make.rules.mak the including of 'cardmod'

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4920 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
vtarasov 2010-12-06 15:47:03 +00:00
parent e353c1bf2f
commit 04c5cb955b
2 changed files with 8 additions and 1 deletions

View File

@ -2,7 +2,11 @@ TOPDIR = ..
!INCLUDE $(TOPDIR)\win32\Make.rules.mak
SUBDIRS = common scconf pkcs15init libopensc pkcs11 tools tests cardmod
SUBDIRS = common scconf pkcs15init libopensc pkcs11 tools tests
!IF "$(MINIDRIVER_DEF)" == "/DENABLE_MINIDRIVER"
SUBDIRS = $(SUBDIRS) cardmod
!ENDIF
all::

View File

@ -11,6 +11,9 @@ LIBLTDL_LIB = # E.g. C:\libtool-1.5.8-lib\lib\libltdl.lib
OPENSC_FEATURES = pcsc
#Include support of minidriver 'cardmon'
MINIDRIVER_DEF = /DENABLE_MINIDRIVER
# If you want support for OpenSSL (needed for a.o. pkcs15-init tool and openssl engine):
# - download and build OpenSSL
# - uncomment the line starting with OPENSSL_DEF