home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 2 / AACD 2.iso / AACD / Magazine / UsingPDF / GhostScript / source / gs5.10 / lib.mak < prev    next >
Encoding:
Text File  |  1997-11-24  |  40.1 KB  |  1,245 lines

  1. #    Copyright (C) 1995, 1996, 1997 Aladdin Enterprises.  All rights reserved.
  2. # This file is part of Aladdin Ghostscript.
  3. # Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author
  4. # or distributor accepts any responsibility for the consequences of using it,
  5. # or for whether it serves any particular purpose or works at all, unless he
  6. # or she says so in writing.  Refer to the Aladdin Ghostscript Free Public
  7. # License (the "License") for full details.
  8. # Every copy of Aladdin Ghostscript must include a copy of the License,
  9. # normally in a plain ASCII text file named PUBLIC.  The License grants you
  10. # the right to copy, modify and redistribute Aladdin Ghostscript, but only
  11. # under certain conditions described in the License.  Among other things, the
  12. # License requires that the copyright notice and this notice be preserved on
  13. # all copies.
  14.  
  15. # (Platform-independent) makefile for graphics library and other support code.
  16. # See the end of gs.mak for where this fits into the build process.
  17.  
  18. # Define the name of this makefile.
  19. LIB_MAK=lib.mak
  20.  
  21. # Define the inter-dependencies of the .h files.
  22. # Since not all versions of `make' defer expansion of macros,
  23. # we must list these in bottom-to-top order.
  24.  
  25. # Generic files
  26.  
  27. arch_h=arch.h
  28. stdpre_h=stdpre.h
  29. std_h=std.h $(arch_h) $(stdpre_h)
  30.  
  31. # Platform interfaces
  32.  
  33. gp_h=gp.h
  34. gpcheck_h=gpcheck.h
  35.  
  36. # Configuration definitions
  37.  
  38. # gconfig*.h are generated dynamically.
  39. gconfig__h=gconfig_.h
  40. gconfigv_h=gconfigv.h
  41. gscdefs_h=gscdefs.h
  42.  
  43. # C library interfaces
  44.  
  45. # Because of variations in the "standard" header files between systems, and
  46. # because we must include std.h before any file that includes sys/types.h,
  47. # we define local include files named *_.h to substitute for <*.h>.
  48.  
  49. vmsmath_h=vmsmath.h
  50.  
  51. dos__h=dos_.h
  52. ctype__h=ctype_.h $(std_h)
  53. dirent__h=dirent_.h $(std_h) $(gconfig__h)
  54. errno__h=errno_.h $(std_h)
  55. malloc__h=malloc_.h $(std_h)
  56. math__h=math_.h $(std_h) $(vmsmath_h)
  57. memory__h=memory_.h $(std_h)
  58. stat__h=stat_.h $(std_h)
  59. stdio__h=stdio_.h $(std_h)
  60. string__h=string_.h $(std_h)
  61. time__h=time_.h $(std_h) $(gconfig__h)
  62. windows__h=windows_.h
  63.  
  64. # Miscellaneous
  65.  
  66. gdebug_h=gdebug.h
  67. gsalloc_h=gsalloc.h
  68. gsargs_h=gsargs.h
  69. gserror_h=gserror.h
  70. gserrors_h=gserrors.h
  71. gsexit_h=gsexit.h
  72. gsgc_h=gsgc.h
  73. gsio_h=gsio.h
  74. gsmdebug_h=gsmdebug.h
  75. gsmemory_h=gsmemory.h
  76. gsrefct_h=gsrefct.h
  77. gsstruct_h=gsstruct.h
  78. gstypes_h=gstypes.h
  79. gx_h=gx.h $(stdio__h) $(gdebug_h) $(gserror_h) $(gsio_h) $(gsmemory_h) $(gstypes_h)
  80.  
  81. GX=$(AK) $(gx_h)
  82. GXERR=$(GX) $(gserrors_h)
  83.  
  84. ###### Support
  85.  
  86. ### Include files
  87.  
  88. gsbitops_h=gsbitops.h
  89. gsbittab_h=gsbittab.h
  90. gsflip_h=gsflip.h
  91. gsuid_h=gsuid.h
  92. gsutil_h=gsutil.h
  93. gxarith_h=gxarith.h
  94. gxbitmap_h=gxbitmap.h $(gstypes_h)
  95. gxfarith_h=gxfarith.h $(gconfigv_h) $(gxarith_h)
  96. gxfixed_h=gxfixed.h
  97. gxobj_h=gxobj.h $(gxbitmap_h)
  98. # Out of order
  99. gxalloc_h=gxalloc.h $(gsalloc_h) $(gxobj_h)
  100.  
  101. ### Executable code
  102.  
  103. gsalloc.$(OBJ): gsalloc.c $(GX) $(memory__h) $(string__h) \
  104.   $(gsmdebug_h) $(gsstruct_h) $(gxalloc_h)
  105.  
  106. gsargs.$(OBJ): gsargs.c $(ctype__h) $(stdio__h) $(string__h)\
  107.  $(gsargs_h) $(gsexit_h) $(gsmemory_h)
  108.  
  109. gsbitops.$(OBJ): gsbitops.c $(AK) $(memory__h) $(stdio__h)\
  110.  $(gdebug_h) $(gsbitops_h) $(gstypes_h)
  111.  
  112. gsbittab.$(OBJ): gsbittab.c $(AK) $(stdpre_h) $(gsbittab_h)
  113.  
  114. # gsfemu is only used in FPU-less configurations, and currently only with gcc.
  115. # We thought using CCLEAF would produce smaller code, but it actually
  116. # produces larger code!
  117. gsfemu.$(OBJ): gsfemu.c $(AK) $(std_h)
  118.  
  119. # gsflip is not part of the standard configuration: it's rather large,
  120. # and no standard facility requires it.
  121. gsflip.$(OBJ): gsflip.c $(GX) $(gsbittab_h) $(gsflip_h)
  122.     $(CCLEAF) gsflip.c
  123.  
  124. gsmemory.$(OBJ): gsmemory.c $(GX) $(malloc__h) $(memory__h) \
  125.   $(gsmdebug_h) $(gsrefct_h) $(gsstruct_h)
  126.  
  127. gsmisc.$(OBJ): gsmisc.c $(GXERR) $(gconfigv_h) \
  128.   $(malloc__h) $(math__h) $(memory__h) $(gpcheck_h) $(gxfarith_h) $(gxfixed_h)
  129.  
  130. # gsnogc currently is only used in library-only configurations.
  131. gsnogc.$(OBJ): gsnogc.c $(GX)\
  132.  $(gsgc_h) $(gsmdebug_h) $(gsstruct_h) $(gxalloc_h)
  133.  
  134. gsutil.$(OBJ): gsutil.c $(AK) $(memory__h) $(string__h) $(gconfigv_h)\
  135.  $(gstypes_h) $(gsuid_h) $(gsutil_h)
  136.  
  137. ###### Low-level facilities and utilities
  138.  
  139. ### Include files
  140.  
  141. gdevbbox_h=gdevbbox.h
  142. gdevmem_h=gdevmem.h $(gsbitops_h)
  143. gdevmrop_h=gdevmrop.h
  144.  
  145. gsccode_h=gsccode.h
  146. gsccolor_h=gsccolor.h $(gsstruct_h)
  147. gscsel_h=gscsel.h
  148. gscolor1_h=gscolor1.h
  149. gscoord_h=gscoord.h
  150. gscpm_h=gscpm.h
  151. gsdevice_h=gsdevice.h
  152. gsfcmap_h=gsfcmap.h $(gsccode_h)
  153. gsfont_h=gsfont.h
  154. gshsb_h=gshsb.h
  155. gsht_h=gsht.h
  156. gsht1_h=gsht1.h $(gsht_h)
  157. gsiparam_h=gsiparam.h
  158. gsjconf_h=gsjconf.h $(std_h)
  159. gslib_h=gslib.h
  160. gslparam_h=gslparam.h
  161. gsmatrix_h=gsmatrix.h
  162. gspaint_h=gspaint.h
  163. gsparam_h=gsparam.h
  164. gspath2_h=gspath2.h
  165. gspenum_h=gspenum.h
  166. gsropt_h=gsropt.h
  167. gsxfont_h=gsxfont.h
  168. # Out of order
  169. gschar_h=gschar.h $(gsccode_h) $(gscpm_h)
  170. gscolor2_h=gscolor2.h $(gsccolor_h) $(gsuid_h) $(gxbitmap_h)
  171. gsimage_h=gsimage.h $(gsiparam_h)
  172. gsline_h=gsline.h $(gslparam_h)
  173. gspath_h=gspath.h $(gspenum_h)
  174. gsrop_h=gsrop.h $(gsropt_h)
  175.  
  176. gxbcache_h=gxbcache.h $(gxbitmap_h)
  177. gxchar_h=gxchar.h $(gschar_h)
  178. gxcindex_h=gxcindex.h
  179. gxcvalue_h=gxcvalue.h
  180. gxclio_h=gxclio.h
  181. gxclip2_h=gxclip2.h
  182. gxcolor2_h=gxcolor2.h $(gscolor2_h) $(gsrefct_h) $(gxbitmap_h)
  183. gxcoord_h=gxcoord.h $(gscoord_h)
  184. gxcpath_h=gxcpath.h
  185. gxdda_h=gxdda.h
  186. gxdevrop_h=gxdevrop.h
  187. gxdevmem_h=gxdevmem.h
  188. gxdither_h=gxdither.h
  189. gxfcmap_h=gxfcmap.h $(gsfcmap_h) $(gsuid_h)
  190. gxfont0_h=gxfont0.h
  191. gxfrac_h=gxfrac.h
  192. gxftype_h=gxftype.h
  193. gxhttile_h=gxhttile.h
  194. gxhttype_h=gxhttype.h
  195. gxiodev_h=gxiodev.h $(stat__h)
  196. gxline_h=gxline.h $(gslparam_h)
  197. gxlum_h=gxlum.h
  198. gxmatrix_h=gxmatrix.h $(gsmatrix_h)
  199. gxpaint_h=gxpaint.h
  200. gxpath_h=gxpath.h $(gscpm_h) $(gslparam_h) $(gspenum_h)
  201. gxpcache_h=gxpcache.h
  202. gxpcolor_h=gxpcolor.h $(gxpcache_h)
  203. gxsample_h=gxsample.h
  204. gxstate_h=gxstate.h
  205. gxtmap_h=gxtmap.h
  206. gxxfont_h=gxxfont.h $(gsccode_h) $(gsmatrix_h) $(gsuid_h) $(gsxfont_h)
  207. # The following are out of order because they include other files.
  208. gsdcolor_h=gsdcolor.h $(gsccolor_h) $(gxarith_h) $(gxbitmap_h) $(gxcindex_h) $(gxhttile_h)
  209. gxdcolor_h=gxdcolor.h $(gscsel_h) $(gsdcolor_h) $(gsropt_h) $(gsstruct_h)
  210. gxdevice_h=gxdevice.h $(stdio__h) $(gsdcolor_h) $(gsiparam_h) $(gsmatrix_h) \
  211.   $(gsropt_h) $(gsstruct_h) $(gsxfont_h) \
  212.   $(gxbitmap_h) $(gxcindex_h) $(gxcvalue_h) $(gxfixed_h)
  213. gxdht_h=gxdht.h $(gsrefct_h) $(gxarith_h) $(gxhttype_h)
  214. gxctable_h=gxctable.h $(gxfixed_h) $(gxfrac_h)
  215. gxfcache_h=gxfcache.h $(gsuid_h) $(gsxfont_h) $(gxbcache_h) $(gxftype_h)
  216. gxfont_h=gxfont.h $(gsfont_h) $(gsuid_h) $(gsstruct_h) $(gxftype_h)
  217. gscie_h=gscie.h $(gsrefct_h) $(gxctable_h)
  218. gscsepr_h=gscsepr.h
  219. gscspace_h=gscspace.h
  220. gxdcconv_h=gxdcconv.h $(gxfrac_h)
  221. gxfmap_h=gxfmap.h $(gsrefct_h) $(gxfrac_h) $(gxtmap_h)
  222. gxistate_h=gxistate.h $(gscsel_h) $(gsropt_h) $(gxcvalue_h) $(gxfixed_h) $(gxline_h) $(gxmatrix_h) $(gxtmap_h)
  223. gxclist_h=gxclist.h $(gscspace_h) $(gxbcache_h) $(gxclio_h) $(gxistate_h)
  224. gxcmap_h=gxcmap.h $(gscsel_h) $(gxcvalue_h) $(gxfmap_h)
  225. gxcspace_h=gxcspace.h $(gscspace_h) $(gsccolor_h) $(gscsel_h) $(gsstruct_h) $(gxfrac_h)
  226. gxht_h=gxht.h $(gsht1_h) $(gsrefct_h) $(gxhttype_h) $(gxtmap_h)
  227. gscolor_h=gscolor.h $(gxtmap_h)
  228. gsstate_h=gsstate.h $(gscolor_h) $(gscsel_h) $(gsdevice_h) $(gsht_h) $(gsline_h)
  229.  
  230. gzacpath_h=gzacpath.h
  231. gzcpath_h=gzcpath.h $(gxcpath_h)
  232. gzht_h=gzht.h $(gscsel_h) $(gxdht_h) $(gxfmap_h) $(gxht_h) $(gxhttile_h)
  233. gzline_h=gzline.h $(gxline_h)
  234. gzpath_h=gzpath.h $(gsstruct_h) $(gxpath_h)
  235. gzstate_h=gzstate.h $(gscpm_h) $(gsrefct_h) $(gsstate_h)\
  236.  $(gxdcolor_h) $(gxistate_h) $(gxstate_h)
  237.  
  238. gdevprn_h=gdevprn.h $(memory__h) $(string__h) $(gx_h) \
  239.   $(gserrors_h) $(gsmatrix_h) $(gsparam_h) $(gsutil_h) \
  240.   $(gxdevice_h) $(gxdevmem_h) $(gxclist_h)
  241.  
  242. sa85x_h=sa85x.h
  243. sbtx_h=sbtx.h
  244. scanchar_h=scanchar.h
  245. scommon_h=scommon.h $(gsmemory_h) $(gstypes_h) $(gsstruct_h)
  246. sdct_h=sdct.h
  247. shc_h=shc.h $(gsbittab_h)
  248. siscale_h=siscale.h $(gconfigv_h)
  249. sjpeg_h=sjpeg.h
  250. slzwx_h=slzwx.h
  251. spcxx_h=spcxx.h
  252. spdiffx_h=spdiffx.h
  253. spngpx_h=spngpx.h
  254. srlx_h=srlx.h
  255. sstring_h=sstring.h
  256. strimpl_h=strimpl.h $(scommon_h) $(gstypes_h) $(gsstruct_h)
  257. szlibx_h=szlibx.h
  258. # Out of order
  259. scf_h=scf.h $(shc_h)
  260. scfx_h=scfx.h $(shc_h)
  261. gximage_h=gximage.h $(gsiparam_h) $(gxcspace_h) $(gxdda_h) $(gxsample_h)\
  262.  $(siscale_h) $(strimpl_h)
  263.  
  264. ### Executable code
  265.  
  266. # gconfig and gscdefs are handled specially.  Currently they go in psbase
  267. # rather than in libcore, which is clearly wrong.
  268. gconfig=gconfig$(CONFIG)
  269. $(gconfig).$(OBJ): gconf.c $(GX) \
  270.   $(gscdefs_h) $(gconfig_h) $(gxdevice_h) $(gxiodev_h) $(MAKEFILE)
  271.     $(RM_) gconfig.h
  272.     $(RM_) $(gconfig).c
  273.     $(CP_) $(gconfig_h) gconfig.h
  274.     $(CP_) gconf.c $(gconfig).c
  275.     $(CCC) $(gconfig).c
  276.     $(RM_) gconfig.h
  277.     $(RM_) $(gconfig).c
  278.  
  279. gscdefs=gscdefs$(CONFIG)
  280. $(gscdefs).$(OBJ): gscdef.c $(stdpre_h) $(gscdefs_h) $(gconfig_h) $(MAKEFILE)
  281.     $(RM_) gconfig.h
  282.     $(RM_) $(gscdefs).c
  283.     $(CP_) $(gconfig_h) gconfig.h
  284.     $(CP_) gscdef.c $(gscdefs).c
  285.     $(CCC) $(gscdefs).c
  286.     $(RM_) gconfig.h
  287.     $(RM_) $(gscdefs).c
  288.  
  289. gxacpath.$(OBJ): gxacpath.c $(GXERR) \
  290.   $(gsdcolor_h) $(gsrop_h) $(gsstruct_h) $(gsutil_h) \
  291.   $(gxdevice_h) $(gxfixed_h) $(gxpaint_h) \
  292.   $(gzacpath_h) $(gzcpath_h) $(gzpath_h)
  293.  
  294. gxbcache.$(OBJ): gxbcache.c $(GX) $(memory__h) \
  295.   $(gsmdebug_h) $(gxbcache_h)
  296.  
  297. gxccache.$(OBJ): gxccache.c $(GXERR) $(gpcheck_h) \
  298.   $(gscspace_h) $(gsimage_h) $(gsstruct_h) \
  299.   $(gxchar_h) $(gxdevice_h) $(gxdevmem_h) $(gxfcache_h) \
  300.   $(gxfixed_h) $(gxfont_h) $(gxhttile_h) $(gxmatrix_h) $(gxxfont_h) \
  301.   $(gzstate_h) $(gzpath_h) $(gzcpath_h) 
  302.  
  303. gxccman.$(OBJ): gxccman.c $(GXERR) $(memory__h) $(gpcheck_h)\
  304.  $(gsbitops_h) $(gsstruct_h) $(gsutil_h) $(gxfixed_h) $(gxmatrix_h)\
  305.  $(gxdevice_h) $(gxdevmem_h) $(gxfont_h) $(gxfcache_h) $(gxchar_h)\
  306.  $(gxxfont_h) $(gzstate_h) $(gzpath_h)
  307.  
  308. gxcht.$(OBJ): gxcht.c $(GXERR) $(memory__h)\
  309.  $(gsutil_h)\
  310.  $(gxcmap_h) $(gxdcolor_h) $(gxdevice_h) $(gxfixed_h) $(gxistate_h)\
  311.  $(gxmatrix_h) $(gzht_h)
  312.  
  313. gxcmap.$(OBJ): gxcmap.c $(GXERR) \
  314.   $(gsccolor_h) \
  315.   $(gxcmap_h) $(gxcspace_h) $(gxdcconv_h) $(gxdevice_h) $(gxdither_h) \
  316.   $(gxfarith_h) $(gxfrac_h) $(gxlum_h) $(gzstate_h)
  317.  
  318. gxcpath.$(OBJ): gxcpath.c $(GXERR)\
  319.  $(gscoord_h) $(gsstruct_h) $(gsutil_h)\
  320.  $(gxdevice_h) $(gxfixed_h) $(gzpath_h) $(gzcpath_h)
  321.  
  322. gxdcconv.$(OBJ): gxdcconv.c $(GX) \
  323.   $(gsdcolor_h) $(gxcmap_h) $(gxdcconv_h) $(gxdevice_h) \
  324.   $(gxfarith_h) $(gxistate_h) $(gxlum_h)
  325.  
  326. gxdcolor.$(OBJ): gxdcolor.c $(GX) \
  327.   $(gsbittab_h) $(gxdcolor_h) $(gxdevice_h)
  328.  
  329. gxdither.$(OBJ): gxdither.c $(GX) \
  330.   $(gsstruct_h) $(gsdcolor_h) \
  331.   $(gxcmap_h) $(gxdevice_h) $(gxdither_h) $(gxlum_h) $(gzht_h)
  332.  
  333. gxfill.$(OBJ): gxfill.c $(GXERR) $(math__h) \
  334.   $(gsstruct_h) \
  335.   $(gxdcolor_h) $(gxdevice_h) $(gxfixed_h) $(gxhttile_h) \
  336.   $(gxistate_h) $(gxpaint_h) \
  337.   $(gzcpath_h) $(gzpath_h)
  338.  
  339. gxht.$(OBJ): gxht.c $(GXERR) $(memory__h)\
  340.  $(gsbitops_h) $(gsstruct_h) $(gsutil_h)\
  341.  $(gxdcolor_h) $(gxdevice_h) $(gxfixed_h) $(gxistate_h) $(gzht_h)
  342.  
  343. gximage.$(OBJ): gximage.c $(GXERR) $(math__h) $(memory__h) $(gpcheck_h)\
  344.  $(gsccolor_h) $(gspaint_h) $(gsstruct_h)\
  345.  $(gxfixed_h) $(gxfrac_h) $(gxarith_h) $(gxmatrix_h)\
  346.  $(gxdevice_h) $(gzpath_h) $(gzstate_h)\
  347.  $(gzcpath_h) $(gxdevmem_h) $(gximage_h) $(gdevmrop_h)
  348.  
  349. gximage0.$(OBJ): gximage0.c $(GXERR) $(memory__h)\
  350.  $(gxcpath_h) $(gxdevice_h) $(gximage_h)
  351.  
  352. gximage1.$(OBJ): gximage1.c $(GXERR) $(memory__h) $(gpcheck_h)\
  353.  $(gdevmem_h) $(gsbittab_h) $(gsccolor_h) $(gspaint_h) $(gsutil_h)\
  354.  $(gxarith_h) $(gxcmap_h) $(gxcpath_h) $(gxdcolor_h) $(gxdevice_h)\
  355.  $(gxdevmem_h) $(gxfixed_h) $(gximage_h) $(gxistate_h) $(gxmatrix_h)\
  356.  $(gzht_h) $(gzpath_h)
  357.  
  358. gximage2.$(OBJ): gximage2.c $(GXERR) $(memory__h) $(gpcheck_h)\
  359.  $(gdevmem_h) $(gsccolor_h) $(gspaint_h) $(gsutil_h)\
  360.  $(gxarith_h) $(gxcmap_h) $(gxcpath_h) $(gxdcolor_h) $(gxdevice_h)\
  361.  $(gxdevmem_h) $(gxfixed_h) $(gximage_h) $(gxistate_h) $(gxmatrix_h)\
  362.  $(gzht_h) $(gzpath_h)
  363.  
  364. gxpaint.$(OBJ): gxpaint.c $(GX) \
  365.   $(gxdevice_h) $(gxhttile_h) $(gxpaint_h) $(gxpath_h) $(gzstate_h)
  366.  
  367. gxpath.$(OBJ): gxpath.c $(GXERR) \
  368.   $(gsstruct_h) $(gxfixed_h) $(gzpath_h)
  369.  
  370. gxpath2.$(OBJ): gxpath2.c $(GXERR) $(math__h) \
  371.   $(gxfixed_h) $(gxarith_h) $(gzpath_h)
  372.  
  373. gxpcopy.$(OBJ): gxpcopy.c $(GXERR) $(math__h) $(gconfigv_h) \
  374.   $(gxfarith_h) $(gxfixed_h) $(gzpath_h)
  375.  
  376. gxpdash.$(OBJ): gxpdash.c $(GX) $(math__h) \
  377.   $(gscoord_h) $(gsline_h) $(gsmatrix_h) \
  378.   $(gxfixed_h) $(gzline_h) $(gzpath_h)
  379.  
  380. gxpflat.$(OBJ): gxpflat.c $(GX)\
  381.  $(gxarith_h) $(gxfixed_h) $(gzpath_h)
  382.  
  383. gxsample.$(OBJ): gxsample.c $(GX)\
  384.  $(gxsample_h)
  385.  
  386. gxstroke.$(OBJ): gxstroke.c $(GXERR) $(math__h) $(gpcheck_h) \
  387.   $(gscoord_h) $(gsdcolor_h) $(gsdevice_h) \
  388.   $(gxdevice_h) $(gxfarith_h) $(gxfixed_h) \
  389.   $(gxhttile_h) $(gxistate_h) $(gxmatrix_h) $(gxpaint_h) \
  390.   $(gzcpath_h) $(gzline_h) $(gzpath_h)
  391.  
  392. ###### Higher-level facilities
  393.  
  394. gschar.$(OBJ): gschar.c $(GXERR) $(memory__h) $(string__h)\
  395.  $(gspath_h) $(gsstruct_h) \
  396.  $(gxfixed_h) $(gxarith_h) $(gxmatrix_h) $(gxcoord_h) $(gxdevice_h) $(gxdevmem_h) \
  397.  $(gxfont_h) $(gxfont0_h) $(gxchar_h) $(gxfcache_h) $(gzpath_h) $(gzstate_h)
  398.  
  399. gscolor.$(OBJ): gscolor.c $(GXERR) \
  400.   $(gsccolor_h) $(gsstruct_h) $(gsutil_h) \
  401.   $(gxcmap_h) $(gxcspace_h) $(gxdcconv_h) $(gxdevice_h) $(gzstate_h)
  402.  
  403. gscoord.$(OBJ): gscoord.c $(GXERR) $(math__h) \
  404.   $(gsccode_h) $(gxcoord_h) $(gxdevice_h) $(gxfarith_h) $(gxfixed_h) $(gxfont_h) \
  405.   $(gxmatrix_h) $(gxpath_h) $(gzstate_h)
  406.  
  407. gsdevice.$(OBJ): gsdevice.c $(GXERR) $(ctype__h) $(memory__h) $(string__h) $(gp_h)\
  408.  $(gscdefs_h) $(gscoord_h) $(gsmatrix_h) $(gspaint_h) $(gspath_h) $(gsstruct_h)\
  409.  $(gxcmap_h) $(gxdevice_h) $(gxdevmem_h) $(gzstate_h)
  410.  
  411. gsdevmem.$(OBJ): gsdevmem.c $(GXERR) $(math__h) $(memory__h) \
  412.   $(gxarith_h) $(gxdevice_h) $(gxdevmem_h)
  413.  
  414. gsdparam.$(OBJ): gsdparam.c $(GXERR) $(memory__h) $(string__h) \
  415.   $(gsparam_h) $(gxdevice_h) $(gxfixed_h)
  416.  
  417. gsfont.$(OBJ): gsfont.c $(GXERR) $(memory__h)\
  418.  $(gschar_h) $(gsstruct_h) \
  419.  $(gxdevice_h) $(gxfixed_h) $(gxmatrix_h) $(gxfont_h) $(gxfcache_h)\
  420.  $(gzstate_h)
  421.  
  422. gsht.$(OBJ): gsht.c $(GXERR) $(memory__h)\
  423.  $(gsstruct_h) $(gsutil_h) $(gxarith_h) $(gxdevice_h) $(gzht_h) $(gzstate_h)
  424.  
  425. gshtscr.$(OBJ): gshtscr.c $(GXERR) $(math__h) \
  426.   $(gsstruct_h) $(gxarith_h) $(gxdevice_h) $(gzht_h) $(gzstate_h)
  427.  
  428. gsimage.$(OBJ): gsimage.c $(GXERR) $(memory__h)\
  429.   $(gscspace_h) $(gsimage_h) $(gsmatrix_h) $(gsstruct_h) \
  430.   $(gxarith_h) $(gxdevice_h) $(gzstate_h)
  431.  
  432. gsimpath.$(OBJ): gsimpath.c $(GXERR) \
  433.   $(gsmatrix_h) $(gsstate_h) $(gspath_h)
  434.  
  435. gsinit.$(OBJ): gsinit.c $(memory__h) $(stdio__h) \
  436.   $(gdebug_h) $(gp_h) $(gscdefs_h) $(gslib_h) $(gsmemory_h)
  437.  
  438. gsiodev.$(OBJ): gsiodev.c $(GXERR) $(errno__h) $(string__h) \
  439.   $(gp_h) $(gsparam_h) $(gxiodev_h)
  440.  
  441. gsline.$(OBJ): gsline.c $(GXERR) $(math__h) $(memory__h)\
  442.  $(gsline_h) $(gxfixed_h) $(gxmatrix_h) $(gzstate_h) $(gzline_h)
  443.  
  444. gsmatrix.$(OBJ): gsmatrix.c $(GXERR) $(math__h) \
  445.   $(gxfarith_h) $(gxfixed_h) $(gxmatrix_h)
  446.  
  447. gspaint.$(OBJ): gspaint.c $(GXERR) $(math__h) $(gpcheck_h)\
  448.  $(gspaint_h) $(gspath_h) $(gsropt_h)\
  449.  $(gxcpath_h) $(gxdevmem_h) $(gxdevice_h) $(gxfixed_h) $(gxmatrix_h) $(gxpaint_h)\
  450.  $(gzpath_h) $(gzstate_h)
  451.  
  452. gsparam.$(OBJ): gsparam.c $(GXERR) $(memory__h) $(string__h)\
  453.  $(gsparam_h) $(gsstruct_h)
  454.  
  455. gspath.$(OBJ): gspath.c $(GXERR) \
  456.   $(gscoord_h) $(gxdevice_h) $(gxfixed_h) $(gxmatrix_h) \
  457.   $(gzcpath_h) $(gzpath_h) $(gzstate_h)
  458.  
  459. gsstate.$(OBJ): gsstate.c $(GXERR) $(memory__h)\
  460.  $(gscie_h) $(gscolor2_h) $(gscoord_h) $(gspath_h) $(gsstruct_h) $(gsutil_h) \
  461.  $(gxcmap_h) $(gxcspace_h) $(gxdevice_h) $(gxpcache_h) \
  462.  $(gzstate_h) $(gzht_h) $(gzline_h) $(gzpath_h) $(gzcpath_h)
  463.  
  464. ###### The internal devices
  465.  
  466. ### The built-in device implementations:
  467.  
  468. # The bounding box device is not normally a free-standing device.
  469. # To configure it as one for testing, change SETMOD to SETDEV, and also
  470. # define TEST in gdevbbox.c.
  471. bbox.dev: $(LIB_MAK) $(ECHOGS_XE) gdevbbox.$(OBJ)
  472.     $(SETMOD) bbox gdevbbox.$(OBJ)
  473.  
  474. gdevbbox.$(OBJ): gdevbbox.c $(GXERR) $(math__h) $(memory__h) \
  475.   $(gdevbbox_h) $(gsdevice_h) $(gsparam_h) \
  476.   $(gxcpath_h) $(gxdevice_h) $(gxistate_h) $(gxpaint_h) $(gxpath_h)
  477.  
  478. gdevddrw.$(OBJ): gdevddrw.c $(GXERR) $(math__h) $(gpcheck_h) \
  479.   $(gxdcolor_h) $(gxdevice_h) $(gxfixed_h) $(gxmatrix_h)
  480.  
  481. gdevdflt.$(OBJ): gdevdflt.c $(GXERR) $(gpcheck_h)\
  482.  $(gsbittab_h) $(gsropt_h)\
  483.  $(gxcpath_h) $(gxdcolor_h) $(gxdevice_h) $(gxdevmem_h)
  484.  
  485. gdevnfwd.$(OBJ): gdevnfwd.c $(GX) \
  486.   $(gxdevice_h)
  487.  
  488. # The render/RGB device is only here as an example, but we can configure
  489. # it as a real device for testing.
  490. rrgb.dev: $(LIB_MAK) $(ECHOGS_XE) gdevrrgb.$(OBJ) page.dev
  491.     $(SETPDEV) rrgb gdevrrgb.$(OBJ)
  492.  
  493. gdevrrgb.$(OBJ): gdevrrgb.c $(AK)\
  494.  $(gdevprn_h)
  495.  
  496. ### The memory devices:
  497.  
  498. gdevabuf.$(OBJ): gdevabuf.c $(GXERR) $(memory__h)\
  499.  $(gxdevice_h) $(gxdevmem_h) $(gdevmem_h)
  500.  
  501. gdevmem.$(OBJ): gdevmem.c $(GXERR) $(memory__h)\
  502.  $(gsstruct_h) $(gxdevice_h) $(gxdevmem_h) $(gdevmem_h)
  503.  
  504. gdevm1.$(OBJ): gdevm1.c $(GX) $(memory__h) $(gsrop_h)\
  505.  $(gxdevice_h) $(gxdevmem_h) $(gdevmem_h)
  506.  
  507. gdevm2.$(OBJ): gdevm2.c $(GX) $(memory__h)\
  508.  $(gxdevice_h) $(gxdevmem_h) $(gdevmem_h)
  509.  
  510. gdevm4.$(OBJ): gdevm4.c $(GX) $(memory__h)\
  511.  $(gxdevice_h) $(gxdevmem_h) $(gdevmem_h)
  512.  
  513. gdevm8.$(OBJ): gdevm8.c $(GX) $(memory__h)\
  514.  $(gxdevice_h) $(gxdevmem_h) $(gdevmem_h)
  515.  
  516. gdevm16.$(OBJ): gdevm16.c $(GX) $(memory__h)\
  517.  $(gxdevice_h) $(gxdevmem_h) $(gdevmem_h)
  518.  
  519. gdevm24.$(OBJ): gdevm24.c $(GX) $(memory__h)\
  520.  $(gxdevice_h) $(gxdevmem_h) $(gdevmem_h)
  521.  
  522. gdevm32.$(OBJ): gdevm32.c $(GX) $(memory__h)\
  523.  $(gxdevice_h) $(gxdevmem_h) $(gdevmem_h)
  524.  
  525. gdevmpla.$(OBJ): gdevmpla.c $(GX) $(memory__h)\
  526.  $(gxdevice_h) $(gxdevmem_h) $(gdevmem_h)
  527.  
  528. # Create a pseudo-"feature" for the entire graphics library.
  529.  
  530. LIB1s=gsalloc.$(OBJ) gsbitops.$(OBJ) gsbittab.$(OBJ)
  531. LIB2s=gschar.$(OBJ) gscolor.$(OBJ) gscoord.$(OBJ) gsdevice.$(OBJ) gsdevmem.$(OBJ)
  532. LIB3s=gsdparam.$(OBJ) gsfont.$(OBJ) gsht.$(OBJ) gshtscr.$(OBJ)
  533. LIB4s=gsimage.$(OBJ) gsimpath.$(OBJ) gsinit.$(OBJ) gsiodev.$(OBJ)
  534. LIB5s=gsline.$(OBJ) gsmatrix.$(OBJ) gsmemory.$(OBJ) gsmisc.$(OBJ)
  535. LIB6s=gspaint.$(OBJ) gsparam.$(OBJ) gspath.$(OBJ) gsstate.$(OBJ) gsutil.$(OBJ)
  536. LIB1x=gxacpath.$(OBJ) gxbcache.$(OBJ)
  537. LIB2x=gxccache.$(OBJ) gxccman.$(OBJ) gxcht.$(OBJ) gxcmap.$(OBJ) gxcpath.$(OBJ)
  538. LIB3x=gxdcconv.$(OBJ) gxdcolor.$(OBJ) gxdither.$(OBJ) gxfill.$(OBJ) gxht.$(OBJ)
  539. LIB4x=gximage.$(OBJ) gximage0.$(OBJ) gximage1.$(OBJ) gximage2.$(OBJ)
  540. LIB5x=gxpaint.$(OBJ) gxpath.$(OBJ) gxpath2.$(OBJ) gxpcopy.$(OBJ)
  541. LIB6x=gxpdash.$(OBJ) gxpflat.$(OBJ) gxsample.$(OBJ) gxstroke.$(OBJ)
  542. LIB1d=gdevabuf.$(OBJ) gdevddrw.$(OBJ) gdevdflt.$(OBJ) gdevnfwd.$(OBJ)
  543. LIB2d=gdevmem.$(OBJ) gdevm1.$(OBJ) gdevm2.$(OBJ) gdevm4.$(OBJ) gdevm8.$(OBJ)
  544. LIB3d=gdevm16.$(OBJ) gdevm24.$(OBJ) gdevm32.$(OBJ) gdevmpla.$(OBJ)
  545. LIBs=$(LIB1s) $(LIB2s) $(LIB3s) $(LIB4s) $(LIB5s) $(LIB6s)
  546. LIBx=$(LIB1x) $(LIB2x) $(LIB3x) $(LIB4x) $(LIB5x) $(LIB6x)
  547. LIBd=$(LIB1d) $(LIB2d) $(LIB3d)
  548. LIB_ALL=$(LIBs) $(LIBx) $(LIBd)
  549. libs.dev: $(LIB_MAK) $(ECHOGS_XE) $(LIBs)
  550.     $(EXP)echogs -w libs.dev $(LIB1s)
  551.     $(EXP)echogs -a libs.dev $(LIB2s)
  552.     $(EXP)echogs -a libs.dev $(LIB3s)
  553.     $(EXP)echogs -a libs.dev $(LIB4s)
  554.     $(EXP)echogs -a libs.dev $(LIB5s)
  555.     $(EXP)echogs -a libs.dev $(LIB6s)
  556.     $(ADDMOD) libs -init gscolor
  557.  
  558. libx.dev: $(LIB_MAK) $(ECHOGS_XE) $(LIBx)
  559.     $(EXP)echogs -w libx.dev $(LIB1x)
  560.     $(EXP)echogs -a libx.dev $(LIB2x)
  561.     $(EXP)echogs -a libx.dev $(LIB3x)
  562.     $(EXP)echogs -a libx.dev $(LIB4x)
  563.     $(EXP)echogs -a libx.dev $(LIB5x)
  564.     $(EXP)echogs -a libx.dev $(LIB6x)
  565.     $(ADDMOD) libx -init gximage1 gximage2
  566.  
  567. libd.dev: $(LIB_MAK) $(ECHOGS_XE) $(LIBd)
  568.     $(EXP)echogs -w libd.dev $(LIB1d)
  569.     $(EXP)echogs -a libd.dev $(LIB2d)
  570.     $(EXP)echogs -a libd.dev $(LIB3d)
  571.  
  572. # roplib shouldn't be required....
  573. libcore.dev: $(LIB_MAK) $(ECHOGS_XE)\
  574.   libs.dev libx.dev libd.dev iscale.dev roplib.dev
  575.     $(SETMOD) libcore
  576.     $(ADDMOD) libcore -dev nullpage
  577.     $(ADDMOD) libcore -include libs libx libd iscale roplib
  578.  
  579. # ---------------- Stream support ---------------- #
  580. # Currently the only things in the library that use this are clists
  581. # and file streams.
  582.  
  583. stream_h=stream.h $(scommon_h)
  584.  
  585. stream.$(OBJ): stream.c $(AK) $(stdio__h) $(memory__h) \
  586.   $(gdebug_h) $(gpcheck_h) $(stream_h) $(strimpl_h)
  587.  
  588. # ---------------- File streams ---------------- #
  589. # Currently only the high-level drivers use these, but more drivers will
  590. # probably use them eventually.
  591.  
  592. sfile_=sfx$(FILE_IMPLEMENTATION).$(OBJ) stream.$(OBJ)
  593. sfile.dev: $(LIB_MAK) $(ECHOGS_XE) $(sfile_)
  594.     $(SETMOD) sfile $(sfile_)
  595.  
  596. sfxstdio.$(OBJ): sfxstdio.c $(AK) $(stdio__h) $(memory__h) \
  597.   $(gdebug_h) $(gpcheck_h) $(stream_h) $(strimpl_h)
  598.  
  599. sfxfd.$(OBJ): sfxfd.c $(AK) $(stdio__h) $(errno__h) $(memory__h) \
  600.   $(gdebug_h) $(gpcheck_h) $(stream_h) $(strimpl_h)
  601.  
  602. sfxboth.$(OBJ): sfxboth.c sfxstdio.c sfxfd.c
  603.  
  604. # ---------------- CCITTFax filters ---------------- #
  605. # These are used by clists, some drivers, and Level 2 in general.
  606.  
  607. cfe_=scfe.$(OBJ) scfetab.$(OBJ) shc.$(OBJ)
  608. cfe.dev: $(LIB_MAK) $(ECHOGS_XE) $(cfe_)
  609.     $(SETMOD) cfe $(cfe_)
  610.  
  611. scfe.$(OBJ): scfe.c $(AK) $(memory__h) $(stdio__h) $(gdebug_h)\
  612.   $(scf_h) $(strimpl_h) $(scfx_h)
  613.  
  614. scfetab.$(OBJ): scfetab.c $(AK) $(std_h) $(scommon_h) $(scf_h)
  615.  
  616. shc.$(OBJ): shc.c $(AK) $(std_h) $(scommon_h) $(shc_h)
  617.  
  618. cfd_=scfd.$(OBJ) scfdtab.$(OBJ)
  619. cfd.dev: $(LIB_MAK) $(ECHOGS_XE) $(cfd_)
  620.     $(SETMOD) cfd $(cfd_)
  621.  
  622. scfd.$(OBJ): scfd.c $(AK) $(memory__h) $(stdio__h) $(gdebug_h)\
  623.   $(scf_h) $(strimpl_h) $(scfx_h)
  624.  
  625. scfdtab.$(OBJ): scfdtab.c $(AK) $(std_h) $(scommon_h) $(scf_h)
  626.  
  627. # ---------------- DCT (JPEG) filters ---------------- #
  628. # These are used by Level 2, and by the JPEG-writing driver.
  629.  
  630. # Common code
  631.  
  632. sdctc_=sdctc.$(OBJ) sjpegc.$(OBJ)
  633.  
  634. sdctc.$(OBJ): sdctc.c $(AK) $(stdio__h)\
  635.  $(sdct_h) $(strimpl_h)\
  636.  jpeglib.h
  637.  
  638. sjpegc.$(OBJ): sjpegc.c $(AK) $(stdio__h) $(string__h) $(gx_h)\
  639.  $(gserrors_h) $(sjpeg_h) $(sdct_h) $(strimpl_h) \
  640.  jerror.h jpeglib.h
  641.  
  642. # Encoding (compression)
  643.  
  644. sdcte_=$(sdctc_) sdcte.$(OBJ) sjpege.$(OBJ)
  645. sdcte.dev: $(LIB_MAK) $(ECHOGS_XE) $(sdcte_) jpege.dev
  646.     $(SETMOD) sdcte $(sdcte_)
  647.     $(ADDMOD) sdcte -include jpege
  648.  
  649. sdcte.$(OBJ): sdcte.c $(AK) $(memory__h) $(stdio__h) $(gdebug_h)\
  650.   $(sdct_h) $(sjpeg_h) $(strimpl_h) \
  651.   jerror.h jpeglib.h
  652.  
  653. sjpege.$(OBJ): sjpege.c $(AK) $(stdio__h) $(string__h) $(gx_h)\
  654.  $(gserrors_h) $(sjpeg_h) $(sdct_h) $(strimpl_h) \
  655.  jerror.h jpeglib.h
  656.  
  657. # Decoding (decompression)
  658.  
  659. sdctd_=$(sdctc_) sdctd.$(OBJ) sjpegd.$(OBJ)
  660. sdctd.dev: $(LIB_MAK) $(ECHOGS_XE) $(sdctd_) jpegd.dev
  661.     $(SETMOD) sdctd $(sdctd_)
  662.     $(ADDMOD) sdctd -include jpegd
  663.  
  664. sdctd.$(OBJ): sdctd.c $(AK) $(memory__h) $(stdio__h) $(gdebug_h)\
  665.   $(sdct_h) $(sjpeg_h) $(strimpl_h) \
  666.   jerror.h jpeglib.h
  667.  
  668. sjpegd.$(OBJ): sjpegd.c $(AK) $(stdio__h) $(string__h) $(gx_h)\
  669.  $(gserrors_h) $(sjpeg_h) $(sdct_h) $(strimpl_h)\
  670.  jerror.h jpeglib.h
  671.  
  672. # ---------------- LZW filters ---------------- #
  673. # These are used by Level 2 in general.
  674.  
  675. slzwe_=slzwce
  676. #slzwe_=slzwe
  677. lzwe_=$(slzwe_).$(OBJ) slzwc.$(OBJ)
  678. lzwe.dev: $(LIB_MAK) $(ECHOGS_XE) $(lzwe_)
  679.     $(SETMOD) lzwe $(lzwe_)
  680.  
  681. # We need slzwe.dev as a synonym for lzwe.dev for BAND_LIST_STORAGE = memory.
  682. slzwe.dev: lzwe.dev
  683.     $(CP_) lzwe.dev slzwe.dev
  684.  
  685. slzwce.$(OBJ): slzwce.c $(AK) $(stdio__h) $(gdebug_h)\
  686.   $(slzwx_h) $(strimpl_h)
  687.  
  688. slzwe.$(OBJ): slzwe.c $(AK) $(stdio__h) $(gdebug_h)\
  689.   $(slzwx_h) $(strimpl_h)
  690.  
  691. slzwc.$(OBJ): slzwc.c $(AK) $(std_h)\
  692.   $(slzwx_h) $(strimpl_h)
  693.  
  694. lzwd_=slzwd.$(OBJ) slzwc.$(OBJ)
  695. lzwd.dev: $(LIB_MAK) $(ECHOGS_XE) $(lzwd_)
  696.     $(SETMOD) lzwd $(lzwd_)
  697.  
  698. # We need slzwd.dev as a synonym for lzwd.dev for BAND_LIST_STORAGE = memory.
  699. slzwd.dev: lzwd.dev
  700.     $(CP_) lzwd.dev slzwd.dev
  701.  
  702. slzwd.$(OBJ): slzwd.c $(AK) $(stdio__h) $(gdebug_h)\
  703.   $(slzwx_h) $(strimpl_h)
  704.  
  705. # ---------------- PCX decoding filter ---------------- #
  706. # This is an adhoc filter not used by anything in the standard configuration.
  707.  
  708. pcxd_=spcxd.$(OBJ)
  709. pcxd.dev: $(LIB_MAK) $(ECHOGS_XE) $(pcxd_)
  710.     $(SETMOD) pcxd $(pcxd_)
  711.  
  712. spcxd.$(OBJ): spcxd.c $(AK) $(stdio__h) $(memory__h) \
  713.   $(spcxx_h) $(strimpl_h)
  714.  
  715. # ---------------- Pixel-difference filters ---------------- #
  716. # The Predictor facility of the LZW and Flate filters uses these.
  717.  
  718. pdiff_=spdiff.$(OBJ)
  719. pdiff.dev: $(LIB_MAK) $(ECHOGS_XE) $(pdiff_)
  720.     $(SETMOD) pdiff $(pdiff_)
  721.  
  722. spdiff.$(OBJ): spdiff.c $(AK) $(stdio__h)\
  723.  $(spdiffx_h) $(strimpl_h)
  724.  
  725. # ---------------- PNG pixel prediction filters ---------------- #
  726. # The Predictor facility of the LZW and Flate filters uses these.
  727.  
  728. pngp_=spngp.$(OBJ)
  729. pngp.dev: $(LIB_MAK) $(ECHOGS_XE) $(pngp_)
  730.     $(SETMOD) pngp $(pngp_)
  731.  
  732. spngp.$(OBJ): spngp.c $(AK) $(memory__h)\
  733.   $(spngpx_h) $(strimpl_h)
  734.  
  735. # ---------------- RunLength filters ---------------- #
  736. # These are used by clists and also by Level 2 in general.
  737.  
  738. rle_=srle.$(OBJ)
  739. rle.dev: $(LIB_MAK) $(ECHOGS_XE) $(rle_)
  740.     $(SETMOD) rle $(rle_)
  741.  
  742. srle.$(OBJ): srle.c $(AK) $(stdio__h) $(memory__h) \
  743.   $(srlx_h) $(strimpl_h)
  744.  
  745. rld_=srld.$(OBJ)
  746. rld.dev: $(LIB_MAK) $(ECHOGS_XE) $(rld_)
  747.     $(SETMOD) rld $(rld_)
  748.  
  749. srld.$(OBJ): srld.c $(AK) $(stdio__h) $(memory__h) \
  750.   $(srlx_h) $(strimpl_h)
  751.  
  752. # ---------------- String encoding/decoding filters ---------------- #
  753. # These are used by the PostScript and PDF writers, and also by the
  754. # PostScript interpreter.
  755.  
  756. scantab.$(OBJ): scantab.c $(AK) $(stdpre_h)\
  757.  $(scanchar_h) $(scommon_h)
  758.  
  759. sfilter2.$(OBJ): sfilter2.c $(AK) $(memory__h) $(stdio__h)\
  760.  $(sa85x_h) $(scanchar_h) $(sbtx_h) $(strimpl_h)
  761.  
  762. sstring.$(OBJ): sstring.c $(AK) $(stdio__h) $(memory__h) $(string__h)\
  763.  $(scanchar_h) $(sstring_h) $(strimpl_h)
  764.  
  765. # ---------------- zlib filters ---------------- #
  766. # These are used by clists and are also available as filters.
  767.  
  768. szlibc_=szlibc.$(OBJ)
  769.  
  770. szlibc.$(OBJ): szlibc.c $(AK) $(std_h) \
  771.   $(gsmemory_h) $(gsstruct_h) $(gstypes_h) $(strimpl_h) $(szlibx_h)
  772.     $(CCCZ) szlibc.c
  773.  
  774. szlibe_=$(szlibc_) szlibe.$(OBJ)
  775. szlibe.dev: $(LIB_MAK) $(ECHOGS_XE) zlibe.dev $(szlibe_)
  776.     $(SETMOD) szlibe $(szlibe_)
  777.     $(ADDMOD) szlibe -include zlibe
  778.  
  779. szlibe.$(OBJ): szlibe.c $(AK) $(std_h) \
  780.   $(gsmemory_h) $(strimpl_h) $(szlibx_h)
  781.     $(CCCZ) szlibe.c
  782.  
  783. szlibd_=$(szlibc_) szlibd.$(OBJ)
  784. szlibd.dev: $(LIB_MAK) $(ECHOGS_XE) zlibd.dev $(szlibd_)
  785.     $(SETMOD) szlibd $(szlibd_)
  786.     $(ADDMOD) szlibd -include zlibd
  787.  
  788. szlibd.$(OBJ): szlibd.c $(AK) $(std_h) \
  789.   $(gsmemory_h) $(strimpl_h) $(szlibx_h)
  790.     $(CCCZ) szlibd.c
  791.  
  792. # ---------------- Command lists ---------------- #
  793.  
  794. gxcldev_h=gxcldev.h $(gxclist_h) $(gsropt_h) $(gxht_h) $(gxtmap_h) $(gxdht_h)\
  795.   $(strimpl_h) $(scfx_h) $(srlx_h)
  796. gxclpage_h=gxclpage.h $(gxclio_h)
  797. gxclpath_h=gxclpath.h $(gxfixed_h)
  798.  
  799. # Command list package.  Currently the higher-level facilities are required,
  800. # but eventually they will be optional.
  801. clist.dev: $(LIB_MAK) $(ECHOGS_XE) clbase.dev clpath.dev
  802.     $(SETMOD) clist -include clbase clpath
  803.  
  804. # Base command list facility.
  805. clbase1_=gxclist.$(OBJ) gxclbits.$(OBJ) gxclpage.$(OBJ)
  806. clbase2_=gxclread.$(OBJ) gxclrect.$(OBJ) stream.$(OBJ)
  807. clbase_=$(clbase1_) $(clbase2_)
  808. clbase.dev: $(LIB_MAK) $(ECHOGS_XE) $(clbase_) cl$(BAND_LIST_STORAGE).dev \
  809.   cfe.dev cfd.dev rle.dev rld.dev
  810.     $(SETMOD) clbase $(clbase1_)
  811.     $(ADDMOD) clbase -obj $(clbase2_)
  812.     $(ADDMOD) clbase -include cl$(BAND_LIST_STORAGE) cfe cfd rle rld
  813.  
  814. gdevht_h=gdevht.h $(gzht_h)
  815.  
  816. gdevht.$(OBJ): gdevht.c $(GXERR) \
  817.   $(gdevht_h) $(gxdcconv_h) $(gxdcolor_h) $(gxdevice_h) $(gxdither_h)
  818.  
  819. gxclist.$(OBJ): gxclist.c $(GXERR) $(memory__h) $(string__h)\
  820.  $(gp_h) $(gpcheck_h)\
  821.  $(gxcldev_h) $(gxdevice_h) $(gxdevmem_h)
  822.  
  823. gxclbits.$(OBJ): gxclbits.c $(GXERR) $(memory__h) $(gpcheck_h)\
  824.  $(gsbitops_h) $(gxcldev_h) $(gxdevice_h) $(gxdevmem_h) $(gxfmap_h)
  825.  
  826. gxclpage.$(OBJ): gxclpage.c $(AK)\
  827.  $(gdevprn_h) $(gxcldev_h) $(gxclpage_h)
  828.  
  829. # (gxclread shouldn't need gxclpath.h)
  830. gxclread.$(OBJ): gxclread.c $(GXERR) $(memory__h) $(gp_h) $(gpcheck_h)\
  831.  $(gdevht_h)\
  832.  $(gsbitops_h) $(gscoord_h) $(gsdevice_h) $(gsstate_h)\
  833.  $(gxcldev_h) $(gxclpath_h) $(gxcmap_h) $(gxcspace_h) $(gxdcolor_h)\
  834.  $(gxdevice_h) $(gxdevmem_h)\
  835.  $(gxhttile_h) $(gxpaint_h) $(gzacpath_h) $(gzcpath_h) $(gzpath_h)\
  836.  $(stream_h) $(strimpl_h)
  837.  
  838. gxclrect.$(OBJ): gxclrect.c $(GXERR)\
  839.  $(gsutil_h) $(gxcldev_h) $(gxdevice_h) $(gxdevmem_h)
  840.  
  841. # Higher-level command list facilities.
  842. clpath_=gxclimag.$(OBJ) gxclpath.$(OBJ)
  843. clpath.dev: $(LIB_MAK) $(ECHOGS_XE) $(clpath_) psl2cs.dev
  844.     $(SETMOD) clpath $(clpath_)
  845.     $(ADDMOD) clpath -include psl2cs
  846.     $(ADDMOD) clpath -init climag clpath
  847.  
  848. gxclimag.$(OBJ): gxclimag.c $(GXERR) $(math__h) $(memory__h)\
  849.  $(gscspace_h)\
  850.  $(gxarith_h) $(gxcldev_h) $(gxclpath_h) $(gxdevice_h) $(gxdevmem_h)\
  851.  $(gxfmap_h)\
  852.  $(siscale_h) $(strimpl_h)
  853.  
  854. gxclpath.$(OBJ): gxclpath.c $(GXERR) $(math__h) $(memory__h) $(gpcheck_h)\
  855.  $(gxcldev_h) $(gxclpath_h) $(gxcolor2_h) $(gxdevice_h) $(gxdevmem_h)\
  856.  $(gxpaint_h) \
  857.  $(gzcpath_h) $(gzpath_h)
  858.  
  859. # Implement band lists on files.
  860.  
  861. clfile_=gxclfile.$(OBJ)
  862. clfile.dev: $(LIB_MAK) $(ECHOGS_XE) $(clfile_)
  863.     $(SETMOD) clfile $(clfile_)
  864.  
  865. gxclfile.$(OBJ): gxclfile.c $(stdio__h) $(string__h) \
  866.   $(gp_h) $(gsmemory_h) $(gserror_h) $(gserrors_h) $(gxclio_h)
  867.  
  868. # Implement band lists in memory (RAM).
  869.  
  870. clmemory_=gxclmem.$(OBJ) gxcl$(BAND_LIST_COMPRESSOR).$(OBJ)
  871. clmemory.dev: $(LIB_MAK) $(ECHOGS_XE) $(clmemory_) s$(BAND_LIST_COMPRESSOR)e.dev s$(BAND_LIST_COMPRESSOR)d.dev
  872.     $(SETMOD) clmemory $(clmemory_)
  873.     $(ADDMOD) clmemory -include s$(BAND_LIST_COMPRESSOR)e s$(BAND_LIST_COMPRESSOR)d
  874.     $(ADDMOD) clmemory -init cl_$(BAND_LIST_COMPRESSOR)
  875.  
  876. gxclmem_h=gxclmem.h $(gxclio_h) $(strimpl_h)
  877.  
  878. gxclmem.$(OBJ): gxclmem.c $(GXERR) $(LIB_MAK) $(memory__h) \
  879.   $(gxclmem_h)
  880.  
  881. # Implement the compression method for RAM-based band lists.
  882.  
  883. gxcllzw.$(OBJ): gxcllzw.c $(std_h)\
  884.  $(gsmemory_h) $(gstypes_h) $(gxclmem_h) $(slzwx_h)
  885.  
  886. gxclzlib.$(OBJ): gxclzlib.c $(std_h)\
  887.  $(gsmemory_h) $(gstypes_h) $(gxclmem_h) $(szlibx_h)
  888.     $(CCCZ) gxclzlib.c
  889.  
  890. # ---------------- Page devices ---------------- #
  891. # We include this here, rather than in devs.mak, because it is more like
  892. # a feature than a simple device.
  893.  
  894. page_=gdevprn.$(OBJ)
  895. page.dev: $(LIB_MAK) $(ECHOGS_XE) $(page_) clist.dev
  896.     $(SETMOD) page $(page_)
  897.     $(ADDMOD) page -include clist
  898.  
  899. gdevprn.$(OBJ): gdevprn.c $(ctype__h) \
  900.   $(gdevprn_h) $(gp_h) $(gsparam_h) $(gxclio_h)
  901.  
  902. # ---------------- Vector devices ---------------- #
  903. # We include this here for the same reasons as page.dev.
  904.  
  905. gdevvec_h=gdevvec.h $(gdevbbox_h) $(gsropt_h) $(gxdevice_h) $(gxistate_h) $(stream_h)
  906.  
  907. vector_=gdevvec.$(OBJ)
  908. vector.dev: $(LIB_MAK) $(ECHOGS_XE) $(vector_) bbox.dev sfile.dev
  909.     $(SETMOD) vector $(vector_)
  910.     $(ADDMOD) vector -include bbox sfile
  911.  
  912. gdevvec.$(OBJ): gdevvec.c $(GXERR) $(math__h) $(memory__h) $(string__h)\
  913.  $(gdevvec_h) $(gp_h) $(gscspace_h) $(gsparam_h) $(gsutil_h)\
  914.  $(gxdcolor_h) $(gxfixed_h) $(gxpaint_h)\
  915.  $(gzcpath_h) $(gzpath_h)
  916.  
  917. # ---------------- Image scaling filter ---------------- #
  918.  
  919. iscale_=siscale.$(OBJ)
  920. iscale.dev: $(LIB_MAK) $(ECHOGS_XE) $(iscale_)
  921.     $(SETMOD) iscale $(iscale_)
  922.  
  923. siscale.$(OBJ): siscale.c $(AK) $(math__h) $(memory__h) $(stdio__h) \
  924.   $(siscale_h) $(strimpl_h)
  925.  
  926. # ---------------- RasterOp et al ---------------- #
  927. # Currently this module is required, but it should be optional.
  928.  
  929. roplib_=gdevmrop.$(OBJ) gsrop.$(OBJ) gsroptab.$(OBJ)
  930. roplib.dev: $(LIB_MAK) $(ECHOGS_XE) $(roplib_)
  931.     $(SETMOD) roplib $(roplib_)
  932.     $(ADDMOD) roplib -init roplib
  933.  
  934. gdevrun.$(OBJ): gdevrun.c $(GXERR) $(memory__h) \
  935.   $(gxdevice_h) $(gxdevmem_h)
  936.  
  937. gdevmrop.$(OBJ): gdevmrop.c $(GXERR) $(memory__h) \
  938.   $(gsbittab_h) $(gsropt_h) \
  939.   $(gxdcolor_h) $(gxdevice_h) $(gxdevmem_h) $(gxdevrop_h) \
  940.   $(gdevmrop_h)
  941.  
  942. gsrop.$(OBJ): gsrop.c $(GXERR) \
  943.   $(gsrop_h) $(gzstate_h)
  944.  
  945. gsroptab.$(OBJ): gsroptab.c $(stdpre_h) $(gsropt_h)
  946.     $(CCLEAF) gsroptab.c
  947.  
  948. # -------- Composite (PostScript Type 0) font support -------- #
  949.  
  950. cmaplib_=gsfcmap.$(OBJ)
  951. cmaplib.dev: $(LIB_MAK) $(ECHOGS_XE) $(cmaplib_)
  952.     $(SETMOD) cmaplib $(cmaplib_)
  953.  
  954. gsfcmap.$(OBJ): gsfcmap.c $(GXERR)\
  955.  $(gsstruct_h) $(gxfcmap_h)
  956.  
  957. psf0lib_=gschar0.$(OBJ) gsfont0.$(OBJ)
  958. psf0lib.dev: $(LIB_MAK) $(ECHOGS_XE) cmaplib.dev $(psf0lib_)
  959.     $(SETMOD) psf0lib $(psf0lib_)
  960.     $(ADDMOD) psf0lib -include cmaplib
  961.  
  962. gschar0.$(OBJ): gschar0.c $(GXERR) $(memory__h)\
  963.  $(gsstruct_h) $(gxfixed_h) $(gxdevice_h) $(gxdevmem_h)\
  964.  $(gsfcmap_h) $(gxfont_h) $(gxfont0_h) $(gxchar_h)
  965.  
  966. gsfont0.$(OBJ): gsfont0.c $(GXERR) $(memory__h)\
  967.  $(gsmatrix_h) $(gsstruct_h) $(gxfixed_h) $(gxdevmem_h) $(gxfcache_h)\
  968.  $(gxfont_h) $(gxfont0_h) $(gxchar_h) $(gxdevice_h)
  969.  
  970. # ---------------- Pattern color ---------------- #
  971.  
  972. patlib_=gspcolor.$(OBJ) gxclip2.$(OBJ) gxpcmap.$(OBJ)
  973. patlib.dev: $(LIB_MAK) $(ECHOGS_XE) cmyklib.dev psl2cs.dev $(patlib_)
  974.     $(SETMOD) patlib -include cmyklib psl2cs
  975.     $(ADDMOD) patlib -obj $(patlib_)
  976.  
  977. gspcolor.$(OBJ): gspcolor.c $(GXERR) $(math__h) \
  978.   $(gsimage_h) $(gspath_h) $(gsrop_h) $(gsstruct_h) $(gsutil_h) \
  979.   $(gxarith_h) $(gxcolor2_h) $(gxcoord_h) $(gxclip2_h) $(gxcspace_h) \
  980.   $(gxdcolor_h) $(gxdevice_h) $(gxdevmem_h) \
  981.   $(gxfixed_h) $(gxmatrix_h) $(gxpath_h) $(gxpcolor_h) $(gzstate_h)
  982.  
  983. gxclip2.$(OBJ): gxclip2.c $(GXERR) $(memory__h) \
  984.   $(gsstruct_h) $(gxclip2_h) $(gxdevice_h) $(gxdevmem_h)
  985.  
  986. gxpcmap.$(OBJ): gxpcmap.c $(GXERR) $(math__h) $(memory__h)\
  987.  $(gsstruct_h) $(gsutil_h)\
  988.  $(gxcolor2_h) $(gxcspace_h) $(gxdcolor_h) $(gxdevice_h) $(gxdevmem_h)\
  989.  $(gxfixed_h) $(gxmatrix_h) $(gxpcolor_h)\
  990.  $(gzcpath_h) $(gzpath_h) $(gzstate_h)
  991.  
  992. # ---------------- PostScript Type 1 (and Type 4) fonts ---------------- #
  993.  
  994. type1lib_=gxtype1.$(OBJ) gxhint1.$(OBJ) gxhint2.$(OBJ) gxhint3.$(OBJ)
  995.  
  996. gscrypt1_h=gscrypt1.h
  997. gstype1_h=gstype1.h
  998. gxfont1_h=gxfont1.h
  999. gxop1_h=gxop1.h
  1000. gxtype1_h=gxtype1.h $(gscrypt1_h) $(gstype1_h) $(gxop1_h)
  1001.  
  1002. gxtype1.$(OBJ): gxtype1.c $(GXERR) $(math__h)\
  1003.  $(gsccode_h) $(gsline_h) $(gsstruct_h)\
  1004.  $(gxarith_h) $(gxcoord_h) $(gxfixed_h) $(gxmatrix_h)\
  1005.  $(gxfont_h) $(gxfont1_h) $(gxistate_h) $(gxtype1_h)\
  1006.  $(gzpath_h)
  1007.  
  1008. gxhint1.$(OBJ): gxhint1.c $(GXERR)\
  1009.  $(gxarith_h) $(gxfixed_h) $(gxmatrix_h) $(gxchar_h)\
  1010.  $(gxfont_h) $(gxfont1_h) $(gxtype1_h)
  1011.  
  1012. gxhint2.$(OBJ): gxhint2.c $(GXERR) $(memory__h)\
  1013.  $(gxarith_h) $(gxfixed_h) $(gxmatrix_h) $(gxchar_h)\
  1014.  $(gxfont_h) $(gxfont1_h) $(gxtype1_h)
  1015.  
  1016. gxhint3.$(OBJ): gxhint3.c $(GXERR) $(math__h)\
  1017.  $(gxarith_h) $(gxfixed_h) $(gxmatrix_h) $(gxchar_h)\
  1018.  $(gxfont_h) $(gxfont1_h) $(gxtype1_h)\
  1019.  $(gzpath_h)
  1020.  
  1021. # Type 1 charstrings
  1022.  
  1023. psf1lib_=gstype1.$(OBJ)
  1024. psf1lib.dev: $(LIB_MAK) $(ECHOGS_XE) $(psf1lib_) $(type1lib_)
  1025.     $(SETMOD) psf1lib $(psf1lib_)
  1026.     $(ADDMOD) psf1lib $(type1lib_)
  1027.     $(ADDMOD) psf1lib -init gstype1
  1028.  
  1029. gstype1.$(OBJ): gstype1.c $(GXERR) $(math__h) $(memory__h)\
  1030.  $(gsstruct_h)\
  1031.  $(gxarith_h) $(gxcoord_h) $(gxfixed_h) $(gxmatrix_h) $(gxchar_h)\
  1032.  $(gxfont_h) $(gxfont1_h) $(gxistate_h) $(gxtype1_h)\
  1033.  $(gzpath_h)
  1034.  
  1035. # Type 2 charstrings
  1036.  
  1037. psf2lib_=gstype2.$(OBJ)
  1038. psf2lib.dev: $(LIB_MAK) $(ECHOGS_XE) $(psf2lib_) $(type1lib_)
  1039.     $(SETMOD) psf2lib $(psf2lib_)
  1040.     $(ADDMOD) psf2lib $(type1lib_)
  1041.     $(ADDMOD) psf2lib -init gstype2
  1042.  
  1043. gstype2.$(OBJ): gstype2.c $(GXERR) $(math__h) $(memory__h)\
  1044.  $(gsstruct_h)\
  1045.  $(gxarith_h) $(gxcoord_h) $(gxfixed_h) $(gxmatrix_h) $(gxchar_h)\
  1046.  $(gxfont_h) $(gxfont1_h) $(gxistate_h) $(gxtype1_h)\
  1047.  $(gzpath_h)
  1048.  
  1049. # ---------------- TrueType and PostScript Type 42 fonts ---------------- #
  1050.  
  1051. ttflib_=gstype42.$(OBJ)
  1052. ttflib.dev: $(LIB_MAK) $(ECHOGS_XE) $(ttflib_)
  1053.     $(SETMOD) ttflib $(ttflib_)
  1054.  
  1055. gxfont42_h=gxfont42.h
  1056.  
  1057. gstype42.$(OBJ): gstype42.c $(GXERR) $(memory__h) \
  1058.   $(gsccode_h) $(gsmatrix_h) $(gsstruct_h) \
  1059.   $(gxfixed_h) $(gxfont_h) $(gxfont42_h) $(gxistate_h) $(gxpath_h)
  1060.  
  1061. # -------- Level 1 color extensions (CMYK color and colorimage) -------- #
  1062.  
  1063. cmyklib_=gscolor1.$(OBJ) gsht1.$(OBJ)
  1064. cmyklib.dev: $(LIB_MAK) $(ECHOGS_XE) $(cmyklib_)
  1065.     $(SETMOD) cmyklib $(cmyklib_)
  1066.     $(ADDMOD) cmyklib -init gscolor1
  1067.  
  1068. gscolor1.$(OBJ): gscolor1.c $(GXERR) \
  1069.   $(gsccolor_h) $(gscolor1_h) $(gsstruct_h) $(gsutil_h) \
  1070.   $(gxcmap_h) $(gxcspace_h) $(gxdcconv_h) $(gxdevice_h) \
  1071.   $(gzstate_h)
  1072.  
  1073. gsht1.$(OBJ): gsht1.c $(GXERR) $(memory__h)\
  1074.  $(gsstruct_h) $(gsutil_h) $(gxdevice_h) $(gzht_h) $(gzstate_h)
  1075.  
  1076. colimlib_=gximage3.$(OBJ)
  1077. colimlib.dev: $(LIB_MAK) $(ECHOGS_XE) $(colimlib_)
  1078.     $(SETMOD) colimlib $(colimlib_)
  1079.     $(ADDMOD) colimlib -init gximage3
  1080.  
  1081. gximage3.$(OBJ): gximage3.c $(GXERR) $(memory__h) $(gpcheck_h)\
  1082.  $(gsccolor_h) $(gspaint_h)\
  1083.  $(gxarith_h) $(gxcmap_h) $(gxcpath_h) $(gxdcconv_h) $(gxdcolor_h)\
  1084.  $(gxdevice_h) $(gxdevmem_h) $(gxfixed_h) $(gxfrac_h)\
  1085.  $(gximage_h) $(gxistate_h) $(gxmatrix_h)\
  1086.  $(gzpath_h) $(gzstate_h)
  1087.  
  1088. # ---------------- HSB color ---------------- #
  1089.  
  1090. hsblib_=gshsb.$(OBJ)
  1091. hsblib.dev: $(LIB_MAK) $(ECHOGS_XE) $(hsblib_)
  1092.     $(SETMOD) hsblib $(hsblib_)
  1093.  
  1094. gshsb.$(OBJ): gshsb.c $(GX) \
  1095.   $(gscolor_h) $(gshsb_h) $(gxfrac_h)
  1096.  
  1097. # ---- Level 1 path miscellany (arcs, pathbbox, path enumeration) ---- #
  1098.  
  1099. path1lib_=gspath1.$(OBJ)
  1100. path1lib.dev: $(LIB_MAK) $(ECHOGS_XE) $(path1lib_)
  1101.     $(SETMOD) path1lib $(path1lib_)
  1102.  
  1103. gspath1.$(OBJ): gspath1.c $(GXERR) $(math__h) \
  1104.   $(gscoord_h) $(gspath_h) $(gsstruct_h) \
  1105.   $(gxfarith_h) $(gxfixed_h) $(gxmatrix_h) \
  1106.   $(gzstate_h) $(gzpath_h)
  1107.  
  1108. # --------------- Level 2 color space and color image support --------------- #
  1109.  
  1110. psl2cs_=gscolor2.$(OBJ)
  1111. psl2cs.dev: $(LIB_MAK) $(ECHOGS_XE) $(psl2cs_)
  1112.     $(SETMOD) psl2cs $(psl2cs_)
  1113.  
  1114. gscolor2.$(OBJ): gscolor2.c $(GXERR) \
  1115.   $(gxarith_h) $(gxcolor2_h) $(gxcspace_h) $(gxfixed_h) $(gxmatrix_h) \
  1116.   $(gzstate_h)
  1117.  
  1118. psl2lib_=gximage4.$(OBJ) gximage5.$(OBJ)
  1119. psl2lib.dev: $(LIB_MAK) $(ECHOGS_XE) $(psl2lib_) colimlib.dev psl2cs.dev
  1120.     $(SETMOD) psl2lib $(psl2lib_)
  1121.     $(ADDMOD) psl2lib -init gximage4 gximage5
  1122.     $(ADDMOD) psl2lib -include colimlib psl2cs
  1123.  
  1124. gximage4.$(OBJ): gximage4.c $(GXERR) $(memory__h) $(gpcheck_h)\
  1125.  $(gsccolor_h) $(gspaint_h)\
  1126.  $(gxarith_h) $(gxcmap_h) $(gxcpath_h) $(gxdcolor_h) $(gxdevice_h)\
  1127.  $(gxdevmem_h) $(gxfixed_h) $(gxfrac_h) $(gximage_h) $(gxistate_h)\
  1128.  $(gxmatrix_h)\
  1129.  $(gzpath_h)
  1130.  
  1131. gximage5.$(OBJ): gximage5.c $(GXERR) $(math__h) $(memory__h) $(gpcheck_h)\
  1132.  $(gsccolor_h) $(gspaint_h)\
  1133.  $(gxarith_h) $(gxcmap_h) $(gxcpath_h) $(gxdcolor_h) $(gxdevice_h)\
  1134.  $(gxdevmem_h) $(gxfixed_h) $(gxfrac_h) $(gximage_h) $(gxistate_h)\
  1135.  $(gxmatrix_h)\
  1136.  $(gzpath_h)
  1137.  
  1138. # ---------------- Display Postscript / Level 2 support ---------------- #
  1139.  
  1140. dps2lib_=gsdps1.$(OBJ)
  1141. dps2lib.dev: $(LIB_MAK) $(ECHOGS_XE) $(dps2lib_)
  1142.     $(SETMOD) dps2lib $(dps2lib_)
  1143.  
  1144. gsdps1.$(OBJ): gsdps1.c $(GXERR) $(math__h)\
  1145.  $(gscoord_h) $(gsmatrix_h) $(gspaint_h) $(gspath_h) $(gspath2_h)\
  1146.  $(gxdevice_h) $(gxfixed_h) $(gxmatrix_h) $(gzcpath_h) $(gzpath_h) $(gzstate_h)
  1147.  
  1148. # ---------------- Display Postscript extensions ---------------- #
  1149.  
  1150. gsdps_h=gsdps.h
  1151.  
  1152. dpslib_=gsdps.$(OBJ)
  1153. dpslib.dev: $(LIB_MAK) $(ECHOGS_XE) $(dpslib_)
  1154.     $(SETMOD) dpslib $(dpslib_)
  1155.  
  1156. gsdps.$(OBJ): gsdps.c $(GX) $(gsdps_h)\
  1157.  $(gsdps_h) $(gspath_h) $(gxdevice_h) $(gzcpath_h) $(gzpath_h) $(gzstate_h)
  1158.  
  1159. # ---------------- CIE color ---------------- #
  1160.  
  1161. cielib_=gscie.$(OBJ) gxctable.$(OBJ)
  1162. cielib.dev: $(LIB_MAK) $(ECHOGS_XE) $(cielib_)
  1163.     $(SETMOD) cielib $(cielib_)
  1164.  
  1165. gscie.$(OBJ): gscie.c $(GXERR) $(math__h) \
  1166.   $(gscie_h) $(gscolor2_h) $(gsmatrix_h) $(gsstruct_h) \
  1167.   $(gxarith_h) $(gxcmap_h) $(gxcspace_h) $(gxdevice_h) $(gzstate_h)
  1168.  
  1169. gxctable.$(OBJ): gxctable.c $(GX) \
  1170.   $(gxfixed_h) $(gxfrac_h) $(gxctable_h)
  1171.  
  1172. # ---------------- Separation colors ---------------- #
  1173.  
  1174. seprlib_=gscsepr.$(OBJ)
  1175. seprlib.dev: $(LIB_MAK) $(ECHOGS_XE) $(seprlib_)
  1176.     $(SETMOD) seprlib $(seprlib_)
  1177.  
  1178. gscsepr.$(OBJ): gscsepr.c $(GXERR)\
  1179.  $(gscsepr_h) $(gsmatrix_h) $(gsrefct_h)\
  1180.  $(gxcolor2_h) $(gxcspace_h) $(gxfixed_h) $(gzstate_h)
  1181.  
  1182. # ---------------- Functions ---------------- #
  1183.  
  1184. gsdsrc_h=gsdsrc.h $(gsstruct_h)
  1185. gsfunc_h=gsfunc.h
  1186. gsfunc0_h=gsfunc0.h $(gsdsrc_h) $(gsfunc_h)
  1187. gxfunc_h=gxfunc.h $(gsfunc_h) $(gsstruct_h)
  1188.  
  1189. # Generic support, and FunctionType 0.
  1190. funclib_=gsdsrc.$(OBJ) gsfunc.$(OBJ) gsfunc0.$(OBJ)
  1191. funclib.dev: $(LIB_MAK) $(ECHOGS_XE) $(funclib_)
  1192.     $(SETMOD) funclib $(funclib_)
  1193.  
  1194. gsdsrc.$(OBJ): gsdsrc.c $(GX) $(memory__h)\
  1195.  $(gsdsrc_h) $(gserrors_h) $(stream_h)
  1196.  
  1197. gsfunc.$(OBJ): gsfunc.c $(GX)\
  1198.  $(gserrors_h) $(gxfunc_h)
  1199.  
  1200. gsfunc0.$(OBJ): gsfunc0.c $(GX) $(math__h)\
  1201.  $(gserrors_h) $(gsfunc0_h) $(gxfunc_h)
  1202.  
  1203. # ----------------------- Platform-specific modules ----------------------- #
  1204. # Platform-specific code doesn't really belong here: this is code that is
  1205. # shared among multiple platforms.
  1206.  
  1207. # Frame buffer implementations.
  1208.  
  1209. gp_nofb.$(OBJ): gp_nofb.c $(GX) \
  1210.   $(gp_h) $(gxdevice_h)
  1211.  
  1212. gp_dosfb.$(OBJ): gp_dosfb.c $(AK) $(malloc__h) $(memory__h)\
  1213.  $(gx_h) $(gp_h) $(gserrors_h) $(gxdevice_h)
  1214.  
  1215. # MS-DOS file system, also used by Desqview/X.
  1216. gp_dosfs.$(OBJ): gp_dosfs.c $(AK) $(dos__h) $(gp_h) $(gx_h)
  1217.  
  1218. # MS-DOS file enumeration, *not* used by Desqview/X.
  1219. gp_dosfe.$(OBJ): gp_dosfe.c $(AK) $(stdio__h) $(memory__h) $(string__h) \
  1220.   $(dos__h) $(gstypes_h) $(gsmemory_h) $(gsstruct_h) $(gp_h) $(gsutil_h)
  1221.  
  1222. # Other MS-DOS facilities.
  1223. gp_msdos.$(OBJ): gp_msdos.c $(AK) $(dos__h) $(stdio__h) $(string__h)\
  1224.  $(gsmemory_h) $(gstypes_h) $(gp_h)
  1225.  
  1226. # Unix(-like) file system, also used by Desqview/X.
  1227. gp_unifs.$(OBJ): gp_unifs.c $(AK) $(memory__h) $(string__h) $(gx_h) $(gp_h) \
  1228.   $(gsstruct_h) $(gsutil_h) $(stat__h) $(dirent__h)
  1229.  
  1230. # Unix(-like) file name syntax, *not* used by Desqview/X.
  1231. gp_unifn.$(OBJ): gp_unifn.c $(AK) $(gx_h) $(gp_h)
  1232.  
  1233. # ----------------------------- Main program ------------------------------ #
  1234.  
  1235. # Main program for library testing
  1236.  
  1237. gslib.$(OBJ): gslib.c $(AK) $(math__h) \
  1238.   $(gx_h) $(gp_h) $(gserrors_h) $(gsmatrix_h) $(gsstate_h) $(gscspace_h) \
  1239.   $(gscdefs_h) $(gscolor2_h) $(gscoord_h) $(gslib_h) $(gsparam_h) \
  1240.   $(gspaint_h) $(gspath_h) $(gsstruct_h) $(gsutil_h) \
  1241.   $(gxalloc_h) $(gxdevice_h)
  1242.