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.

52 lines
1.3 KiB

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