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.

93 lines
2.4 KiB

  1. ############################################################################
  2. #
  3. # Copyright (C) 1999, Microsoft Corporation.
  4. #
  5. # All rights reserved.
  6. #
  7. ############################################################################
  8. WMIPRECOMP=1
  9. !include $(PROJECT_ROOT)\wmi\wbem\common\makefile.cmn
  10. SOURCES_USED=$(PROJECT_ROOT)\wmi\wbem\common\makefile.cmn
  11. TARGETNAME=WMIsvc
  12. TARGETPATH=obj
  13. TARGETTYPE=DYNLINK
  14. # The TARGETLIBS macro specifies additional libraries to link against your target
  15. # image. Each library path specification should contain an asterisk (*)
  16. # where the machine-specific subdirectory name should go.
  17. #LINKLIBS= \
  18. # $(CORELIB_LIB)
  19. # $(COREPROX_LIB) \
  20. # $(WMIIDL_LIB) \
  21. # $(WBEMCOMN_DLL_LIB) \
  22. # $(WBEMINT_LIB) \
  23. # $(STDLIBRARY_LIB) \
  24. TARGETLIBS= \
  25. $(WBEMCOMN_DLL_LIB) \
  26. $(STDLIBRARY_LIB) \
  27. $(WMIIDL_LIB) \
  28. $(WBEMINT_LIB) \
  29. $(WMIREPOSITIDL_LIB) \
  30. $(SDK_LIB_PATH)\ntdll.lib \
  31. $(SDK_LIB_PATH)\ole32.lib \
  32. $(SDK_LIB_PATH)\oleaut32.lib \
  33. $(SDK_LIB_PATH)\uuid.lib \
  34. $(SDK_LIB_PATH)\kernel32.lib \
  35. $(SDK_LIB_PATH)\user32.lib \
  36. $(SDK_LIB_PATH)\advapip.lib \
  37. $(SDK_LIB_PATH)\vccomsup.lib \
  38. $(SDK_LIB_PATH)\vssapi.lib \
  39. $(WDMLIB_LIB) \
  40. $(COMMON)\utillib\$(WMICHARTYPE)\$(O)\utillib.lib
  41. # The INCLUDES variable specifies any include paths that are specific to
  42. # this source directory. Separate multiple paths with single
  43. # semicolons. Relative path specifications are okay.
  44. INCLUDES=$(INCLUDES); \
  45. $(WBEMINT_INC); \
  46. $(WMIIDL_INC); \
  47. $(MINIMFC_INC); \
  48. $(WBEMCOMN_INC); \
  49. $(STDLIBRARY_INC); \
  50. $(CORELIB_INC); \
  51. $(MOFCOMP_DLL_INC); \
  52. $(WMIREPOSITIDL_INC); \
  53. $(ADMIN_INC_PATH); \
  54. $(WDMLIB_INC)
  55. # The developer defines the SOURCES macro. It contains a list of all the
  56. # source files for this component. Specify each source file on a separate
  57. # line using the line-continuation character. This minimizes merge
  58. # conflicts if two developers are adding source files to the same component.
  59. SOURCES= \
  60. winmgmt.rc \
  61. localloc.cpp \
  62. winmgmt.cpp \
  63. cntserv.cpp \
  64. sched.cpp \
  65. factory.cpp \
  66. mofdutil.cpp \
  67. backuprestore.cpp \
  68. regcode.cpp \
  69. resync2.cpp \
  70. wbemdelta.cpp \
  71. writer.cpp
  72. # Next, specify options for the compiler using C_DEFINES.
  73. C_DEFINES=$(C_DEFINES) /DUSE_POLARITY /DBUILDING_DLL /DUNICODE /D_UNICODE
  74. #/DDEBUG_ADAP /DINSTRUMENTED_BUILD
  75. USER_C_FLAGS=/EHa
  76. USE_NATIVE_EH=1
  77. USE_MSVCRT=1
  78. DLLENTRY=_DllMainCRTStartup
  79. DLLDEF=$(O)\wmisvc.def