Source code of Windows XP (NT5)
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.

97 lines
2.7 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. !if "$(DPLAY_PCH)" != "off"
  24. PRECOMPILED_CXX=1
  25. PRECOMPILED_INCLUDE=dxvutilspch.h
  26. PRECOMPILED_PCH=dxvutilspch.pch
  27. PRECOMPILED_OBJ=dxvutilspch.obj
  28. !endif
  29. #
  30. # The INCLUDES variable specifies any include paths that are specific to
  31. # this source directory. Separate multiple directory paths with single
  32. # semicolons. Relative path specifications are okay.
  33. #
  34. INCLUDES=..\..\dnet\common;..\inc;..\dxvoice;$(SDXROOT)\public\internal\multimedia\inc;..\dxvtlib;..\
  35. #
  36. # The SOURCES variable is defined by the developer. It is a list of all the
  37. # source files for this component. Each source file should be on a separate
  38. # line using the line continuation character. This will minimize merge
  39. # conflicts if two developers adding source files to the same component.
  40. #
  41. SOURCES= dvcdb.cpp \
  42. dsplayb.cpp \
  43. dsplayd.cpp \
  44. dsutils.cpp \
  45. inqueue2.cpp \
  46. sndutils.cpp \
  47. dxvtimer.cpp \
  48. dscrecd.cpp \
  49. innerque.cpp \
  50. wiutils.cpp \
  51. Frame.cpp \
  52. winutil.cpp \
  53. dscrecd.cpp \
  54. dsprvobj.cpp \
  55. dscrecb.cpp \
  56. devmap.cpp \
  57. decibels.cpp \
  58. MixLine.cpp \
  59. agcva1.cpp \
  60. wavformat.cpp \
  61. diagnos.cpp \
  62. dverror.cpp
  63. #
  64. # Next specify options for the compiler.
  65. #
  66. # Note about CRT defines. When linking with MSVCRT you must have both _MT and _DLL specified.
  67. # Using the build environment's USE_MSVCRT=1 would do this for us, but because we define our
  68. # own operator new this will cause a link error because the build environment will not properly
  69. # pull in msvcrt.lib last as of 5/11/2001. Therefore, we do it all manually specifying _DLL, _MT,
  70. # and msvcrt.lib and USE_NOLIBS=1 ourselves. This also means that we must manually add msvcprt.lib
  71. # where STL is used.
  72. #
  73. C_DEFINES= $(C_DEFINES) /D_LIB /DWIN32 /D_MT /D_DLL \
  74. !if "$(VOICE_TARGET)" == "gamevoice"
  75. /DVOICE_BUILD_GAMEVOICE \
  76. !endif
  77. !if "$(VOICE_TARGET)" == "allegiance"
  78. /DVOICE_BUILD_ALLEGIANCE \
  79. !endif
  80. /DDIRECTSOUND_VERSION=0x0800
  81. USE_NATIVE_EH=1