150 lines
3.4 KiB
Plaintext
150 lines
3.4 KiB
Plaintext
!IF 0
|
|
|
|
Copyright (C) Microsoft Corporation, 1998 - 1999
|
|
|
|
Module Name:
|
|
|
|
sources.
|
|
|
|
NOTE: Commented description of this file is in \nt\bak\bin\sources.tpl
|
|
|
|
!ENDIF
|
|
|
|
MAJORCOMP=SLBCSP
|
|
MINORCOMP=slbCsp
|
|
SLB_ROOT=..
|
|
PINCACHE_ROOT=..\..\pincache
|
|
|
|
TARGETNAME=$(MINORCOMP)
|
|
TARGETPATHLIB=$(SLB_ROOT)\lib\$(_OBJ_DIR)
|
|
TARGETPATH=$(SLB_ROOT)\bin\$(_OBJ_DIR)
|
|
SLBCSPLIB=$(SLB_ROOT)\lib\$(O)
|
|
PINCACHELIB=$(PINCACHE_ROOT)\$(O)
|
|
TARGETTYPE=DYNLINK
|
|
|
|
DLLDEF=$(MINORCOMP).def
|
|
DLLENTRY=_DllMainCRTStartup
|
|
|
|
TARGETLIBS=\
|
|
$(PINCACHELIB)\pincache.lib \
|
|
$(SLBCSPLIB)\slbIop.lib \
|
|
$(SLBCSPLIB)\slbCci.lib \
|
|
$(SLBCSPLIB)\slbPki.lib \
|
|
$(SLBCSPLIB)\slbRefCnt.lib \
|
|
$(SLBCSPLIB)\slbCrc.lib \
|
|
$(SLBCSPLIB)\slbZip.lib \
|
|
$(SLBCSPLIB)\slbModVer.lib \
|
|
$(SLBCSPLIB)\scardlib.lib \
|
|
$(SDK_LIB_PATH)\winscard.lib \
|
|
$(SDK_LIB_PATH)\SCardDlg.lib \
|
|
$(SDK_LIB_PATH)\version.lib \
|
|
$(SDK_LIB_PATH)\uuid.lib \
|
|
$(SDK_LIB_PATH)\ole32.lib \
|
|
$(SDK_LIB_PATH)\oleaut32.lib \
|
|
$(SDK_LIB_PATH)\comctl32.lib \
|
|
$(SDK_LIB_PATH)\comdlg32.lib \
|
|
$(SDK_LIB_PATH)\winspool.lib \
|
|
$(SDK_LIB_PATH)\shell32.lib \
|
|
$(SDK_LIB_PATH)\rpcndr.lib \
|
|
$(SDK_LIB_PATH)\rpcns4.lib \
|
|
$(SDK_LIB_PATH)\rpcrt4.lib \
|
|
$(SDK_LIB_PATH)\crypt32.lib \
|
|
$(WIN32_LIBS) \
|
|
$(GUI32_LIBS)
|
|
|
|
INCLUDES= \
|
|
$(PINCACHE_ROOT);\
|
|
$(SLB_ROOT)\slbScu;\
|
|
$(SLB_ROOT)\slbIOP;\
|
|
$(SLB_ROOT)\slbModVer;\
|
|
$(SLB_ROOT)\slbCci;\
|
|
$(SLB_ROOT)\slbRefCnt;\
|
|
$(SLB_ROOT)\slbPki;\
|
|
$(SLB_ROOT)\slbRcCsp;\
|
|
$(SLB_ROOT)\scardlib
|
|
|
|
SOURCES= \
|
|
$(MINORCOMP).cpp \
|
|
$(MINORCOMP).rc \
|
|
AccessTok.cpp \
|
|
ACntrFinder.cpp \
|
|
ACntrKey.cpp \
|
|
ACntrReg.cpp \
|
|
AdptvCntr.cpp \
|
|
AlignedBlob.cpp \
|
|
AutoReg.cpp \
|
|
AuxContext.cpp \
|
|
AuxHash.cpp \
|
|
Blob.cpp \
|
|
CachingObj.cpp \
|
|
CardCtx.cpp \
|
|
CardCtxReg.cpp \
|
|
CardEnum.cpp \
|
|
CardFinder.cpp \
|
|
CertificateExtensions.cpp \
|
|
CntrEnum.cpp \
|
|
CntrFinder.cpp \
|
|
Container.cpp \
|
|
CryptCtx.cpp \
|
|
CSpec.cpp \
|
|
Cspi.cpp \
|
|
CspProfile.cpp \
|
|
DialogBox.cpp \
|
|
EncodedMsg.cpp \
|
|
ExceptionContext.cpp \
|
|
HAdptvCntr.cpp \
|
|
HashCtx.cpp \
|
|
HashMD2.cpp \
|
|
HashMD4.cpp \
|
|
HashMD5.cpp \
|
|
HashSHA1.cpp \
|
|
HashSHAMD5.cpp \
|
|
HCardCtx.cpp \
|
|
HSCardCtx.cpp \
|
|
ILoginTask.cpp \
|
|
KeyContext.cpp \
|
|
Lockable.cpp \
|
|
LoginCtx.cpp \
|
|
LoginTask.cpp \
|
|
MasterLock.cpp \
|
|
MsKeyBlob.cpp \
|
|
MsRsaKB.cpp \
|
|
MsRsaPriKB.cpp \
|
|
MsRsaPubKB.cpp \
|
|
MultiStrZ.cpp \
|
|
NILoginTsk.cpp \
|
|
Pkcs11Attr.cpp \
|
|
PromptUser.cpp \
|
|
PswdDlg.cpp \
|
|
PubKeyCtx.cpp \
|
|
PublicKeyHelper.cpp \
|
|
Retainable.cpp \
|
|
RsaKey.cpp \
|
|
RsaKPGen.cpp \
|
|
Securable.cpp \
|
|
SesKeyCtx.cpp \
|
|
SlbCsp.cpp \
|
|
StResource.cpp \
|
|
Uuid.cpp
|
|
|
|
|
|
# Additional Compiler definitions
|
|
C_DEFINES=$(C_DEFINES) -D_WINDOWS -D_USRDLL -D_STRICT
|
|
C_DEFINES=$(C_DEFINES) -DWIN32_LEAN_AND_MEAN -DVC_EXTRALEAN
|
|
C_DEFINES=$(C_DEFINES) -DCOM_NO_WINDOWS_H -DSCARD_NO_COM
|
|
C_DEFINES=$(C_DEFINES) -DSCU_IN_DLL -D_UNICODE -DUNICODE
|
|
USE_MSVCRT=1
|
|
USE_STL=1
|
|
|
|
# Use C++ Exception Handling
|
|
USE_NATIVE_EH=1
|
|
|
|
# Use MFC, without or with UNICODE
|
|
USE_MFCUNICODE=1
|
|
USE_ATL=1
|
|
USE_CV=1
|
|
|
|
!IF "1" == "$(VAULTSIGN)"
|
|
BINPLACE_FLAGS=-xa -o dump -s %_NTPOSTBLD%\dump\symbols -n %_NTPOSTBLD%\dump\symbols
|
|
!ENDIF
|