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.

97 lines
2.0 KiB

  1. !IF 0
  2. Copyright (c) 1996-1999 Microsoft Corporation
  3. !ENDIF
  4. !ifndef PRNROOT
  5. PRNROOT=$(MAKEDIR:\unidrv2\control=)
  6. !endif
  7. !include $(PRNROOT)\print.inc
  8. MAJORCOMP=windows
  9. MINORCOMP=unidrv
  10. USE_MSVCRT=1
  11. TARGETTYPE=DYNLINK
  12. TARGETPATH=obj
  13. !IFNDEF MSC_WARNING_LEVEL
  14. MSC_WARNING_LEVEL=/W3
  15. !ENDIF
  16. MSC_WARNING_LEVEL=$(MSC_WARNING_LEVEL) /WX
  17. INCLUDES=..\inc;$(INCLUDES)
  18. C_DEFINES=$(C_DEFINES) -DKERNEL_MODE -DOEMCOM
  19. SOURCES= \
  20. data.c \
  21. physical.c \
  22. enable.c \
  23. palette.c \
  24. font.c \
  25. escape.c \
  26. textout.c \
  27. graphics.c \
  28. print.c \
  29. init.c \
  30. oemkm.c \
  31. state.c \
  32. brush.c \
  33. intfuni.cxx \
  34. unidrv.rc \
  35. TARGETLIBS=\
  36. $(PRNROOT)\lib\utils\km\$O\utils.lib \
  37. $(PRNROOT)\lib\oemutil\km\$O\oemutil.lib \
  38. $(PRNROOT)\lib\helper\km\$O\helper.lib \
  39. $(PRNROOT)\unidrv2\font\$O\font.lib \
  40. $(PRNROOT)\unidrv2\render\$O\raster.lib \
  41. $(PRNROOT)\unidrv2\vector\control\$(O)\vector.lib \
  42. $(PRNROOT)\unidrv2\vector\hpgl2col\render\$(O)\hpcclj.lib \
  43. $(PRNROOT)\unidrv2\vector\pclxl\$(O)\pclxl.lib \
  44. $(PRNROOT)\parsers\gpd\km\$O\gpd.lib \
  45. $(PRNROOT)\lib\uni\km\$(O)\unilib.lib \
  46. $(SDK_LIB_PATH)\uuid.lib
  47. !if defined(WINNT_40) || defined(KM_DRIVER)
  48. TARGETNAME=unidrv4
  49. DLLBASE=@$(COFFBASE_TXT_FILE),unidrv4
  50. TARGETTYPE=GDI_DRIVER
  51. TARGETLIBS=$(TARGETLIBS) \
  52. $(SDK_LIB_PATH)\libcntpr.lib
  53. !else # NT5 user-mode driver
  54. TARGETNAME=unidrv
  55. DLLBASE=@$(COFFBASE_TXT_FILE),rasdd
  56. TARGETTYPE=DYNLINK
  57. TARGETLIBS=$(TARGETLIBS) \
  58. $(SDK_LIB_PATH)\winspool.lib \
  59. $(SDK_LIB_PATH)\kernel32.lib \
  60. !ifndef BUILD_FROM_DDK
  61. $(WINDOWS_LIB_PATH)\umpdddi.lib \
  62. !else
  63. $(SDK_LIB_PATH)\umpdddi.lib \
  64. !endif
  65. $(SDK_LIB_PATH)\ntdll.lib
  66. USE_NOLIBS=1
  67. DLLENTRY=_DllMainCRTStartup
  68. NTPROFILEINPUT=yes
  69. !endif
  70. PRECOMPILED_INCLUDE=unidrv.h
  71. PRECOMPILED_PCH=precomp.pch
  72. PRECOMPILED_OBJ=precomp.obj