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

  1. ############################################################################
  2. #
  3. # Copyright (C) 2000, Microsoft Corporation.
  4. #
  5. # All rights reserved.
  6. #
  7. ############################################################################
  8. !include $(PROJECT_ROOT)\wmi\wbem\common\makefile.cmn
  9. SOURCES_USED=$(PROJECT_ROOT)\wmi\wbem\common\makefile.cmn
  10. TARGETNAME=wbemupgd
  11. TARGETPATH=obj
  12. TARGETTYPE=DYNLINK
  13. # The TARGETLIBS macro specifies additional libraries to link against your target
  14. # image. Each library path specification should contain an asterisk (*)
  15. # where the machine-specific subdirectory name should go.
  16. LINKLIBS= \
  17. $(CORELIB_LIB)
  18. TARGETLIBS= \
  19. $(WBEMCOMN_DLL_LIB) \
  20. $(STDLIBRARY_LIB) \
  21. $(WMIIDL_LIB) \
  22. $(WBEMINT_LIB) \
  23. $(WDMLIB_LIB) \
  24. $(UTILLIB_LIB) \
  25. $(SDK_LIB_PATH)\ole32.lib \
  26. $(SDK_LIB_PATH)\oleaut32.lib \
  27. $(SDK_LIB_PATH)\uuid.lib \
  28. $(SDK_LIB_PATH)\kernel32.lib \
  29. $(SDK_LIB_PATH)\advapi32.lib \
  30. $(SDK_LIB_PATH)\advapip.lib \
  31. $(SDK_LIB_PATH)\user32.lib \
  32. $(SDK_LIB_PATH)\setupapi.lib \
  33. $(SDK_LIB_PATH)\version.lib \
  34. $(SDK_LIB_PATH)\vccomsup.lib \
  35. $(SDK_LIB_PATH)\netapi32.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= \
  40. $(INCLUDES); \
  41. $(WBEMCOMN_INC); \
  42. $(STDLIBRARY_INC); \
  43. $(WBEMINT_INC); \
  44. $(WDMLIB_INC);\
  45. $(MOFCOMP_DLL_INC); \
  46. # The developer defines the SOURCES macro. It contains a list of all the
  47. # source files for this component. Specify each source file on a separate
  48. # line using the line-continuation character. This minimizes merge
  49. # conflicts if two developers are adding source files to the same component.
  50. SOURCES= \
  51. export.cpp \
  52. exportV1.cpp \
  53. exportV5.cpp \
  54. exportV7.cpp \
  55. exportV9.cpp \
  56. import.cpp \
  57. main.cpp \
  58. mmfarena2.cpp \
  59. reg.cpp \
  60. str.cpp \
  61. upgrade.cpp \
  62. localloc.cpp \
  63. upgrade.rc \
  64. ocgen.cpp \
  65. util.cpp
  66. # Next, specify options for the compiler using C_DEFINES.
  67. C_DEFINES=$(C_DEFINES) /D__WINNT_BUILD__ /D_WINDLL
  68. USER_C_FLAGS=/Ob2 /EHa
  69. DLLDEF=$(O)\wbemupgd.def
  70. USE_MSVCRT=1
  71. USE_STL=1
  72. DLLENTRY=_DllMainCRTStartup