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