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.

81 lines
2.4 KiB

  1. !INCLUDE ..\..\bldcfg\dpvbld.inc
  2. #
  3. # The MAJORCOMP and MINORCOMP variables are defined
  4. # so that $(MAJORCOMP)$(MINORCOMP)filename can be used in
  5. # cross compiling to provide unique filenames in a flat namespace.
  6. #
  7. MAJORCOMP=windows
  8. MINORCOMP=media
  9. #
  10. # The TARGETNAME variable is defined by the developer. It is the name of
  11. # the target (component) that is being built by this makefile. It
  12. # should NOT include any path or file extension information.
  13. #
  14. TARGETNAME=dpvxlib
  15. #
  16. # The TARGETPATH and TARGETTYPE variables are defined by the developer.
  17. # The first specifies where the target is to be build. The second specifies
  18. # the type of target (either PROGRAM, DYNLINK, LIBRARY, DRIVER, etc
  19. # UMAPPL_NOLIB is used when you're only building user-mode
  20. # apps and don't need to build a library.
  21. #
  22. TARGETPATH=obj
  23. TARGETTYPE=LIBRARY
  24. !if "$(DPLAY_PCH)" != "off"
  25. PRECOMPILED_CXX=1
  26. PRECOMPILED_INCLUDE=dpvxlibpch.h
  27. PRECOMPILED_PCH=dpvxlibpch.pch
  28. PRECOMPILED_OBJ=dpvxlibpch.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=..\inc;..\..\dplobby\dplobby;..\dxvutils;..\
  36. #
  37. # The SOURCES variable is defined by the developer. It is a list of all the
  38. # source files for this component. Each source file should be on a separate
  39. # line using the line continuation character. This will minimize merge
  40. # conflicts if two developers adding source files to the same component.
  41. #
  42. SOURCES= dpvxmisc.cpp \
  43. dpvxdump.cpp \
  44. dpvxdplay.cpp \
  45. dpvxerr.cpp \
  46. dpvxchar.cpp \
  47. dpvxmisc.cpp
  48. #
  49. # Next specify options for the compiler.
  50. #
  51. # Note about CRT defines. When linking with MSVCRT you must have both _MT and _DLL specified.
  52. # Using the build environment's USE_MSVCRT=1 would do this for us, but because we define our
  53. # own operator new this will cause a link error because the build environment will not properly
  54. # pull in msvcrt.lib last as of 5/11/2001. Therefore, we do it all manually specifying _DLL, _MT,
  55. # and msvcrt.lib and USE_NOLIBS=1 ourselves. This also means that we must manually add msvcprt.lib
  56. # where STL is used.
  57. #
  58. C_DEFINES= $(C_DEFINES) /D_LIB /DWIN32 /D_MT /D_DLL \
  59. !if "$(VOICE_TARGET)" == "gamevoice"
  60. /DVOICE_BUILD_GAMEVOICE \
  61. !endif
  62. !if "$(VOICE_TARGET)" == "allegiance"
  63. /DVOICE_BUILD_ALLEGIANCE \
  64. !endif
  65. /DDIRECTSOUND_VERSION=0x0800