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.

114 lines
2.7 KiB

  1. !IF 0
  2. Copyright (c) 1993-94 Microsoft Corporation
  3. !ENDIF
  4. ATHROOT=..
  5. !include $(ATHROOT)\athena.inc
  6. !ifndef WIN16
  7. C_DEFINES = $(C_DEFINES:-DNASHVILLE=) -DUNICODE
  8. !else
  9. C_DEFINES = $(C_DEFINES:-DNASHVILLE=)
  10. !endif
  11. #treat warnings as errors and get lots of warnings
  12. MSC_WARNING_LEVEL=/W3 /WX
  13. SOURCES_USED=$(SOURCES_USED) $(ATHROOT)\athena.inc
  14. !ifndef WIN16
  15. TARGETNAME=cryptdlg
  16. !else
  17. TARGETNAME=cryptd16
  18. !endif
  19. TARGETPATH=obj
  20. TARGETTYPE=DYNLINK
  21. !if "$(BUILD_DEFAULT_TARGETS)" != "-mppc"
  22. !ifndef WIN16
  23. C_DEFINES = $(C_DEFINES) -DNT5BUILD
  24. !endif
  25. !endif
  26. SOURCES = \
  27. certfram.cpp \
  28. fineprnt.cpp \
  29. select.cpp \
  30. trust.cpp \
  31. util.cpp \
  32. view.cpp \
  33. cryptdlg.rc \
  34. \
  35. wxptrust.cpp \
  36. demand.cpp \
  37. SOURCES_WIN16 = \
  38. certfram.cpp \
  39. fineprnt.cpp \
  40. select.cpp \
  41. trust.cpp \
  42. util.cpp \
  43. view.cpp \
  44. \
  45. ltrust.cpp \
  46. demand.cpp \
  47. !ifdef WIN16
  48. DLLDEF = $O\cryptd16.def
  49. !else
  50. DLLDEF = $O\cryptdlg.def
  51. !endif
  52. DLLENTRY=_DllMainCRTStartup
  53. DLLORDER=$(ATHROOT)\prf\$(BBT_TARGET)\cryptdlg.prf
  54. !ifdef WIN16
  55. LINKER_DIRECTIVES= \
  56. export CertViewPropertiesA \
  57. export CertSelectCertificateA \
  58. export CertConfigureTrustA \
  59. export GetFriendlyNameOfCertA \
  60. export CertModifyCertificatesToTrust \
  61. export FormatVerisignExtension
  62. !endif
  63. TARGETLIBS= \
  64. !ifndef WIN16
  65. $(BASEDIR)\public\sdk\lib\*\kernel32.lib \
  66. $(BASEDIR)\public\sdk\lib\*\user32.lib \
  67. $(BASEDIR)\public\sdk\lib\*\gdi32.lib \
  68. $(BASEDIR)\public\sdk\lib\*\comctl32.lib \
  69. $(BASEDIR)\public\sdk\lib\*\advapi32.lib \
  70. $(BASEDIR)\public\sdk\lib\*\shell32.lib \
  71. $(BASEDIR)\public\sdk\lib\*\shlwapi.lib \
  72. $(BASEDIR)\public\sdk\lib\*\wintrust.lib
  73. !else
  74. $(BASEDIR)\public\sdk\lib16\win16x.lib \
  75. $(BASEDIR)\public\sdk\lib16\comctlie.lib \
  76. $(BASEDIR)\public\sdk\lib16\ole2.lib \
  77. $(BASEDIR)\public\sdk\lib16\ole2disp.lib \
  78. $(BASEDIR)\public\sdk\lib16\ole2nls.lib \
  79. $(BASEDIR)\public\sdk\lib16\storage.lib \
  80. $(BASEDIR)\public\sdk\lib16\uuid16.lib \
  81. $(BASEDIR)\public\sdk\lib16\windows.lib \
  82. $(BASEDIR)\public\sdk\lib16\shell.lib \
  83. $(BASEDIR)\public\sdk\lib16\clibl.lib \
  84. $(BASEDIR)\public\sdk\lib16\plibl.lib
  85. !endif
  86. UMTYPE=windows
  87. PRECOMPILED_CXX=1
  88. !ifndef WIN16
  89. PRECOMPILED_INCLUDE=pch.hxx
  90. PRECOMPILED_OPTION=
  91. PRECOMPILED_TARGET=
  92. !else
  93. PRECOMPILED_OPTION=/fh=$(O)\pch.pch
  94. MAKEDLL=1
  95. UMRES=$(O)\cryptdlg.res
  96. !endif