home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / APPS / TEKST / GSPMSRC / SRC / DEVS.MAK < prev    next >
Text File  |  1993-12-16  |  28KB  |  820 lines

  1. #    Copyright (C) 1989, 1992, 1993 Aladdin Enterprises.  All rights reserved.
  2. #
  3. # This file is part of Ghostscript.
  4. #
  5. # Ghostscript is distributed in the hope that it will be useful, but
  6. # WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
  7. # to anyone for the consequences of using it or for whether it serves any
  8. # particular purpose or works at all, unless he says so in writing.  Refer
  9. # to the Ghostscript General Public License for full details.
  10. #
  11. # Everyone is granted permission to copy, modify and redistribute
  12. # Ghostscript, but only under the conditions described in the Ghostscript
  13. # General Public License.  A copy of this license is supposed to have been
  14. # given to you along with Ghostscript so you can know your rights and
  15. # responsibilities.  It should be in a file named COPYING.  Among other
  16. # things, the copyright notice and this notice must be preserved on all
  17. # copies.
  18.  
  19. # makefile for Ghostscript device drivers.
  20.  
  21. # -------------------------------- Catalog ------------------------------- #
  22.  
  23. # It is possible to build Ghostscript with an arbitrary collection of
  24. # device drivers, although some drivers are supported only on a subset
  25. # of the target platforms.  The currently available drivers are:
  26.  
  27. # Displays:
  28. #   MS-DOS EGA and VGA:
  29. #    ega    EGA (640x350, 16-color)
  30. #    vga    VGA (640x480, 16-color)
  31. #   MS-DOS SuperVGA:
  32. # +    atiw    ATI Wonder SuperVGA, 256-color modes
  33. # +     atiw16  ATI Wonder SuperVGA in 800x600, 16-color mode
  34. #    s3vga    SuperVGA with S3 86C911 chip (e.g., Diamond Stealth board)
  35. #    tseng    SuperVGA using Tseng Labs ET3000/4000 chips, 256-color modes
  36. #    tseng16  Tseng Labs SuperVGA in 800x600, 16-color mode (256K memory)
  37. # +    tvga    Trident SuperVGA, 256-color modes
  38. # +    tvga16    Trident SuperVGA in 800x600, 16-color mode (256K memory)
  39. #   ****** NOTE: The vesa device does not work with the Watcom (32-bit MS-DOS)
  40. #   ****** compiler or executable.
  41. #    vesa    SuperVGA with VESA standard API driver
  42. #   MS-DOS other:
  43. #    bgi    Borland Graphics Interface (CGA)  [MS-DOS only]
  44. # *    herc    Hercules Graphics display   [MS-DOS only]
  45. #    mswin    Microsoft Windows 3.0, 3.1  [MS Windows only]
  46. #    mswinprn  Microsoft Windows 3.0, 3.1 printer  [MS Windows only]
  47. # *    pe    Private Eye display
  48. #   Unix and VMS:
  49. #   ****** NOTE: For direct frame buffer addressing under SCO Unix or Xenix,
  50. #   ****** edit the definition of EGAVGA below.
  51. # *    att3b1    AT&T 3b1/Unixpc monochrome display   [3b1 only]
  52. # *    sonyfb    Sony Microsystems monochrome display   [Sony only]
  53. # *    sunview  SunView window system   [SunOS only]
  54. #    x11    X Windows version 11, release >=4   [Unix and VMS only]
  55. # Printers:
  56. # *    appledmp  Apple Dot Matrix Printer (should also work with Imagewriter)
  57. #    bj10e    Canon BubbleJet BJ10e
  58. # *    bj200    Canon BubbleJet BJ200
  59. # *    cdeskjet  H-P DeskJet 500C with 1 bit/pixel color
  60. # *    cdjcolor  H-P DeskJet 500C with 24 bit/pixel color and
  61. #        high-quality color (Floyd-Steinberg) dithering
  62. # *    cdjmono  H-P DeskJet 500C printing black only
  63. # *    cdj500    H-P DeskJet 500C (same as cdjcolor)
  64. # *    cdj550    H-P DeskJet 550C
  65. # *    declj250  alternate DEC LJ250 driver
  66. # +    deskjet  H-P DeskJet and DeskJet Plus
  67. # *    dfaxhigh  DigiBoard, Inc.'s DigiFAX software format (high resolution)
  68. # *    dfaxlow  DigiFAX low (normal) resolution
  69. #    djet500  H-P DeskJet 500
  70. # *    djet500c  H-P DeskJet 500C
  71. #    epson    Epson-compatible dot matrix printers (9- or 24-pin)
  72. # +    eps9high  Epson-compatible 9-pin, interleaved lines
  73. #        (triple resolution)
  74. # *    epsonc    Epson LQ-2550 and Fujitsu 3400/2400/1200 color printers
  75. # *    escp2    Epson ESC/P 2 language printers, including Stylus 800
  76. # +     ibmpro  IBM 9-pin Proprinter
  77. # *    jetp3852  IBM Jetprinter ink-jet color printer (Model #3852)
  78. # +    laserjet  H-P LaserJet
  79. # *    la50    DEC LA50 printer
  80. # *    la75    DEC LA75 printer
  81. # *    lbp8    Canon LBP-8II laser printer
  82. # *    ln03    DEC LN03 printer
  83. # *    lj250    DEC LJ250 Companion color printer
  84. # +    ljet2p    H-P LaserJet IId/IIp/III* with TIFF compression
  85. # +    ljet3    H-P LaserJet III* with Delta Row compression
  86. # +    ljet4    H-P LaserJet 4 (defaults to 600 dpi)
  87. # +    ljetplus  H-P LaserJet Plus
  88. # *    m8510    C.Itoh M8510 printer
  89. # *    necp6    NEC P6/P6+/P60 printers at 360 x 360 DPI resolution
  90. # *    nwp533  Sony Microsystems NWP533 laser printer   [Sony only]
  91. # *    oki182    Okidata MicroLine 182
  92. #    paintjet  H-P PaintJet color printer
  93. # *    pj    alternate PaintJet XL driver 
  94. # *    pjxl    H-P PaintJet XL color printer
  95. # *    pjxl300  H-P PaintJet XL300 color printer
  96. # *    r4081    Ricoh 4081 laser printer
  97. # *    sparc    SPARCprinter
  98. # *    t4693d2  Tektronix 4693d color printer, 2 bits per R/G/B component
  99. # *    t4693d4  Tektronix 4693d color printer, 4 bits per R/G/B component
  100. # *    t4693d8  Tektronix 4693d color printer, 8 bits per R/G/B component
  101. # *    tek4696  Tektronix 4695/4696 inkjet plotter
  102. # *    trufax    TruFax facsimile driver  [Unix only]
  103. # File formats and others:
  104. #    bit    A plain "bit bucket" device
  105. #    bmpmono    Monochrome MS Windows .BMP file format
  106. #    bmp16    4-bit (EGA/VGA) .BMP file format
  107. #    bmp256    8-bit (256-color) .BMP file format
  108. #    bmp16m    24-bit .BMP file format
  109. #    gifmono    Monochrome GIF file format
  110. #    gif8    8-bit color GIF file format
  111. #    pcxmono    Monochrome PCX file format
  112. #    pcxgray    8-bit gray scale PCX file format
  113. #    pcx16    Older color PCX file format (EGA/VGA, 16-color)
  114. #    pcx256    Newer color PCX file format (256-color)
  115. #    pbm    Portable Bitmap (plain format)
  116. #    pbmraw    Portable Bitmap (raw format)
  117. #    pgm    Portable Graymap (plain format)
  118. #    pgmraw    Portable Graymap (raw format)
  119. #    ppm    Portable Pixmap (plain format)
  120. #    ppmraw    Portable Pixmap (raw format)
  121. # *    tiffg3    TIFF/F (G3 fax)
  122.  
  123. # User-contributed drivers marked with * require hardware or software
  124. # that is not available to Aladdin Enterprises.  Please contact the
  125. # original contributors, not Aladdin Enterprises, if you have questions.
  126. # Contact information appears in the driver entry below.
  127. #
  128. # Drivers marked with a + are maintained by Aladdin Enterprises with
  129. # the assistance of users, since Aladdin Enterprises doesn't have access to
  130. # the hardware for these either.
  131.  
  132. # If you add drivers, it would be nice if you kept each list
  133. # in alphabetical order.
  134.  
  135. # Each platform-specific makefile contains a line of the form
  136. #    DEVICE_DEVS=<dev1>.dev ... <devn>.dev
  137. # where dev1 ... devn are the devices to be included in the build.
  138. # You may edit this line to select any desired set of devices.
  139. # dev1 will be used as the default device (unless overridden from
  140. # the command line with -sDEVICE=xxx, of course.)  If you can't fit all the
  141. # devices on a single line, you may add lines defining
  142. #    DEVICE_DEVS2=<dev21>.dev ... <dev2n>.dev
  143. #    DEVICE_DEVS3=<dev31>.dev ... <dev3n>.dev
  144. # etc. up to DEVICE_DEVS9.
  145. # Don't use continuation lines, since this may break the MS-DOS command
  146. # processor.
  147.  
  148. # ---------------------------- End of catalog ---------------------------- #
  149.  
  150. # If you want to add a new device driver, the examples below should be
  151. # enough of a guide to the correct form for the makefile rules.
  152.  
  153. # All device drivers depend on the following:
  154. GDEV=$(AK) echogs$(XE) $(gserrors_h) $(gx_h) $(gxdevice_h)
  155.  
  156. # Define the header files for device drivers.  Every header file used by
  157. # more than one device driver must be listed here.
  158. gdevpccm_h=gdevpccm.h
  159. gdevpcfb_h=gdevpcfb.h $(dos__h)
  160. gdevpcl_h=gdevpcl.h
  161. gdevsvga_h=gdevsvga.h
  162. gdevx_h=gdevx.h
  163.  
  164. ###### ------------------- MS-DOS display devices ------------------- ######
  165.  
  166. # There are really only three drivers: an EGA/VGA driver (4 bit-planes,
  167. # plane-addressed), a SuperVGA driver (8 bit-planes, byte addressed),
  168. # and a special driver for the S3 chip.
  169. # To make A4 paper the default, change the compilation line from
  170. #    $(CCD) ...
  171. # to
  172. #    $(CCD) -DA4
  173.  
  174. ### ----------------------- EGA and VGA displays ----------------------- ###
  175.  
  176. gdevegaa.$(OBJ): gdevegaa.asm
  177.  
  178. ETEST=ega.$(OBJ) $(ega_) gdevpcfb.$(OBJ) gdevegaa.$(OBJ)
  179. ega.exe: $(ETEST) libc$(MM).tr
  180.     $(COMPDIR)\tlink $(LCT) $(LO) $(LIBDIR)\c0$(MM) @ega.tr @libc$(MM).tr
  181.  
  182. ega.$(OBJ): ega.c $(GDEV)
  183.     $(CCC) -v ega.c
  184.  
  185. # The shared MS-DOS makefile defines PCFBASM as either gdevegaa.$(OBJ)
  186. # or an empty string.
  187.  
  188. # NOTE: for direct frame buffer addressing under SCO Unix or Xenix,
  189. # change gdevevga to gdevsco in the following line.
  190. EGAVGA=gdevevga.$(OBJ) gdevpcfb.$(OBJ) $(PCFBASM)
  191.  
  192. gdevevga.$(OBJ): gdevevga.c $(GDEV) $(gdevpcfb_h)
  193.     $(CCD) gdevevga.c
  194.  
  195. gdevsco.$(OBJ): gdevsco.c $(GDEV) $(gdevpcfb_h)
  196.     $(CCD) gdevsco.c
  197.  
  198. # Common code for MS-DOS and SCO.
  199. gdevpcfb.$(OBJ): gdevpcfb.c $(GDEV) $(MAKEFILE) $(gdevpcfb_h)
  200.     $(CCD) -DUSE_ASM=0$(USE_ASM) gdevpcfb.c
  201.  
  202. # The EGA/VGA family includes: EGA, VGA, and
  203. # the ATI Wonder, Tseng ET3000/4000, and Trident SuperVGA in 16-color mode.
  204.  
  205. ega.dev: $(EGAVGA)
  206.     $(SHP)gssetdev ega $(EGAVGA)
  207.  
  208. vga.dev: $(EGAVGA)
  209.     $(SHP)gssetdev vga $(EGAVGA)
  210.  
  211. atiw16.dev: $(EGAVGA)
  212.     $(SHP)gssetdev atiw16 $(EGAVGA)
  213.  
  214. tseng16.dev: $(EGAVGA)
  215.     $(SHP)gssetdev tseng16 $(EGAVGA)
  216.  
  217. tvga16.dev: $(EGAVGA)
  218.     $(SHP)gssetdev tvga16 $(EGAVGA)
  219.  
  220. ### ------------------------- SuperVGA displays ------------------------ ###
  221.  
  222. SVGA=gdevsvga.$(OBJ) $(PCFBASM)
  223.  
  224. gdevsvga.$(OBJ): gdevsvga.c $(GDEV) $(MAKEFILE) \
  225.   $(gdevpcfb_h) $(gdevsvga_h)
  226.     $(CCD) -DUSE_ASM=0$(USE_ASM) gdevsvga.c
  227.  
  228. # The SuperVGA family includes: ATI Wonder, S3, Trident, Tseng ET3000/4000,
  229. # and VESA.
  230.  
  231. atiw.dev: $(SVGA)
  232.     $(SHP)gssetdev atiw $(SVGA)
  233.  
  234. tseng.dev: $(SVGA)
  235.     $(SHP)gssetdev tseng $(SVGA)
  236.  
  237. tvga.dev: $(SVGA)
  238.     $(SHP)gssetdev tvga $(SVGA)
  239.  
  240. vesa.dev: $(SVGA)
  241.     $(SHP)gssetdev vesa $(SVGA)
  242.  
  243. # The S3 driver doesn't share much code with the others.
  244.  
  245. s3vga_=$(SVGA) gdevs3ga.$(OBJ)
  246. s3vga.dev: $(s3vga_)
  247.     $(SHP)gssetdev s3vga $(s3vga_)
  248.  
  249. gdevs3ga.$(OBJ): gdevs3ga.c $(GDEV) $(MAKEFILE) $(gdevpcfb_h) $(gdevsvga_h)
  250.     $(CCD) gdevs3ga.c
  251.  
  252. ### ------------ The BGI (Borland Graphics Interface) device ----------- ###
  253.  
  254. cgaf.$(OBJ): $(BGIDIR)\cga.bgi
  255.     $(BGIDIR)\bgiobj /F $(BGIDIR)\cga
  256.  
  257. egavgaf.$(OBJ): $(BGIDIR)\egavga.bgi
  258.     $(BGIDIR)\bgiobj /F $(BGIDIR)\egavga
  259.  
  260. # Include egavgaf.$(OBJ) for debugging only.
  261. bgi_=gdevbgi.$(OBJ) cgaf.$(OBJ)
  262. bgi.dev: $(bgi_)
  263.     $(SHP)gssetdev bgi $(bgi_)
  264.     $(SHP)gsaddmod bgi -lib $(LIBDIR)\graphics
  265.  
  266. gdevbgi.$(OBJ): gdevbgi.c $(GDEV) $(MAKEFILE) $(gxxfont_h)
  267.     $(CCC) -DBGI_LIB=$(QQ)$(BGIDIRSTR)$(QQ) gdevbgi.c
  268.  
  269. ### ------------------- The Hercules Graphics display ------------------- ###
  270.  
  271. herc_=gdevherc.$(OBJ)
  272. herc.dev: $(herc_)
  273.     $(SHP)gssetdev herc $(herc_)
  274.  
  275. gdevherc.$(OBJ): gdevherc.c $(GDEV)
  276.     $(CCC) gdevherc.c
  277.  
  278. ###### ------------------- The Private Eye display ------------------- ######
  279. ### Note: this driver was contributed by a user:                          ###
  280. ###   please contact narf@media-lab.media.mit.edu if you have questions.  ###
  281.  
  282. pe_=gdevpe.$(OBJ)
  283. pe.dev: $(pe_)
  284.     $(SHP)gssetdev pe $(pe_)
  285.  
  286. gdevpe.$(OBJ): gdevpe.c $(GDEV)
  287.  
  288. ###### ----------------- The MS-Windows 3.n display ------------------ ######
  289.  
  290. gdevmswn_h=gdevmswn.h $(GDEV) gp_mswin.h
  291.  
  292. # Choose one of gdevwddb or gdevwdib here.
  293. mswin_=gdevmswn.$(OBJ) gdevmsxf.$(OBJ) gdevwdib.$(OBJ) \
  294.   gdevemap.$(OBJ) gdevpccm.$(OBJ)
  295. mswin.dev: $(mswin_)
  296.     $(SHP)gssetdev mswin $(mswin_)
  297.  
  298. gdevmswn.$(OBJ): gdevmswn.c $(gdevmswn_h) $(gp_h) $(gpcheck_h) \
  299.   $(gsprops_h) $(gdevpccm_h)
  300.  
  301. gdevmsxf.$(OBJ): gdevmsxf.c $(ctype__h) $(math__h) $(memory__h) \
  302.   $(gdevmswn_h) $(gsutil_h) $(gxxfont_h)
  303.  
  304. # An implementation using a device-dependent bitmap.
  305. gdevwddb.$(OBJ): gdevwddb.c $(gdevmswn_h)
  306.  
  307. # An implementation using a DIB filled by an image device.
  308. gdevwdib.$(OBJ): gdevwdib.c $(dos__h) $(gdevmswn_h)
  309.  
  310. ###### ----------------- The MS-Windows 3.n printer ------------------ ######
  311.  
  312. mswinprn_=gdevwprn.$(OBJ) gdevmsxf.$(OBJ)
  313. mswinprn.dev: $(mswinprn_)
  314.     $(SHP)gssetdev mswinprn $(mswinprn_)
  315.  
  316. gdevwprn.$(OBJ): gdevwprn.c $(gdevmswn_h) $(gp_h) $(gpcheck_h) \
  317.   $(gsprops_h) $(gdevpccm_h)
  318.  
  319. ###### ----------- The AT&T 3b1 Unixpc monochrome display ------------ ######
  320. ### Note: this driver was contributed by a user: please contact           ###
  321. ###       Andy Fyfe (andy@cs.caltech.edu) if you have questions.          ###
  322.  
  323. att3b1_=gdev3b1.$(OBJ)
  324. att3b1.dev: $(att3b1_)
  325.     $(SHP)gssetdev att3b1 $(att3b1_)
  326.  
  327. gdev3b1.$(OBJ): gdev3b1.c
  328.  
  329. ###### --------------- Memory-buffered printer devices --------------- ######
  330.  
  331. # The dependency list for printers includes devs.mak because
  332. # you can specify -DA4 to make A4 paper the default.
  333. # See below under, e.g., gdevdjet.c.
  334. PDEVH=$(GDEV) $(gdevprn_h) devs.mak
  335.  
  336. gdevprn.$(OBJ): gdevprn.c $(PDEVH) $(gp_h) $(gsprops_h)
  337.  
  338. ### ------------------- The Apple DMP printer device ------------------- ###
  339.  
  340. appledmp_=gdevadmp.$(OBJ) gdevprn.$(OBJ)
  341.  
  342. appledmp.dev: $(appledmp_)
  343.     $(SHP)gssetdev appledmp $(appledmp_)
  344.  
  345. ### ------------ The Canon BubbleJet BJ10e and BJ200 devices ------------ ###
  346.  
  347. bj10e_=gdevbj10.$(OBJ) gdevprn.$(OBJ)
  348.  
  349. bj10e.dev: $(bj10e_)
  350.     $(SHP)gssetdev bj10e $(bj10e_)
  351.  
  352. bj200.dev: $(bj10e_)
  353.     $(SHP)gssetdev bj200 $(bj10e_)
  354.  
  355. gdevbj10.$(OBJ): gdevbj10.c $(PDEVH)
  356.  
  357. ### -------------------------- The DigiFAX device ----------------------- ###
  358. ###    This driver outputs images in a format suitable for use with       ###
  359. ###    DigiBoard, Inc.'s DigiFAX software.  Use -sDEVICE=dfaxhigh for     ###
  360. ###    high resolution output, -sDEVICE=dfaxlow for normal output.        ###
  361. ### Note: this driver was contributed by a user: please contact           ###
  362. ###       Rick Richardson (rick@digibd.com) if you have questions.        ###
  363.  
  364. digifax_=gdevdfax.$(OBJ) gdevprn.$(OBJ)
  365. dfaxhigh.dev: $(digifax_)
  366.     $(SHP)gssetdev dfaxhigh $(digifax_)
  367.  
  368. dfaxlow.dev: $(digifax_)
  369.     $(SHP)gssetdev dfaxlow $(digifax_)
  370.  
  371. gdevdfax.$(OBJ): gdevdfax.c $(GDEV) $(gdevprn_h) gdevdfg3.h
  372.  
  373. ### ----------- The H-P DeskJet and LaserJet printer devices ----------- ###
  374.  
  375. ### These are essentially the same device.
  376. ### You can make A4 paper the default: see below.
  377. ### NOTE: printing at full resolution (300 DPI) requires a printer
  378. ###   with at least 1.5 Mb of memory.  150 DPI only requires .5 Mb.
  379.  
  380. HPPCL=gdevprn.$(OBJ) gdevpcl.$(OBJ)
  381. HPMONO=gdevdjet.$(OBJ) $(HPPCL)
  382.  
  383. gdevpcl.$(OBJ): gdevpcl.c $(PDEVH) $(gdevpcl_h)
  384.  
  385. # To make A4 paper the default, change the second line below this to
  386. #    $(CCC) -DA4 gdevdjet.c
  387. gdevdjet.$(OBJ): gdevdjet.c $(PDEVH) $(gdevpcl_h)
  388.     $(CCC) gdevdjet.c
  389.  
  390. deskjet.dev: $(HPMONO)
  391.     $(SHP)gssetdev deskjet $(HPMONO)
  392.  
  393. djet500.dev: $(HPMONO)
  394.     $(SHP)gssetdev djet500 $(HPMONO)
  395.  
  396. laserjet.dev: $(HPMONO)
  397.     $(SHP)gssetdev laserjet $(HPMONO)
  398.  
  399. ljetplus.dev: $(HPMONO)
  400.     $(SHP)gssetdev ljetplus $(HPMONO)
  401.  
  402. ### Selecting ljet2p provides TIFF (mode 2) compression on LaserJet III,
  403. ### IIIp, IIId, IIIsi, IId, and IIp. 
  404.  
  405. ljet2p.dev: $(HPMONO)
  406.     $(SHP)gssetdev ljet2p $(HPMONO)
  407.  
  408. ### Selecting ljet3 provides Delta Row (mode 3) compression on LaserJet III,
  409. ### IIIp, IIId, IIIsi.
  410.  
  411. ljet3.dev: $(HPMONO)
  412.     $(SHP)gssetdev ljet3 $(HPMONO)
  413.  
  414. ### Selecting ljet4 also provides Delta Row compression on LaserJet IV series.
  415.  
  416. ljet4.dev: $(HPMONO)
  417.     $(SHP)gssetdev ljet4 $(HPMONO)
  418.  
  419. ###- The H-P DeskJet 500C/550C and PaintJet family color printer devices -###
  420. ### Note: there are two different 500C drivers, both contributed by users.###
  421. ###   If you have questions about the djet500c driver,                    ###
  422. ###       please contact AKayser@et.tudelft.nl.                           ###
  423. ###   If you have questions about the cdj* drivers,                       ###
  424. ###       please contact g.cameron@biomed.abdn.ac.uk.                     ###
  425.  
  426. cdeskjet_=gdevcdj.$(OBJ) $(HPPCL)
  427.  
  428. cdeskjet.dev: $(cdeskjet_)
  429.     $(SHP)gssetdev cdeskjet $(cdeskjet_)
  430.  
  431. cdjcolor.dev: $(cdeskjet_)
  432.     $(SHP)gssetdev cdjcolor $(cdeskjet_)
  433.  
  434. cdjmono.dev: $(cdeskjet_)
  435.     $(SHP)gssetdev cdjmono $(cdeskjet_)
  436.  
  437. cdj500.dev: $(cdeskjet_)
  438.     $(SHP)gssetdev cdj500 $(cdeskjet_)
  439.  
  440. cdj550.dev: $(cdeskjet_)
  441.     $(SHP)gssetdev cdj550 $(cdeskjet_)
  442.  
  443. declj250.dev: $(cdeskjet_)
  444.     $(SHP)gssetdev declj250 $(cdeskjet_)
  445.  
  446. pj.dev: $(cdeskjet_)
  447.     $(SHP)gssetdev pj $(cdeskjet_)
  448.  
  449. pjxl.dev: $(cdeskjet_)
  450.     $(SHP)gssetdev pjxl $(cdeskjet_)
  451.  
  452. pjxl300.dev: $(cdeskjet_)
  453.     $(SHP)gssetdev pjxl300 $(cdeskjet_)
  454.  
  455. # NB: you can also customise the build if required, using -DA4 (for A4 paper)
  456. # and -DBitsPerPixel=<number> if you wish the default to be other than 24
  457. # for the generic drivers (cdj500, cdj550, pjxl300, pjtest, pjxltest).
  458. # E.g,. to make A4 paper the default, change the second line below this to
  459. #    $(CCC) -DA4 gdevdjet.c
  460. gdevcdj.$(OBJ): gdevcdj.c $(PDEVH) $(gdevpcl_h)
  461.     $(CCC) gdevcdj.c
  462.  
  463. djet500c_=gdevdjtc.$(OBJ) $(HPPCL)
  464. djet500c.dev: $(djet500c_)
  465.     $(SHP)gssetdev djet500c $(djet500c_)
  466.  
  467. gdevdjtc.$(OBJ): gdevdjtc.c $(PDEVH) $(gdevpcl_h)
  468.  
  469. ### ----------------- The generic Epson printer device ----------------- ###
  470.  
  471. epson_=gdevepsn.$(OBJ) gdevprn.$(OBJ)
  472.  
  473. epson.dev: $(epson_)
  474.     $(SHP)gssetdev epson $(epson_)
  475.  
  476. eps9high.dev: $(epson_)
  477.     $(SHP)gssetdev eps9high $(epson_)
  478.  
  479. gdevepsn.$(OBJ): gdevepsn.c $(PDEVH)
  480.  
  481. ### ----------------- The IBM Proprinter printer device ---------------- ###
  482.  
  483. ibmpro.dev: $(epson_)
  484.     $(SHP)gssetdev ibmpro $(epson_)
  485.  
  486. ### -------------- The Epson LQ-2550 color printer device -------------- ###
  487. ### Note: this driver was contributed by users: please contact           ###
  488. ###       Dave St. Clair (dave@exlog.com) if you have questions.         ###
  489.  
  490. epsonc_=gdevepsc.$(OBJ) gdevprn.$(OBJ)
  491. epsonc.dev: $(epsonc_)
  492.     $(SHP)gssetdev epsonc $(epsonc_)
  493.  
  494. gdevepsc.$(OBJ): gdevepsc.c $(PDEVH)
  495.  
  496. ### -------------- The Epson ESC/P 2 language printer device ----------- ###
  497. ### Note: this driver was contributed by a user: if you have questions,  ###
  498. ###       please contact Richard Brown (rab@tauon.ph.unimelb.edu.au).    ###
  499.  
  500. escp2_=gdevescp.$(OBJ) gdevprn.$(OBJ)
  501. escp2.dev: $(escp2_)
  502.     $(SHP)gssetdev escp2 $(escp2_)
  503.  
  504. gdevescp.$(OBJ): gdevescp.c $(PDEVH)
  505.  
  506. ### ------------ The H-P PaintJet color printer device ----------------- ###
  507. ### Note: this driver also supports the DEC LJ250 color printer, which   ###
  508. ###       has a PaintJet-compatible mode, and the PaintJet XL.           ###
  509. ### If you have questions about the XL, please contact Rob Reiss         ###
  510. ###       (rob@moray.berkeley.edu).                                      ###
  511.  
  512. PJET=gdevpjet.$(OBJ) $(HPPCL)
  513.  
  514. gdevpjet.$(OBJ): gdevpjet.c $(PDEVH) $(gdevpcl_h)
  515.  
  516. lj250.dev: $(PJET)
  517.     $(SHP)gssetdev lj250 $(PJET)
  518.  
  519. paintjet.dev: $(PJET)
  520.     $(SHP)gssetdev paintjet $(PJET)
  521.  
  522. pjetxl.dev: $(PJET)
  523.     $(SHP)gssetdev pjetxl $(PJET)
  524.  
  525. ### ------- The IBM 3852 JetPrinter color inkjet printer device -------- ###
  526. ### Note: this driver was contributed by users: please contact           ###
  527. ###       Kevin Gift (kgift@draper.com) if you have questions.           ###
  528. ### Note that the paper size that can be addressed by the graphics mode  ###
  529. ###   used in this driver is fixed at 7-1/2 inches wide (the printable   ###
  530. ###   width of the jetprinter itself.)                                   ###
  531.  
  532. jetp3852_=gdev3852.$(OBJ) gdevprn.$(OBJ)
  533. jetp3852.dev: $(jetp3852_)
  534.     $(SHP)gssetdev jetp3852 $(jetp3852_)
  535.  
  536. gdevjetp.$(OBJ): gdevjetp.c $(PDEVH) $(gdevpcl_h)
  537.  
  538. ### ----------------- The Canon LBP-8II printer device ----------------- ###
  539. ### Note: this driver was contributed by users: please contact           ###
  540. ###       Tom Quinn (trq@prg.oxford.ac.uk) if you have questions.        ###
  541. ### Note that the standard paper size for this driver is the European    ###
  542. ###   A4 size, not the American 8.5" x 11" size.                         ###
  543.  
  544. lbp8_=gdevlbp8.$(OBJ) gdevprn.$(OBJ)
  545. lbp8.dev: $(lbp8_)
  546.     $(SHP)gssetdev lbp8 $(lbp8_)
  547.  
  548. gdevlbp8.$(OBJ): gdevlbp8.c $(PDEVH)
  549.  
  550. ### -------------- The DEC LN03/LA50/LA75 printer devices -------------- ###
  551. ### Note: this driver was contributed by users: please contact           ###
  552. ###       Ulrich Mueller (ulm@vsnhd1.cern.ch) if you have questions.     ###
  553. ### For questions about LA50 and LA75: please contact                    ###
  554. ###       Ian MacPhedran (macphed@dvinci.USask.CA).                     ###
  555. ### For the LN03, you can make A4 paper the default: see below.          ###
  556.  
  557. ln03_=gdevln03.$(OBJ) gdevprn.$(OBJ)
  558. ln03.dev: $(ln03_)
  559.     $(SHP)gssetdev ln03 $(ln03_)
  560.  
  561. la50.dev: $(ln03_)
  562.     $(SHP)gssetdev la50 $(ln03_)
  563.  
  564. la75.dev: $(ln03_)
  565.     $(SHP)gssetdev la75 $(ln03_)
  566.  
  567. # To make A4 paper the default, change the second line below this to
  568. #    $(CCC) -DA4 gdevln03.c
  569. gdevln03.$(OBJ): gdevln03.c $(PDEVH)
  570.     $(CCC) gdevln03.c
  571.  
  572. ### -------------- The C.Itoh M8510 printer device --------------------- ###
  573. ### Note: this driver was contributed by a user: please contact Bob      ###
  574. ###       Smith <bob@snuffy.penfield.ny.us> if you have questions.       ###
  575.  
  576. m8510_=gdev8510.$(OBJ) gdevprn.$(OBJ)
  577. m8510.dev: $(m8510_)
  578.     $(SHP)gssetdev m8510 $(m8510_)
  579.  
  580. gdev8510.$(OBJ): gdev8510.c $(PDEVH)
  581.  
  582. ### --------------------- The NEC P6 family devices -------------------- ###
  583.  
  584. necp6_=gdevnp6.$(OBJ) gdevprn.$(OBJ)
  585. necp6.dev: $(necp6_)
  586.     $(SHP)gssetdev necp6 $(necp6_)
  587.  
  588. gdevnp6.$(OBJ): gdevnp6.c $(PDEVH)
  589.  
  590. ### ----------------- The Okidata MicroLine 182 device ----------------- ###
  591. ### Note: this driver was contributed by a user: please contact          ###
  592. ###       Maarten Koning (smeg@bnr.ca) if you have questions.            ###
  593.  
  594. oki182_=gdevo182.$(OBJ) gdevprn.$(OBJ)
  595. oki182.dev: $(oki182_)
  596.     $(SHP)gssetdev oki182 $(oki182_)
  597.  
  598. gdevo182.$(OBJ): gdevo182.c $(PDEVH)
  599.  
  600. ### ------------- The Ricoh 4081 laser printer device ------------------ ###
  601. ### Note: this driver was contributed by users:                          ###
  602. ###       please contact kdw@oasis.icl.co.uk if you have questions.      ###
  603.  
  604. r4081_=gdev4081.$(OBJ) gdevprn.$(OBJ)
  605. r4081.dev: $(r4081_)
  606.     $(SHP)gssetdev r4081 $(r4081_)
  607.  
  608. gdev4081.$(OBJ): gdev4081.c $(PDEVH)
  609.  
  610. ###### ------------------------ Sony devices ------------------------ ######
  611. ### Note: these drivers were contributed by users: please contact        ###
  612. ###       Mike Smolenski (mike@intertech.com) if you have questions.     ###
  613.  
  614. ### ------------------- Sony NeWS frame buffer device ------------------ ###
  615.  
  616. sonyfb_=gdevsnfb.$(OBJ) gdevprn.$(OBJ)
  617. sonyfb.dev: $(sonyfb_)
  618.     $(SHP)gssetdev sonyfb $(sonyfb_)
  619.  
  620. gdevsnfb.$(OBJ): gdevsnfb.c $(PDEVH)
  621.  
  622. ### -------------------- Sony NWP533 printer device -------------------- ###
  623. ### Note: this driver was contributed by a user: please contact Tero     ###
  624. ###       Kivinen (kivinen@joker.cs.hut.fi) if you have questions.       ###
  625.  
  626. nwp533_=gdevn533.$(OBJ) gdevprn.$(OBJ)
  627. nwp533.dev: $(nwp533_)
  628.     $(SHP)gssetdev nwp533 $(nwp533_)
  629.  
  630. gdevn533.$(OBJ): gdevn533.c $(PDEVH)
  631.  
  632. ### ------------------------- The SPARCprinter ------------------------- ###
  633. ### Note: this driver was contributed by users: please contact Martin    ###
  634. ###       Schulte (schulte@thp.uni-koeln.de) if you have questions.      ###
  635. ###       He would also like to hear from anyone using the driver.       ###
  636. ### Please consult the source code for additional documentation.         ###
  637.  
  638. sparc_=gdevsppr.$(OBJ) gdevprn.$(OBJ)
  639. sparc.dev: $(sparc_)
  640.     $(SHP)gssetdev sparc $(sparc_)
  641.  
  642. gdevsppr.$(OBJ): gdevsppr.c $(PDEVH)
  643.  
  644. ###### --------------------- The SunView device --------------------- ######
  645. ### Note: this driver is maintained by a user: if you have questions,    ###
  646. ###       please contact Andreas Stolcke (stolcke@icsi.berkeley.edu).    ###
  647.  
  648. sunview_=gdevsun.$(OBJ)
  649. sunview.dev: $(sunview_)
  650.     $(SHP)gssetdev sunview $(sunview_)
  651.     $(SHP)gsaddmod sunview -lib suntool sunwindow pixrect
  652.  
  653. gdevsun.$(OBJ): gdevsun.c $(GDEV) $(arch_h)
  654.  
  655. ### ----------------- Tektronix 4396d color printer -------------------- ###
  656. ### Note: this driver was contributed by a user: please contact          ###
  657. ###       Karl Hakimian (hakimian@haney.eecs.wsu.edu)                    ###
  658. ###       if you have questions.                                         ###
  659.  
  660. t4693d_=gdev4693.$(OBJ) gdevprn.$(OBJ)
  661. t4693d2.dev: $(t4693d_)
  662.     $(SHP)gssetdev t4693d2 $(t4693d_)
  663.  
  664. t4693d4.dev: $(t4693d_)
  665.     $(SHP)gssetdev t4693d4 $(t4693d_)
  666.  
  667. t4693d8.dev: $(t4693d_)
  668.     $(SHP)gssetdev t4693d8 $(t4693d_)
  669.  
  670. gdev4693.$(OBJ): gdev4693.c $(GDEV)
  671.  
  672. ### -------------------- Tektronix ink-jet printers -------------------- ###
  673. ### Note: this driver was contributed by a user: please contact          ###
  674. ###       Karsten Spang (spang@nbivax.nbi.dk) if you have questions.     ###
  675.  
  676. tek4696_=gdevtknk.$(OBJ) gdevprn.$(OBJ)
  677. tek4696.dev: $(tek4696_)
  678.     $(SHP)gssetdev tek4696 $(tek4696_)
  679.  
  680. gdevtknk.$(OBJ): gdevtknk.c $(PDEVH)
  681.  
  682. ### ----------------- The TruFax facsimile device ---------------------- ###
  683. ### Note: this driver was contributed by users: please contact           ###
  684. ###       Neil Ostroff (nao@maestro.bellcore.com) if you have questions. ###
  685. ### Note that the driver requires a file encode_l.o supplied by the      ###
  686. ###   makers of the TruFax product.                                      ###
  687.  
  688. trufax_=gdevtrfx.$(OBJ) gdevprn.$(OBJ) encode_l.$(OBJ)
  689. trufax.dev: $(trufax_)
  690.     $(SHP)gssetdev trufax $(trufax_)
  691.  
  692. gdevtrfx.$(OBJ): gdevtrfx.c $(GDEV)
  693.  
  694. ###### ----------------------- The X11 device ----------------------- ######
  695.  
  696. # Aladdin Enterprises does not support Ghostview.  For more information
  697. # about Ghostview, please contact Tim Theisen (ghostview@cs.wisc.edu).
  698.  
  699. x11_=gdevx.$(OBJ) gdevxini.$(OBJ) gdevxxf.$(OBJ) gdevemap.$(OBJ)
  700. x11.dev: $(x11_)
  701.     $(SHP)gssetdev x11 $(x11_)
  702.     $(SHP)gsaddmod x11 -lib Xt X11 Xext
  703.  
  704. # See the main makefile for the definition of XINCLUDE.
  705. GDEVX=$(GDEV) x_.h gdevx.h $(MAKEFILE)
  706. gdevx.$(OBJ): gdevx.c $(GDEVX) $(gsprops_h) $(gsutil_h)
  707.     $(CCC) $(XINCLUDE) gdevx.c
  708.  
  709. gdevxini.$(OBJ): gdevxini.c $(GDEVX) $(ctype__h)
  710.     $(CCC) $(XINCLUDE) gdevxini.c
  711.  
  712. gdevxxf.$(OBJ): gdevxxf.c $(GDEVX) $(gsutil_h) $(gxxfont_h)
  713.     $(CCC) $(XINCLUDE) gdevxxf.c
  714.  
  715. ### ---------------------- The bit bucket device ----------------------- ###
  716.  
  717. bit_=gdevbit.$(OBJ) gdevprn.$(OBJ)
  718. bit.dev: $(bit_)
  719.     $(SHP)gssetdev bit $(bit_)
  720.  
  721. gdevbit.$(OBJ): gdevbit.c $(PDEVH)
  722.  
  723. ###### ----------------------- PC file formats ---------------------- ######
  724.  
  725. gdevpccm.$(OBJ): gdevpccm.c $(AK) \
  726.   $(gs_h) $(gsmatrix_h) $(gxdevice_h) $(gdevpccm_h)
  727.  
  728. ### ------------------------- .BMP file formats ------------------------- ###
  729.  
  730. bmp_=gdevbmp.$(OBJ) gdevpccm.$(OBJ) gdevprn.$(OBJ)
  731.  
  732. gdevbmp.$(OBJ): gdevbmp.c $(PDEVH) $(gdevpccm_h)
  733.  
  734. bmpmono.dev: $(bmp_)
  735.     $(SHP)gssetdev bmpmono $(bmp_)
  736.  
  737. bmp16.dev: $(bmp_)
  738.     $(SHP)gssetdev bmp16 $(bmp_)
  739.  
  740. bmp256.dev: $(bmp_)
  741.     $(SHP)gssetdev bmp256 $(bmp_)
  742.  
  743. bmp16m.dev: $(bmp_)
  744.     $(SHP)gssetdev bmp16m $(bmp_)
  745.  
  746. ### ------------------------- GIF file formats ------------------------- ###
  747.  
  748. GIF=gdevgif.$(OBJ) gdevpccm.$(OBJ) gdevprn.$(OBJ)
  749.  
  750. gdevgif.$(OBJ): gdevgif.c $(PDEVH) $(gdevpccm_h)
  751.  
  752. gifmono.dev: $(GIF)
  753.     $(SHP)gssetdev gifmono $(GIF)
  754.  
  755. gif8.dev: $(GIF)
  756.     $(SHP)gssetdev gif8 $(GIF)
  757.  
  758. ### ------------------------- PCX file formats ------------------------- ###
  759.  
  760. pcx_=gdevpcx.$(OBJ) gdevpccm.$(OBJ) gdevprn.$(OBJ)
  761.  
  762. gdevpcx.$(OBJ): gdevpcx.c $(PDEVH) $(gdevpccm_h) $(gxlum_h)
  763.  
  764. pcxmono.dev: $(pcx_)
  765.     $(SHP)gssetdev pcxmono $(pcx_)
  766.  
  767. pcxgray.dev: $(pcx_)
  768.     $(SHP)gssetdev pcxgray $(pcx_)
  769.  
  770. pcx16.dev: $(pcx_)
  771.     $(SHP)gssetdev pcx16 $(pcx_)
  772.  
  773. pcx256.dev: $(pcx_)
  774.     $(SHP)gssetdev pcx256 $(pcx_)
  775.  
  776. ###### ------------------- Portable Bitmap devices ------------------ ######
  777. ### For more information, see the pbm(5), pgm(5), and ppm(5) man pages.  ###
  778.  
  779. pxm_=gdevpbm.$(OBJ) gdevprn.$(OBJ)
  780.  
  781. gdevpbm.$(OBJ): gdevpbm.c $(PDEVH) $(gxlum_h)
  782.  
  783. ### Portable Bitmap (PBM, plain or raw format, magic numbers "P1" or "P4")
  784.  
  785. pbm.dev: $(pxm_)
  786.     $(SHP)gssetdev pbm $(pxm_)
  787.  
  788. pbmraw.dev: $(pxm_)
  789.     $(SHP)gssetdev pbmraw $(pxm_)
  790.  
  791. ### Portable Graymap (PGM, plain or raw format, magic numbers "P2" or "P5")
  792.  
  793. pgm.dev: $(pxm_)
  794.     $(SHP)gssetdev pgm $(pxm_)
  795.  
  796. pgmraw.dev: $(pxm_)
  797.     $(SHP)gssetdev pgmraw $(pxm_)
  798.  
  799. ### Portable Pixmap (PPM, plain or raw format, magic numbers "P3" or "P6")
  800.  
  801. ppm.dev: $(pxm_)
  802.     $(SHP)gssetdev ppm $(pxm_)
  803.  
  804. ppmraw.dev: $(pxm_)
  805.     $(SHP)gssetdev ppmraw $(pxm_)
  806.  
  807. ### -------------------------- TIFF/F device ---------------------------- ###
  808. ###    This driver outputs images in a TIFF format               ###
  809. ###    Use -sDEVICE=tiffg3 and                          ###
  810. ###      -r204x98 for low resolution output, or              ###
  811. ###      -r204x196 for high resolution output                  ###
  812. ###    Note also that 3 page sizes are understood: letter, A4, and B4      ###
  813. ### Note: this driver was contributed by a user: please contact           ###
  814. ###       Sam Leffler (sam@sgi.com) if you have questions.              ###
  815.  
  816. tiffg3_=gdevtiff.$(OBJ) gdevprn.$(OBJ)
  817. tiffg3.dev: $(tiffg3_)
  818.     $(SHP)gssetdev tiffg3 $(tiffg3_)
  819. gdevtiff.$(OBJ): gdevtiff.c $(GDEV) $(gdevprn_h) gdevdfg3.h gdevtiff.h
  820.