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.

74 lines
2.0 KiB

  1. !IF 0
  2. Copyright (c) 1989 Microsoft Corporation
  3. Module Name:
  4. sources.
  5. Abstract:
  6. This file specifies the target component being built and the list of
  7. sources files needed to build that component. Also specifies optional
  8. compiler switches and libraries that are unique for the component being
  9. built.
  10. Author:
  11. Lloyd Johnson (a-LloydJ) 16-Feb-98
  12. NOTE: Commented description of this file is in \nt\oak\bin\sources.tpl
  13. !ENDIF
  14. UMTYPE=windows
  15. !if "$(NTDEBUG)"!="" && "$(NTDEBUG)"!="ntsdnodbg"
  16. C_DEFINES = $(C_DEFINES) -DDEBUG
  17. !endif
  18. #PLAT_DIR = win9x
  19. #ALT_PROJECT_TARGET = win9x
  20. TARGETNAME=dp8log
  21. TARGETTYPE=PROGRAM
  22. TARGETPATH=obj
  23. UMTYPE=console
  24. UMENTRY=main
  25. #
  26. # 04/11/2000 - allows for addition of BoundsChecker, etc
  27. # libs specified in the OS environment
  28. #
  29. TARGETLIBS=$(TARGETLIBS) \
  30. $(BASEDIR)\public\sdk\lib\*\user32.lib \
  31. $(BASEDIR)\public\sdk\lib\*\kernel32.lib \
  32. $(BASEDIR)\public\sdk\lib\*\gdi32.lib \
  33. $(BASEDIR)\public\sdk\lib\*\user32.lib \
  34. $(BASEDIR)\public\sdk\lib\*\advapi32.lib \
  35. $(BASEDIR)\public\sdk\lib\*\version.lib \
  36. $(BASEDIR)\public\sdk\lib\*\shell32.lib \
  37. $(BASEDIR)\public\sdk\lib\*\comctl32.lib \
  38. $(BASEDIR)\public\sdk\lib\*\ole32.lib \
  39. $(BASEDIR)\public\sdk\lib\*\shlwapi.lib \
  40. $(BASEDIR)\public\sdk\lib\*\msvcrt.lib
  41. INCLUDES=..\..\..\common;$(DXROOT)\inc;$(DXROOT)\setup\public\sdk\inc
  42. SOURCES=..\dp8log.cpp \
  43. ..\dp8log.rc
  44. MISCFILES=..\dp8log.txt
  45. # Note about CRT defines. When linking with MSVCRT you must have both _MT and _DLL specified.
  46. # Using the build environment's USE_MSVCRT=1 would do this for us, but because we define our
  47. # own operator new this will cause a link error because the build environment will not properly
  48. # pull in msvcrt.lib last as of 5/11/2001. Therefore, we do it all manually specifying _DLL, _MT,
  49. # and msvcrt.lib and USE_NOLIBS=1 ourselves. This also means that we must manually add msvcprt.lib
  50. # where STL is used.
  51. #
  52. C_DEFINES= $(C_DEFINES) /D_CONSOLE /DWIN32 /D_MT /D_DLL
  53. USE_NOLIBS=1