devs.mak 52 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341
  1. # Copyright (C) 1989, 2000 Aladdin Enterprises. All rights reserved.
  2. #
  3. # This file is part of AFPL Ghostscript.
  4. #
  5. # AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND. No author or
  6. # distributor accepts any responsibility for the consequences of using it, or
  7. # for whether it serves any particular purpose or works at all, unless he or
  8. # she says so in writing. Refer to the Aladdin Free Public License (the
  9. # "License") for full details.
  10. #
  11. # Every copy of AFPL Ghostscript must include a copy of the License, normally
  12. # in a plain ASCII text file named PUBLIC. The License grants you the right
  13. # to copy, modify and redistribute AFPL Ghostscript, but only under certain
  14. # conditions described in the License. Among other things, the License
  15. # requires that the copyright notice and this notice be preserved on all
  16. # copies.
  17. # $Id: devs.mak,v 1.47.2.2 2002/02/01 05:31:26 raph Exp $
  18. # makefile for Aladdin's device drivers.
  19. # Define the name of this makefile.
  20. DEVS_MAK=$(GLSRC)devs.mak
  21. # All device drivers depend on the following:
  22. GDEVH=$(gserrors_h) $(gx_h) $(gxdevice_h)
  23. GDEV=$(AK) $(ECHOGS_XE) $(GDEVH)
  24. ###### --------------------------- Overview -------------------------- ######
  25. # It is possible to build Ghostscript with an arbitrary collection of device
  26. # drivers, although some drivers are supported only on a subset of the
  27. # target platforms.
  28. # The catalog in this file, devs.mak, lists all the drivers that were
  29. # written by Aladdin, or by people working closely with Aladdin, and for
  30. # which Aladdin is willing to take problem reports (although since
  31. # Ghostscript is provided with NO WARRANTY and NO SUPPORT, we can't promise
  32. # that we'll solve your problem). Another file, contrib.mak, lists all the
  33. # drivers contributed by other people that are distributed by Aladdin with
  34. # Ghostscript. Note in particular that all drivers for color inkjets and
  35. # other non-PostScript-capable color printers are in contrib.mak.
  36. # If you haven't configured Ghostscript before, or if you want to add a
  37. # driver that that isn't included in the catalogs (for which you have the
  38. # source code), we suggest you skip to the "End of catalog" below and read
  39. # the documentation there before continuing.
  40. ###### --------------------------- Catalog -------------------------- ######
  41. # MS-DOS displays (note: not usable with Desqview/X):
  42. # MS-DOS EGA and VGA:
  43. # ega EGA (640x350, 16-color)
  44. # vga VGA (640x480, 16-color)
  45. # MS-DOS SuperVGA:
  46. # * ali SuperVGA using Avance Logic Inc. chipset, 256-color modes
  47. # * atiw ATI Wonder SuperVGA, 256-color modes
  48. # * cirr SuperVGA using Cirrus Logic CL-GD54XX chips, 256-color modes
  49. # * s3vga SuperVGA using S3 86C911 chip (e.g., Diamond Stealth board)
  50. # svga16 Generic SuperVGA in 800x600, 16-color mode
  51. # * tseng SuperVGA using Tseng Labs ET3000/4000 chips, 256-color modes
  52. # * tvga SuperVGA using Trident chipset, 256-color modes
  53. # ****** NOTE: The vesa device does not work with the Watcom (32-bit MS-DOS)
  54. # ****** compiler or executable.
  55. # vesa SuperVGA with VESA standard API driver
  56. # Other displays:
  57. # display For use on any platform that supports DLLs
  58. # MS Windows:
  59. # mswindll Microsoft Windows 3.1 DLL [MS Windows only]
  60. # mswinprn Microsoft Windows 3.0, 3.1 DDB printer [MS Windows only]
  61. # mswinpr2 Microsoft Windows 3.0, 3.1 DIB printer [MS Windows only]
  62. # OS/2:
  63. # * os2pm OS/2 Presentation Manager [OS/2 only]
  64. # * os2dll OS/2 DLL bitmap [OS/2 only]
  65. # * os2prn OS/2 printer [OS/2 only]
  66. # Unix and VMS:
  67. # ****** NOTE: For direct frame buffer addressing under SCO Unix or Xenix,
  68. # ****** edit the definition of EGAVGA below.
  69. # * lvga256 Linux vgalib, 256-color VGA modes [Linux only]
  70. # + vgalib Linux vgalib, 16-color VGA modes [Linux only]
  71. # x11 X Windows version 11, release >=4 [Unix and VMS only]
  72. # x11alpha X Windows masquerading as a device with alpha capability
  73. # x11cmyk X Windows masquerading as a 1-bit-per-plane CMYK device
  74. # x11cmyk2 X Windows as a 2-bit-per-plane CMYK device
  75. # x11cmyk4 X Windows as a 4-bit-per-plane CMYK device
  76. # x11cmyk8 X Windows as an 8-bit-per-plane CMYK device
  77. # x11gray2 X Windows as a 2-bit gray-scale device
  78. # x11gray4 X Windows as a 4-bit gray-scale device
  79. # x11mono X Windows masquerading as a black-and-white device
  80. # x11rg16x X Windows with G5/B5/R6 pixel layout for testing.
  81. # x11rg32x X Windows with G11/B10/R11 pixel layout for testing.
  82. # Printers:
  83. # + atx23 Practical Automation ATX-23 label printer
  84. # + atx24 Practical Automation ATX-24 label printer
  85. # + atx38 Practical Automation ATX-38 label printer
  86. # + deskjet H-P DeskJet and DeskJet Plus
  87. # djet500 H-P DeskJet 500; use -r600 for DJ 600 series
  88. # + fs600 Kyocera FS-600 (600 dpi)
  89. # + laserjet H-P LaserJet
  90. # + ljet2p H-P LaserJet IId/IIp/III* with TIFF compression
  91. # + ljet3 H-P LaserJet III* with Delta Row compression
  92. # + ljet3d H-P LaserJet IIID with duplex capability
  93. # + ljet4 H-P LaserJet 4 (defaults to 600 dpi)
  94. # + ljet4d H-P LaserJet 4 (defaults to 600 dpi) with duplex
  95. # + ljetplus H-P LaserJet Plus
  96. # lj5mono H-P LaserJet 5 & 6 family (PCL XL), bitmap:
  97. # see below for restrictions & advice
  98. # lj5gray H-P LaserJet 5 & 6 family, gray-scale bitmap;
  99. # see below for restrictions & advice
  100. # * lp2563 H-P 2563B line printer
  101. # * oce9050 OCE 9050 printer
  102. # (pxlmono) H-P black-and-white PCL XL printers (LaserJet 5 and 6 family)
  103. # (pxlcolor) H-P color PCL XL printers (e.g. Color LaserJet 4500)
  104. # Fax file format:
  105. # ****** NOTE: all of these drivers normally adjust the page size to match
  106. # ****** one of the three CCITT standard sizes (U.S. letter with A4 width,
  107. # ****** A4, or B4). To suppress this, use -dAdjustWidth=0.
  108. # faxg3 Group 3 fax, with EOLs but no header or EOD
  109. # faxg32d Group 3 2-D fax, with EOLs but no header or EOD
  110. # faxg4 Group 4 fax, with EOLs but no header or EOD
  111. # tiffcrle TIFF "CCITT RLE 1-dim" (= Group 3 fax with no EOLs)
  112. # tiffg3 TIFF Group 3 fax (with EOLs)
  113. # tiffg32d TIFF Group 3 2-D fax
  114. # tiffg4 TIFF Group 4 fax
  115. # High-level file formats:
  116. # epswrite EPS output (like PostScript Distillery)
  117. # pdfwrite PDF output (like Adobe Acrobat Distiller)
  118. # pswrite PostScript output (like PostScript Distillery)
  119. # pxlmono Black-and-white PCL XL
  120. # pxlcolor Color PCL XL
  121. # Other raster file formats and devices:
  122. # bit Plain bits, monochrome
  123. # bitrgb Plain bits, RGB
  124. # bitcmyk Plain bits, CMYK
  125. # bmpmono Monochrome MS Windows .BMP file format
  126. # bmpgray 8-bit gray .BMP file format
  127. # bmpsep1 Separated 1-bit CMYK .BMP file format, primarily for testing
  128. # bmpsep8 Separated 8-bit CMYK .BMP file format, primarily for testing
  129. # bmp16 4-bit (EGA/VGA) .BMP file format
  130. # bmp256 8-bit (256-color) .BMP file format
  131. # bmp16m 24-bit .BMP file format
  132. # bmp32b 32-bit pseudo-.BMP file format
  133. # cgmmono Monochrome (black-and-white) CGM -- LOW LEVEL OUTPUT ONLY
  134. # cgm8 8-bit (256-color) CGM -- DITTO
  135. # cgm24 24-bit color CGM -- DITTO
  136. # jpeg JPEG format, RGB output
  137. # jpeggray JPEG format, gray output
  138. # miff24 ImageMagick MIFF format, 24-bit direct color, RLE compressed
  139. # pcxmono PCX file format, monochrome (1-bit black and white)
  140. # pcxgray PCX file format, 8-bit gray scale
  141. # pcx16 PCX file format, 4-bit planar (EGA/VGA) color
  142. # pcx256 PCX file format, 8-bit chunky color
  143. # pcx24b PCX file format, 24-bit color (3 8-bit planes)
  144. # pcxcmyk PCX file format, 4-bit chunky CMYK color
  145. # pbm Portable Bitmap (plain format)
  146. # pbmraw Portable Bitmap (raw format)
  147. # pgm Portable Graymap (plain format)
  148. # pgmraw Portable Graymap (raw format)
  149. # pgnm Portable Graymap (plain format), optimizing to PBM if possible
  150. # pgnmraw Portable Graymap (raw format), optimizing to PBM if possible
  151. # pnm Portable Pixmap (plain format) (RGB), optimizing to PGM or PBM
  152. # if possible
  153. # pnmraw Portable Pixmap (raw format) (RGB), optimizing to PGM or PBM
  154. # if possible
  155. # ppm Portable Pixmap (plain format) (RGB)
  156. # ppmraw Portable Pixmap (raw format) (RGB)
  157. # pkm Portable inKmap (plain format) (4-bit CMYK => RGB)
  158. # pkmraw Portable inKmap (raw format) (4-bit CMYK => RGB)
  159. # pksm Portable Separated map (plain format) (4-bit CMYK => 4 pages)
  160. # pksmraw Portable Separated map (raw format) (4-bit CMYK => 4 pages)
  161. # * plan9bm Plan 9 bitmap format
  162. # pngmono Monochrome Portable Network Graphics (PNG)
  163. # pnggray 8-bit gray Portable Network Graphics (PNG)
  164. # png16 4-bit color Portable Network Graphics (PNG)
  165. # png256 8-bit color Portable Network Graphics (PNG)
  166. # png16m 24-bit color Portable Network Graphics (PNG)
  167. # psmono PostScript (Level 1) monochrome image
  168. # psgray PostScript (Level 1) 8-bit gray image
  169. # psrgb PostScript (Level 2) 24-bit color image
  170. # tiff12nc TIFF 12-bit RGB, no compression
  171. # tiff24nc TIFF 24-bit RGB, no compression (NeXT standard format)
  172. # tifflzw TIFF LZW (tag = 5) (monochrome)
  173. # tiffpack TIFF PackBits (tag = 32773) (monochrome)
  174. # Note that MS Windows-specific drivers are defined in pcwin.mak, not here,
  175. # because they have special compilation requirements that require defining
  176. # parameter macros not relevant to other platforms; the OS/2-specific
  177. # drivers are there too, because they share some definitions.
  178. # User-contributed drivers marked with * require hardware or software
  179. # that is not available to Aladdin Enterprises. Please contact the
  180. # original contributors, not Aladdin Enterprises, if you have questions.
  181. # Contact information appears in the driver entry below.
  182. #
  183. # Drivers marked with a + are maintained by Aladdin Enterprises with
  184. # the assistance of users, since Aladdin Enterprises doesn't have access to
  185. # the hardware for these either.
  186. # If you add drivers, it would be nice if you kept each list
  187. # in alphabetical order.
  188. ###### ----------------------- End of catalog ----------------------- ######
  189. # As noted in gs.mak, DEVICE_DEVS and DEVICE_DEVS1..15 select the devices
  190. # that should be included in a given configuration. By convention, these
  191. # are used as follows. Each of these must be limited to about 6 devices
  192. # so as not to overflow the 120 character limit on MS-DOS command lines.
  193. # DEVICE_DEVS - the default device, and any display devices.
  194. # DEVICE_DEVS1 - additional display devices if needed.
  195. # DEVICE_DEVS2 - dot matrix printers.
  196. # DEVICE_DEVS3 - H-P monochrome printers.
  197. # DEVICE_DEVS4 - H-P color printers.
  198. # DEVICE_DEVS5 - additional H-P printers if needed.
  199. # DEVICE_DEVS6 - other ink-jet and laser printers.
  200. # DEVICE_DEVS7 - fax file formats.
  201. # DEVICE_DEVS8 - PCX file formats.
  202. # DEVICE_DEVS9 - PBM/PGM/PPM file formats.
  203. # DEVICE_DEVS10 - black-and-white TIFF file formats.
  204. # DEVICE_DEVS11 - BMP and color TIFF file formats.
  205. # DEVICE_DEVS12 - PostScript image and 'bit' file formats.
  206. # DEVICE_DEVS13 - PNG file formats.
  207. # DEVICE_DEVS14 - CGM, JPEG, and MIFF file formats.
  208. # DEVICE_DEVS15 - high-level (PostScript and PDF) file formats.
  209. # DEVICE_DEVS16 - (overflow for PC platforms)
  210. # DEVICE_DEVS17 - (ditto)
  211. # DEVICE_DEVS18 - (ditto)
  212. # DEVICE_DEVS19 - (ditto)
  213. # DEVICE_DEVS20 - (ditto)
  214. # Feel free to disregard this convention if it gets in your way.
  215. # If you want to add a new device driver, the examples below should be
  216. # enough of a guide to the correct form for the makefile rules.
  217. # Note that all drivers other than displays must include page.dev in their
  218. # dependencies and use $(SETPDEV) rather than $(SETDEV) in their rule bodies.
  219. # "Printer" drivers depend on the following:
  220. PDEVH=$(AK) $(gdevprn_h)
  221. # Define the header files for device drivers. Every header file used by
  222. # more than one device driver family must be listed here.
  223. gdev8bcm_h=$(GLSRC)gdev8bcm.h
  224. gdevcbjc_h=$(GLSRC)gdevcbjc.h $(stream_h)
  225. gdevdcrd_h=$(GLSRC)gdevdcrd.h
  226. gdevpccm_h=$(GLSRC)gdevpccm.h
  227. gdevpcfb_h=$(GLSRC)gdevpcfb.h $(dos__h)
  228. gdevpcl_h=$(GLSRC)gdevpcl.h
  229. gdevpsu_h=$(GLSRC)gdevpsu.h
  230. gdevsvga_h=$(GLSRC)gdevsvga.h
  231. # Out of order
  232. gdevdljm_h=$(GLSRC)gdevdljm.h $(gdevpcl_h)
  233. ###### ----------------------- Device support ----------------------- ######
  234. # Implement dynamic color management for 8-bit mapped color displays.
  235. $(GLOBJ)gdev8bcm.$(OBJ) : $(GLSRC)gdev8bcm.c $(AK)\
  236. $(gx_h) $(gxdevice_h) $(gdev8bcm_h)
  237. $(GLCC) $(GLO_)gdev8bcm.$(OBJ) $(C_) $(GLSRC)gdev8bcm.c
  238. # PC display color mapping
  239. $(GLOBJ)gdevpccm.$(OBJ) : $(GLSRC)gdevpccm.c $(AK)\
  240. $(gx_h) $(gsmatrix_h) $(gxdevice_h) $(gdevpccm_h)
  241. $(GLCC) $(GLO_)gdevpccm.$(OBJ) $(C_) $(GLSRC)gdevpccm.c
  242. # Generate Canon BJC command sequences.
  243. $(GLOBJ)gdevcbjc.$(OBJ) : $(GLSRC)gdevcbjc.c $(AK)\
  244. $(std_h) $(stream_h) $(gdevcbjc_h)
  245. $(GLCC) $(GLO_)gdevcbjc.$(OBJ) $(C_) $(GLSRC)gdevcbjc.c
  246. # Provide a sample device CRD.
  247. $(GLOBJ)gdevdcrd.$(OBJ) : $(GLSRC)gdevdcrd.c $(AK)\
  248. $(math__h) $(memory__h) $(string__h)\
  249. $(gscrd_h) $(gscrdp_h) $(gserrors_h) $(gsparam_h) $(gscspace_h)\
  250. $(gx_h) $(gxdevcli_h) $(gdevdcrd_h)
  251. $(GLCC) $(GLO_)gdevdcrd.$(OBJ) $(C_) $(GLSRC)gdevdcrd.c
  252. # Support for writing PostScript (high- or low-level).
  253. $(GLOBJ)gdevpsu.$(OBJ) : $(GLSRC)gdevpsu.c $(GX) $(math__h) $(time__h)\
  254. $(gdevpsu_h) $(gscdefs_h) $(gxdevice_h)\
  255. $(spprint_h) $(stream_h)
  256. $(GLCC) $(GLO_)gdevpsu.$(OBJ) $(C_) $(GLSRC)gdevpsu.c
  257. ###### ------------------- MS-DOS display devices ------------------- ######
  258. # There are really only three drivers: an EGA/VGA driver (4 bit-planes,
  259. # plane-addressed), a SuperVGA driver (8 bit-planes, byte addressed),
  260. # and a special driver for the S3 chip.
  261. ### ----------------------- EGA and VGA displays ----------------------- ###
  262. # The shared MS-DOS makefile defines PCFBASM as either gdevegaa.$(OBJ)
  263. # or an empty string.
  264. $(GLOBJ)gdevegaa.$(OBJ) : $(GLSRC)gdevegaa.asm
  265. $(GLCC) $(GLO_)gdevegaa.$(OBJ) $(C_) $(GLSRC)gdevegaa.c
  266. EGAVGA_DOS=$(GLOBJ)gdevevga.$(OBJ) $(GLOBJ)gdevpcfb.$(OBJ) $(GLOBJ)gdevpccm.$(OBJ) $(PCFBASM)
  267. EGAVGA_SCO=$(GLOBJ)gdevsco.$(OBJ) $(GLOBJ)gdevpcfb.$(OBJ) $(GLOBJ)gdevpccm.$(OBJ) $(PCFBASM)
  268. # NOTE: for direct frame buffer addressing under SCO Unix or Xenix,
  269. # change DOS to SCO in the following line. Also, since SCO's /bin/as
  270. # does not support the "out" instructions, you must build the GNU
  271. # assembler and have it on your path as "as".
  272. EGAVGA=$(EGAVGA_DOS)
  273. #**************** $(CCD) gdevevga.c
  274. $(GLOBJ)gdevevga.$(OBJ) : $(GLSRC)gdevevga.c $(GDEV) $(memory__h) $(gdevpcfb_h)
  275. $(GLCC) $(GLO_)gdevevga.$(OBJ) $(C_) $(GLSRC)gdevevga.c
  276. $(GLOBJ)gdevsco.$(OBJ) : $(GLSRC)gdevsco.c $(GDEV) $(memory__h) $(gdevpcfb_h)
  277. $(GLCC) $(GLO_)gdevsco.$(OBJ) $(C_) $(GLSRC)gdevsco.c
  278. # Common code for MS-DOS and SCO.
  279. #**************** $(CCD) gdevpcfb.c
  280. $(GLOBJ)gdevpcfb.$(OBJ) : $(GLSRC)gdevpcfb.c $(GDEV) $(memory__h) $(gconfigv_h)\
  281. $(gdevpccm_h) $(gdevpcfb_h) $(gsparam_h)
  282. $(GLCC) $(GLO_)gdevpcfb.$(OBJ) $(C_) $(GLSRC)gdevpcfb.c
  283. # The EGA/VGA family includes EGA and VGA. Many SuperVGAs in 800x600,
  284. # 16-color mode can share the same code; see the next section below.
  285. $(DD)ega.dev : $(DEVS_MAK) $(EGAVGA)
  286. $(SETDEV) $(DD)ega $(EGAVGA)
  287. $(DD)vga.dev : $(DEVS_MAK) $(EGAVGA)
  288. $(SETDEV) $(DD)vga $(EGAVGA)
  289. ### ------------------------- SuperVGA displays ------------------------ ###
  290. # SuperVGA displays in 16-color, 800x600 mode are really just slightly
  291. # glorified VGA's, so we can handle them all with a single driver.
  292. # The way to select them on the command line is with
  293. # -sDEVICE=svga16 -dDisplayMode=NNN
  294. # where NNN is the display mode in decimal. See Use.htm for the modes
  295. # for some popular display chipsets.
  296. $(DD)svga16.dev : $(DEVS_MAK) $(EGAVGA)
  297. $(SETDEV) $(DD)svga16 $(EGAVGA)
  298. # More capable SuperVGAs have a wide variety of slightly differing
  299. # interfaces, so we need a separate driver for each one.
  300. SVGA=$(GLOBJ)gdevsvga.$(OBJ) $(GLOBJ)gdevpccm.$(OBJ) $(PCFBASM)
  301. #**************** $(CCD) gdevsvga.c
  302. $(GLOBJ)gdevsvga.$(OBJ) : $(GLSRC)gdevsvga.c $(GDEV) $(memory__h) $(gconfigv_h)\
  303. $(gsparam_h) $(gxarith_h) $(gdevpccm_h) $(gdevpcfb_h) $(gdevsvga_h)
  304. $(GLCC) $(GLO_)gdevsvga.$(OBJ) $(C_) $(GLSRC)gdevsvga.c
  305. # The SuperVGA family includes: Avance Logic Inc., ATI Wonder, S3,
  306. # Trident, Tseng ET3000/4000, and VESA.
  307. $(DD)ali.dev : $(DEVS_MAK) $(SVGA)
  308. $(SETDEV) $(DD)ali $(SVGA)
  309. $(DD)atiw.dev : $(DEVS_MAK) $(SVGA)
  310. $(SETDEV) $(DD)atiw $(SVGA)
  311. $(DD)cirr.dev : $(DEVS_MAK) $(SVGA)
  312. $(SETDEV) $(DD)cirr $(SVGA)
  313. $(DD)tseng.dev : $(DEVS_MAK) $(SVGA)
  314. $(SETDEV) $(DD)tseng $(SVGA)
  315. $(DD)tvga.dev : $(DEVS_MAK) $(SVGA)
  316. $(SETDEV) $(DD)tvga $(SVGA)
  317. $(DD)vesa.dev : $(DEVS_MAK) $(SVGA)
  318. $(SETDEV) $(DD)vesa $(SVGA)
  319. # The S3 driver doesn't share much code with the others.
  320. s3vga_=$(GLOBJ)gdevs3ga.$(OBJ) $(GLOBJ)gdevsvga.$(OBJ) $(GLOBJ)gdevpccm.$(OBJ)
  321. $(DD)s3vga.dev : $(DEVS_MAK) $(SVGA) $(s3vga_)
  322. $(SETDEV) $(DD)s3vga $(SVGA)
  323. $(ADDMOD) $(DD)s3vga -obj $(s3vga_)
  324. #**************** $(CCD) gdevs3ga.c
  325. $(GLOBJ)gdevs3ga.$(OBJ) : $(GLSRC)gdevs3ga.c $(GDEV) $(gdevpcfb_h) $(gdevsvga_h)
  326. $(GLCC) $(GLO_)gdevs3ga.$(OBJ) $(C_) $(GLSRC)gdevs3ga.c
  327. ###### ----------------------- Other displays ------------------------ ######
  328. ### ------------------ Display device for DLL platforms ----------------- ###
  329. display_=$(GLOBJ)gdevdsp.$(OBJ)
  330. $(DD)display.dev : $(display_)
  331. $(SETDEV) $(DD)display $(display_)
  332. $(GLOBJ)gdevdsp.$(OBJ) : $(GLSRC)gdevdsp.c $(string__h)\
  333. $(gp_h) $(gpcheck_h) $(gdevpccm_h) $(gsexit_h) $(gsparam_h)\
  334. $(GDEVH) $(gxdevmem_h) $(gdevdsp_h) $(gdevdsp2_h)
  335. $(GLCC) $(GLO_)gdevdsp.$(OBJ) $(C_) $(GLSRC)gdevdsp.c
  336. ### ---------------------- Linux PC with vgalib ------------------------- ###
  337. ### Note: these drivers were contributed by users. ###
  338. ### For questions about the lvga256 driver, please contact ###
  339. ### Ludger Kunz (ludger.kunz@fernuni-hagen.de). ###
  340. ### For questions about the vgalib driver, please contact ###
  341. ### Erik Talvola (talvola@gnu.ai.mit.edu). ###
  342. ### Note that the vgalib device supports only 16-color VGA modes. ###
  343. lvga256_=$(GLOBJ)gdevl256.$(OBJ)
  344. $(DD)lvga256.dev : $(DEVS_MAK) $(lvga256_)
  345. $(SETDEV) $(DD)lvga256 $(lvga256_)
  346. $(ADDMOD) $(DD)lvga256 -lib vga vgagl
  347. $(GLOBJ)gdevl256.$(OBJ) : $(GLSRC)gdevl256.c $(GDEV) $(memory__h)
  348. $(GLCC) $(GLO_)gdevl256.$(OBJ) $(C_) $(GLSRC)gdevl256.c
  349. vgalib_=$(GLOBJ)gdevvglb.$(OBJ) $(GLOBJ)gdevpccm.$(OBJ)
  350. $(DD)vgalib.dev : $(DEVS_MAK) $(vgalib_)
  351. $(SETDEV2) $(DD)vgalib $(vgalib_)
  352. $(ADDMOD) $(DD)vgalib -lib vga
  353. $(GLOBJ)gdevvglb.$(OBJ) : $(GLSRC)gdevvglb.c $(GDEV) $(gdevpccm_h) $(gsparam_h)
  354. $(GLCC) $(GLO_)gdevvglb.$(OBJ) $(C_) $(GLSRC)gdevvglb.c
  355. ### -------------------------- The X11 device -------------------------- ###
  356. # Please note that Aladdin Enterprises does not support Ghostview.
  357. # For more information about Ghostview, please contact Tim Theisen
  358. # (ghostview@cs.wisc.edu).
  359. x__h=$(GLSRC)x_.h
  360. gdevxcmp_h=$(GLSRC)gdevxcmp.h
  361. gdevx_h=$(GLSRC)gdevx.h $(gdevbbox_h) $(gdevxcmp_h)
  362. # See the main makefile for the definition of XLIBDIRS and XLIBS.
  363. x11_=$(GLOBJ)gdevx.$(OBJ) $(GLOBJ)gdevxcmp.$(OBJ) $(GLOBJ)gdevxini.$(OBJ)\
  364. $(GLOBJ)gdevxres.$(OBJ) $(GLOBJ)gdevxxf.$(OBJ)\
  365. $(GLOBJ)gdevemap.$(OBJ) $(GLOBJ)gsparamx.$(OBJ)
  366. $(DD)x11_.dev : $(DEVS_MAK) $(x11_) $(GLD)bbox.dev
  367. $(SETMOD) $(DD)x11_ $(x11_)
  368. $(ADDMOD) $(DD)x11_ -link $(XLIBDIRS)
  369. $(ADDMOD) $(DD)x11_ -lib $(XLIBS)
  370. $(ADDMOD) $(DD)x11_ -include $(GLD)bbox
  371. $(DD)x11.dev : $(DEVS_MAK) $(DD)x11_.dev
  372. $(SETDEV2) $(DD)x11 -include $(DD)x11_
  373. # See the main makefile for the definition of XINCLUDE.
  374. GDEVX=$(GDEV) $(x__h) $(gdevx_h) $(TOP_MAKEFILES)
  375. $(GLOBJ)gdevx.$(OBJ) : $(GLSRC)gdevx.c $(GDEVX) $(math__h) $(memory__h)\
  376. $(gscoord_h) $(gsdevice_h) $(gsiparm2_h) $(gsmatrix_h) $(gsparam_h)\
  377. $(gxdevmem_h) $(gxgetbit_h) $(gxiparam_h) $(gxpath_h)
  378. $(GLCC) $(XINCLUDE) $(GLO_)gdevx.$(OBJ) $(C_) $(GLSRC)gdevx.c
  379. $(GLOBJ)gdevxcmp.$(OBJ) : $(GLSRC)gdevxcmp.c $(GDEVX) $(math__h)
  380. $(GLCC) $(XINCLUDE) $(GLO_)gdevxcmp.$(OBJ) $(C_) $(GLSRC)gdevxcmp.c
  381. $(GLOBJ)gdevxini.$(OBJ) : $(GLSRC)gdevxini.c $(GDEVX) $(memory__h)\
  382. $(gserrors_h) $(gsparamx_h) $(gxdevmem_h) $(gdevbbox_h)
  383. $(GLCC) $(XINCLUDE) $(GLO_)gdevxini.$(OBJ) $(C_) $(GLSRC)gdevxini.c
  384. # We have to compile gdevxres without warnings, because there is a
  385. # const/non-const cast required by the X headers that we can't work around.
  386. $(GLOBJ)gdevxres.$(OBJ) : $(GLSRC)gdevxres.c $(std_h) $(x__h)\
  387. $(gsmemory_h) $(gstypes_h) $(gxdevice_h) $(gdevx_h)
  388. $(CC_NO_WARN) $(GLCCFLAGS) $(XINCLUDE) $(GLO_)gdevxres.$(OBJ) $(C_) $(GLSRC)gdevxres.c
  389. $(GLOBJ)gdevxxf.$(OBJ) : $(GLSRC)gdevxxf.c $(GDEVX) $(math__h) $(memory__h)\
  390. $(gsstruct_h) $(gsutil_h) $(gxxfont_h)
  391. $(GLCC) $(XINCLUDE) $(GLO_)gdevxxf.$(OBJ) $(C_) $(GLSRC)gdevxxf.c
  392. # Alternate X11-based devices to help debug other drivers.
  393. # x11alpha pretends to have 4 bits of alpha channel.
  394. # x11cmyk pretends to be a CMYK device with 1 bit each of C,M,Y,K.
  395. # x11cmyk2 pretends to be a CMYK device with 2 bits each of C,M,Y,K.
  396. # x11cmyk4 pretends to be a CMYK device with 4 bits each of C,M,Y,K.
  397. # x11cmyk8 pretends to be a CMYK device with 8 bits each of C,M,Y,K.
  398. # x11gray2 pretends to be a 2-bit gray-scale device.
  399. # x11gray4 pretends to be a 4-bit gray-scale device.
  400. # x11mono pretends to be a black-and-white device.
  401. # x11rg16x pretends to be a G5/B5/R6 color device.
  402. # x11rg16x pretends to be a G11/B10/R11 color device.
  403. x11alt_=$(GLOBJ)gdevxalt.$(OBJ)
  404. $(DD)x11alt_.dev : $(DEVS_MAK) $(x11alt_) $(DD)x11_.dev
  405. $(SETMOD) $(DD)x11alt_ $(x11alt_)
  406. $(ADDMOD) $(DD)x11alt_ -include $(DD)x11_
  407. $(DD)x11alpha.dev : $(DEVS_MAK) $(DD)x11alt_.dev
  408. $(SETDEV2) $(DD)x11alpha -include $(DD)x11alt_
  409. $(DD)x11cmyk.dev : $(DEVS_MAK) $(DD)x11alt_.dev
  410. $(SETDEV2) $(DD)x11cmyk -include $(DD)x11alt_
  411. $(DD)x11cmyk2.dev : $(DEVS_MAK) $(DD)x11alt_.dev
  412. $(SETDEV2) $(DD)x11cmyk2 -include $(DD)x11alt_
  413. $(DD)x11cmyk4.dev : $(DEVS_MAK) $(DD)x11alt_.dev
  414. $(SETDEV2) $(DD)x11cmyk4 -include $(DD)x11alt_
  415. $(DD)x11cmyk8.dev : $(DEVS_MAK) $(DD)x11alt_.dev
  416. $(SETDEV2) $(DD)x11cmyk8 -include $(DD)x11alt_
  417. $(DD)x11gray2.dev : $(DEVS_MAK) $(DD)x11alt_.dev
  418. $(SETDEV2) $(DD)x11gray2 -include $(DD)x11alt_
  419. $(DD)x11gray4.dev : $(DEVS_MAK) $(DD)x11alt_.dev
  420. $(SETDEV2) $(DD)x11gray4 -include $(DD)x11alt_
  421. $(DD)x11mono.dev : $(DEVS_MAK) $(DD)x11alt_.dev
  422. $(SETDEV2) $(DD)x11mono -include $(DD)x11alt_
  423. $(DD)x11rg16x.dev : $(DEVS_MAK) $(DD)x11alt_.dev
  424. $(SETDEV2) $(DD)x11rg16x -include $(DD)x11alt_
  425. $(DD)x11rg32x.dev : $(DEVS_MAK) $(DD)x11alt_.dev
  426. $(SETDEV2) $(DD)x11rg32x -include $(DD)x11alt_
  427. $(GLOBJ)gdevxalt.$(OBJ) : $(GLSRC)gdevxalt.c $(GDEVX) $(math__h) $(memory__h)\
  428. $(gsdevice_h) $(gsparam_h) $(gsstruct_h)
  429. $(GLCC) $(XINCLUDE) $(GLO_)gdevxalt.$(OBJ) $(C_) $(GLSRC)gdevxalt.c
  430. ###### --------------- Memory-buffered printer devices --------------- ######
  431. ### ---------------- Practical Automation label printers ---------------- ###
  432. atx_=$(GLOBJ)gdevatx.$(OBJ)
  433. $(DD)atx23.dev : $(DEVS_MAK) $(atx_) $(GLD)page.dev
  434. $(SETPDEV2) $(DD)atx23 $(atx_)
  435. $(DD)atx24.dev : $(DEVS_MAK) $(atx_) $(GLD)page.dev
  436. $(SETPDEV2) $(DD)atx24 $(atx_)
  437. $(DD)atx38.dev : $(DEVS_MAK) $(atx_) $(GLD)page.dev
  438. $(SETPDEV2) $(DD)atx38 $(atx_)
  439. $(GLOBJ)gdevatx.$(OBJ) : $(GLSRC)gdevatx.c $(PDEVH) $(math__h)
  440. $(GLCC) $(GLO_)gdevatx.$(OBJ) $(C_) $(GLSRC)gdevatx.c
  441. ### ----------- The H-P DeskJet and LaserJet printer devices ----------- ###
  442. ### These are essentially the same device.
  443. ### NOTE: printing at full resolution (300 DPI) requires a printer
  444. ### with at least 1.5 Mb of memory. 150 DPI only requires .5 Mb.
  445. ### Note that the lj4dith driver is included with the H-P color printer
  446. ### drivers below.
  447. ### For questions about the fs600 device, please contact ###
  448. ### Peter Schildmann (peter.schildmann@etechnik.uni-rostock.de). ###
  449. HPPCL=$(GLOBJ)gdevpcl.$(OBJ)
  450. HPDLJM=$(GLOBJ)gdevdljm.$(OBJ) $(HPPCL)
  451. HPMONO=$(GLOBJ)gdevdjet.$(OBJ) $(HPDLJM)
  452. $(GLOBJ)gdevpcl.$(OBJ) : $(GLSRC)gdevpcl.c $(PDEVH) $(gdevpcl_h)
  453. $(GLCC) $(GLO_)gdevpcl.$(OBJ) $(C_) $(GLSRC)gdevpcl.c
  454. $(GLOBJ)gdevdljm.$(OBJ) : $(GLSRC)gdevdljm.c $(PDEVH) $(gdevdljm_h)
  455. $(GLCC) $(GLO_)gdevdljm.$(OBJ) $(C_) $(GLSRC)gdevdljm.c
  456. $(GLOBJ)gdevdjet.$(OBJ) : $(GLSRC)gdevdjet.c $(PDEVH) $(gdevdljm_h)
  457. $(GLCC) $(GLO_)gdevdjet.$(OBJ) $(C_) $(GLSRC)gdevdjet.c
  458. $(DD)deskjet.dev : $(DEVS_MAK) $(HPMONO) $(GLD)page.dev
  459. $(SETPDEV2) $(DD)deskjet $(HPMONO)
  460. $(DD)djet500.dev : $(DEVS_MAK) $(HPMONO) $(GLD)page.dev
  461. $(SETPDEV2) $(DD)djet500 $(HPMONO)
  462. $(DD)fs600.dev : $(DEVS_MAK) $(HPMONO) $(GLD)page.dev
  463. $(SETPDEV2) $(DD)fs600 $(HPMONO)
  464. $(DD)laserjet.dev : $(DEVS_MAK) $(HPMONO) $(GLD)page.dev
  465. $(SETPDEV2) $(DD)laserjet $(HPMONO)
  466. $(DD)ljetplus.dev : $(DEVS_MAK) $(HPMONO) $(GLD)page.dev
  467. $(SETPDEV2) $(DD)ljetplus $(HPMONO)
  468. ### Selecting ljet2p provides TIFF (mode 2) compression on LaserJet III,
  469. ### IIIp, IIId, IIIsi, IId, and IIp.
  470. $(DD)ljet2p.dev : $(DEVS_MAK) $(HPMONO) $(GLD)page.dev
  471. $(SETPDEV2) $(DD)ljet2p $(HPMONO)
  472. ### Selecting ljet3 provides Delta Row (mode 3) compression on LaserJet III,
  473. ### IIIp, IIId, IIIsi.
  474. $(DD)ljet3.dev : $(DEVS_MAK) $(HPMONO) $(GLD)page.dev
  475. $(SETPDEV2) $(DD)ljet3 $(HPMONO)
  476. ### Selecting ljet3d also provides duplex printing capability.
  477. $(DD)ljet3d.dev : $(DEVS_MAK) $(HPMONO) $(GLD)page.dev
  478. $(SETPDEV2) $(DD)ljet3d $(HPMONO)
  479. ### Selecting ljet4 or ljet4d also provides Delta Row compression on
  480. ### LaserJet IV series.
  481. $(DD)ljet4.dev : $(DEVS_MAK) $(HPMONO) $(GLD)page.dev
  482. $(SETPDEV2) $(DD)ljet4 $(HPMONO)
  483. $(DD)ljet4d.dev : $(DEVS_MAK) $(HPMONO) $(GLD)page.dev
  484. $(SETPDEV2) $(DD)ljet4d $(HPMONO)
  485. $(DD)lp2563.dev : $(DEVS_MAK) $(HPMONO) $(GLD)page.dev
  486. $(SETPDEV2) $(DD)lp2563 $(HPMONO)
  487. $(DD)oce9050.dev : $(DEVS_MAK) $(HPMONO) $(GLD)page.dev
  488. $(SETPDEV2) $(DD)oce9050 $(HPMONO)
  489. ### ------------------ The H-P LaserJet 5 and 6 devices ----------------- ###
  490. ### These drivers use H-P's new PCL XL printer language, like H-P's
  491. ### LaserJet 5 Enhanced driver for MS Windows. We don't recommend using
  492. ### them:
  493. ### - If you have a LJ 5L or 5P, which isn't a "real" LaserJet 5,
  494. ### use the ljet4 driver instead. (The lj5 drivers won't work.)
  495. ### - If you have any other model of LJ 5 or 6, use the pxlmono
  496. ### driver, which often produces much more compact output.
  497. gdevpxat_h=$(GLSRC)gdevpxat.h
  498. gdevpxen_h=$(GLSRC)gdevpxen.h
  499. gdevpxop_h=$(GLSRC)gdevpxop.h
  500. gdevpxut_h=$(GLSRC)gdevpxut.h
  501. $(GLOBJ)gdevpxut.$(OBJ) : $(GLSRC)gdevpxut.c $(math__h) $(string__h)\
  502. $(gx_h) $(gxdevcli_h) $(stream_h)\
  503. $(gdevpxat_h) $(gdevpxen_h) $(gdevpxop_h) $(gdevpxut_h)
  504. $(GLCC) $(GLO_)gdevpxut.$(OBJ) $(C_) $(GLSRC)gdevpxut.c
  505. ljet5_=$(GLOBJ)gdevlj56.$(OBJ) $(GLOBJ)gdevpxut.$(OBJ) $(HPPCL)
  506. $(DD)lj5mono.dev : $(DEVS_MAK) $(ljet5_) $(GLD)page.dev
  507. $(SETPDEV) $(DD)lj5mono $(ljet5_)
  508. $(DD)lj5gray.dev : $(DEVS_MAK) $(ljet5_) $(GLD)page.dev
  509. $(SETPDEV) $(DD)lj5gray $(ljet5_)
  510. $(GLOBJ)gdevlj56.$(OBJ) : $(GLSRC)gdevlj56.c $(PDEVH) $(gdevpcl_h)\
  511. $(gdevpxat_h) $(gdevpxen_h) $(gdevpxop_h) $(gdevpxut_h) $(stream_h)
  512. $(GLCC) $(GLO_)gdevlj56.$(OBJ) $(C_) $(GLSRC)gdevlj56.c
  513. ### -------------------- The ijs client ----------------- ###
  514. ijs_=$(GLOBJ)gdevijs.$(OBJ) $(IJSOBJ)ijs.$(OBJ) $(IJSOBJ)ijs_client.$(OBJ) \
  515. $(IJSOBJ)ijs_exec_$(IJSEXECTYPE).$(OBJ)
  516. $(DD)ijs.dev: $(ijs_) $(GLD)page.dev $(DD)ijslib.dev
  517. $(SETPDEV) $(DD)ijs $(ijs_)
  518. $(GLOBJ)gdevijs.$(OBJ) : $(GLSRC)gdevijs.c $(PDEVH) \
  519. $(ijs_h) $(ijs_client_h) $(gp_h) $(unistd__h)
  520. $(CC_) $(I_)$(GLI_) $(II)$(IJSI_)$(_I) $(GLF_) $(GLO_)gdevijs.$(OBJ) $(C_) $(GLSRC)gdevijs.c
  521. # Please see ijs.mak for the Makefile fragment which builds the IJS
  522. # library.
  523. ###### ------------------- High-level file formats ------------------- ######
  524. # Support for PostScript and PDF
  525. gdevpsdf_h=$(GLSRC)gdevpsdf.h $(gdevvec_h) $(gsparam_h)\
  526. $(sa85x_h) $(scfx_h) $(spsdf_h) $(strimpl_h)
  527. gdevpsds_h=$(GLSRC)gdevpsds.h $(strimpl_h)
  528. psdf_1=$(GLOBJ)gdevpsdi.$(OBJ) $(GLOBJ)gdevpsdp.$(OBJ)
  529. psdf_2=$(GLOBJ)gdevpsds.$(OBJ) $(GLOBJ)gdevpsdu.$(OBJ)
  530. psdf_3=$(GLOBJ)scfparam.$(OBJ) $(GLOBJ)sdcparam.$(OBJ) $(GLOBJ)sdeparam.$(OBJ)
  531. psdf_4=$(GLOBJ)spprint.$(OBJ) $(GLOBJ)spsdf.$(OBJ) $(GLOBJ)sstring.$(OBJ)
  532. psdf_5=$(GLOBJ)gsparamx.$(OBJ)
  533. psdf_=$(psdf_1) $(psdf_2) $(psdf_3) $(psdf_4) $(psdf_5)
  534. psdf_inc1=$(GLD)vector.dev $(GLD)pngp.dev $(GLD)seexec.dev
  535. psdf_inc2=$(GLD)sdcte.dev $(GLD)slzwe.dev $(GLD)szlibe.dev
  536. psdf_inc=$(psdf_inc1) $(psdf_inc2)
  537. $(DD)psdf.dev : $(DEVS_MAK) $(ECHOGS_XE) $(psdf_) $(psdf_inc)
  538. $(SETMOD) $(DD)psdf $(psdf_1)
  539. $(ADDMOD) $(DD)psdf -obj $(psdf_2)
  540. $(ADDMOD) $(DD)psdf -obj $(psdf_3)
  541. $(ADDMOD) $(DD)psdf -obj $(psdf_4)
  542. $(ADDMOD) $(DD)psdf -obj $(psdf_5)
  543. $(ADDMOD) $(DD)psdf -include $(psdf_inc1)
  544. $(ADDMOD) $(DD)psdf -include $(psdf_inc2)
  545. $(GLOBJ)gdevpsdi.$(OBJ) : $(GLSRC)gdevpsdi.c $(GXERR)\
  546. $(jpeglib__h) $(math__h) $(stdio__h)\
  547. $(gscspace_h)\
  548. $(scfx_h) $(sdct_h) $(sjpeg_h) $(slzwx_h) $(srlx_h) $(spngpx_h)\
  549. $(strimpl_h) $(szlibx_h)\
  550. $(gdevpsdf_h) $(gdevpsds_h)
  551. $(GLJCC) $(GLO_)gdevpsdi.$(OBJ) $(C_) $(GLSRC)gdevpsdi.c
  552. $(GLOBJ)gdevpsdp.$(OBJ) : $(GLSRC)gdevpsdp.c $(GDEVH)\
  553. $(string__h) $(jpeglib__h)\
  554. $(scfx_h) $(sdct_h) $(slzwx_h) $(srlx_h) $(strimpl_h) $(szlibx_h)\
  555. $(gsparamx_h) $(gsutil_h) $(gdevpsdf_h) $(spprint_h)
  556. $(GLJCC) $(GLO_)gdevpsdp.$(OBJ) $(C_) $(GLSRC)gdevpsdp.c
  557. $(GLOBJ)gdevpsds.$(OBJ) : $(GLSRC)gdevpsds.c $(GX) $(memory__h)\
  558. $(gdevpsds_h) $(gserrors_h) $(gxdcconv_h)
  559. $(GLCC) $(GLO_)gdevpsds.$(OBJ) $(C_) $(GLSRC)gdevpsds.c
  560. $(GLOBJ)gdevpsdu.$(OBJ) : $(GLSRC)gdevpsdu.c $(GXERR)\
  561. $(jpeglib__h) $(memory__h) $(stdio__h)\
  562. $(gxfont_h)\
  563. $(sa85x_h) $(scanchar_h) $(scfx_h) $(sdct_h) $(sjpeg_h) $(sstring_h) $(strimpl_h)\
  564. $(gdevpsdf_h) $(spprint_h)
  565. $(GLJCC) $(GLO_)gdevpsdu.$(OBJ) $(C_) $(GLSRC)gdevpsdu.c
  566. # PostScript and EPS writers
  567. pswrite_=$(GLOBJ)gdevps.$(OBJ) $(GLOBJ)gdevpsu.$(OBJ) $(GLOBJ)scantab.$(OBJ) $(GLOBJ)sfilter2.$(OBJ)
  568. $(DD)epswrite.dev : $(DEVS_MAK) $(ECHOGS_XE) $(pswrite_) $(GLD)psdf.dev
  569. $(SETDEV2) $(DD)epswrite $(pswrite_)
  570. $(ADDMOD) $(DD)epswrite -include $(GLD)psdf
  571. $(DD)pswrite.dev : $(DEVS_MAK) $(ECHOGS_XE) $(pswrite_) $(GLD)psdf.dev
  572. $(SETDEV2) $(DD)pswrite $(pswrite_)
  573. $(ADDMOD) $(DD)pswrite -include $(GLD)psdf
  574. $(GLOBJ)gdevps.$(OBJ) : $(GLSRC)gdevps.c $(GDEV)\
  575. $(math__h) $(memory__h) $(time__h)\
  576. $(gscdefs_h) $(gscspace_h) $(gsline_h) $(gsparam_h) $(gsiparam_h) $(gsmatrix_h)\
  577. $(gxdcolor_h) $(gxpath_h)\
  578. $(sa85x_h) $(sstring_h) $(strimpl_h)\
  579. $(gdevpsdf_h) $(gdevpsu_h) $(spprint_h)
  580. $(GLCC) $(GLO_)gdevps.$(OBJ) $(C_) $(GLSRC)gdevps.c
  581. # PDF writer
  582. # Note that gs_pdfwr.ps will only actually be loaded if the configuration
  583. # includes a PostScript interpreter.
  584. # We reserve slots here for gdevpdfa...z, just in case we need them.
  585. pdfwrite1_=$(GLOBJ)gdevpdf.$(OBJ) $(GLOBJ)gdevpdfb.$(OBJ)
  586. pdfwrite2_=$(GLOBJ)gdevpdfc.$(OBJ) $(GLOBJ)gdevpdfd.$(OBJ) $(GLOBJ)gdevpdfe.$(OBJ)
  587. pdfwrite3_=$(GLOBJ)gdevpdff.$(OBJ) $(GLOBJ)gdevpdfg.$(OBJ)
  588. pdfwrite4_=$(GLOBJ)gdevpdfi.$(OBJ) $(GLOBJ)gdevpdfj.$(OBJ)
  589. pdfwrite5_=$(GLOBJ)gdevpdfm.$(OBJ)
  590. pdfwrite6_=$(GLOBJ)gdevpdfo.$(OBJ) $(GLOBJ)gdevpdfp.$(OBJ)
  591. pdfwrite7_=$(GLOBJ)gdevpdfr.$(OBJ) $(GLOBJ)gdevpdfs.$(OBJ) $(GLOBJ)gdevpdft.$(OBJ)
  592. pdfwrite8_=$(GLOBJ)gdevpdfu.$(OBJ) $(GLOBJ)gdevpdfv.$(OBJ) $(GLOBJ)gdevpdfw.$(OBJ)
  593. pdfwrite9_=
  594. pdfwrite10_=$(GLOBJ)gsflip.$(OBJ)
  595. pdfwrite11_=$(GLOBJ)scantab.$(OBJ) $(GLOBJ)sfilter2.$(OBJ)
  596. pdfwrite_=$(pdfwrite1_) $(pdfwrite2_) $(pdfwrite3_) $(pdfwrite4_)\
  597. $(pdfwrite5_) $(pdfwrite6_) $(pdfwrite7_) $(pdfwrite8_) $(pdfwrite9_)\
  598. $(pdfwrite10_) $(pdfwrite11_)
  599. # Including the DSC parser here is clearly wrong: it requires a PostScript
  600. # interpreter. We aren't sure what to do about this yet.
  601. # Including macglyph is also wrong: loading the Mac glyph table also
  602. # requires a PostScript interpreter.
  603. $(DD)pdfwrite.dev : $(DEVS_MAK) $(ECHOGS_XE) $(pdfwrite_)\
  604. $(GLD)cmyklib.dev $(GLD)cfe.dev $(GLD)lzwe.dev\
  605. $(GLD)rle.dev $(GLD)sdcte.dev $(GLD)sdeparam.dev $(GLD)smd5.dev\
  606. $(GLD)szlibe.dev $(GLD)psdf.dev $(GLD)psf.dev\
  607. $(PSD)dscparse.dev $(PSD)macglyph.dev
  608. $(SETDEV2) $(DD)pdfwrite $(pdfwrite1_)
  609. $(ADDMOD) $(DD)pdfwrite $(pdfwrite2_)
  610. $(ADDMOD) $(DD)pdfwrite $(pdfwrite3_)
  611. $(ADDMOD) $(DD)pdfwrite $(pdfwrite4_)
  612. $(ADDMOD) $(DD)pdfwrite $(pdfwrite5_)
  613. $(ADDMOD) $(DD)pdfwrite $(pdfwrite6_)
  614. $(ADDMOD) $(DD)pdfwrite $(pdfwrite7_)
  615. $(ADDMOD) $(DD)pdfwrite $(pdfwrite8_)
  616. $(ADDMOD) $(DD)pdfwrite $(pdfwrite9_)
  617. $(ADDMOD) $(DD)pdfwrite $(pdfwrite10_)
  618. $(ADDMOD) $(DD)pdfwrite $(pdfwrite11_)
  619. $(ADDMOD) $(DD)pdfwrite -ps gs_pdfwr
  620. $(ADDMOD) $(DD)pdfwrite -ps gs_css_e gs_lgo_e gs_lgx_e gs_mex_e
  621. $(ADDMOD) $(DD)pdfwrite -ps gs_wan_e
  622. $(ADDMOD) $(DD)pdfwrite -include $(GLD)cmyklib $(GLD)cfe $(GLD)lzwe
  623. $(ADDMOD) $(DD)pdfwrite -include $(GLD)rle $(GLD)sdcte $(GLD)sdeparam
  624. $(ADDMOD) $(DD)pdfwrite -include $(GLD)smd5 $(GLD)szlibe
  625. $(ADDMOD) $(DD)pdfwrite -include $(GLD)psdf $(GLD)psf
  626. $(ADDMOD) $(DD)pdfwrite -include $(PSD)dscparse $(PSD)macglyph
  627. gdevpdff_h=$(GLSRC)gdevpdff.h
  628. gdevpdfg_h=$(GLSRC)gdevpdfg.h $(gscspace_h)
  629. gdevpdfo_h=$(GLSRC)gdevpdfo.h $(gsparam_h)
  630. gdevpdfx_h=$(GLSRC)gdevpdfx.h\
  631. $(gsparam_h) $(gsuid_h) $(gxdevice_h) $(gxfont_h) $(gxline_h)\
  632. $(spprint_h) $(stream_h) $(gdevpsdf_h)
  633. $(GLOBJ)gdevpdf.$(OBJ) : $(GLSRC)gdevpdf.c $(GDEVH)\
  634. $(memory__h) $(string__h) $(gp_h)\
  635. $(gdevpdff_h) $(gdevpdfg_h) $(gdevpdfo_h) $(gdevpdfx_h)
  636. $(GLCC) $(GLO_)gdevpdf.$(OBJ) $(C_) $(GLSRC)gdevpdf.c
  637. $(GLOBJ)gdevpdfb.$(OBJ) : $(GLSRC)gdevpdfb.c\
  638. $(string__h) $(gx_h)\
  639. $(gdevpdff_h) $(gdevpdfg_h) $(gdevpdfo_h) $(gdevpdfx_h)\
  640. $(gserrors_h) $(gxcspace_h)
  641. $(GLCC) $(GLO_)gdevpdfb.$(OBJ) $(C_) $(GLSRC)gdevpdfb.c
  642. $(GLOBJ)gdevpdfc.$(OBJ) : $(GLSRC)gdevpdfc.c $(GXERR) $(math__h) $(memory__h)\
  643. $(gdevpdfg_h) $(gdevpdfo_h) $(gdevpdfx_h)\
  644. $(gscie_h) $(gscindex_h) $(gscspace_h) $(gscdevn_h) $(gscsepr_h) $(gsicc_h)\
  645. $(sstring_h) $(stream_h) $(strimpl_h)
  646. $(GLCC) $(GLO_)gdevpdfc.$(OBJ) $(C_) $(GLSRC)gdevpdfc.c
  647. $(GLOBJ)gdevpdfd.$(OBJ) : $(GLSRC)gdevpdfd.c $(math__h)\
  648. $(gdevpdfg_h) $(gdevpdfx_h)\
  649. $(gx_h) $(gxdevice_h) $(gxfixed_h) $(gxistate_h) $(gxpaint_h)\
  650. $(gzcpath_h) $(gzpath_h)
  651. $(GLCC) $(GLO_)gdevpdfd.$(OBJ) $(C_) $(GLSRC)gdevpdfd.c
  652. $(GLOBJ)gdevpdfe.$(OBJ) : $(GLSRC)gdevpdfe.c\
  653. $(memory__h) $(string__h) $(gx_h)\
  654. $(gdevpdff_h) $(gdevpdfx_h) $(gdevpsf_h)\
  655. $(gserrors_h) $(gsmatrix_h)\
  656. $(gxfcid_h) $(gxfont_h) $(gxfont0_h)\
  657. $(scommon_h)
  658. $(GLCC) $(GLO_)gdevpdfe.$(OBJ) $(C_) $(GLSRC)gdevpdfe.c
  659. $(GLOBJ)gdevpdff.$(OBJ) : $(GLSRC)gdevpdff.c\
  660. $(ctype__h) $(math__h) $(memory__h) $(string__h) $(gx_h)\
  661. $(gdevpdff_h) $(gdevpdfo_h) $(gdevpdfx_h) $(gdevpsf_h)\
  662. $(gserrors_h) $(gsmalloc_h) $(gsmatrix_h) $(gspath_h) $(gsutil_h)\
  663. $(gxfcache_h) $(gxfcid_h) $(gxfixed_h) $(gxfont_h) $(gxfont1_h) $(gxfont42_h)\
  664. $(gxpath_h)\
  665. $(scommon_h)
  666. $(GLCC) $(GLO_)gdevpdff.$(OBJ) $(C_) $(GLSRC)gdevpdff.c
  667. $(GLOBJ)gdevpdfg.$(OBJ) : $(GLSRC)gdevpdfg.c $(GXERR) $(math__h) $(string__h)\
  668. $(gdevpdfg_h) $(gdevpdfo_h) $(gdevpdfx_h)\
  669. $(gsfunc0_h) $(gsstate_h)\
  670. $(gxbitmap_h) $(gxdht_h) $(gxfarith_h) $(gxfmap_h) $(gxht_h) $(gxistate_h)\
  671. $(gzht_h)\
  672. $(szlibx_h)
  673. $(GLCC) $(GLO_)gdevpdfg.$(OBJ) $(C_) $(GLSRC)gdevpdfg.c
  674. $(GLOBJ)gdevpdfi.$(OBJ) : $(GLSRC)gdevpdfi.c\
  675. $(gx_h)\
  676. $(gdevpdfg_h) $(gdevpdfo_h) $(gdevpdfx_h)\
  677. $(gsdevice_h) $(gserrors_h) $(gsflip_h) $(gsiparm4_h)\
  678. $(gxcspace_h) $(gximage3_h) $(gximag3x_h)
  679. $(GLCC) $(GLO_)gdevpdfi.$(OBJ) $(C_) $(GLSRC)gdevpdfi.c
  680. $(GLOBJ)gdevpdfj.$(OBJ) : $(GLSRC)gdevpdfj.c\
  681. $(memory__h) $(string__h) $(gx_h)\
  682. $(gdevpdfg_h) $(gdevpdfo_h) $(gdevpdfx_h)\
  683. $(gserrors_h) $(gsiparm4_h) $(gxcspace_h)
  684. $(GLJCC) $(GLO_)gdevpdfj.$(OBJ) $(C_) $(GLSRC)gdevpdfj.c
  685. $(GLOBJ)gdevpdfm.$(OBJ) : $(GLSRC)gdevpdfm.c\
  686. $(math__h) $(memory__h) $(string__h) $(gx_h)\
  687. $(gdevpdfo_h) $(gdevpdfx_h) $(gserrors_h) $(gsutil_h) $(scanchar_h)
  688. $(GLCC) $(GLO_)gdevpdfm.$(OBJ) $(C_) $(GLSRC)gdevpdfm.c
  689. $(GLOBJ)gdevpdfo.$(OBJ) : $(GLSRC)gdevpdfo.c $(memory__h) $(string__h)\
  690. $(gx_h)\
  691. $(gdevpdfo_h) $(gdevpdfx_h) $(gserrors_h) $(gsparam_h) $(gsutil_h)\
  692. $(sa85x_h) $(slzwx_h) $(sstring_h) $(strimpl_h) $(szlibx_h)
  693. $(GLCC) $(GLO_)gdevpdfo.$(OBJ) $(C_) $(GLSRC)gdevpdfo.c
  694. $(GLOBJ)gdevpdfp.$(OBJ) : $(GLSRC)gdevpdfp.c $(memory__h) $(string__h) $(gx_h)\
  695. $(gdevpdfo_h) $(gdevpdfx_h) $(gserrors_h) $(gsparamx_h)
  696. $(GLCC) $(GLO_)gdevpdfp.$(OBJ) $(C_) $(GLSRC)gdevpdfp.c
  697. $(GLOBJ)gdevpdfr.$(OBJ) : $(GLSRC)gdevpdfr.c $(memory__h) $(string__h)\
  698. $(gx_h)\
  699. $(gdevpdfo_h) $(gdevpdfx_h) $(gserrors_h) $(gsutil_h)\
  700. $(scanchar_h) $(sstring_h) $(strimpl_h)
  701. $(GLCC) $(GLO_)gdevpdfr.$(OBJ) $(C_) $(GLSRC)gdevpdfr.c
  702. $(GLOBJ)gdevpdfs.$(OBJ) : $(GLSRC)gdevpdfs.c\
  703. $(math__h) $(memory__h) $(string__h) $(gx_h)\
  704. $(gdevpdff_h) $(gdevpdfg_h) $(gdevpdfo_h) $(gdevpdfx_h) $(gdevpsf_h)\
  705. $(gserrors_h) $(gsmatrix_h) $(gsutil_h)\
  706. $(gxfcache_h) $(gxfcid_h) $(gxfcmap_h) $(gxfixed_h) $(gxfont_h)\
  707. $(gxfont0_h) $(gxfont1_h) $(gxfont42_h) $(gxpath_h)\
  708. $(scommon_h)
  709. $(GLCC) $(GLO_)gdevpdfs.$(OBJ) $(C_) $(GLSRC)gdevpdfs.c
  710. $(GLOBJ)gdevpdft.$(OBJ) : $(GLSRC)gdevpdft.c\
  711. $(math__h) $(memory__h) $(string__h) $(gx_h)\
  712. $(gdevpdff_h) $(gdevpdfg_h) $(gdevpdfx_h)\
  713. $(gserrors_h) $(gxpath_h)\
  714. $(scommon_h)
  715. $(GLCC) $(GLO_)gdevpdft.$(OBJ) $(C_) $(GLSRC)gdevpdft.c
  716. $(GLOBJ)gdevpdfu.$(OBJ) : $(GLSRC)gdevpdfu.c $(GXERR)\
  717. $(jpeglib__h) $(memory__h) $(string__h)\
  718. $(gdevpdfo_h) $(gdevpdfx_h) $(gscdefs_h)\
  719. $(gsdsrc_h) $(gsfunc_h)\
  720. $(sa85x_h) $(scanchar_h) $(scfx_h) $(sdct_h) $(slzwx_h) $(spngpx_h)\
  721. $(srlx_h) $(sstring_h) $(strimpl_h) $(szlibx_h)
  722. $(GLCC) $(GLO_)gdevpdfu.$(OBJ) $(C_) $(GLSRC)gdevpdfu.c
  723. $(GLOBJ)gdevpdfv.$(OBJ) : $(GLSRC)gdevpdfv.c $(GXERR) $(math__h) $(string__h)\
  724. $(gdevpdfg_h) $(gdevpdfo_h) $(gdevpdfx_h)\
  725. $(gscindex_h) $(gscoord_h) $(gsiparm3_h) $(gsmatrix_h) $(gsptype2_h)\
  726. $(gxcolor2_h) $(gxdcolor_h) $(gxpcolor_h) $(gxshade_h)\
  727. $(szlibx_h)
  728. $(GLCC) $(GLO_)gdevpdfv.$(OBJ) $(C_) $(GLSRC)gdevpdfv.c
  729. $(GLOBJ)gdevpdfw.$(OBJ) : $(GLSRC)gdevpdfw.c\
  730. $(memory__h) $(string__h) $(gx_h)\
  731. $(gdevpdff_h) $(gdevpdfx_h) $(gdevpsf_h)\
  732. $(gsalloc_h) $(gsbittab_h) $(gserrors_h) $(gsmatrix_h) $(gsutil_h)\
  733. $(gxfcid_h) $(gxfcmap_h) $(gxfont_h) $(gxfont0_h)\
  734. $(scommon_h)
  735. $(GLCC) $(GLO_)gdevpdfw.$(OBJ) $(C_) $(GLSRC)gdevpdfw.c
  736. # High-level PCL XL writer
  737. pxl_=$(GLOBJ)gdevpx.$(OBJ) $(GLOBJ)gdevpxut.$(OBJ)
  738. $(DD)pxlmono.dev : $(DEVS_MAK) $(pxl_) $(GDEV) $(GLD)vector.dev
  739. $(SETDEV2) $(DD)pxlmono $(pxl_)
  740. $(ADDMOD) $(DD)pxlmono -include $(GLD)vector
  741. $(DD)pxlcolor.dev : $(DEVS_MAK) $(pxl_) $(GDEV) $(GLD)vector.dev
  742. $(SETDEV2) $(DD)pxlcolor $(pxl_)
  743. $(ADDMOD) $(DD)pxlcolor -include $(GLD)vector
  744. $(GLOBJ)gdevpx.$(OBJ) : $(GLSRC)gdevpx.c\
  745. $(math__h) $(memory__h) $(string__h)\
  746. $(gx_h) $(gsccolor_h) $(gsdcolor_h) $(gserrors_h)\
  747. $(gxcspace_h) $(gxdevice_h) $(gxpath_h)\
  748. $(gdevpxat_h) $(gdevpxen_h) $(gdevpxop_h) $(gdevpxut_h) $(gdevvec_h)\
  749. $(srlx_h) $(strimpl_h)
  750. $(GLCC) $(GLO_)gdevpx.$(OBJ) $(C_) $(GLSRC)gdevpx.c
  751. ###### --------------------- Raster file formats --------------------- ######
  752. ### --------------------- The "plain bits" devices ---------------------- ###
  753. # This device also exercises the driver CRD facilities, which is why it
  754. # needs some additional files.
  755. bit_=$(GLOBJ)gdevbit.$(OBJ) $(GLOBJ)gdevdcrd.$(OBJ)
  756. $(DD)bit.dev : $(DEVS_MAK) $(bit_) $(GLD)page.dev $(GLD)cielib.dev
  757. $(SETPDEV2) $(DD)bit $(bit_)
  758. $(ADDMOD) $(DD)bit -include $(GLD)cielib
  759. $(DD)bitrgb.dev : $(DEVS_MAK) $(bit_) $(GLD)page.dev $(GLD)cielib.dev
  760. $(SETPDEV2) $(DD)bitrgb $(bit_)
  761. $(ADDMOD) $(DD)bitrgb -include $(GLD)cielib
  762. $(DD)bitcmyk.dev : $(DEVS_MAK) $(bit_) $(GLD)page.dev $(GLD)cielib.dev
  763. $(SETPDEV2) $(DD)bitcmyk $(bit_)
  764. $(ADDMOD) $(DD)bitcmyk -include $(GLD)cielib
  765. $(GLOBJ)gdevbit.$(OBJ) : $(GLSRC)gdevbit.c $(PDEVH) $(math__h)\
  766. $(gdevdcrd_h) $(gscrd_h) $(gscrdp_h) $(gsparam_h) $(gxlum_h)
  767. $(GLCC) $(GLO_)gdevbit.$(OBJ) $(C_) $(GLSRC)gdevbit.c
  768. ### ------------------------- .BMP file formats ------------------------- ###
  769. gdevbmp_h=$(GLSRC)gdevbmp.h
  770. bmp_=$(GLOBJ)gdevbmp.$(OBJ) $(GLOBJ)gdevbmpc.$(OBJ) $(GLOBJ)gdevpccm.$(OBJ)
  771. $(GLOBJ)gdevbmp.$(OBJ) : $(GLSRC)gdevbmp.c $(PDEVH) $(gdevbmp_h) $(gdevpccm_h)
  772. $(GLCC) $(GLO_)gdevbmp.$(OBJ) $(C_) $(GLSRC)gdevbmp.c
  773. $(GLOBJ)gdevbmpc.$(OBJ) : $(GLSRC)gdevbmpc.c $(PDEVH) $(gdevbmp_h)
  774. $(GLCC) $(GLO_)gdevbmpc.$(OBJ) $(C_) $(GLSRC)gdevbmpc.c
  775. $(DD)bmpmono.dev : $(DEVS_MAK) $(bmp_) $(GLD)page.dev
  776. $(SETPDEV2) $(DD)bmpmono $(bmp_)
  777. $(DD)bmpgray.dev : $(DEVS_MAK) $(bmp_) $(GLD)page.dev
  778. $(SETPDEV2) $(DD)bmpgray $(bmp_)
  779. $(DD)bmpsep1.dev : $(DEVS_MAK) $(bmp_) $(GLD)page.dev
  780. $(SETPDEV2) $(DD)bmpsep1 $(bmp_)
  781. $(DD)bmpsep8.dev : $(DEVS_MAK) $(bmp_) $(GLD)page.dev
  782. $(SETPDEV2) $(DD)bmpsep8 $(bmp_)
  783. $(DD)bmp16.dev : $(DEVS_MAK) $(bmp_) $(GLD)page.dev
  784. $(SETPDEV2) $(DD)bmp16 $(bmp_)
  785. $(DD)bmp256.dev : $(DEVS_MAK) $(bmp_) $(GLD)page.dev
  786. $(SETPDEV2) $(DD)bmp256 $(bmp_)
  787. $(DD)bmp16m.dev : $(DEVS_MAK) $(bmp_) $(GLD)page.dev
  788. $(SETPDEV2) $(DD)bmp16m $(bmp_)
  789. $(DD)bmp32b.dev : $(DEVS_MAK) $(bmp_) $(GLD)page.dev
  790. $(SETPDEV2) $(DD)bmp32b $(bmp_)
  791. ### ------------- BMP driver that serves as demo of async rendering ---- ###
  792. bmpa_=$(GLOBJ)gdevbmpa.$(OBJ) $(GLOBJ)gdevbmpc.$(OBJ) $(GLOBJ)gdevpccm.$(OBJ) $(GLOBJ)gdevppla.$(OBJ)
  793. $(GLOBJ)gdevbmpa.$(OBJ) : $(GLSRC)gdevbmpa.c $(AK) $(stdio__h)\
  794. $(gdevbmp_h) $(gdevprna_h) $(gdevpccm_h) $(gdevppla_h)\
  795. $(gserrors_h) $(gpsync_h)
  796. $(GLCC) $(GLO_)gdevbmpa.$(OBJ) $(C_) $(GLSRC)gdevbmpa.c
  797. $(DD)bmpamono.dev : $(DEVS_MAK) $(bmpa_) $(GLD)page.dev $(GLD)async.dev
  798. $(SETPDEV2) $(DD)bmpamono $(bmpa_)
  799. $(ADDMOD) $(DD)bmpamono -include $(GLD)async
  800. $(DD)bmpasep1.dev : $(DEVS_MAK) $(bmpa_) $(GLD)page.dev $(GLD)async.dev
  801. $(SETPDEV2) $(DD)bmpasep1 $(bmpa_)
  802. $(ADDMOD) $(DD)bmpasep1 -include $(GLD)async
  803. $(DD)bmpasep8.dev : $(DEVS_MAK) $(bmpa_) $(GLD)page.dev $(GLD)async.dev
  804. $(SETPDEV2) $(DD)bmpasep8 $(bmpa_)
  805. $(ADDMOD) $(DD)bmpasep8 -include $(GLD)async
  806. $(DD)bmpa16.dev : $(DEVS_MAK) $(bmpa_) $(GLD)page.dev $(GLD)async.dev
  807. $(SETPDEV2) $(DD)bmpa16 $(bmpa_)
  808. $(ADDMOD) $(DD)bmpa16 -include $(GLD)async
  809. $(DD)bmpa256.dev : $(DEVS_MAK) $(bmpa_) $(GLD)page.dev $(GLD)async.dev
  810. $(SETPDEV2) $(DD)bmpa256 $(bmpa_)
  811. $(ADDMOD) $(DD)bmpa256 -include $(GLD)async
  812. $(DD)bmpa16m.dev : $(DEVS_MAK) $(bmpa_) $(GLD)page.dev $(GLD)async.dev
  813. $(SETPDEV2) $(DD)bmpa16m $(bmpa_)
  814. $(ADDMOD) $(DD)bmpa16m -include $(GLD)async
  815. $(DD)bmpa32b.dev : $(DEVS_MAK) $(bmpa_) $(GLD)page.dev $(GLD)async.dev
  816. $(SETPDEV2) $(DD)bmpa32b $(bmpa_)
  817. $(ADDMOD) $(DD)bmpa32b -include $(GLD)async
  818. ### -------------------------- CGM file format ------------------------- ###
  819. ### This driver is under development. Use at your own risk. ###
  820. ### The output is very low-level, consisting only of rectangles and ###
  821. ### cell arrays. ###
  822. cgm_=$(GLOBJ)gdevcgm.$(OBJ) $(GLOBJ)gdevcgml.$(OBJ)
  823. gdevcgml_h=$(GLSRC)gdevcgml.h
  824. gdevcgmx_h=$(GLSRC)gdevcgmx.h $(gdevcgml_h)
  825. $(GLOBJ)gdevcgm.$(OBJ) : $(GLSRC)gdevcgm.c $(GDEV) $(memory__h)\
  826. $(gsparam_h) $(gdevpccm_h) $(gdevcgml_h)
  827. $(GLCC) $(GLO_)gdevcgm.$(OBJ) $(C_) $(GLSRC)gdevcgm.c
  828. $(GLOBJ)gdevcgml.$(OBJ) : $(GLSRC)gdevcgml.c $(memory__h) $(stdio__h)\
  829. $(gdevcgmx_h)
  830. $(GLCC) $(GLO_)gdevcgml.$(OBJ) $(C_) $(GLSRC)gdevcgml.c
  831. $(DD)cgmmono.dev : $(DEVS_MAK) $(cgm_)
  832. $(SETDEV) $(DD)cgmmono $(cgm_)
  833. $(DD)cgm8.dev : $(DEVS_MAK) $(cgm_)
  834. $(SETDEV) $(DD)cgm8 $(cgm_)
  835. $(DD)cgm24.dev : $(DEVS_MAK) $(cgm_)
  836. $(SETDEV) $(DD)cgm24 $(cgm_)
  837. ### ------------------------- JPEG file format ------------------------- ###
  838. jpeg_=$(GLOBJ)gdevjpeg.$(OBJ)
  839. # RGB output
  840. $(DD)jpeg.dev : $(DEVS_MAK) $(jpeg_) $(GLD)sdcte.dev $(GLD)page.dev
  841. $(SETPDEV2) $(DD)jpeg $(jpeg_)
  842. $(ADDMOD) $(DD)jpeg -include $(GLD)sdcte
  843. # Gray output
  844. $(DD)jpeggray.dev : $(DEVS_MAK) $(jpeg_) $(GLD)sdcte.dev $(GLD)page.dev
  845. $(SETPDEV2) $(DD)jpeggray $(jpeg_)
  846. $(ADDMOD) $(DD)jpeggray -include $(GLD)sdcte
  847. $(GLOBJ)gdevjpeg.$(OBJ) : $(GLSRC)gdevjpeg.c $(PDEVH)\
  848. $(stdio__h) $(jpeglib__h)\
  849. $(sdct_h) $(sjpeg_h) $(stream_h) $(strimpl_h)
  850. $(GLCC) $(GLO_)gdevjpeg.$(OBJ) $(C_) $(GLSRC)gdevjpeg.c
  851. ### ------------------------- MIFF file format ------------------------- ###
  852. ### Right now we support only 24-bit direct color, but we might add more ###
  853. ### formats in the future. ###
  854. miff_=$(GLOBJ)gdevmiff.$(OBJ)
  855. $(DD)miff24.dev : $(DEVS_MAK) $(miff_) $(GLD)page.dev
  856. $(SETPDEV) $(DD)miff24 $(miff_)
  857. $(GLOBJ)gdevmiff.$(OBJ) : $(GLSRC)gdevmiff.c $(PDEVH)
  858. $(GLCC) $(GLO_)gdevmiff.$(OBJ) $(C_) $(GLSRC)gdevmiff.c
  859. ### ------------------------- PCX file formats ------------------------- ###
  860. pcx_=$(GLOBJ)gdevpcx.$(OBJ) $(GLOBJ)gdevpccm.$(OBJ)
  861. $(GLOBJ)gdevpcx.$(OBJ) : $(GLSRC)gdevpcx.c $(PDEVH) $(gdevpccm_h) $(gxlum_h)
  862. $(GLCC) $(GLO_)gdevpcx.$(OBJ) $(C_) $(GLSRC)gdevpcx.c
  863. $(DD)pcxmono.dev : $(DEVS_MAK) $(pcx_) $(GLD)page.dev
  864. $(SETPDEV2) $(DD)pcxmono $(pcx_)
  865. $(DD)pcxgray.dev : $(DEVS_MAK) $(pcx_) $(GLD)page.dev
  866. $(SETPDEV2) $(DD)pcxgray $(pcx_)
  867. $(DD)pcx16.dev : $(DEVS_MAK) $(pcx_) $(GLD)page.dev
  868. $(SETPDEV2) $(DD)pcx16 $(pcx_)
  869. $(DD)pcx256.dev : $(DEVS_MAK) $(pcx_) $(GLD)page.dev
  870. $(SETPDEV2) $(DD)pcx256 $(pcx_)
  871. $(DD)pcx24b.dev : $(DEVS_MAK) $(pcx_) $(GLD)page.dev
  872. $(SETPDEV2) $(DD)pcx24b $(pcx_)
  873. $(DD)pcxcmyk.dev : $(DEVS_MAK) $(pcx_) $(GLD)page.dev
  874. $(SETPDEV2) $(DD)pcxcmyk $(pcx_)
  875. # The 2-up PCX device is here only as an example, and for testing.
  876. $(DD)pcx2up.dev : $(DEVS_MAK) $(LIB_MAK) $(ECHOGS_XE) $(GLOBJ)gdevp2up.$(OBJ) $(GLD)page.dev $(DD)pcx256.dev
  877. $(SETPDEV) $(DD)pcx2up $(GLOBJ)gdevp2up.$(OBJ)
  878. $(ADDMOD) $(DD)pcx2up -include $(DD)pcx256
  879. $(GLOBJ)gdevp2up.$(OBJ) : $(GLSRC)gdevp2up.c $(AK)\
  880. $(gdevpccm_h) $(gdevprn_h) $(gxclpage_h)
  881. $(GLCC) $(GLO_)gdevp2up.$(OBJ) $(C_) $(GLSRC)gdevp2up.c
  882. ### ------------------- Portable Bitmap file formats ------------------- ###
  883. ### For more information, see the pbm(5), pgm(5), and ppm(5) man pages. ###
  884. pxm_=$(GLOBJ)gdevpbm.$(OBJ) $(GLOBJ)gdevppla.$(OBJ) $(GLOBJ)gdevmpla.$(OBJ)
  885. $(GLOBJ)gdevpbm.$(OBJ) : $(GLSRC)gdevpbm.c $(PDEVH)\
  886. $(gdevmpla_h) $(gdevplnx_h) $(gdevppla_h)\
  887. $(gscdefs_h) $(gscspace_h) $(gxgetbit_h) $(gxiparam_h) $(gxlum_h)
  888. $(GLCC) $(GLO_)gdevpbm.$(OBJ) $(C_) $(GLSRC)gdevpbm.c
  889. ### Portable Bitmap (PBM, plain or raw format, magic numbers "P1" or "P4")
  890. $(DD)pbm.dev : $(DEVS_MAK) $(pxm_) $(GLD)page.dev
  891. $(SETPDEV2) $(DD)pbm $(pxm_)
  892. $(DD)pbmraw.dev : $(DEVS_MAK) $(pxm_) $(GLD)page.dev
  893. $(SETPDEV2) $(DD)pbmraw $(pxm_)
  894. ### Portable Graymap (PGM, plain or raw format, magic numbers "P2" or "P5")
  895. $(DD)pgm.dev : $(DEVS_MAK) $(pxm_) $(GLD)page.dev
  896. $(SETPDEV2) $(DD)pgm $(pxm_)
  897. $(DD)pgmraw.dev : $(DEVS_MAK) $(pxm_) $(GLD)page.dev
  898. $(SETPDEV2) $(DD)pgmraw $(pxm_)
  899. # PGM with automatic optimization to PBM if this is possible.
  900. $(DD)pgnm.dev : $(DEVS_MAK) $(pxm_) $(GLD)page.dev
  901. $(SETPDEV2) $(DD)pgnm $(pxm_)
  902. $(DD)pgnmraw.dev : $(DEVS_MAK) $(pxm_) $(GLD)page.dev
  903. $(SETPDEV2) $(DD)pgnmraw $(pxm_)
  904. ### Portable Pixmap (PPM, plain or raw format, magic numbers "P3" or "P6")
  905. $(DD)ppm.dev : $(DEVS_MAK) $(pxm_) $(GLD)page.dev
  906. $(SETPDEV2) $(DD)ppm $(pxm_)
  907. $(DD)ppmraw.dev : $(DEVS_MAK) $(pxm_) $(GLD)page.dev
  908. $(SETPDEV2) $(DD)ppmraw $(pxm_)
  909. # PPM with automatic optimization to PGM or PBM if possible.
  910. $(DD)pnm.dev : $(DEVS_MAK) $(pxm_) $(GLD)page.dev
  911. $(SETPDEV2) $(DD)pnm $(pxm_)
  912. $(DD)pnmraw.dev : $(DEVS_MAK) $(pxm_) $(GLD)page.dev
  913. $(SETPDEV2) $(DD)pnmraw $(pxm_)
  914. ### Portable inKmap (CMYK internally, converted to PPM=RGB at output time)
  915. $(DD)pkm.dev : $(DEVS_MAK) $(pxm_) $(GLD)page.dev
  916. $(SETPDEV2) $(DD)pkm $(pxm_)
  917. $(DD)pkmraw.dev : $(DEVS_MAK) $(pxm_) $(GLD)page.dev
  918. $(SETPDEV2) $(DD)pkmraw $(pxm_)
  919. ### Portable Separated map (CMYK internally, produces 4 monobit pages)
  920. $(DD)pksm.dev : $(DEVS_MAK) $(pxm_) $(GLD)page.dev
  921. $(SETPDEV2) $(DD)pksm $(pxm_)
  922. $(DD)pksmraw.dev : $(DEVS_MAK) $(pxm_) $(GLD)page.dev
  923. $(SETPDEV2) $(DD)pksmraw $(pxm_)
  924. ### Plan 9 bitmap format
  925. $(DD)plan9bm.dev : $(DEVS_MAK) $(pxm_) $(GLD)page.dev
  926. $(SETPDEV2) $(DD)plan9bm $(pxm_)
  927. ### --------------- Portable Network Graphics file format --------------- ###
  928. ### Requires libpng 0.81 and zlib 0.95 (or more recent versions). ###
  929. ### See libpng.mak and zlib.mak for more details. ###
  930. png__h=$(GLSRC)png_.h $(MAKEFILE)
  931. png_=$(GLOBJ)gdevpng.$(OBJ) $(GLOBJ)gdevpccm.$(OBJ)
  932. libpng_dev=$(PNGGENDIR)$(D)libpng.dev
  933. png_i_=-include $(PNGGENDIR)$(D)libpng
  934. $(GLOBJ)gdevpng.$(OBJ) : $(GLSRC)gdevpng.c\
  935. $(gdevprn_h) $(gdevpccm_h) $(gscdefs_h) $(png__h)
  936. $(CC_) $(I_)$(GLI_) $(II)$(PI_)$(_I) $(PCF_) $(GLF_) $(GLO_)gdevpng.$(OBJ) $(C_) $(GLSRC)gdevpng.c
  937. $(DD)pngmono.dev : $(DEVS_MAK) $(libpng_dev) $(png_) $(GLD)page.dev
  938. $(SETPDEV2) $(DD)pngmono $(png_)
  939. $(ADDMOD) $(DD)pngmono $(png_i_)
  940. $(DD)pnggray.dev : $(DEVS_MAK) $(libpng_dev) $(png_) $(GLD)page.dev
  941. $(SETPDEV2) $(DD)pnggray $(png_)
  942. $(ADDMOD) $(DD)pnggray $(png_i_)
  943. $(DD)png16.dev : $(DEVS_MAK) $(libpng_dev) $(png_) $(GLD)page.dev
  944. $(SETPDEV2) $(DD)png16 $(png_)
  945. $(ADDMOD) $(DD)png16 $(png_i_)
  946. $(DD)png256.dev : $(DEVS_MAK) $(libpng_dev) $(png_) $(GLD)page.dev
  947. $(SETPDEV2) $(DD)png256 $(png_)
  948. $(ADDMOD) $(DD)png256 $(png_i_)
  949. $(DD)png16m.dev : $(DEVS_MAK) $(libpng_dev) $(png_) $(GLD)page.dev
  950. $(SETPDEV2) $(DD)png16m $(png_)
  951. $(ADDMOD) $(DD)png16m $(png_i_)
  952. ### -------------------- PNG with transparency -------------------- ###
  953. pnga_=$(GLOBJ)gdevpnga.$(OBJ)
  954. $(DD)pnga.dev : $(pnga_)
  955. $(SETDEV) $(DD)pnga $(pnga_)
  956. $(GLOBJ)gdevpnga.$(OBJ) : $(GLSRC)gdevpnga.c\
  957. $(gdevprn_h) $(gdevpccm_h) $(gscdefs_h) $(png__h)
  958. $(CC_) $(I_)$(GLI_) $(II)$(PI_)$(_I) $(PCF_) $(GLF_) $(GLO_)gdevpnga.$(OBJ) $(C_) $(GLSRC)gdevpnga.c
  959. ### ---------------------- PostScript image format ---------------------- ###
  960. ### These devices make it possible to print monochrome Level 2 files on a ###
  961. ### Level 1 printer, by converting them to a bitmap in PostScript ###
  962. ### format. They also can convert big, complex color PostScript files ###
  963. ### to (often) smaller and more easily printed bitmaps. ###
  964. psim_=$(GLOBJ)gdevpsim.$(OBJ)
  965. $(GLOBJ)gdevpsim.$(OBJ) : $(GLSRC)gdevpsim.c $(PDEVH)\
  966. $(gdevpsu_h)\
  967. $(sa85x_h) $(srlx_h) $(stream_h) $(strimpl_h)
  968. $(GLCC) $(GLO_)gdevpsim.$(OBJ) $(C_) $(GLSRC)gdevpsim.c
  969. # Monochrome, Level 1 output
  970. $(DD)psmono.dev : $(DEVS_MAK) $(psim_) $(GLD)page.dev
  971. $(SETPDEV2) $(DD)psmono $(psim_)
  972. $(DD)psgray.dev : $(DEVS_MAK) $(psim_) $(GLD)page.dev
  973. $(SETPDEV2) $(DD)psgray $(psim_)
  974. # RGB, Level 2 output
  975. $(DD)psrgb.dev : $(DEVS_MAK) $(psim_) $(GLD)page.dev
  976. $(SETPDEV2) $(DD)psrgb $(psim_)
  977. ### ---------------- Fax encoding ---------------- ###
  978. # By default, these drivers recognize 3 page sizes -- (U.S.) letter, A4, and
  979. # B4 -- and adjust the page width to the nearest legal value for real fax
  980. # systems (1728 or 2048 pixels). To suppress this, set the device parameter
  981. # AdjustWidth to 0 (e.g., -dAdjustWidth=0 on the command line).
  982. gdevfax_h=$(GLSRC)gdevfax.h
  983. fax_=$(GLOBJ)gdevfax.$(OBJ)
  984. $(DD)fax.dev : $(DEVS_MAK) $(fax_) $(GLD)cfe.dev
  985. $(SETMOD) $(DD)fax $(fax_)
  986. $(ADDMOD) $(DD)fax -include $(GLD)cfe
  987. $(GLOBJ)gdevfax.$(OBJ) : $(GLSRC)gdevfax.c $(PDEVH)\
  988. $(gdevfax_h) $(scfx_h) $(strimpl_h)
  989. $(GLCC) $(GLO_)gdevfax.$(OBJ) $(C_) $(GLSRC)gdevfax.c
  990. $(DD)faxg3.dev : $(DEVS_MAK) $(DD)fax.dev
  991. $(SETDEV2) $(DD)faxg3 -include $(DD)fax
  992. $(DD)faxg32d.dev : $(DEVS_MAK) $(DD)fax.dev
  993. $(SETDEV2) $(DD)faxg32d -include $(DD)fax
  994. $(DD)faxg4.dev : $(DEVS_MAK) $(DD)fax.dev
  995. $(SETDEV2) $(DD)faxg4 -include $(DD)fax
  996. ### -------------------- Plain or TIFF fax encoding --------------------- ###
  997. ### Use -sDEVICE=tiffg3 or tiffg4 and ###
  998. ### -r204x98 for low resolution output, or ###
  999. ### -r204x196 for high resolution output ###
  1000. gdevtifs_h=$(GLSRC)gdevtifs.h
  1001. gdevtfax_h=$(GLSRC)gdevtfax.h
  1002. tfax_=$(GLOBJ)gdevtfax.$(OBJ)
  1003. $(DD)tfax.dev : $(DEVS_MAK) $(tfax_) $(GLD)cfe.dev $(GLD)lzwe.dev $(GLD)rle.dev $(DD)fax.dev $(DD)tiffs.dev
  1004. $(SETMOD) $(DD)tfax $(tfax_)
  1005. $(ADDMOD) $(DD)tfax -include $(GLD)cfe $(GLD)lzwe $(GLD)rle
  1006. $(ADDMOD) $(DD)tfax -include $(DD)fax $(DD)tiffs
  1007. $(GLOBJ)gdevtfax.$(OBJ) : $(GLSRC)gdevtfax.c $(PDEVH)\
  1008. $(gdevfax_h) $(gdevtfax_h) $(gdevtifs_h)\
  1009. $(scfx_h) $(slzwx_h) $(srlx_h) $(strimpl_h)
  1010. $(GLCC) $(GLO_)gdevtfax.$(OBJ) $(C_) $(GLSRC)gdevtfax.c
  1011. ### ---------------------------- TIFF formats --------------------------- ###
  1012. tiffs_=$(GLOBJ)gdevtifs.$(OBJ)
  1013. $(DD)tiffs.dev : $(DEVS_MAK) $(tiffs_) $(GLD)page.dev
  1014. $(SETMOD) $(DD)tiffs $(tiffs_)
  1015. $(ADDMOD) $(DD)tiffs -include $(GLD)page
  1016. $(GLOBJ)gdevtifs.$(OBJ) : $(GLSRC)gdevtifs.c $(PDEVH) $(stdio__h) $(time__h)\
  1017. $(gdevtifs_h) $(gscdefs_h) $(gstypes_h)
  1018. $(GLCC) $(GLO_)gdevtifs.$(OBJ) $(C_) $(GLSRC)gdevtifs.c
  1019. # Black & white, G3/G4 fax
  1020. # NOTE: see under faxg* above regarding page width adjustment.
  1021. $(DD)tiffcrle.dev : $(DEVS_MAK) $(DD)tfax.dev
  1022. $(SETDEV2) $(DD)tiffcrle -include $(DD)tfax
  1023. $(DD)tiffg3.dev : $(DEVS_MAK) $(DD)tfax.dev
  1024. $(SETDEV2) $(DD)tiffg3 -include $(DD)tfax
  1025. $(DD)tiffg32d.dev : $(DEVS_MAK) $(DD)tfax.dev
  1026. $(SETDEV2) $(DD)tiffg32d -include $(DD)tfax
  1027. $(DD)tiffg4.dev : $(DEVS_MAK) $(DD)tfax.dev
  1028. $(SETDEV2) $(DD)tiffg4 -include $(DD)tfax
  1029. # Black & white, LZW compression
  1030. $(DD)tifflzw.dev : $(DEVS_MAK) $(DD)tfax.dev
  1031. $(SETDEV2) $(DD)tifflzw -include $(DD)tfax
  1032. # Black & white, PackBits compression
  1033. $(DD)tiffpack.dev : $(DEVS_MAK) $(DD)tfax.dev
  1034. $(SETDEV2) $(DD)tiffpack -include $(DD)tfax
  1035. # RGB, no compression
  1036. tiffrgb_=$(GLOBJ)gdevtfnx.$(OBJ)
  1037. $(DD)tiff12nc.dev : $(DEVS_MAK) $(tiffrgb_) $(DD)tiffs.dev
  1038. $(SETPDEV2) $(DD)tiff12nc $(tiffrgb_)
  1039. $(ADDMOD) $(DD)tiff12nc -include $(DD)tiffs
  1040. $(DD)tiff24nc.dev : $(DEVS_MAK) $(tiffrgb_) $(DD)tiffs.dev
  1041. $(SETPDEV2) $(DD)tiff24nc $(tiffrgb_)
  1042. $(ADDMOD) $(DD)tiff24nc -include $(DD)tiffs
  1043. $(GLOBJ)gdevtfnx.$(OBJ) : $(GLSRC)gdevtfnx.c $(PDEVH) $(gdevtifs_h)
  1044. $(GLCC) $(GLO_)gdevtfnx.$(OBJ) $(C_) $(GLSRC)gdevtfnx.c