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.

80 lines
2.1 KiB

  1. ############################################################################
  2. #
  3. # Copyright (c) 1999-2001 Microsoft Corporation, All Rights Reserved
  4. #
  5. # All rights reserved.
  6. #
  7. ############################################################################
  8. WMIUNICODE=1
  9. !include ..\makefile.cmn
  10. SOURCES_USED=..\makefile.cmn
  11. TARGETNAME=wdmlib
  12. TARGETPATH=obj
  13. TARGETTYPE=LIBRARY
  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. TARGETLIBS= \
  20. $(WBEMCOMN_STATIC_LIB) \
  21. $(STDLIBRARY_LIB) \
  22. $(MINIMFC_LIB) \
  23. $(WMIIDL_LIB) \
  24. $(WBEMINT_LIB) \
  25. $(UTILLIB_LIB) \
  26. $(SDK_LIB_PATH)\wmip.lib \
  27. $(SDK_LIB_PATH)\ole32.lib \
  28. $(SDK_LIB_PATH)\oleaut32.lib \
  29. $(SDK_LIB_PATH)\uuid.lib \
  30. $(SDK_LIB_PATH)\kernel32.lib \
  31. $(SDK_LIB_PATH)\advapi32.lib \
  32. $(SDK_LIB_PATH)\advapip.lib \
  33. $(SDK_LIB_PATH)\vccomsup.lib \
  34. $(SDK_LIB_PATH)\rpcrt4.lib \
  35. $(SDK_LIB_PATH)\user32.lib\
  36. # The INCLUDES variable specifies any include paths that are specific to
  37. # this source directory. Separate multiple paths with single
  38. # semicolons. Relative path specifications are okay.
  39. INCLUDES=$(INCLUDES); \
  40. $(WBEMCOMN_INC); \
  41. $(WMIIDL_INC); \
  42. $(MINIMFC_INC); \
  43. $(STDLIBRARY_INC); \
  44. $(MOFCOMP_DLL_INC); \
  45. $(WDMLIB_INC); \
  46. $(UTILLIB_INC); \
  47. $(WBEMINT_INC); \
  48. $(BASE_INC_PATH); \
  49. $(CORELIB_INC)
  50. # The developer defines the SOURCES macro. It contains a list of all the
  51. # source files for this component. Specify each source file on a separate
  52. # line using the line-continuation character. This minimizes merge
  53. # conflicts if two developers are adding source files to the same component.
  54. SOURCES= \
  55. ..\bmof.c \
  56. ..\crc32.cpp\
  57. ..\wdmshell.cpp\
  58. ..\wmicom.cpp\
  59. ..\wmidata.cpp\
  60. ..\wmiclass.cpp\
  61. ..\wmimap.cpp\
  62. ..\wmimof.cpp\
  63. # Next, specify options for the compiler using C_DEFINES.
  64. C_DEFINES=$(C_DEFINES) $(C_DEFINES) /DBUILDING_MOFD
  65. USER_C_FLAGS=/EHa
  66. DLLENTRY=_DllMainCRTStartup
  67. DLLDEF=$(O)\wmiprov.def
  68. USE_MSVCRT=1
  69. USE_NATIVE_EH=1