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.

120 lines
3.6 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. !INCLUDE ..\..\..\bldcfg\dpvbld.inc
  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=$(DPVOICE_BUILD_FILENAME_DPVSETUP)
  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=PROGRAM
  24. UMENTRY=winmain
  25. UMTYPE=windows
  26. #
  27. # Fusionized
  28. #
  29. SXS_ASSEMBLY_NAME=Microsoft.Windows.DirectX.DPVSETUP
  30. SXS_ASSEMBLY_LANGUAGE_INDEPENDENT=1
  31. SXS_MANIFEST=dpvsetup.Manifest
  32. SXS_MANIFEST_IN_RESOURCES=1
  33. SXS_NO_BINPLACE=1
  34. #
  35. # The TARGETLIBS specifies additional libraries to link with you target
  36. # image. Each library path specification should contain an asterisk (*)
  37. # where the machine specific subdirectory name should go.
  38. #
  39. #
  40. # 04/10/2000 - allows for addition of BoundsChecker, etc
  41. # libs specified in the OS environment
  42. #
  43. TARGETLIBS=$(TARGETLIBS) \
  44. ..\..\..\dnet\common\obj$(BUILD_ALT_DIR)\*\common.lib \
  45. ..\..\guids\obj$(BUILD_ALT_DIR)\*\guids.lib \
  46. ..\..\dxvutils\obj$(BUILD_ALT_DIR)\*\dxvutils.lib \
  47. $(BASEDIR)\public\sdk\lib\*\kernel32.lib \
  48. $(BASEDIR)\public\sdk\lib\*\winmm.lib \
  49. $(BASEDIR)\public\sdk\lib\*\dsound.lib \
  50. $(BASEDIR)\public\sdk\lib\*\ole32.lib \
  51. $(BASEDIR)\public\sdk\lib\*\uuid.lib \
  52. $(BASEDIR)\public\sdk\lib\*\imagehlp.lib \
  53. $(BASEDIR)\public\sdk\lib\*\comctl32.lib \
  54. $(BASEDIR)\public\sdk\lib\*\shell32.lib \
  55. !if "$(CHICAGO_PRODUCT)" == ""
  56. ..\..\dxvtlib\daytona\obj$(BUILD_ALT_DIR)\*\dxvt.lib \
  57. !else
  58. ..\..\dxvtlib\win9x\obj$(BUILD_ALT_DIR)\*\dxvt.lib \
  59. !endif
  60. $(BASEDIR)\public\sdk\lib\*\msvcrt.lib
  61. #
  62. # The INCLUDES variable specifies any include paths that are specific to
  63. # this source directory. Separate multiple directory paths with single
  64. # semicolons. Relative path specifications are okay.
  65. #
  66. INCLUDES=.;$(DXROOT)\inc;..\..\dxvtlib;..\..\..\dnet\common;..\..\inc;..\..\dxvoice;..\..\dxvutils;$(DXROOT)\private\inc
  67. #
  68. # The SOURCES variable is defined by the developer. It is a list of all the
  69. # source files for this component. Each source file should be on a separate
  70. # line using the line continuation character. This will minimize merge
  71. # conflicts if two developers adding source files to the same component.
  72. #
  73. SOURCES= \
  74. ..\dxvt.cpp \
  75. ..\dxvt.rc
  76. #
  77. # Next specify options for the compiler.
  78. #
  79. # Note about CRT defines. When linking with MSVCRT you must have both _MT and _DLL specified.
  80. # Using the build environment's USE_MSVCRT=1 would do this for us, but because we define our
  81. # own operator new this will cause a link error because the build environment will not properly
  82. # pull in msvcrt.lib last as of 5/11/2001. Therefore, we do it all manually specifying _DLL, _MT,
  83. # and msvcrt.lib and USE_NOLIBS=1 ourselves. This also means that we must manually add msvcprt.lib
  84. # where STL is used.
  85. #
  86. C_DEFINES= $(C_DEFINES) /D_WINDOWS /DWIN32 /D_MT /D_DLL /DCINTERFACE \
  87. !if "$(VOICE_TARGET)" == "gamevoice"
  88. /DVOICE_BUILD_GAMEVOICE \
  89. !endif
  90. !if "$(CHICAGO_PRODUCT)" == ""
  91. /D_UNICODE /DUNICODE \
  92. !endif
  93. !if "$(VOICE_TARGET)" == "allegiance"
  94. /DVOICE_BUILD_ALLEGIANCE \
  95. !endif
  96. /DDIRECTSOUND_VERSION=0x0800
  97. USE_NOLIBS=1