Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

169 lines
4.1 KiB

  1. !IF 0
  2. Copyright (C) Microsoft Corporation, 1998 - 1999
  3. Module Name:
  4. sources.
  5. NOTE: Commented description of this file is in \nt\bak\bin\sources.tpl
  6. !ENDIF
  7. MAJORCOMP=SLBCSP
  8. MINORCOMP=slbCsp
  9. SLB_ROOT=..
  10. PINCACHE_ROOT=..\..\pincache
  11. TARGETNAME=$(MINORCOMP)
  12. TARGETPATHLIB=$(SLB_ROOT)\lib\$(_OBJ_DIR)
  13. TARGETPATH=$(SLB_ROOT)\bin\$(_OBJ_DIR)
  14. SLBCSPLIB=$(SLB_ROOT)\lib\$(O)
  15. PINCACHELIB=$(PINCACHE_ROOT)\$(O)
  16. TARGETTYPE=DYNLINK
  17. DLLDEF=$(MINORCOMP).def
  18. DLLENTRY=_DllMainCRTStartup
  19. TARGETLIBS=\
  20. $(PINCACHELIB)\pincache.lib \
  21. $(SLBCSPLIB)\slbIop.lib \
  22. $(SLBCSPLIB)\slbCci.lib \
  23. $(SLBCSPLIB)\slbPki.lib \
  24. $(SLBCSPLIB)\slbRefCnt.lib \
  25. $(SLBCSPLIB)\slbCrc.lib \
  26. $(SLBCSPLIB)\slbZip.lib \
  27. $(SLBCSPLIB)\slbModVer.lib \
  28. $(SLBCSPLIB)\scardlib.lib \
  29. $(SDK_LIB_PATH)\winscard.lib \
  30. $(SDK_LIB_PATH)\SCardDlg.lib \
  31. $(SDK_LIB_PATH)\version.lib \
  32. $(SDK_LIB_PATH)\uuid.lib \
  33. $(SDK_LIB_PATH)\ole32.lib \
  34. $(SDK_LIB_PATH)\oleaut32.lib \
  35. $(SDK_LIB_PATH)\comctl32.lib \
  36. $(SDK_LIB_PATH)\comdlg32.lib \
  37. $(SDK_LIB_PATH)\winspool.lib \
  38. $(SDK_LIB_PATH)\shell32.lib \
  39. $(SDK_LIB_PATH)\rpcns4.lib \
  40. $(SDK_LIB_PATH)\rpcrt4.lib \
  41. $(SDK_LIB_PATH)\crypt32.lib \
  42. $(SHELL_LIB_PATH)\shfusion.lib \
  43. $(SHELL_LIB_PATH)\shlwapip.lib \
  44. $(WIN32_LIBS) \
  45. $(GUI32_LIBS)
  46. INCLUDES= \
  47. $(SHELL_INC_PATH);\
  48. $(PINCACHE_ROOT);\
  49. $(SLB_ROOT)\slbScu;\
  50. $(SLB_ROOT)\slbIOP;\
  51. $(SLB_ROOT)\slbModVer;\
  52. $(SLB_ROOT)\slbCci;\
  53. $(SLB_ROOT)\slbRefCnt;\
  54. $(SLB_ROOT)\slbPki;\
  55. $(SLB_ROOT)\slbRcCsp;\
  56. $(SLB_ROOT)\scardlib
  57. SOURCES= \
  58. $(MINORCOMP).cpp \
  59. $(MINORCOMP).rc \
  60. AccessTok.cpp \
  61. ACntrFinder.cpp \
  62. ACntrKey.cpp \
  63. ACntrReg.cpp \
  64. AdptvCntr.cpp \
  65. AlignedBlob.cpp \
  66. AutoReg.cpp \
  67. AuxContext.cpp \
  68. AuxHash.cpp \
  69. Blob.cpp \
  70. CachingObj.cpp \
  71. CardCtx.cpp \
  72. CardCtxReg.cpp \
  73. CardEnum.cpp \
  74. CardFinder.cpp \
  75. CertificateExtensions.cpp \
  76. CntrEnum.cpp \
  77. CntrFinder.cpp \
  78. Container.cpp \
  79. CryptCtx.cpp \
  80. CSpec.cpp \
  81. Cspi.cpp \
  82. CspProfile.cpp \
  83. DialogBox.cpp \
  84. EncodedMsg.cpp \
  85. ExceptionContext.cpp \
  86. HAdptvCntr.cpp \
  87. HashCtx.cpp \
  88. HashMD2.cpp \
  89. HashMD4.cpp \
  90. HashMD5.cpp \
  91. HashSHA1.cpp \
  92. HashSHAMD5.cpp \
  93. HCardCtx.cpp \
  94. HSCardCtx.cpp \
  95. ILoginTask.cpp \
  96. KeyContext.cpp \
  97. Lockable.cpp \
  98. LoginCtx.cpp \
  99. LoginTask.cpp \
  100. MasterLock.cpp \
  101. MsKeyBlob.cpp \
  102. MsRsaKB.cpp \
  103. MsRsaPriKB.cpp \
  104. MsRsaPubKB.cpp \
  105. MultiStrZ.cpp \
  106. NILoginTsk.cpp \
  107. Pkcs11Attr.cpp \
  108. PromptUser.cpp \
  109. PswdDlg.cpp \
  110. PubKeyCtx.cpp \
  111. PublicKeyHelper.cpp \
  112. Retainable.cpp \
  113. RsaKey.cpp \
  114. RsaKPGen.cpp \
  115. Securable.cpp \
  116. SesKeyCtx.cpp \
  117. SlbCsp.cpp \
  118. StResource.cpp \
  119. Uuid.cpp
  120. # Additional Compiler definitions
  121. C_DEFINES=$(C_DEFINES) -D_WINDOWS -D_USRDLL -D_STRICT
  122. C_DEFINES=$(C_DEFINES) -DWIN32_LEAN_AND_MEAN -DVC_EXTRALEAN
  123. C_DEFINES=$(C_DEFINES) -DCOM_NO_WINDOWS_H -DSCARD_NO_COM
  124. C_DEFINES=$(C_DEFINES) -DSCU_IN_DLL -D_UNICODE -DUNICODE
  125. C_DEFINES=$(C_DEFINES) /wd4150 /wd4275
  126. USE_MSVCRT=1
  127. USE_STL=1
  128. # Use C++ Exception Handling
  129. USE_NATIVE_EH=1
  130. # Use MFC, without or with UNICODE
  131. USE_MFCUNICODE=1
  132. USE_ATL=1
  133. USE_CV=1
  134. #
  135. # Enable Fusion Build Magic (preprocess the manifest, stick in resources)
  136. #
  137. SXS_ASSEMBLY_NAME=Microsoft.Windows.slbCsp
  138. SXS_ASSEMBLY_LANGUAGE_INDEPENDENT=1
  139. SXS_MANIFEST=slbCsp.manifest
  140. SXS_MANIFEST_IN_RESOURCES=1
  141. SXS_NO_BINPLACE=1
  142. # the resource ID here must be 2
  143. SXS_MANIFEST_RESOURCE_ID=2
  144. # ISOLATION_AWARE_ENABLED ==> use ui themes
  145. C_DEFINES=$(C_DEFINES) -DISOLATION_AWARE_ENABLED
  146. #
  147. # Shfusion.lib causes linker warnings. Ignore them.
  148. #
  149. LINKER_FLAGS=$(LINKER_FLAGS) -ignore:4049,4217