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.

66 lines
1.4 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=format
  15. TARGETPATH=obj
  16. TARGETEXT=com
  17. TARGETTYPE=PROGRAM
  18. MSC_WARNING_LEVEL=/W3 /WX
  19. SOURCES=..\parse.cxx ..\format.cxx ..\format.rc
  20. INCLUDES=..\.;..\..\ulib\inc;..\..\ifsutil\inc;$(DDK_INC_PATH)
  21. !IF "$(NTDEBUG)" == "cvp" || "$(NTDEBUG)" == "ntsd"
  22. !IFDEF NOMEMLEAK
  23. C_DEFINES=-DCONDITION_HANDLING=1 -DDBG=1 -DUNICODE=1
  24. !ELSE
  25. !IFDEF STACK_TRACE
  26. C_DEFINES=-DCONDITION_HANDLING=1 -DDBG=1 -DMEMLEAK -DSTACK_TRACE -DUNICODE=1
  27. !ELSE
  28. C_DEFINES=-DCONDITION_HANDLING=1 -DDBG=1 -DMEMLEAK -DUNICODE=1
  29. !ENDIF
  30. !ENDIF
  31. !ELSE # NTDEBUG
  32. C_DEFINES=-DCONDITION_HANDLING=1 -DDBG=0 -DUNICODE=1
  33. !ENDIF # NTDEBUG
  34. #
  35. # This allow W2K utils to run under NT4 for temporary use. Not intend for release.
  36. #
  37. !IF defined(UTILS_RUN_ON_NT4)
  38. C_DEFINES=$(C_DEFINES) /DRUN_ON_NT4
  39. !ENDIF
  40. TARGETLIBS= \
  41. ..\..\ulib\src\$(ALT_PROJECT)\$(O)\ulib.lib \
  42. ..\..\ifsutil\src\$(ALT_PROJECT)\$(O)\ifsutil.lib \
  43. $(SDK_LIB_PATH)\ntdll.lib
  44. UMTYPE=console
  45. W32_SB=1
  46. SOURCES_USED=..\sources.inc
  47. USE_MSVCRT=1