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.

116 lines
3.5 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=$(DPVOICE_BUILD_FILENAME_DPVHELP)
  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. !if "$(DPLAY_PCH)" != "off"
  27. PRECOMPILED_CXX=1
  28. PRECOMPILED_INCLUDE=..\dxvhelppch.h
  29. PRECOMPILED_PCH=dxvhelppch.pch
  30. PRECOMPILED_OBJ=dxvhelppch.obj
  31. !endif
  32. #
  33. # The TARGETLIBS specifies additional libraries to link with you target
  34. # image. Each library path specification should contain an asterisk (*)
  35. # where the machine specific subdirectory name should go.
  36. #
  37. #
  38. # 04/10/2000 - allows for addition of BoundsChecker, etc
  39. # libs specified in the OS environment
  40. #
  41. TARGETLIBS=$(TARGETLIBS) \
  42. ..\..\guids\obj$(BUILD_ALT_DIR)\*\guids.lib \
  43. ..\..\..\dnet\common\obj$(BUILD_ALT_DIR)\*\common.lib \
  44. ..\..\dpvxlib\obj$(BUILD_ALT_DIR)\*\dpvxlib.lib \
  45. $(BASEDIR)\public\sdk\lib\*\comctl32.lib \
  46. $(BASEDIR)\public\sdk\lib\*\kernel32.lib \
  47. $(BASEDIR)\public\sdk\lib\*\user32.lib \
  48. $(BASEDIR)\public\sdk\lib\*\gdi32.lib \
  49. $(BASEDIR)\public\sdk\lib\*\winmm.lib \
  50. $(BASEDIR)\public\sdk\lib\*\msacm32.lib \
  51. $(BASEDIR)\public\sdk\lib\*\advapi32.lib \
  52. $(BASEDIR)\public\sdk\lib\*\ole32.lib \
  53. $(BASEDIR)\public\sdk\lib\*\uuid.lib \
  54. $(BASEDIR)\public\sdk\lib\*\msvcrt.lib
  55. #
  56. # The INCLUDES variable specifies any include paths that are specific to
  57. # this source directory. Separate multiple directory paths with single
  58. # semicolons. Relative path specifications are okay.
  59. #
  60. INCLUDES=..\..\inc;$(DXROOT)\inc;..\..\..\dnet\common;..\..\dpvxlib;..\
  61. #
  62. # The SOURCES variable is defined by the developer. It is a list of all the
  63. # source files for this component. Each source file should be on a separate
  64. # line using the line continuation character. This will minimize merge
  65. # conflicts if two developers adding source files to the same component.
  66. #
  67. SOURCES=..\dxvhelp.cpp \
  68. ..\hostdlg.cpp \
  69. ..\conndlg.cpp \
  70. ..\misc.cpp \
  71. ..\maindlg.cpp \
  72. ..\voice.cpp \
  73. ..\snddlg.cpp \
  74. ..\dxvhelp.rc
  75. #
  76. # Next specify options for the compiler.
  77. #
  78. # Note about CRT defines. When linking with MSVCRT you must have both _MT and _DLL specified.
  79. # Using the build environment's USE_MSVCRT=1 would do this for us, but because we define our
  80. # own operator new this will cause a link error because the build environment will not properly
  81. # pull in msvcrt.lib last as of 5/11/2001. Therefore, we do it all manually specifying _DLL, _MT,
  82. # and msvcrt.lib and USE_NOLIBS=1 ourselves. This also means that we must manually add msvcprt.lib
  83. # where STL is used.
  84. #
  85. C_DEFINES= $(C_DEFINES) /D_WINDOWS /DWIN32 /D_MT /D_DLL \
  86. !if "$(VOICE_TARGET)" == "gamevoice"
  87. /DVOICE_BUILD_GAMEVOICE \
  88. !endif
  89. !if "$(VOICE_TARGET)" == "allegiance"
  90. /DVOICE_BUILD_ALLEGIANCE \
  91. !endif
  92. /DDIRECTSOUND_VERSION=0x0800
  93. USE_NOLIBS=1
  94. USE_NATIVE_EH=1