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.3 KiB

  1. #---------------------------------------------------------------------
  2. #
  3. # This makefile is for use with the SMSBUILD utility. It builds the
  4. # standard provider dll.
  5. #
  6. # created 05-15-97 jennymc
  7. #
  8. #---------------------------------------------------------------------
  9. TARGET=wmiprov.dll
  10. RELEASE=core\$(RELDIR)
  11. CINC+= \
  12. -I.. \
  13. -I$(DEFDRIVE)$(DEFDIR)\stdlibrary \
  14. -I$(IDL) \
  15. -I$(IDL)\OBJ$(PLAT)$(OPST)$(BLDT)D \
  16. -I$(DEFDRIVE)$(DEFDIR)\winmgmt\mofcompiler \
  17. -I$(DEFDRIVE)$(DEFDIR)\winmgmt\mofcomp_dll \
  18. -I$(DEFDRIVE)$(DEFDIR)\winmgmt\common \
  19. -I$(DEFDRIVE)$(DEFDIR)\winmgmt\minimfc \
  20. -I$(DEFDRIVE)$(DEFDIR)\WMI_Provider2\wmi
  21. -I$(DEFDRIVE)$(DEFDIR)\winmgmt\common\sam \
  22. CFLAGS=$(CFLAGS) /GX /GR /Zp8
  23. CDEFS=$(CDEFS)
  24. CFLAGS+= -D$(WMIPROV_TARGET)
  25. CPPFILES=\
  26. ..\classfac.cpp \
  27. ..\wmicom.cpp \
  28. ..\wmimof.cpp \
  29. ..\wmiprov.cpp \
  30. ..\wmimap.cpp \
  31. ..\wmievent.cpp \
  32. ..\wmidata.cpp\
  33. ..\wmiclass.cpp\
  34. ..\maindll.cpp\
  35. $(DEFDRIVE)$(DEFDIR)\stdlibrary\genlex.cpp \
  36. $(DEFDRIVE)$(DEFDIR)\stdlibrary\opathlex.cpp\
  37. $(DEFDRIVE)$(DEFDIR)\stdlibrary\objpath.cpp \
  38. $(DEFDRIVE)$(DEFDIR)\stdlibrary\sql_1.cpp \
  39. $(DEFDRIVE)$(DEFDIR)\stdlibrary\sqllex.cpp \
  40. $(IDL)\OBJ$(PLAT)$(OPST)$(BLDT)D\wbemint_i.c \
  41. $(DEFDRIVE)$(DEFDIR)\stdlibrary\cominit.cpp \
  42. $(DEFDRIVE)$(DEFDIR)\winmgmt\common\crc32.cpp \
  43. $(DEFDRIVE)$(DEFDIR)\winmgmt\common\wbemutil.cpp \
  44. $(DEFDRIVE)$(DEFDIR)\winmgmt\common\localloc.cpp\
  45. $(DEFDRIVE)$(DEFDIR)\winmgmt\mofcompiler\mrcicode.c\
  46. !if "$(OPSYS)"=="NT64"
  47. $(DEFDRIVE)$(DEFDIR)\winmgmt\mofcomp_dll\bmof.c \
  48. !else
  49. $(DEFDRIVE)$(DEFDIR)\winmgmt\mofcompiler\bmof.c \
  50. !endif
  51. $(DEFDRIVE)$(DEFDIR)\winmgmt\common\sam\groupsforuser.cpp \
  52. $(DEFDRIVE)$(DEFDIR)\winmgmt\common\flexarry.cpp
  53. !if "$(PROCESSOR_ARCHITECTURE)"=="x86"
  54. DEFFILE=..\wmiprov.def
  55. !else
  56. DEFFILE=..\risc.def
  57. !endif
  58. DLLSTARTUP= -ENTRY:_DllMainCRTStartup$(DLLENTRY)
  59. LIBS=\
  60. $(DEFDRIVE)$(DEFDIR)\winmgmt\COMMON\NT\OBJ$(PLAT)$(OPST)$(BLDT)D\wbemcomn.lib
  61. $(IDL)\OBJ$(PLAT)$(OPST)$(BLDT)D\wbemuuid.lib \
  62. $(CLIB)\wmip.lib \
  63. $(CONLIBS) \
  64. $(DEFDRIVE)$(DEFDIR)\winmgmt\MINIMFC\OBJ$(PLAT)$(OPST)$(BLDT)D\minimfc.lib \
  65. $(CLIB)\rpcrt4.lib
  66. tree:
  67. @release redist\wmi.dll core\$(RELDIR)
  68. @release redist\wmiacpi.sys core\$(RELDIR)
  69. @release redist\wmicore.dll core\$(RELDIR)
  70. @release redist\wmidrv.sys core\$(RELDIR)
  71. @release redist\wmiexe.exe core\$(RELDIR)