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.

101 lines
3.0 KiB

  1. #
  2. # The MAJORCOMP and MINORCOMP variables are defined
  3. # so that $(MAJORCOMP)$(MINORCOMP)filename can be used in
  4. # cross compiling to provide unique filenames in a flat namespace.
  5. #
  6. MAJORCOMP=windows
  7. MINORCOMP=media
  8. #
  9. # The TARGETNAME variable is defined by the developer. It is the name of
  10. # the target (component) that is being built by this makefile. It
  11. # should NOT include any path or file extension information.
  12. #
  13. TARGETNAME=dxvutils
  14. #
  15. # The TARGETPATH and TARGETTYPE variables are defined by the developer.
  16. # The first specifies where the target is to be build. The second specifies
  17. # the type of target (either PROGRAM, DYNLINK, LIBRARY, DRIVER, etc
  18. # UMAPPL_NOLIB is used when you're only building user-mode
  19. # apps and don't need to build a library.
  20. #
  21. TARGETPATH=obj
  22. TARGETTYPE=LIBRARY
  23. USE_STL=1
  24. !if "$(DPLAY_PCH)" != "off"
  25. PRECOMPILED_CXX=1
  26. PRECOMPILED_INCLUDE=..\dxvutilspch.h
  27. PRECOMPILED_PCH=dxvutilspch.pch
  28. PRECOMPILED_OBJ=dxvutilspch.obj
  29. !endif
  30. #
  31. # The INCLUDES variable specifies any include paths that are specific to
  32. # this source directory. Separate multiple directory paths with single
  33. # semicolons. Relative path specifications are okay.
  34. #
  35. INCLUDES=..\..\common;..\..\inc;..\..\dxvoice;..\..\..\dplay8\inc\;$(SDXROOT)\public\internal\multimedia\inc;..\..\dxvtlib;..\
  36. !if "$(NTDEBUG)" == "ntsd" || "$(NTDEBUG)" == "cvp" || "$(NTDEBUG)" == "sym"
  37. C_DEFINES=$(C_DEFINES) /DDEBUG /D_DEBUG /DDBG
  38. !endif
  39. #
  40. # The SOURCES variable is defined by the developer. It is a list of all the
  41. # source files for this component. Each source file should be on a separate
  42. # line using the line continuation character. This will minimize merge
  43. # conflicts if two developers adding source files to the same component.
  44. #
  45. SOURCES= dvcdb.cpp \
  46. dsplayb.cpp \
  47. dsplayd.cpp \
  48. inqueue2.cpp \
  49. sndutils.cpp \
  50. dscrecd.cpp \
  51. innerque.cpp \
  52. wiutils.cpp \
  53. Frame.cpp \
  54. winutil.cpp \
  55. dscrecd.cpp \
  56. dsprvobj.cpp \
  57. dscrecb.cpp \
  58. devmap.cpp \
  59. decibels.cpp \
  60. agcva1.cpp \
  61. wavformat.cpp \
  62. diagnos.cpp \
  63. dvtimer.cpp\
  64. mixline.cpp\
  65. dverror.cpp
  66. #
  67. # Next specify options for the compiler.
  68. #
  69. # Note about CRT defines. When linking with MSVCRT you must have both _MT and _DLL specified.
  70. # Using the build environment's USE_MSVCRT=1 would do this for us, but because we define our
  71. # own operator new this will cause a link error because the build environment will not properly
  72. # pull in msvcrt.lib last as of 5/11/2001. Therefore, we do it all manually specifying _DLL, _MT,
  73. # and msvcrt.lib and USE_NOLIBS=1 ourselves. This also means that we must manually add msvcprt.lib
  74. # where STL is used.
  75. #
  76. C_DEFINES= $(C_DEFINES) /D_LIB /DWIN32 /D_MT /D_DLL /DDIRECTSOUND_VERSION=0x0800
  77. !if "$(VOICE_TARGET)" == "gamevoice"
  78. C_DEFINES= $(C_DEFINES) /DVOICE_BUILD_GAMEVOICE
  79. !endif
  80. !if "$(VOICE_TARGET)" == "allegiance"
  81. C_DEFINES= $(C_DEFINES) /DVOICE_BUILD_ALLEGIANCE
  82. !endif
  83. USE_NATIVE_EH=1
  84. USE_STL=1