Leaked source code of windows server 2003
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.

33 lines
1.2 KiB

  1. #
  2. # This file defines settings that are global to all DirectPlay desktop builds
  3. #
  4. #
  5. # CRT Defines
  6. #
  7. # Note about CRT defines. When linking with MSVCRT you must have both _MT and _DLL specified.
  8. # Using the build environment's USE_MSVCRT=1 would do this for us, but because we define our
  9. # own operator new this will cause a link error because the build environment will not properly
  10. # pull in msvcrt.lib last as of 5/11/2001. Therefore, we do it all manually specifying _DLL, _MT,
  11. # and msvcrt.lib and USE_NOLIBS=1 ourselves. This also means that we must manually add msvcprt.lib
  12. # where STL is used.
  13. #
  14. C_DEFINES=$(C_DEFINES) /D_MT /D_DLL
  15. USE_NOLIBS=1
  16. DLLENTRY=_DllMainCRTStartup
  17. #
  18. # Specify libraries that to link against. Note that msvcrt.lib must be last as explained below
  19. # in the CRT note in sources.desktop.
  20. #
  21. TARGETLIBS=$(TARGETLIBS) \
  22. $(BASEDIR)\public\sdk\lib\*\uuid.lib \
  23. $(BASEDIR)\public\sdk\lib\*\wsock32.lib \
  24. $(BASEDIR)\public\sdk\lib\*\kernel32.lib \
  25. $(BASEDIR)\public\sdk\lib\*\user32.lib \
  26. $(BASEDIR)\public\sdk\lib\*\winmm.lib \
  27. $(BASEDIR)\public\sdk\lib\*\advapi32.lib \
  28. $(BASEDIR)\public\sdk\lib\*\ole32.lib \
  29. $(BASEDIR)\public\sdk\lib\*\msvcrt.lib