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.

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