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.

68 lines
1.5 KiB

  1. !IF 0
  2. Copyright (c) 1989-2001 Microsoft Corporation
  3. Module Name:
  4. sources.inc
  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. Steve Wood (stevewo) 12-Apr-1990
  12. NOTE: Commented description of this file is in \nt\bak\bin\sources.tpl
  13. !ENDIF
  14. TARGETNAME=mode
  15. TARGETPATH=obj
  16. TARGETEXT=com
  17. TARGETTYPE=PROGRAM
  18. MSC_WARNING_LEVEL=/W3 /WX
  19. SOURCES=..\argument.cxx \
  20. ..\common.cxx \
  21. ..\com.cxx \
  22. ..\cons.cxx \
  23. ..\lpt.cxx \
  24. ..\redir.cxx \
  25. ..\support.cxx \
  26. ..\mode.cxx \
  27. ..\mode.rc
  28. INCLUDES=..\.;..\..\ulib\inc;..\..\ureg\inc;$(DDK_INC_PATH)
  29. !IF "$(NTDEBUG)" == "cvp" || "$(NTDEBUG)" == "ntsd"
  30. !IFDEF NOMEMLEAK
  31. C_DEFINES=-DCONDITION_HANDLING=1 -DDBG=1 -DUNICODE=1
  32. !ELSE
  33. !IFDEF STACK_TRACE
  34. C_DEFINES=-DCONDITION_HANDLING=1 -DDBG=1 -DMEMLEAK -DSTACK_TRACE -DUNICODE=1
  35. !ELSE
  36. C_DEFINES=-DCONDITION_HANDLING=1 -DDBG=1 -DMEMLEAK -DUNICODE=1
  37. !ENDIF
  38. !ENDIF
  39. !ELSE # NTDEBUG
  40. C_DEFINES=-DCONDITION_HANDLING=1 -DDBG=0 -DUNICODE=1
  41. !ENDIF # NTDEBUG
  42. UMLIBS=..\..\ulib\src\$(ALT_PROJECT)\$(O)\ulib.lib \
  43. ..\..\ureg\src\$(ALT_PROJECT)\$(O)\ureg.lib \
  44. $(SDK_LIB_PATH)\user32.lib \
  45. $(SDK_LIB_PATH)\ntdll.lib
  46. USE_MSVCRT=1
  47. UMTYPE=console
  48. W32_SB=1
  49. SOURCES_USED=..\sources.inc