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.

121 lines
3.0 KiB

  1. !IF 0
  2. Copyright (c) 1995-2002 Microsoft Corporation
  3. Module Name:
  4. sources.
  5. Abstract:
  6. This file specifies the target component being built and the list of
  7. sources files needed to build that component. Also specifies optional
  8. compiler switches and libraries that are unique for the component being
  9. built.
  10. Revision History:
  11. !ENDIF
  12. !include ..\sources.inc
  13. TARGETNAME=qmgr
  14. TARGETTYPE=DYNLINK
  15. DLLENTRY=_DllMainCRTStartup
  16. INCLUDES=$(INCLUDES);..\inc;$(O);..\idl\$(O);..\newjob
  17. #
  18. # If we want the code to run down-level (i.e. on Windows 2000), then you
  19. # need to define the environment variable MULTIPLATFORM_SUPPORT. For Win2K,
  20. # a separate library needs to be used for SENS due to a change in semantics
  21. # (see: logontable.cpp). Note Win2K is x86 only, not Win64.
  22. #
  23. !if defined(386) && defined(MULTIPLATFORM_SUPPORT)
  24. C_DEFINES=$(C_DEFINES) /DUNICODE /DMULTIPLATFORM_SUPPORT
  25. !else
  26. C_DEFINES=$(C_DEFINES) /DUNICODE
  27. !endif
  28. #
  29. # Use the multithreaded C runtime DLL.
  30. #
  31. USE_MSVCRT=1
  32. #
  33. # Use ATL 3.0 headers.
  34. #
  35. USE_ATL=1
  36. ATL_VER=30
  37. #
  38. # This component uses C++ exception handling.
  39. #
  40. USE_NATIVE_EH=1
  41. TARGETPATH=..\bins\$(_OBJ_DIR)
  42. TARGETLIBS=$(TARGETLIBS) \
  43. ..\newjob\$(O)\qmgr.lib \
  44. ..\utils\$(O)\qmgrutils.lib \
  45. ..\lib\$(O)\bits.lib \
  46. $(SDK_LIB_PATH)\advapi32.lib \
  47. $(SDK_LIB_PATH)\advapip.lib \
  48. $(SDK_LIB_PATH)\advpack.lib \
  49. $(SDK_LIB_PATH)\comctl32.lib \
  50. $(SDK_LIB_PATH)\comdlg32.lib \
  51. $(SDK_LIB_PATH)\crypt32.lib \
  52. $(SDK_LIB_PATH)\fdi.lib \
  53. $(SDK_LIB_PATH)\iphlpapi.lib \
  54. $(SDK_LIB_PATH)\kernel32.lib \
  55. $(SDK_LIB_PATH)\ntdll.lib \
  56. $(SDK_LIB_PATH)\ole32.lib \
  57. $(SDK_LIB_PATH)\oleaut32.lib \
  58. $(SDK_LIB_PATH)\rpcrt4.lib \
  59. $(SDK_LIB_PATH)\setupapi.lib \
  60. $(SDK_LIB_PATH)\ShFolder.Lib \
  61. $(SDK_LIB_PATH)\shlwapi.lib \
  62. $(SDK_LIB_PATH)\urlmon.lib \
  63. $(SDK_LIB_PATH)\user32.lib \
  64. $(SDK_LIB_PATH)\userenv.lib \
  65. $(SDK_LIB_PATH)\uuid.lib \
  66. $(SDK_LIB_PATH)\version.lib \
  67. $(SDK_LIB_PATH)\vssapi.lib \
  68. $(SDK_LIB_PATH)\ws2_32.lib \
  69. $(SDK_LIB_PATH)\wtsapi32.lib \
  70. !if defined(386) && defined(MULTIPLATFORM_SUPPORT)
  71. ..\lib\*\win2000_irnotif.lib \
  72. !endif
  73. !if defined(USE_WININET)
  74. $(SDK_LIB_PATH)\wininet.lib \
  75. !else
  76. $(SDK_LIB_PATH)\winhttp.lib \
  77. !endif
  78. SOURCES= \
  79. service.cxx \
  80. trust.cpp \
  81. drizzle.rc \
  82. register.cpp \
  83. dload.cpp \
  84. memory.cxx
  85. MISCFILES=qmgr.inf \
  86. BITS_{0B59F77F-257C-472C-A965-AEA45B5F2B4F}.sld \
  87. UMTEST=client*tasktest
  88. UMENTRY=wmain
  89. UMTYPE=console
  90. UMLIBS= $(TARGETLIBS)
  91. BINPLACE_PLACEFILE=..\placefil.txt
  92. RUN_WPP=$(SOURCES) -dll -gen:{um-w2k.tpl}*.tmh
  93. DELAYLOAD=vssapi.dll
  94. DLOAD_ERROR_HANDLER=BITS_DelayLoadFailureHook