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.

79 lines
2.1 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=mofd
  12. TARGETPATH=obj
  13. TARGETTYPE=DYNLINK
  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. $(COMDLLSV_LIB)
  19. TARGETLIBS= \
  20. $(WBEMCOMN_STATIC_LIB) \
  21. $(MINIMFC_LIB) \
  22. $(WMIIDL_LIB) \
  23. $(WBEMINT_LIB) \
  24. $(STDLIBRARY_LIB) \
  25. $(SDK_LIB_PATH)\advapi32.lib \
  26. $(SDK_LIB_PATH)\ole32.lib \
  27. $(SDK_LIB_PATH)\oleaut32.lib \
  28. $(SDK_LIB_PATH)\uuid.lib \
  29. $(SDK_LIB_PATH)\kernel32.lib \
  30. $(WDMLIB_LIB) \
  31. $(SDK_LIB_PATH)\user32.lib \
  32. $(DS_LIB_PATH)\rsa32.lib \
  33. $(SDK_LIB_PATH)\vccomsup.lib
  34. # The INCLUDES variable specifies any include paths that are specific to
  35. # this source directory. Separate multiple paths with single
  36. # semicolons. Relative path specifications are okay.
  37. INCLUDES=$(INCLUDES); \
  38. $(WBEMINT_INC); \
  39. $(WMIIDL_INC); \
  40. $(MINIMFC_INC); \
  41. $(WBEMCOMN_INC); \
  42. $(STDLIBRARY_INC); \
  43. $(WDMLIB_INC); \
  44. $(COMLIB_INC)
  45. # The developer defines the SOURCES macro. It contains a list of all the
  46. # source files for this component. Specify each source file on a separate
  47. # line using the line-continuation character. This minimizes merge
  48. # conflicts if two developers are adding source files to the same component.
  49. SOURCES= \
  50. mofd.rc \
  51. localloc.cpp \
  52. datasrc.cpp \
  53. maindll.cpp \
  54. moflex.cpp \
  55. mofparse.cpp \
  56. mofprop.cpp \
  57. mofdata.cpp \
  58. mofout.cpp \
  59. preproc.cpp \
  60. cout.cpp \
  61. bmofhelp.cpp \
  62. cbmofout.cpp \
  63. trace.cpp \
  64. COMOBJ.CPP
  65. # Next, specify options for the compiler using C_DEFINES.
  66. C_DEFINES=$(C_DEFINES) /DBUILDING_MOFD /D_UNICODE /DUNICODE
  67. USE_NATIVE_EH=1
  68. DLLENTRY=_DllMainCRTStartup
  69. USE_MSVCRT=1
  70. USE_STL=1
  71. DLLDEF=$(O)\mofd.def