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.

74 lines
2.1 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.exe
  10. VER_STR_FILE_DESCRIPTION="Windows WDM Provider (Unicode)"
  11. RELEASE=core\$(RELDIR)
  12. NO_OPTIM=1
  13. CINC=$(CINC)\
  14. -I$(TOOLS)\nt5inc \
  15. -I$(DEFDRIVE)$(DEFDIR)\stdlibrary \
  16. -I$(DEFDRIVE)$(DEFDIR)\idl\
  17. -I$(DEFDRIVE)$(DEFDIR)\winmgmt\mofcompiler\
  18. -I$(DEFDRIVE)$(DEFDIR)\winmgmt\mofcomp_dll\
  19. -I$(DEFDRIVE)$(DEFDIR)\winmgmt\common\
  20. -I$(DEFDRIVE)$(DEFDIR)\winmgmt\minimfc\
  21. -I$(DEFDRIVE)$(DEFDIR)\WMI_Provider2\wmi
  22. CFLAGS=$(CFLAGS) /GX /GR /Zp8 /DLOCALSERVER
  23. CDEFS=$(CDEFS)
  24. CPPFILES=\
  25. .\main.cpp\
  26. .\classfac.cpp \
  27. .\wmicom.cpp \
  28. .\wmimof.cpp \
  29. .\wmiprov.cpp \
  30. .\wmimap.cpp \
  31. .\wmievent.cpp \
  32. .\maindll.cpp\
  33. $(DEFDRIVE)$(DEFDIR)\stdlibrary\genlex.cpp \
  34. $(DEFDRIVE)$(DEFDIR)\stdlibrary\opathlex.cpp\
  35. $(DEFDRIVE)$(DEFDIR)\stdlibrary\objpath.cpp \
  36. $(DEFDRIVE)$(DEFDIR)\stdlibrary\sql_1.cpp \
  37. $(DEFDRIVE)$(DEFDIR)\stdlibrary\sqllex.cpp \
  38. $(IDL)\wbemprov_i.c \
  39. $(DEFDRIVE)$(DEFDIR)\stdlibrary\cominit.cpp \
  40. $(DEFDRIVE)$(DEFDIR)\winmgmt\common\crc32.cpp \
  41. $(DEFDRIVE)$(DEFDIR)\winmgmt\common\flexarry.cpp \
  42. $(DEFDRIVE)$(DEFDIR)\winmgmt\common\wbemutil.cpp \
  43. $(DEFDRIVE)$(DEFDIR)\winmgmt\common\localloc.cpp\
  44. $(DEFDRIVE)$(DEFDIR)\winmgmt\mofcompiler\mrcicode.c\
  45. $(DEFDRIVE)$(DEFDIR)\winmgmt\mofcompiler\bmof.c
  46. !if "$(PROCESSOR_ARCHITECTURE)"=="x86"
  47. DEFFILE=wmiprov.def
  48. !else
  49. DEFFILE=risc.def
  50. !endif
  51. DLLSTARTUP= -ENTRY:_DllMainCRTStartup$(DLLENTRY)
  52. LIBS=\
  53. $(DEFDRIVE)$(DEFDIR)\winmgmt\COMMON\NT\OBJ$(PLAT)$(OPST)$(BLDT)D\wbemcomn.lib
  54. $(IDL)\OBJ$(PLAT)$(OPST)$(BLDT)D\wbemuuid.lib \
  55. $(CLIB)\wmip.lib \
  56. $(CONLIBS) \
  57. $(DEFDRIVE)$(DEFDIR)\winmgmt\MINIMFC\OBJ$(PLAT)$(OPST)$(BLDT)D\minimfc.lib \
  58. tree:
  59. @release redist\wmi.dll core\$(RELDIR)
  60. @release redist\wmiacpi.sys core\$(RELDIR)
  61. @release redist\wmicore.dll core\$(RELDIR)
  62. @release redist\wmidrv.sys core\$(RELDIR)
  63. @release redist\wmiexe.exe core\$(RELDIR)