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.

56 lines
1.3 KiB

  1. # TARGETPATH=..\..\bin
  2. TARGETPATH=obj
  3. # TARGETPATHLIB=$(BASEDIR)\public\sdk\lib
  4. SOURCES=..\patchapi.c \
  5. ..\patchlzx.c \
  6. ..\pestuff.c \
  7. ..\redblack.c \
  8. ..\misc.c \
  9. ..\md5.c
  10. INCLUDES=..;..\..\lzx\encoder;..\..\lzx\decoder
  11. #
  12. # Turn off precompiled headers for now since VC6 causes a "PchSym"
  13. # object to wind up in the binary's .data section. Well we don't otherwise
  14. # have a .data section, so this "PchSym" essentially costs a whole
  15. # page of address space. If VC6 is fixed, or if using another
  16. # compiler, can turn precompiled headers back on.
  17. #
  18. # PRECOMPILED_INCLUDE=..\precomp.h
  19. # PRECOMPILED_PCH=precomp.pch
  20. # PRECOMPILED_OBJ=precomp.obj
  21. #
  22. # Even though we're building DLLs here, we don't want to use MSVCRT.DLL
  23. # because that file doesn't exist on standard Win95 systems. Instead we'll
  24. # use LIBCMT.LIB to drag in the few things we need from the CRT such as
  25. # memmove and alloca support.
  26. #
  27. USE_LIBCMT=1
  28. #
  29. # But, if we're building test or debug versions, which need printf support,
  30. # we'll use MSVCRT.DLL instead.
  31. #
  32. !IFDEF TESTCODE
  33. C_DEFINES=$(C_DEFINES) -DTESTCODE=$(TESTCODE)
  34. USE_LIBCMT=
  35. USE_CRTDLL=1
  36. !ENDIF
  37. !IFDEF DEBUG
  38. C_DEFINES=$(C_DEFINES) -DDEBUG=$(DEBUG)
  39. USE_LIBCMT=
  40. USE_CRTDLL=1
  41. !ENDIF
  42. NO_NTDLL=1
  43. MSC_WARNING_LEVEL=/W4
  44. # MSC_OPTIMIZATION=/Od