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.

66 lines
1.9 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=mofcomp
  12. TARGETPATH=obj
  13. TARGETTYPE=PROGRAM
  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. TARGETLIBS= \
  18. $(WMIIDL_LIB) \
  19. $(STDLIBRARY_LIB) \
  20. $(WBEMCOMN_DLL_LIB) \
  21. $(WBEMINT_LIB) \
  22. $(SDK_LIB_PATH)\oleaut32.lib \
  23. $(SDK_LIB_PATH)\kernel32.lib \
  24. $(SDK_LIB_PATH)\advapi32.lib \
  25. $(SDK_LIB_PATH)\user32.lib \
  26. $(SDK_LIB_PATH)\gdi32.lib \
  27. $(SDK_LIB_PATH)\ole32.lib \
  28. $(SDK_LIB_PATH)\uuid.lib \
  29. $(SDK_LIB_PATH)\resutils.lib \
  30. $(SDK_LIB_PATH)\version.lib
  31. # The INCLUDES variable specifies any include paths that are specific to
  32. # this source directory. Separate multiple paths with single
  33. # semicolons. Relative path specifications are okay.
  34. INCLUDES=$(INCLUDES); \
  35. $(WBEMINT_INC); \
  36. $(WMIIDL_INC); \
  37. $(MC_INC); \
  38. $(WBEMCORE_INC); \
  39. $(WBEMCOMN_INC); \
  40. $(MOFCOMP_DLL_INC); \
  41. $(STDLIBRARY_INC)
  42. # The developer defines the SOURCES macro. It contains a list of all the
  43. # source files for this component. Specify each source file on a separate
  44. # line using the line-continuation character. This minimizes merge
  45. # conflicts if two developers are adding source files to the same component.
  46. SOURCES= \
  47. mofcomp.rc \
  48. mofcomp.cpp \
  49. mofutils.cpp \
  50. mofcomp.cpp
  51. # Next, specify options for the compiler using C_DEFINES.
  52. C_DEFINES=$(C_DEFINES) /DOPTIMIZE /DUNICODE /D_UNICODE
  53. USER_C_FLAGS=/EHa
  54. LINKER_STACKSIZE=/STACK:1048576,8192
  55. USE_MSVCRT=1
  56. USE_STL=1
  57. UMTYPE=console
  58. UMENTRY=main