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.

61 lines
1.2 KiB

  1. !IF 0
  2. Copyright (c) 1989-2001 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. Steve Wood (stevewo) 12-Apr-1990
  12. NOTE: Commented description of this file is in \nt\bak\bin\sources.tpl
  13. !ENDIF
  14. USE_MSVCRT=1
  15. TARGETNAME=comp
  16. TARGETPATH=obj
  17. TARGETTYPE=PROGRAM
  18. LINKER_STACKCOMMITSIZE=4096
  19. MSC_WARNING_LEVEL=/W3 /WX
  20. SOURCES=..\comp.cxx ..\comp.rc
  21. INCLUDES=..\.;..\..\ulib\inc;$(DDK_INC_PATH)
  22. !IF "$(NTDEBUG)" == "cvp" || "$(NTDEBUG)" == "ntsd"
  23. !IFDEF NOMEMLEAK
  24. C_DEFINES=-DCONDITION_HANDLING=1 -DDBG=1 -DUNICODE=1
  25. !ELSE
  26. !IFDEF STACK_TRACE
  27. C_DEFINES=-DCONDITION_HANDLING=1 -DDBG=1 -DMEMLEAK -DSTACK_TRACE -DUNICODE=1
  28. !ELSE
  29. C_DEFINES=-DCONDITION_HANDLING=1 -DDBG=1 -DMEMLEAK -DUNICODE=1
  30. !ENDIF
  31. !ENDIF
  32. !ELSE # NTDEBUG
  33. C_DEFINES=-DCONDITION_HANDLING=1 -DDBG=0 -DUNICODE=1
  34. !ENDIF # NTDEBUG
  35. TARGETLIBS= \
  36. ..\..\ulib\src\$(ALT_PROJECT)\$(O)\ulib.lib \
  37. $(SDK_LIB_PATH)\ntdll.lib
  38. UMTYPE=console
  39. W32_SB=1
  40. SOURCES_USED=..\sources.inc