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.

88 lines
2.5 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=WMIADAP
  12. TARGETPATH=obj
  13. TARGETTYPE=PROGRAM
  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. TARGETLIBS= \
  18. $(WMIIDL_LIB) \
  19. $(STDLIBRARY_LIB) \
  20. $(WBEMCOMN_DLL_LIB) \
  21. $(WBEMINT_LIB) \
  22. $(ADAPTERS_REVERSE_DREDGE_LIB) \
  23. $(SDK_LIB_PATH)\oleaut32.lib \
  24. $(SDK_LIB_PATH)\kernel32.lib \
  25. $(SDK_LIB_PATH)\advapi32.lib \
  26. $(SDK_LIB_PATH)\user32.lib \
  27. $(SDK_LIB_PATH)\gdi32.lib \
  28. $(SDK_LIB_PATH)\ole32.lib \
  29. $(SDK_LIB_PATH)\uuid.lib \
  30. $(SDK_LIB_PATH)\resutils.lib \
  31. $(SDK_LIB_PATH)\version.lib \
  32. $(SDK_LIB_PATH)\vccomsup.lib \
  33. $(SDK_LIB_PATH)\psapi.lib \
  34. $(SDK_LIB_PATH)\loadperf.lib \
  35. $(SDK_LIB_PATH)\ntdll.lib \
  36. $(SDK_LIB_PATH)\advapip.lib \
  37. $(SDK_LIB_PATH)\vccomsup.lib \
  38. $(SDK_LIB_PATH)\wmip.lib \
  39. $(COMMON)\utillib\$(WMICHARTYPE)\$(O)\utillib.lib \
  40. $(WDMLIB_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. $(MC_INC); \
  48. $(WBEMCORE_INC); \
  49. $(WBEMCOMN_INC); \
  50. $(WBEMMCP_INC); \
  51. $(MOFCOMP_DLL_INC); \
  52. $(TRANLIB_INC); \
  53. $(WBEMMSP_INC); \
  54. $(STDLIBRARY_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. adap.rc \
  61. localloc.cpp \
  62. adapcls.cpp \
  63. classbroker.cpp \
  64. wmibroker.cpp \
  65. perflibschema.cpp \
  66. adaputil.cpp \
  67. ntreg.cpp \
  68. perfndb.cpp \
  69. adapperf.cpp \
  70. adapthrd.cpp \
  71. perfthrd.cpp \
  72. adapelem.cpp \
  73. adapreg.cpp
  74. # Next, specify options for the compiler using C_DEFINES.
  75. C_DEFINES=$(C_DEFINES) /DOPTIMIZE /D"WIN32" /DUNICODE /D_UNICODE
  76. USE_NATIVE_EH=ASYNC
  77. LINKER_STACKCOMMITSIZE=65536
  78. USE_MSVCRT=1
  79. USE_STL=1
  80. UMTYPE=windows
  81. UMENTRY=winmain