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.

84 lines
2.3 KiB

  1. ############################################################################
  2. #
  3. # Copyright (c) 1999-2001 Microsoft Corporation, All Rights Reserved
  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=wmiutils
  12. TARGETPATH=obj
  13. TARGETTYPE=DYNLINK
  14. #next line lets it run on win95. Needed for sdk.
  15. SUBSYSTEM_VERSION=4.00
  16. # The TARGETLIBS macro specifies additional libraries to link against your target
  17. # image. Each library path specification should contain an asterisk (*)
  18. # where the machine-specific subdirectory name should go.
  19. TARGETLIBS= \
  20. $(STDLIBRARY_LIB) \
  21. $(WMIIDL_LIB) \
  22. $(ADMIN_LIB_PATH)\umiuuid.lib \
  23. $(WBEMINT_LIB) \
  24. $(WBEMCOMN_STATIC_LIB) \
  25. $(SDK_LIB_PATH)\kernel32.lib \
  26. $(SDK_LIB_PATH)\advapi32.lib \
  27. $(SDK_LIB_PATH)\user32.lib \
  28. $(SDK_LIB_PATH)\version.lib \
  29. $(SDK_LIB_PATH)\oleaut32.lib \
  30. $(SDK_LIB_PATH)\ole32.lib \
  31. $(SDK_LIB_PATH)\rpcrt4.lib \
  32. $(SDK_LIB_PATH)\uuid.lib
  33. # The INCLUDES variable specifies any include paths that are specific to
  34. # this source directory. Separate multiple paths with single
  35. # semicolons. Relative path specifications are okay.
  36. INCLUDES=$(INCLUDES); \
  37. $(ADMIN_INC_PATH); \
  38. $(WBEMINT_INC); \
  39. $(WBEMCORE_INC); \
  40. $(WMIIDL_INC); \
  41. $(STDLIBRARY_INC); \
  42. $(COMLIB_INC); \
  43. $(WBEMCOMN_INC);
  44. # The developer defines the SOURCES macro. It contains a list of all the
  45. # source files for this component. Specify each source file on a separate
  46. # line using the line-continuation character. This minimizes merge
  47. # conflicts if two developers are adding source files to the same component.
  48. SOURCES= \
  49. msgtable.mc \
  50. umiparse.cpp \
  51. umipathlex.cpp \
  52. maindll.cpp \
  53. pathparse.cpp \
  54. actualparse.cpp \
  55. opathlex2.cpp \
  56. wbemerror.cpp \
  57. ver.rc \
  58. assocqp.cpp \
  59. like.cpp \
  60. wmiquery.cpp \
  61. wql.cpp \
  62. wqllex.cpp \
  63. localloc.cpp
  64. PASS1_PUBLISH={$(O)\$(TARGETNAME).lib=$(SDK_LIB_PATH)\$(TARGETNAME).lib}
  65. # Next, specify options for the compiler using C_DEFINES.
  66. C_DEFINES=$(C_DEFINES) /DBUILDING_PROX /D_UNICODE /DUNICODE
  67. USER_C_FLAGS=/EHa
  68. USE_NATIVE_EH=1
  69. USE_MSVCRT=1
  70. DLLENTRY=_DllMainCRTStartup
  71. DLLDEF=$(O)\wmiutils.def