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.

101 lines
3.2 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=dp8parse
  14. DLLDEF=..\DPlay8Parser.def
  15. UMTYPE=windows
  16. #
  17. # The TARGETPATH and TARGETTYPE variables are defined by the developer.
  18. # The first specifies where the target is to be build. The second specifies
  19. # the type of target (either PROGRAM, DYNLINK, LIBRARY, DRIVER, etc
  20. # UMAPPL_NOLIB is used when you're only building user-mode
  21. # apps and don't need to build a library.
  22. #
  23. TARGETPATH=obj
  24. TARGETTYPE=DYNLINK
  25. #
  26. # The TARGETLIBS specifies additional libraries to link with you target
  27. # image. Each library path specification should contain an asterisk (*)
  28. # where the machine specific subdirectory name should go.
  29. #
  30. #
  31. # 04/10/2000 - allows for addition of BoundsChecker, etc
  32. # libs specified in the OS environment
  33. #
  34. TARGETLIBS=$(TARGETLIBS) \
  35. $(BASEDIR)\public\sdk\lib\*\kernel32.lib \
  36. $(BASEDIR)\public\sdk\lib\*\user32.lib \
  37. $(BASEDIR)\public\sdk\lib\*\gdi32.lib \
  38. $(BASEDIR)\public\sdk\lib\*\nmapi.lib \
  39. $(BASEDIR)\public\sdk\lib\*\advapi32.lib \
  40. $(BASEDIR)\public\sdk\lib\*\ole32.lib \
  41. $(BASEDIR)\public\sdk\lib\*\uuid.lib \
  42. $(BASEDIR)\public\sdk\lib\*\msvcrt.lib \
  43. $(BASEDIR)\public\sdk\lib\*\msvcprt.lib
  44. !if "$(NTDEBUG)" == "ntsd" || "$(NTDEBUG)" == "cvp" || "$(NTDEBUG)" == "sym"
  45. C_DEFINES=$(C_DEFINES) /DDEBUG /D_DEBUG
  46. !endif
  47. #
  48. # The INCLUDES variable specifies any include paths that are specific to
  49. # this source directory. Separate multiple directory paths with single
  50. # semicolons. Relative path specifications are okay.
  51. #
  52. INCLUDES=$(DXROOT)\inc;..\..\..\dnet\inc;..\..\..\dnet\common; \
  53. ..\..\..\dnet\core;..\..\..\dnet\sp\wsock;..\..\..\dnet\protocol; \
  54. ..\..\..\dvoice\dxvoice;..\..\..\dvoice\inc;$(BASEDIR)\public\sdk\inc\atl30
  55. #
  56. # The SOURCES variable is defined by the developer. It is a list of all the
  57. # source files for this component. Each source file should be on a separate
  58. # line using the line continuation character. This will minimize merge
  59. # conflicts if two developers adding source files to the same component.
  60. #
  61. SOURCES= DPlay8Parser.cpp\
  62. SessionParser.cpp\
  63. SPParser.cpp\
  64. TransportParser.cpp\
  65. VoiceParser.cpp\
  66. dp8parse.rc
  67. #
  68. # Next specify options for the compiler.
  69. #
  70. # Note about CRT defines. When linking with MSVCRT you must have both _MT and _DLL specified.
  71. # Using the build environment's USE_MSVCRT=1 would do this for us, but because we define our
  72. # own operator new this will cause a link error because the build environment will not properly
  73. # pull in msvcrt.lib last as of 5/11/2001. Therefore, we do it all manually specifying _DLL, _MT,
  74. # and msvcrt.lib and USE_NOLIBS=1 ourselves. This also means that we must manually add msvcprt.lib
  75. # where STL is used.
  76. #
  77. C_DEFINES= $(C_DEFINES) /D_USRDLL /DWIN32 /D_MT /D_DLL /DDPLAYPARSER_EXPORTS
  78. USE_NOLIBS=1
  79. USE_NATIVE_EH=1
  80. DLLENTRY=_DllMainCRTStartup