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.

59 lines
998 B

  1. !if 0
  2. Copyright (c) 1996 Microsoft Corporation
  3. Common stuff for all printer drivers
  4. !endif
  5. OEMDRV_ROOT=$(BASEDIR)\printscan\oem\src\print\drivers\usermode\oemdrv
  6. C_DEFINES=$(C_DEFINES) -D_UNICODE -DUNICODE
  7. INCLUDES=$(PRNROOT)\inc
  8. !ifndef SDXROOT
  9. # This block is used to build in Windows 2000 building environment
  10. # where SDXROOT is not defined
  11. WINDOWS_LIB_PATH=$(SDK_LIB_PATH)
  12. !endif
  13. !if defined(WINNT_40) # NT4 kernel-mode driver
  14. C_DEFINES=$(C_DEFINES) -DMEMDEBUG -DWINNT_40
  15. !elseif defined(KM_DRIVER) # NT5 kernel-mode driver
  16. C_DEFINES=$(C_DEFINES) -DMEMDEBUG
  17. !else # NT5 user-mode driver
  18. C_DEFINES=$(C_DEFINES) -DUSERMODE_DRIVER
  19. !endif
  20. MSC_WARNING_LEVEL=/W3 /WX
  21. !ifndef FREEBUILD
  22. # Tweak to work with NT4 makefile.def
  23. !ifdef NTDEBUG
  24. FREEBUILD=0
  25. !else
  26. FREEBUILD=1
  27. !endif
  28. !endif
  29. !ifndef AXP64
  30. AXP64=0
  31. !endif
  32. !ifdef DDKBUILD
  33. BUILD_FROM_DDK=1
  34. C_DEFINES=$(C_DEFINES) -DBUILD_FROM_DDK
  35. !endif
  36. !if defined(ADOBE)
  37. C_DEFINES=$(C_DEFINES) -DADOBE
  38. !endif