Source code of Windows XP (NT5)
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.

119 lines
2.8 KiB

  1. !IF 0
  2. Copyright (C) Microsoft Corporation, 1989 - 1999
  3. NOTE: Commented description of this file is in \nt\bak\bin\sources.tpl
  4. !ENDIF
  5. CA_RELATIVEROOT=..
  6. XELIB_PATH=$(PROJECT_ROOT)\security\cryptoapi\pki\activex\xelib\xelibca
  7. MAJORCOMP=certsrv
  8. MINORCOMP=certcli
  9. TARGETNAME=$(MINORCOMP)
  10. TARGETPATH=obj
  11. TARGETTYPE=DYNLINK
  12. DLLDEF=$(O)\$(MINORCOMP).def
  13. DLLENTRY=DllMain
  14. SYNCHRONIZE_DRAIN=1
  15. CHECKED_ALT_DIR=1
  16. NOT_LEAN_AND_MEAN=1
  17. USE_ATL=1
  18. USE_MSVCRT=1
  19. INCLUDES= \
  20. $(DS_INC_PATH); \
  21. $(CA_RELATIVEROOT)\include\$(O); \
  22. $(CA_RELATIVEROOT)\include; \
  23. $(CA_RELATIVEROOT)\certif; \
  24. $(CA_RELATIVEROOT)\certprxy; \
  25. $(CA_RELATIVEROOT)\idl\com\$(O); \
  26. $(SECURITY_INC)
  27. # Until build.exe is fixed:
  28. CONDITIONAL_INCLUDES= \
  29. $(CA_MAC_CONDITIONAL_INCLUDES) \
  30. atlbase.h \
  31. atlcom.h \
  32. atlimpl.cpp
  33. C_DEFINES=-DUNICODE -D_UNICODE -D_CERTCLI_
  34. C_DEFINES= \
  35. $(C_DEFINES) \
  36. -D_CRYPT32STRING_ \
  37. -DCryptStringToBinaryA=CryptStringToBinaryPriA \
  38. -DCryptStringToBinaryW=CryptStringToBinaryPriW \
  39. -DCryptBinaryToStringA=CryptBinaryToStringPriA \
  40. -DCryptBinaryToStringW=CryptBinaryToStringPriW
  41. # For .def file processing:
  42. !if !$(FREEBUILD)
  43. C_DEFINES=$(C_DEFINES) -DDBG_CERTSRV=1
  44. !endif
  45. # NTTARGETFILES must be defined (even if empty) to force include of
  46. # makefile.inc for tlb dependency:
  47. # We also need to build a private library:
  48. PRIVLIB = $(O)\$(MINORCOMP)p.lib
  49. NTTARGETFILES=$(PRIVLIB)
  50. PRECOMPILED_INCLUDE=pch.cpp
  51. SOURCES= \
  52. certcli.rc \
  53. atl.cpp \
  54. certcli.cpp \
  55. column.cpp \
  56. config.cpp \
  57. configp.cpp \
  58. crypt.cpp \
  59. getconf.cpp \
  60. request.cpp \
  61. uwbase64.cpp \
  62. vroot.cpp
  63. xDELAYLOAD= \
  64. cryptui.dll; \
  65. netapi32.dll; \
  66. ole32.dll; \
  67. oleaut32.dll; \
  68. rpcrt4.dll; \
  69. secur32.dll; \
  70. userenv.dll; \
  71. wldap32.dll
  72. LINKLIBS= \
  73. $(CA_RELATIVEROOT)\certif\$(O)\certif.lib \
  74. $(CA_RELATIVEROOT)\certprxy\$(O)\certprxy.lib \
  75. $(CA_RELATIVEROOT)\certclib\$(O)\certclib.lib \
  76. $(CA_RELATIVEROOT)\certlib\$(O)\certlib.lib \
  77. $(SECURITY_LIB_PATH)\pkifmtca.lib
  78. TARGETLIBS= \
  79. $(CA_RELATIVEROOT)\idl\com\$(O)\certidl.lib \
  80. $(CA_RELATIVEROOT)\certadm\$(O)\certadm.lib \
  81. $(XELIB_PATH)\$(O)\xelib.lib \
  82. $(SDK_LIB_PATH)\kernel32.lib \
  83. $(SDK_LIB_PATH)\advapi32.lib \
  84. $(SDK_LIB_PATH)\netlib.lib \
  85. $(SDK_LIB_PATH)\userenv.lib \
  86. $(SDK_LIB_PATH)\wldap32.lib \
  87. $(SDK_LIB_PATH)\ole32.lib \
  88. $(SDK_LIB_PATH)\oleaut32.lib \
  89. $(SDK_LIB_PATH)\secur32.lib \
  90. $(SDK_LIB_PATH)\uuid.lib \
  91. $(SDK_LIB_PATH)\user32.lib \
  92. $(SDK_LIB_PATH)\rpcrt4.lib \
  93. $(SDK_LIB_PATH)\wininet.lib \
  94. $(SDK_LIB_PATH)\netapi32.lib \
  95. $(SDK_LIB_PATH)\cryptui.lib \
  96. $(SDK_LIB_PATH)\crypt32.lib
  97. PASS1_PUBLISH= \
  98. {$(O)\$(MINORCOMP).lib=$(SDK_LIB_PATH)\$(MINORCOMP).lib} \
  99. {$(O)\$(MINORCOMP)p.lib=$(DS_LIB_PATH)\$(MINORCOMP)p.lib}