int.mak 73 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815
  1. # Copyright (C) 1995, 1996, 1997, 1998, 1999, 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: int.mak,v 1.50.2.2 2002/01/17 06:57:55 dancoby Exp $
  18. # (Platform-independent) makefile for PostScript and PDF language
  19. # interpreters.
  20. # Users of this makefile must define the following:
  21. # GLSRCDIR - the graphics library source directory
  22. # GLGENDIR - the directory for graphics library source files
  23. # generated during building
  24. # PSSRCDIR - the source directory
  25. # PSOBJDIR - the object code directory
  26. PSSRC=$(PSSRCDIR)$(D)
  27. PSLIB=$(PSLIBDIR)$(D)
  28. PSGEN=$(PSGENDIR)$(D)
  29. PSOBJ=$(PSOBJDIR)$(D)
  30. PSO_=$(O_)$(PSOBJ)
  31. PSI_=$(PSSRCDIR) $(II)$(PSGENDIR) $(II)$(GLI_)
  32. PSF_=
  33. PSCC=$(CC_) $(I_)$(PSI_)$(_I) $(PSF_)
  34. PSCCLEAF=$(CC_LEAF) $(I_)$(PSI_)$(_I) $(PSF_)
  35. # All top-level makefiles define PSD.
  36. #PSD=$(PSGEN)
  37. # Define the name of this makefile.
  38. INT_MAK=$(PSSRC)int.mak
  39. # ======================== Interpreter support ======================== #
  40. # This is support code for all interpreters, not just PostScript and PDF.
  41. # It knows about the PostScript data types, but isn't supposed to
  42. # depend on anything outside itself.
  43. errors_h=$(PSSRC)errors.h
  44. iconf_h=$(PSSRC)iconf.h
  45. idebug_h=$(PSSRC)idebug.h
  46. # Having iddstack.h at this level is unfortunate, but unavoidable.
  47. iddstack_h=$(PSSRC)iddstack.h
  48. idict_h=$(PSSRC)idict.h $(iddstack_h)
  49. idictdef_h=$(PSSRC)idictdef.h
  50. idosave_h=$(PSSRC)idosave.h
  51. igcstr_h=$(PSSRC)igcstr.h
  52. inames_h=$(PSSRC)inames.h
  53. iname_h=$(PSSRC)iname.h $(inames_h)
  54. inameidx_h=$(PSSRC)inameidx.h $(gconfigv_h)
  55. inamestr_h=$(PSSRC)inamestr.h $(inameidx_h)
  56. ipacked_h=$(PSSRC)ipacked.h
  57. iref_h=$(PSSRC)iref.h
  58. isave_h=$(PSSRC)isave.h $(idosave_h)
  59. isstate_h=$(PSSRC)isstate.h
  60. istruct_h=$(PSSRC)istruct.h $(gsstruct_h)
  61. iutil_h=$(PSSRC)iutil.h
  62. ivmspace_h=$(PSSRC)ivmspace.h $(gsgc_h)
  63. opdef_h=$(PSSRC)opdef.h
  64. # Nested include files
  65. ghost_h=$(PSSRC)ghost.h $(gx_h) $(iref_h)
  66. igc_h=$(PSSRC)igc.h $(istruct_h)
  67. imemory_h=$(PSSRC)imemory.h $(gsalloc_h) $(ivmspace_h)
  68. ialloc_h=$(PSSRC)ialloc.h $(imemory_h)
  69. iastruct_h=$(PSSRC)iastruct.h $(gxobj_h) $(ialloc_h)
  70. iastate_h=$(PSSRC)iastate.h $(gxalloc_h) $(ialloc_h) $(istruct_h)
  71. inamedef_h=$(PSSRC)inamedef.h\
  72. $(gsstruct_h) $(inameidx_h) $(inames_h) $(inamestr_h)
  73. store_h=$(PSSRC)store.h $(ialloc_h) $(idosave_h)
  74. GH=$(AK) $(ghost_h)
  75. isupport1_=$(PSOBJ)ialloc.$(OBJ) $(PSOBJ)igc.$(OBJ) $(PSOBJ)igcref.$(OBJ) $(PSOBJ)igcstr.$(OBJ)
  76. isupport2_=$(PSOBJ)ilocate.$(OBJ) $(PSOBJ)iname.$(OBJ) $(PSOBJ)isave.$(OBJ)
  77. isupport_=$(isupport1_) $(isupport2_)
  78. $(PSD)isupport.dev : $(INT_MAK) $(ECHOGS_XE) $(isupport_)
  79. $(SETMOD) $(PSD)isupport $(isupport1_)
  80. $(ADDMOD) $(PSD)isupport -obj $(isupport2_)
  81. $(PSOBJ)ialloc.$(OBJ) : $(PSSRC)ialloc.c $(AK) $(memory__h) $(gx_h)\
  82. $(errors_h) $(gsstruct_h)\
  83. $(iastate_h) $(igc_h) $(ipacked_h) $(iref_h) $(iutil_h) $(ivmspace_h)\
  84. $(store_h)
  85. $(PSCC) $(PSO_)ialloc.$(OBJ) $(C_) $(PSSRC)ialloc.c
  86. # igc.c, igcref.c, and igcstr.c should really be in the dpsand2 list,
  87. # but since all the GC enumeration and relocation routines refer to them,
  88. # it's too hard to separate them out from the Level 1 base.
  89. $(PSOBJ)igc.$(OBJ) : $(PSSRC)igc.c $(GH) $(memory__h)\
  90. $(errors_h) $(gsexit_h) $(gsmdebug_h) $(gsstruct_h) $(gsutil_h)\
  91. $(iastate_h) $(idict_h) $(igc_h) $(igcstr_h) $(inamedef_h)\
  92. $(ipacked_h) $(isave_h) $(isstate_h) $(istruct_h) $(opdef_h)
  93. $(PSCC) $(PSO_)igc.$(OBJ) $(C_) $(PSSRC)igc.c
  94. $(PSOBJ)igcref.$(OBJ) : $(PSSRC)igcref.c $(GH) $(memory__h)\
  95. $(gsexit_h) $(gsstruct_h)\
  96. $(iastate_h) $(idebug_h) $(igc_h) $(iname_h) $(ipacked_h) $(store_h)
  97. $(PSCC) $(PSO_)igcref.$(OBJ) $(C_) $(PSSRC)igcref.c
  98. $(PSOBJ)igcstr.$(OBJ) : $(PSSRC)igcstr.c $(GH) $(memory__h)\
  99. $(gsmdebug_h) $(gsstruct_h) $(iastate_h) $(igcstr_h)
  100. $(PSCC) $(PSO_)igcstr.$(OBJ) $(C_) $(PSSRC)igcstr.c
  101. $(PSOBJ)ilocate.$(OBJ) : $(PSSRC)ilocate.c $(GH) $(memory__h)\
  102. $(errors_h) $(gsexit_h) $(gsstruct_h)\
  103. $(iastate_h) $(idict_h) $(igc_h) $(igcstr_h) $(iname_h)\
  104. $(ipacked_h) $(isstate_h) $(iutil_h) $(ivmspace_h)\
  105. $(store_h)
  106. $(PSCC) $(PSO_)ilocate.$(OBJ) $(C_) $(PSSRC)ilocate.c
  107. $(PSOBJ)iname.$(OBJ) : $(PSSRC)iname.c $(GH) $(memory__h) $(string__h)\
  108. $(gsstruct_h) $(gxobj_h)\
  109. $(errors_h) $(imemory_h) $(inamedef_h) $(isave_h) $(store_h)
  110. $(PSCC) $(PSO_)iname.$(OBJ) $(C_) $(PSSRC)iname.c
  111. $(PSOBJ)isave.$(OBJ) : $(PSSRC)isave.c $(GH) $(memory__h)\
  112. $(errors_h) $(gsexit_h) $(gsstruct_h) $(gsutil_h)\
  113. $(iastate_h) $(iname_h) $(inamedef_h) $(isave_h) $(isstate_h) $(ivmspace_h)\
  114. $(ipacked_h) $(store_h) $(stream_h)
  115. $(PSCC) $(PSO_)isave.$(OBJ) $(C_) $(PSSRC)isave.c
  116. ### Include files
  117. idparam_h=$(PSSRC)idparam.h
  118. ilevel_h=$(PSSRC)ilevel.h
  119. interp_h=$(PSSRC)interp.h
  120. iparam_h=$(PSSRC)iparam.h $(gsparam_h)
  121. isdata_h=$(PSSRC)isdata.h
  122. istack_h=$(PSSRC)istack.h $(isdata_h)
  123. istkparm_h=$(PSSRC)istkparm.h
  124. iutil2_h=$(PSSRC)iutil2.h
  125. oparc_h=$(PSSRC)oparc.h
  126. opcheck_h=$(PSSRC)opcheck.h
  127. opextern_h=$(PSSRC)opextern.h
  128. # Nested include files
  129. idsdata_h=$(PSSRC)idsdata.h $(isdata_h)
  130. idstack_h=$(PSSRC)idstack.h $(iddstack_h) $(idsdata_h) $(istack_h)
  131. iesdata_h=$(PSSRC)iesdata.h $(isdata_h)
  132. iestack_h=$(PSSRC)iestack.h $(istack_h) $(iesdata_h)
  133. iosdata_h=$(PSSRC)iosdata.h $(isdata_h)
  134. iostack_h=$(PSSRC)iostack.h $(istack_h) $(iosdata_h)
  135. icstate_h=$(PSSRC)icstate.h $(imemory_h) $(iref_h) $(idsdata_h) $(iesdata_h) $(iosdata_h)
  136. iddict_h=$(PSSRC)iddict.h $(icstate_h) $(idict_h)
  137. dstack_h=$(PSSRC)dstack.h $(icstate_h) $(idstack_h)
  138. estack_h=$(PSSRC)estack.h $(icstate_h) $(iestack_h)
  139. ostack_h=$(PSSRC)ostack.h $(icstate_h) $(iostack_h)
  140. oper_h=$(PSSRC)oper.h $(errors_h) $(iutil_h) $(opcheck_h) $(opdef_h) $(opextern_h) $(ostack_h)
  141. $(PSOBJ)idebug.$(OBJ) : $(PSSRC)idebug.c $(GH) $(string__h)\
  142. $(gxalloc_h)\
  143. $(idebug_h) $(idict_h) $(iname_h) $(istack_h) $(iutil_h) $(ivmspace_h)\
  144. $(opdef_h) $(ipacked_h)
  145. $(PSCC) $(PSO_)idebug.$(OBJ) $(C_) $(PSSRC)idebug.c
  146. $(PSOBJ)idict.$(OBJ) : $(PSSRC)idict.c $(GH) $(math__h) $(string__h)\
  147. $(errors_h)\
  148. $(gxalloc_h)\
  149. $(iddstack_h) $(idebug_h) $(idict_h) $(idictdef_h)\
  150. $(imemory_h) $(iname_h) $(inamedef_h) $(ipacked_h) $(isave_h)\
  151. $(iutil_h) $(ivmspace_h) $(store_h)
  152. $(PSCC) $(PSO_)idict.$(OBJ) $(C_) $(PSSRC)idict.c
  153. $(PSOBJ)idparam.$(OBJ) : $(PSSRC)idparam.c $(GH) $(memory__h) $(string__h) $(errors_h)\
  154. $(gsmatrix_h) $(gsuid_h)\
  155. $(idict_h) $(idparam_h) $(ilevel_h) $(imemory_h) $(iname_h) $(iutil_h)\
  156. $(oper_h) $(store_h)
  157. $(PSCC) $(PSO_)idparam.$(OBJ) $(C_) $(PSSRC)idparam.c
  158. $(PSOBJ)idstack.$(OBJ) : $(PSSRC)idstack.c $(GH)\
  159. $(idebug_h) $(idict_h) $(idictdef_h) $(idstack_h) $(iname_h) $(inamedef_h)\
  160. $(ipacked_h) $(iutil_h) $(ivmspace_h)
  161. $(PSCC) $(PSO_)idstack.$(OBJ) $(C_) $(PSSRC)idstack.c
  162. $(PSOBJ)iparam.$(OBJ) : $(PSSRC)iparam.c $(GH)\
  163. $(memory__h) $(string__h) $(errors_h)\
  164. $(ialloc_h) $(idict_h) $(iname_h) $(imemory_h) $(iparam_h) $(istack_h) $(iutil_h) $(ivmspace_h)\
  165. $(opcheck_h) $(oper_h) $(store_h)
  166. $(PSCC) $(PSO_)iparam.$(OBJ) $(C_) $(PSSRC)iparam.c
  167. $(PSOBJ)istack.$(OBJ) : $(PSSRC)istack.c $(GH) $(memory__h)\
  168. $(errors_h) $(gsstruct_h) $(gsutil_h)\
  169. $(ialloc_h) $(istack_h) $(istkparm_h) $(istruct_h) $(iutil_h) $(ivmspace_h)\
  170. $(store_h)
  171. $(PSCC) $(PSO_)istack.$(OBJ) $(C_) $(PSSRC)istack.c
  172. $(PSOBJ)iutil.$(OBJ) : $(PSSRC)iutil.c $(GH) $(math__h) $(memory__h) $(string__h)\
  173. $(gsccode_h) $(gsmatrix_h) $(gsutil_h) $(gxfont_h)\
  174. $(sstring_h) $(strimpl_h)\
  175. $(errors_h) $(idict_h) $(imemory_h) $(iutil_h) $(ivmspace_h)\
  176. $(iname_h) $(ipacked_h) $(oper_h) $(store_h)
  177. $(PSCC) $(PSO_)iutil.$(OBJ) $(C_) $(PSSRC)iutil.c
  178. # ======================== PostScript Level 1 ======================== #
  179. ###### Include files
  180. # Binary tokens are a Level 2 feature, but we need to refer to them
  181. # in the scanner.
  182. btoken_h=$(PSSRC)btoken.h
  183. files_h=$(PSSRC)files.h
  184. fname_h=$(PSSRC)fname.h
  185. iapi_h=$(PSSRC)iapi.h
  186. ichar_h=$(PSSRC)ichar.h
  187. ichar1_h=$(PSSRC)ichar1.h
  188. icharout_h=$(PSSRC)icharout.h
  189. icolor_h=$(PSSRC)icolor.h
  190. icremap_h=$(PSSRC)icremap.h $(gsccolor_h)
  191. icsmap_h=$(PSSRC)icsmap.h
  192. idisp_h=$(PSSRC)idisp.h
  193. ifilter2_h=$(PSSRC)ifilter2.h
  194. ifont_h=$(PSSRC)ifont.h $(gsccode_h) $(gsstype_h)
  195. ifont1_h=$(PSSRC)ifont1.h
  196. ifont2_h=$(PSSRC)ifont2.h
  197. ifont42_h=$(PSSRC)ifont42.h
  198. ifrpred_h=$(PSSRC)ifrpred.h
  199. ifwpred_h=$(PSSRC)ifwpred.h
  200. iht_h=$(PSSRC)iht.h
  201. iimage_h=$(PSSRC)iimage.h
  202. iinit_h=$(PSSRC)iinit.h
  203. imain_h=$(PSSRC)imain.h $(gsexit_h)
  204. imainarg_h=$(PSSRC)imainarg.h
  205. iminst_h=$(PSSRC)iminst.h
  206. iparray_h=$(PSSRC)iparray.h
  207. iscanbin_h=$(PSSRC)iscanbin.h
  208. iscannum_h=$(PSSRC)iscannum.h
  209. istream_h=$(PSSRC)istream.h
  210. itoken_h=$(PSSRC)itoken.h
  211. main_h=$(PSSRC)main.h $(imain_h) $(iminst_h)
  212. sbwbs_h=$(PSSRC)sbwbs.h
  213. shcgen_h=$(PSSRC)shcgen.h
  214. smtf_h=$(PSSRC)smtf.h
  215. # Nested include files
  216. bfont_h=$(PSSRC)bfont.h $(ifont_h)
  217. icontext_h=$(PSSRC)icontext.h $(gsstype_h) $(icstate_h)
  218. ifilter_h=$(PSSRC)ifilter.h $(istream_h) $(ivmspace_h)
  219. igstate_h=$(PSSRC)igstate.h $(gsstate_h) $(gxstate_h) $(imemory_h) $(istruct_h)
  220. iscan_h=$(PSSRC)iscan.h $(sa85x_h) $(sstring_h)
  221. sbhc_h=$(PSSRC)sbhc.h $(shc_h)
  222. # Include files for optional features
  223. ibnum_h=$(PSSRC)ibnum.h
  224. ### Initialization and scanning
  225. $(PSOBJ)iconfig.$(OBJ) : $(PSSRC)iconf.c $(stdio__h)\
  226. $(gconf_h) $(gsmemory_h) $(gstypes_h)\
  227. $(iminst_h) $(iref_h) $(ivmspace_h) $(opdef_h)
  228. $(RM_) $(PSGEN)iconfig.c
  229. $(CP_) $(gconfig_h) $(PSGEN)gconfig.h
  230. $(CP_) $(PSSRC)iconf.c $(PSGEN)iconfig.c
  231. $(PSCC) $(PSO_)iconfig.$(OBJ) $(C_) $(PSGEN)iconfig.c
  232. $(PSOBJ)iinit.$(OBJ) : $(PSSRC)iinit.c $(GH) $(string__h)\
  233. $(gscdefs_h) $(gsexit_h) $(gsstruct_h)\
  234. $(dstack_h) $(errors_h) $(ialloc_h) $(iddict_h)\
  235. $(iinit_h) $(ilevel_h) $(iname_h) $(interp_h) $(opdef_h)\
  236. $(ipacked_h) $(iparray_h) $(iutil_h) $(ivmspace_h) $(store_h)
  237. $(PSCC) $(PSO_)iinit.$(OBJ) $(C_) $(PSSRC)iinit.c
  238. $(PSOBJ)iscan.$(OBJ) : $(PSSRC)iscan.c $(GH) $(memory__h)\
  239. $(btoken_h) $(dstack_h) $(errors_h) $(files_h)\
  240. $(ialloc_h) $(idict_h) $(ilevel_h) $(iname_h) $(ipacked_h) $(iparray_h)\
  241. $(iscan_h) $(iscanbin_h) $(iscannum_h)\
  242. $(istruct_h) $(istream_h) $(iutil_h) $(ivmspace_h)\
  243. $(ostack_h) $(store_h)\
  244. $(sa85d_h) $(stream_h) $(strimpl_h) $(sfilter_h) $(scanchar_h)
  245. $(PSCC) $(PSO_)iscan.$(OBJ) $(C_) $(PSSRC)iscan.c
  246. $(PSOBJ)iscannum.$(OBJ) : $(PSSRC)iscannum.c $(GH) $(math__h)\
  247. $(errors_h) $(iscannum_h) $(scanchar_h) $(scommon_h) $(store_h)
  248. $(PSCC) $(PSO_)iscannum.$(OBJ) $(C_) $(PSSRC)iscannum.c
  249. ### Streams
  250. $(PSOBJ)sfilter1.$(OBJ) : $(PSSRC)sfilter1.c $(AK) $(stdio__h) $(memory__h)\
  251. $(sfilter_h) $(strimpl_h)
  252. $(PSCC) $(PSO_)sfilter1.$(OBJ) $(C_) $(PSSRC)sfilter1.c
  253. ###### Operators
  254. OP=$(GH) $(oper_h)
  255. ### Non-graphics operators
  256. $(PSOBJ)zarith.$(OBJ) : $(PSSRC)zarith.c $(OP) $(math__h) $(store_h)
  257. $(PSCC) $(PSO_)zarith.$(OBJ) $(C_) $(PSSRC)zarith.c
  258. $(PSOBJ)zarray.$(OBJ) : $(PSSRC)zarray.c $(OP) $(memory__h)\
  259. $(ialloc_h) $(ipacked_h) $(store_h)
  260. $(PSCC) $(PSO_)zarray.$(OBJ) $(C_) $(PSSRC)zarray.c
  261. $(PSOBJ)zcontrol.$(OBJ) : $(PSSRC)zcontrol.c $(OP) $(string__h)\
  262. $(estack_h) $(files_h) $(ipacked_h) $(iutil_h) $(store_h) $(stream_h)
  263. $(PSCC) $(PSO_)zcontrol.$(OBJ) $(C_) $(PSSRC)zcontrol.c
  264. $(PSOBJ)zdict.$(OBJ) : $(PSSRC)zdict.c $(OP)\
  265. $(dstack_h) $(iddict_h) $(ilevel_h) $(iname_h) $(ipacked_h) $(ivmspace_h)\
  266. $(store_h)
  267. $(PSCC) $(PSO_)zdict.$(OBJ) $(C_) $(PSSRC)zdict.c
  268. $(PSOBJ)zfile.$(OBJ) : $(PSSRC)zfile.c $(OP) $(memory__h) $(string__h) $(gp_h)\
  269. $(gscdefs_h) $(gsfname_h) $(gsstruct_h) $(gxalloc_h) $(gxiodev_h)\
  270. $(ialloc_h) $(estack_h) $(files_h) $(ilevel_h) $(interp_h) $(iutil_h)\
  271. $(isave_h) $(main_h) $(sfilter_h) $(stream_h) $(strimpl_h) $(store_h)
  272. $(PSCC) $(PSO_)zfile.$(OBJ) $(C_) $(PSSRC)zfile.c
  273. $(PSOBJ)zfileio.$(OBJ) : $(PSSRC)zfileio.c $(OP) $(memory__h) $(gp_h)\
  274. $(estack_h) $(files_h) $(ifilter_h) $(interp_h) $(store_h)\
  275. $(stream_h) $(strimpl_h)\
  276. $(gsmatrix_h) $(gxdevice_h) $(gxdevmem_h)
  277. $(PSCC) $(PSO_)zfileio.$(OBJ) $(C_) $(PSSRC)zfileio.c
  278. $(PSOBJ)zfilter.$(OBJ) : $(PSSRC)zfilter.c $(OP) $(memory__h)\
  279. $(gsstruct_h)\
  280. $(files_h) $(ialloc_h) $(idict_h) $(idparam_h) $(ifilter_h) $(ilevel_h)\
  281. $(sfilter_h) $(srlx_h) $(sstring_h) $(stream_h) $(strimpl_h)
  282. $(PSCC) $(PSO_)zfilter.$(OBJ) $(C_) $(PSSRC)zfilter.c
  283. $(PSOBJ)zfproc.$(OBJ) : $(PSSRC)zfproc.c $(GH) $(memory__h)\
  284. $(oper_h)\
  285. $(estack_h) $(files_h) $(gsstruct_h) $(ialloc_h) $(ifilter_h) $(istruct_h)\
  286. $(store_h) $(stream_h) $(strimpl_h)
  287. $(PSCC) $(PSO_)zfproc.$(OBJ) $(C_) $(PSSRC)zfproc.c
  288. $(PSOBJ)zgeneric.$(OBJ) : $(PSSRC)zgeneric.c $(OP) $(memory__h)\
  289. $(gsstruct_h)\
  290. $(dstack_h) $(estack_h) $(iddict_h) $(iname_h) $(ipacked_h) $(ivmspace_h)\
  291. $(store_h)
  292. $(PSCC) $(PSO_)zgeneric.$(OBJ) $(C_) $(PSSRC)zgeneric.c
  293. $(PSOBJ)ziodev.$(OBJ) : $(PSSRC)ziodev.c $(OP)\
  294. $(memory__h) $(stdio__h) $(string__h)\
  295. $(gp_h) $(gpcheck_h)\
  296. $(gxiodev_h)\
  297. $(files_h) $(ialloc_h) $(iscan_h) $(ivmspace_h)\
  298. $(scanchar_h) $(store_h) $(stream_h) $(istream_h)
  299. $(PSCC) $(PSO_)ziodev.$(OBJ) $(C_) $(PSSRC)ziodev.c
  300. $(PSOBJ)ziodevs$(STDIO_IMPLEMENTATION).$(OBJ) : $(PSSRC)ziodevs$(STDIO_IMPLEMENTATION).c $(OP) $(stdio__h)\
  301. $(gpcheck_h)\
  302. $(gxiodev_h)\
  303. $(files_h) $(store_h) $(stream_h)
  304. $(PSCC) $(PSO_)ziodevs$(STDIO_IMPLEMENTATION).$(OBJ) $(C_) $(PSSRC)ziodevs$(STDIO_IMPLEMENTATION).c
  305. $(PSOBJ)zmath.$(OBJ) : $(PSSRC)zmath.c $(OP) $(math__h) $(gxfarith_h) $(store_h)
  306. $(PSCC) $(PSO_)zmath.$(OBJ) $(C_) $(PSSRC)zmath.c
  307. $(PSOBJ)zmisc.$(OBJ) : $(PSSRC)zmisc.c $(OP) $(gscdefs_h) $(gp_h)\
  308. $(errno__h) $(memory__h) $(string__h)\
  309. $(ialloc_h) $(idict_h) $(dstack_h) $(iname_h) $(ivmspace_h) $(ipacked_h) $(store_h)
  310. $(PSCC) $(PSO_)zmisc.$(OBJ) $(C_) $(PSSRC)zmisc.c
  311. $(PSOBJ)zpacked.$(OBJ) : $(PSSRC)zpacked.c $(OP)\
  312. $(ialloc_h) $(idict_h) $(ivmspace_h) $(iname_h) $(ipacked_h) $(iparray_h)\
  313. $(istack_h) $(store_h)
  314. $(PSCC) $(PSO_)zpacked.$(OBJ) $(C_) $(PSSRC)zpacked.c
  315. $(PSOBJ)zrelbit.$(OBJ) : $(PSSRC)zrelbit.c $(OP)\
  316. $(gsutil_h) $(store_h) $(idict_h)
  317. $(PSCC) $(PSO_)zrelbit.$(OBJ) $(C_) $(PSSRC)zrelbit.c
  318. $(PSOBJ)zstack.$(OBJ) : $(PSSRC)zstack.c $(OP) $(memory__h)\
  319. $(ialloc_h) $(istack_h) $(store_h)
  320. $(PSCC) $(PSO_)zstack.$(OBJ) $(C_) $(PSSRC)zstack.c
  321. $(PSOBJ)zstring.$(OBJ) : $(PSSRC)zstring.c $(OP) $(memory__h)\
  322. $(gsutil_h)\
  323. $(ialloc_h) $(iname_h) $(ivmspace_h) $(store_h)
  324. $(PSCC) $(PSO_)zstring.$(OBJ) $(C_) $(PSSRC)zstring.c
  325. $(PSOBJ)zsysvm.$(OBJ) : $(PSSRC)zsysvm.c $(GH)\
  326. $(ialloc_h) $(ivmspace_h) $(oper_h) $(store_h)
  327. $(PSCC) $(PSO_)zsysvm.$(OBJ) $(C_) $(PSSRC)zsysvm.c
  328. $(PSOBJ)ztoken.$(OBJ) : $(PSSRC)ztoken.c $(OP) $(string__h)\
  329. $(gsstruct_h)\
  330. $(dstack_h) $(estack_h) $(files_h)\
  331. $(idict_h) $(iname_h) $(iscan_h) $(itoken_h)\
  332. $(sfilter_h) $(store_h) $(stream_h) $(strimpl_h)
  333. $(PSCC) $(PSO_)ztoken.$(OBJ) $(C_) $(PSSRC)ztoken.c
  334. $(PSOBJ)ztype.$(OBJ) : $(PSSRC)ztype.c $(OP)\
  335. $(math__h) $(memory__h) $(string__h)\
  336. $(gsexit_h)\
  337. $(dstack_h) $(idict_h) $(imemory_h) $(iname_h)\
  338. $(iscan_h) $(iutil_h) $(sfilter_h) $(store_h) $(stream_h) $(strimpl_h)
  339. $(PSCC) $(PSO_)ztype.$(OBJ) $(C_) $(PSSRC)ztype.c
  340. $(PSOBJ)zvmem.$(OBJ) : $(PSSRC)zvmem.c $(OP)\
  341. $(dstack_h) $(estack_h) $(files_h)\
  342. $(ialloc_h) $(idict_h) $(igstate_h) $(isave_h) $(store_h) $(stream_h)\
  343. $(gsmalloc_h) $(gsmatrix_h) $(gsstate_h) $(gsstruct_h)
  344. $(PSCC) $(PSO_)zvmem.$(OBJ) $(C_) $(PSSRC)zvmem.c
  345. ### Graphics operators
  346. $(PSOBJ)zbfont.$(OBJ) : $(PSSRC)zbfont.c $(OP) $(memory__h) $(string__h)\
  347. $(gsmatrix_h) $(gxdevice_h) $(gxfixed_h) $(gxfont_h)\
  348. $(bfont_h) $(ialloc_h) $(idict_h) $(idparam_h) $(ilevel_h)\
  349. $(iname_h) $(interp_h) $(istruct_h) $(ipacked_h) $(store_h)
  350. $(PSCC) $(PSO_)zbfont.$(OBJ) $(C_) $(PSSRC)zbfont.c
  351. $(PSOBJ)zchar.$(OBJ) : $(PSSRC)zchar.c $(OP)\
  352. $(gsstruct_h) $(gstext_h) $(gxarith_h) $(gxfixed_h) $(gxmatrix_h)\
  353. $(gxdevice_h) $(gxfont_h) $(gzstate_h)\
  354. $(dstack_h) $(estack_h) $(ialloc_h) $(ichar_h) $(idict_h) $(ifont_h)\
  355. $(ilevel_h) $(iname_h) $(igstate_h) $(ipacked_h) $(store_h)
  356. $(PSCC) $(PSO_)zchar.$(OBJ) $(C_) $(PSSRC)zchar.c
  357. # zcharout is used for Type 1 and Type 42 fonts only.
  358. $(PSOBJ)zcharout.$(OBJ) : $(PSSRC)zcharout.c $(OP) $(memory__h)\
  359. $(gscrypt1_h) $(gstext_h) $(gxdevice_h) $(gxfont_h) $(gxfont1_h)\
  360. $(dstack_h) $(estack_h) $(ichar_h) $(icharout_h)\
  361. $(idict_h) $(ifont_h) $(igstate_h) $(iname_h) $(store_h)
  362. $(PSCC) $(PSO_)zcharout.$(OBJ) $(C_) $(PSSRC)zcharout.c
  363. $(PSOBJ)zcolor.$(OBJ) : $(PSSRC)zcolor.c $(OP)\
  364. $(gxfixed_h) $(gxmatrix_h) $(gzstate_h) $(gxdevice_h) $(gxcmap_h)\
  365. $(ialloc_h) $(icolor_h) $(estack_h) $(iutil_h) $(igstate_h) $(store_h)
  366. $(PSCC) $(PSO_)zcolor.$(OBJ) $(C_) $(PSSRC)zcolor.c
  367. $(PSOBJ)zdevice.$(OBJ) : $(PSSRC)zdevice.c $(OP) $(string__h)\
  368. $(ialloc_h) $(idict_h) $(igstate_h) $(iname_h) $(interp_h) $(iparam_h) $(ivmspace_h)\
  369. $(gsmatrix_h) $(gsstate_h) $(gxdevice_h) $(gxgetbit_h) $(store_h)
  370. $(PSCC) $(PSO_)zdevice.$(OBJ) $(C_) $(PSSRC)zdevice.c
  371. $(PSOBJ)zdfilter.$(OBJ) : $(PSSRC)zdfilter.c $(OP) $(string__h)\
  372. $(ialloc_h) $(idict_h) $(igstate_h) $(iname_h) $(interp_h) $(iparam_h) $(ivmspace_h)\
  373. $(gsmatrix_h) $(gsstate_h) $(gxdevice_h) $(gxgetbit_h) $(store_h) $(gsdfilt_h)
  374. $(PSCC) $(PSO_)zdfilter.$(OBJ) $(C_) $(PSSRC)zdfilter.c
  375. $(PSOBJ)zfont.$(OBJ) : $(PSSRC)zfont.c $(OP)\
  376. $(gsstruct_h) $(gxdevice_h) $(gxfont_h) $(gxfcache_h)\
  377. $(gzstate_h)\
  378. $(ialloc_h) $(iddict_h) $(igstate_h) $(iname_h) $(isave_h) $(ivmspace_h)\
  379. $(bfont_h) $(store_h)
  380. $(PSCC) $(PSO_)zfont.$(OBJ) $(C_) $(PSSRC)zfont.c
  381. $(PSOBJ)zgstate.$(OBJ) : $(PSSRC)zgstate.c $(OP) $(math__h)\
  382. $(gsmatrix_h)\
  383. $(ialloc_h) $(icremap_h) $(idict_h) $(igstate_h) $(istruct_h) $(store_h)
  384. $(PSCC) $(PSO_)zgstate.$(OBJ) $(C_) $(PSSRC)zgstate.c
  385. $(PSOBJ)zht.$(OBJ) : $(PSSRC)zht.c $(OP) $(memory__h)\
  386. $(gsmatrix_h) $(gsstate_h) $(gsstruct_h) $(gxdevice_h) $(gzht_h)\
  387. $(ialloc_h) $(estack_h) $(igstate_h) $(iht_h) $(store_h)
  388. $(PSCC) $(PSO_)zht.$(OBJ) $(C_) $(PSSRC)zht.c
  389. $(PSOBJ)zimage.$(OBJ) : $(PSSRC)zimage.c $(OP) $(memory__h)\
  390. $(gscspace_h) $(gscssub_h) $(gsimage_h) $(gsmatrix_h) $(gsstruct_h)\
  391. $(gxiparam_h)\
  392. $(estack_h) $(ialloc_h) $(ifilter_h) $(igstate_h) $(iimage_h) $(ilevel_h)\
  393. $(store_h) $(stream_h)
  394. $(PSCC) $(PSO_)zimage.$(OBJ) $(C_) $(PSSRC)zimage.c
  395. $(PSOBJ)zmatrix.$(OBJ) : $(PSSRC)zmatrix.c $(OP)\
  396. $(gsmatrix_h) $(igstate_h) $(gscoord_h) $(store_h)
  397. $(PSCC) $(PSO_)zmatrix.$(OBJ) $(C_) $(PSSRC)zmatrix.c
  398. $(PSOBJ)zpaint.$(OBJ) : $(PSSRC)zpaint.c $(OP)\
  399. $(gspaint_h) $(igstate_h)
  400. $(PSCC) $(PSO_)zpaint.$(OBJ) $(C_) $(PSSRC)zpaint.c
  401. $(PSOBJ)zpath.$(OBJ) : $(PSSRC)zpath.c $(OP) $(math__h)\
  402. $(gsmatrix_h) $(gspath_h) $(igstate_h) $(store_h)
  403. $(PSCC) $(PSO_)zpath.$(OBJ) $(C_) $(PSSRC)zpath.c
  404. # Define the base PostScript language interpreter.
  405. # This is the subset of PostScript Level 1 required by our PDF reader.
  406. INT1=$(PSOBJ)iapi.$(OBJ) $(PSOBJ)icontext.$(OBJ) $(PSOBJ)idebug.$(OBJ)
  407. INT2=$(PSOBJ)idict.$(OBJ) $(PSOBJ)idparam.$(OBJ) $(PSOBJ)idstack.$(OBJ)
  408. INT3=$(PSOBJ)iinit.$(OBJ) $(PSOBJ)interp.$(OBJ)
  409. INT4=$(PSOBJ)iparam.$(OBJ) $(PSOBJ)ireclaim.$(OBJ)
  410. INT5=$(PSOBJ)iscan.$(OBJ) $(PSOBJ)iscannum.$(OBJ) $(PSOBJ)istack.$(OBJ)
  411. INT6=$(PSOBJ)iutil.$(OBJ) $(GLOBJ)sa85d.$(OBJ) $(GLOBJ)scantab.$(OBJ)
  412. INT7=$(PSOBJ)sfilter1.$(OBJ) $(GLOBJ)sstring.$(OBJ) $(GLOBJ)stream.$(OBJ)
  413. Z1=$(PSOBJ)zarith.$(OBJ) $(PSOBJ)zarray.$(OBJ) $(PSOBJ)zcontrol.$(OBJ)
  414. Z2=$(PSOBJ)zdict.$(OBJ) $(PSOBJ)zfile.$(OBJ) $(PSOBJ)zfileio.$(OBJ)
  415. Z3=$(PSOBJ)zfilter.$(OBJ) $(PSOBJ)zfproc.$(OBJ) $(PSOBJ)zgeneric.$(OBJ)
  416. Z4=$(PSOBJ)ziodev.$(OBJ) $(PSOBJ)ziodevs$(STDIO_IMPLEMENTATION).$(OBJ) $(PSOBJ)zmath.$(OBJ)
  417. Z5=$(PSOBJ)zmisc.$(OBJ) $(PSOBJ)zpacked.$(OBJ) $(PSOBJ)zrelbit.$(OBJ)
  418. Z6=$(PSOBJ)zstack.$(OBJ) $(PSOBJ)zstring.$(OBJ) $(PSOBJ)zsysvm.$(OBJ)
  419. Z7=$(PSOBJ)ztoken.$(OBJ) $(PSOBJ)ztype.$(OBJ) $(PSOBJ)zvmem.$(OBJ)
  420. Z8=$(PSOBJ)zbfont.$(OBJ) $(PSOBJ)zchar.$(OBJ) $(PSOBJ)zcolor.$(OBJ)
  421. Z9=$(PSOBJ)zdevice.$(OBJ) $(PSOBJ)zfont.$(OBJ) $(PSOBJ)zgstate.$(OBJ) $(PSOBJ)zdfilter.$(OBJ)
  422. Z10=$(PSOBJ)zht.$(OBJ) $(PSOBJ)zimage.$(OBJ) $(PSOBJ)zmatrix.$(OBJ)
  423. Z11=$(PSOBJ)zpaint.$(OBJ) $(PSOBJ)zpath.$(OBJ)
  424. Z1OPS=zarith zarray zcontrol1 zcontrol2 zcontrol3
  425. Z2OPS=zdict1 zdict2 zfile zfileio1 zfileio2
  426. Z3_4OPS=zfilter zfproc zgeneric ziodev zmath
  427. Z5_6OPS=zmisc zpacked zrelbit zstack zstring zsysvm
  428. Z7_8OPS=ztoken ztype zvmem zbfont zchar zcolor
  429. Z9OPS=zdevice zfont zgstate1 zgstate2 zdfilter
  430. Z10OPS=zht zimage zmatrix
  431. Z11OPS=zpaint zpath
  432. # We have to be a little underhanded with *config.$(OBJ) so as to avoid
  433. # circular definitions.
  434. INT_MAIN=$(PSOBJ)imain.$(OBJ) $(PSOBJ)imainarg.$(OBJ) $(GLOBJ)gsargs.$(OBJ) $(GLOBJ)idisp.$(OBJ)
  435. INT_OBJS=$(INT_MAIN)\
  436. $(INT1) $(INT2) $(INT3) $(INT4) $(INT5) $(INT6) $(INT7)\
  437. $(Z1) $(Z2) $(Z3) $(Z4) $(Z5) $(Z6) $(Z7) $(Z8) $(Z9) $(Z10) $(Z11)
  438. INT_CONFIG=$(GLOBJ)gconfig.$(OBJ) $(GLOBJ)gscdefs.$(OBJ)\
  439. $(PSOBJ)iconfig.$(OBJ) $(PSOBJ)iccinit$(COMPILE_INITS).$(OBJ)
  440. INT_ALL=$(INT_OBJS) $(INT_CONFIG)
  441. # We omit libcore.dev, which should be included here, because problems
  442. # with the Unix linker require libcore to appear last in the link list
  443. # when libcore is really a library.
  444. # We omit $(INT_CONFIG) from the dependency list because they have special
  445. # dependency requirements and are added to the link list at the very end.
  446. # zfilter.c shouldn't include the RLE and RLD filters, but we don't want to
  447. # change this now.
  448. $(PSD)psbase.dev : $(INT_MAK) $(ECHOGS_XE) $(INT_OBJS)\
  449. $(PSD)isupport.dev $(PSD)nobtoken.dev $(PSD)nousparm.dev\
  450. $(GLD)rld.dev $(GLD)rle.dev $(GLD)sfile.dev
  451. $(SETMOD) $(PSD)psbase $(INT_MAIN)
  452. $(ADDMOD) $(PSD)psbase -obj $(INT_CONFIG)
  453. $(ADDMOD) $(PSD)psbase -obj $(INT1)
  454. $(ADDMOD) $(PSD)psbase -obj $(INT2)
  455. $(ADDMOD) $(PSD)psbase -obj $(INT3)
  456. $(ADDMOD) $(PSD)psbase -obj $(INT4)
  457. $(ADDMOD) $(PSD)psbase -obj $(INT5)
  458. $(ADDMOD) $(PSD)psbase -obj $(INT6)
  459. $(ADDMOD) $(PSD)psbase -obj $(INT7)
  460. $(ADDMOD) $(PSD)psbase -obj $(Z1)
  461. $(ADDMOD) $(PSD)psbase -obj $(Z2)
  462. $(ADDMOD) $(PSD)psbase -obj $(Z3)
  463. $(ADDMOD) $(PSD)psbase -obj $(Z4)
  464. $(ADDMOD) $(PSD)psbase -obj $(Z5)
  465. $(ADDMOD) $(PSD)psbase -obj $(Z6)
  466. $(ADDMOD) $(PSD)psbase -obj $(Z7)
  467. $(ADDMOD) $(PSD)psbase -obj $(Z8)
  468. $(ADDMOD) $(PSD)psbase -obj $(Z9)
  469. $(ADDMOD) $(PSD)psbase -obj $(Z10)
  470. $(ADDMOD) $(PSD)psbase -obj $(Z11)
  471. $(ADDMOD) $(PSD)psbase -oper $(Z1OPS)
  472. $(ADDMOD) $(PSD)psbase -oper $(Z2OPS)
  473. $(ADDMOD) $(PSD)psbase -oper $(Z3_4OPS)
  474. $(ADDMOD) $(PSD)psbase -oper $(Z5_6OPS)
  475. $(ADDMOD) $(PSD)psbase -oper $(Z7_8OPS)
  476. $(ADDMOD) $(PSD)psbase -oper $(Z9OPS)
  477. $(ADDMOD) $(PSD)psbase -oper $(Z10OPS)
  478. $(ADDMOD) $(PSD)psbase -oper $(Z11OPS)
  479. $(ADDMOD) $(PSD)psbase -iodev stdin stdout stderr lineedit statementedit
  480. $(ADDMOD) $(PSD)psbase -include $(PSD)isupport $(PSD)nobtoken $(PSD)nousparm
  481. $(ADDMOD) $(PSD)psbase -include $(GLD)rld $(GLD)rle $(GLD)sfile
  482. $(ADDMOD) $(PSD)psbase -replace $(GLD)gsiodevs
  483. # -------------------------- Feature definitions -------------------------- #
  484. # ---------------- Full Level 1 interpreter ---------------- #
  485. # We keep the old name for backward compatibility.
  486. $(PSD)level1.dev : $(PSD)psl1.dev
  487. $(CP_) $(PSD)psl1.dev $(PSD)level1.dev
  488. $(PSD)psl1.dev : $(INT_MAK) $(ECHOGS_XE)\
  489. $(PSD)psbase.dev $(PSD)bcp.dev $(PSD)hsb.dev $(PSD)path1.dev $(PSD)type1.dev
  490. $(SETMOD) $(PSD)psl1 -include $(PSD)psbase $(PSD)bcp $(PSD)hsb $(PSD)path1 $(PSD)type1
  491. $(ADDMOD) $(PSD)psl1 -emulator PostScript PostScriptLevel1
  492. # -------- Level 1 color extensions (CMYK color and colorimage) -------- #
  493. $(PSD)color.dev : $(INT_MAK) $(ECHOGS_XE) $(GLD)cmyklib.dev $(GLD)colimlib.dev $(PSD)cmykread.dev
  494. $(SETMOD) $(PSD)color -include $(GLD)cmyklib $(GLD)colimlib $(PSD)cmykread
  495. cmykread_=$(PSOBJ)zcolor1.$(OBJ) $(PSOBJ)zht1.$(OBJ)
  496. $(PSD)cmykread.dev : $(INT_MAK) $(ECHOGS_XE) $(cmykread_)
  497. $(SETMOD) $(PSD)cmykread $(cmykread_)
  498. $(ADDMOD) $(PSD)cmykread -oper zcolor1 zht1
  499. $(PSOBJ)zcolor1.$(OBJ) : $(PSSRC)zcolor1.c $(OP)\
  500. $(gscolor1_h) $(gscssub_h)\
  501. $(gxcmap_h) $(gxcspace_h) $(gxdevice_h) $(gxfixed_h) $(gxmatrix_h)\
  502. $(gzstate_h)\
  503. $(ialloc_h) $(icolor_h) $(iimage_h) $(estack_h) $(iutil_h) $(igstate_h) $(store_h)
  504. $(PSCC) $(PSO_)zcolor1.$(OBJ) $(C_) $(PSSRC)zcolor1.c
  505. $(PSOBJ)zht1.$(OBJ) : $(PSSRC)zht1.c $(OP) $(memory__h)\
  506. $(gsmatrix_h) $(gsstate_h) $(gsstruct_h) $(gxdevice_h) $(gzht_h)\
  507. $(ialloc_h) $(estack_h) $(igstate_h) $(iht_h) $(store_h)
  508. $(PSCC) $(PSO_)zht1.$(OBJ) $(C_) $(PSSRC)zht1.c
  509. # ---------------- DSC Parser ---------------- #
  510. # The basic DSC parsing facility, used both for Orientation detection
  511. # (to compensate for badly-written PostScript producers that don't emit
  512. # the necessary setpagedevice calls) and by the PDF writer.
  513. dscparse_h=$(PSSRC)dscparse.h
  514. $(PSOBJ)zdscpars.$(OBJ) : $(PSSRC)zdscpars.c $(GH) $(memory__h) $(string__h)\
  515. $(dscparse_h) $(estack_h) $(ialloc_h) $(idict_h) $(iddict_h) $(iname_h)\
  516. $(iparam_h) $(istack_h) $(ivmspace_h) $(oper_h) $(store_h)\
  517. $(gsstruct_h)
  518. $(PSCC) $(PSO_)zdscpars.$(OBJ) $(C_) $(PSSRC)zdscpars.c
  519. $(PSOBJ)dscparse.$(OBJ) : $(PSSRC)dscparse.c $(dscparse_h)
  520. $(PSCC) $(PSO_)dscparse.$(OBJ) $(C_) $(PSSRC)dscparse.c
  521. dscparse_=$(PSOBJ)zdscpars.$(OBJ) $(PSOBJ)dscparse.$(OBJ)
  522. $(PSD)dscparse.dev : $(INT_MAK) $(ECHOGS_XE) $(dscparse_)
  523. $(SETMOD) $(PSD)dscparse -obj $(dscparse_)
  524. $(ADDMOD) $(PSD)dscparse -oper zdscpars
  525. # A feature to pass the Orientation information from the DSC comments
  526. # to setpagedevice.
  527. $(PSD)usedsc.dev : $(INT_MAK) $(ECHOGS_XE) $(PSD)dscparse.dev
  528. $(SETMOD) $(PSD)usedsc -include $(PSD)dscparse -ps gs_dscp
  529. # ---------------- HSB color ---------------- #
  530. hsb_=$(PSOBJ)zhsb.$(OBJ)
  531. $(PSD)hsb.dev : $(INT_MAK) $(ECHOGS_XE) $(hsb_) $(GLD)hsblib.dev
  532. $(SETMOD) $(PSD)hsb $(hsb_)
  533. $(ADDMOD) $(PSD)hsb -include $(GLD)hsblib
  534. $(ADDMOD) $(PSD)hsb -oper zhsb
  535. $(PSOBJ)zhsb.$(OBJ) : $(PSSRC)zhsb.c $(OP)\
  536. $(gshsb_h) $(igstate_h) $(store_h)
  537. $(PSCC) $(PSO_)zhsb.$(OBJ) $(C_) $(PSSRC)zhsb.c
  538. # ---- Level 1 path miscellany (arcs, pathbbox, path enumeration) ---- #
  539. path1_=$(PSOBJ)zpath1.$(OBJ)
  540. $(PSD)path1.dev : $(INT_MAK) $(ECHOGS_XE) $(path1_) $(GLD)path1lib.dev
  541. $(SETMOD) $(PSD)path1 $(path1_)
  542. $(ADDMOD) $(PSD)path1 -include $(GLD)path1lib
  543. $(ADDMOD) $(PSD)path1 -oper zpath1
  544. $(PSOBJ)zpath1.$(OBJ) : $(PSSRC)zpath1.c $(OP) $(memory__h)\
  545. $(ialloc_h) $(estack_h) $(gspath_h) $(gsstruct_h) $(igstate_h)\
  546. $(oparc_h) $(store_h)
  547. $(PSCC) $(PSO_)zpath1.$(OBJ) $(C_) $(PSSRC)zpath1.c
  548. # ================ Level-independent PostScript options ================ #
  549. # ---------------- BCP filters ---------------- #
  550. bcp_=$(GLOBJ)sbcp.$(OBJ) $(PSOBJ)zfbcp.$(OBJ)
  551. $(PSD)bcp.dev : $(INT_MAK) $(ECHOGS_XE) $(bcp_)
  552. $(SETMOD) $(PSD)bcp $(bcp_)
  553. $(ADDMOD) $(PSD)bcp -oper zfbcp
  554. $(PSOBJ)zfbcp.$(OBJ) : $(PSSRC)zfbcp.c $(OP) $(memory__h)\
  555. $(gsstruct_h) $(ialloc_h) $(ifilter_h)\
  556. $(sbcp_h) $(stream_h) $(strimpl_h)
  557. $(PSCC) $(PSO_)zfbcp.$(OBJ) $(C_) $(PSSRC)zfbcp.c
  558. # ---------------- Incremental font loading ---------------- #
  559. # (This only works for Type 1 fonts without eexec encryption.)
  560. $(PSD)diskfont.dev : $(INT_MAK) $(ECHOGS_XE)
  561. $(SETMOD) $(PSD)diskfont -ps gs_diskf
  562. # ---------------- Double-precision floats ---------------- #
  563. double_=$(PSOBJ)zdouble.$(OBJ)
  564. $(PSD)double.dev : $(INT_MAK) $(ECHOGS_XE) $(double_)
  565. $(SETMOD) $(PSD)double $(double_)
  566. $(ADDMOD) $(PSD)double -oper zdouble1 zdouble2
  567. $(PSOBJ)zdouble.$(OBJ) : $(PSSRC)zdouble.c $(OP)\
  568. $(ctype__h) $(math__h) $(memory__h) $(string__h)\
  569. $(gxfarith_h) $(store_h)
  570. $(PSCC) $(PSO_)zdouble.$(OBJ) $(C_) $(PSSRC)zdouble.c
  571. # ---------------- EPSF files with binary headers ---------------- #
  572. $(PSD)epsf.dev : $(INT_MAK) $(ECHOGS_XE)
  573. $(SETMOD) $(PSD)epsf -ps gs_epsf
  574. # ---------------- RasterOp ---------------- #
  575. # This should be a separable feature in the core also....
  576. $(PSD)rasterop.dev : $(INT_MAK) $(ECHOGS_XE) $(GLD)roplib.dev $(PSD)ropread.dev
  577. $(SETMOD) $(PSD)rasterop -include $(GLD)roplib $(PSD)ropread
  578. ropread_=$(PSOBJ)zrop.$(OBJ)
  579. $(PSD)ropread.dev : $(INT_MAK) $(ECHOGS_XE) $(ropread_)
  580. $(SETMOD) $(PSD)ropread $(ropread_)
  581. $(ADDMOD) $(PSD)ropread -oper zrop
  582. $(PSOBJ)zrop.$(OBJ) : $(PSSRC)zrop.c $(OP) $(memory__h)\
  583. $(gsrop_h) $(gsutil_h) $(gxdevice_h)\
  584. $(idict_h) $(idparam_h) $(igstate_h) $(store_h)
  585. $(PSCC) $(PSO_)zrop.$(OBJ) $(C_) $(PSSRC)zrop.c
  586. # ---------------- PostScript Type 1 (and Type 4) fonts ---------------- #
  587. $(PSD)type1.dev : $(INT_MAK) $(ECHOGS_XE) $(GLD)psf1lib.dev $(PSD)psf1read.dev
  588. $(SETMOD) $(PSD)type1 -include $(GLD)psf1lib $(PSD)psf1read
  589. psf1read_1=$(PSOBJ)zchar1.$(OBJ) $(PSOBJ)zcharout.$(OBJ)
  590. psf1read_2=$(PSOBJ)zfont1.$(OBJ) $(PSOBJ)zmisc1.$(OBJ)
  591. psf1read_=$(psf1read_1) $(psf1read_2)
  592. $(PSD)psf1read.dev : $(INT_MAK) $(ECHOGS_XE) $(psf1read_) $(GLD)seexec.dev
  593. $(SETMOD) $(PSD)psf1read $(psf1read_1)
  594. $(ADDMOD) $(PSD)psf1read -obj $(psf1read_2)
  595. $(ADDMOD) $(PSD)psf1read -include $(GLD)seexec
  596. $(ADDMOD) $(PSD)psf1read -oper zchar1 zfont1 zmisc1
  597. $(ADDMOD) $(PSD)psf1read -ps gs_type1
  598. $(PSOBJ)zchar1.$(OBJ) : $(PSSRC)zchar1.c $(OP) $(memory__h)\
  599. $(gspaint_h) $(gspath_h) $(gsrect_h) $(gsstruct_h)\
  600. $(gxdevice_h) $(gxfixed_h) $(gxmatrix_h)\
  601. $(gxfont_h) $(gxfont1_h) $(gxtype1_h) $(gzstate_h)\
  602. $(estack_h) $(ialloc_h) $(ichar_h) $(ichar1_h) $(icharout_h)\
  603. $(idict_h) $(ifont_h) $(igstate_h) $(iname_h) $(store_h)
  604. $(PSCC) $(PSO_)zchar1.$(OBJ) $(C_) $(PSSRC)zchar1.c
  605. $(PSOBJ)zfont1.$(OBJ) : $(PSSRC)zfont1.c $(OP) $(memory__h)\
  606. $(gsmatrix_h) $(gxdevice_h)\
  607. $(gxfixed_h) $(gxfont_h) $(gxfont1_h)\
  608. $(bfont_h) $(ialloc_h) $(ichar1_h) $(icharout_h) $(idict_h) $(idparam_h)\
  609. $(ifont1_h) $(iname_h) $(store_h)
  610. $(PSCC) $(PSO_)zfont1.$(OBJ) $(C_) $(PSSRC)zfont1.c
  611. $(PSOBJ)zmisc1.$(OBJ) : $(PSSRC)zmisc1.c $(OP) $(memory__h)\
  612. $(gscrypt1_h)\
  613. $(idict_h) $(idparam_h) $(ifilter_h)\
  614. $(sfilter_h) $(stream_h) $(strimpl_h)
  615. $(PSCC) $(PSO_)zmisc1.$(OBJ) $(C_) $(PSSRC)zmisc1.c
  616. # -------------- Compact Font Format and Type 2 charstrings ------------- #
  617. $(PSD)cff.dev : $(INT_MAK) $(ECHOGS_XE) $(PSD)psl2int.dev
  618. $(SETMOD) $(PSD)cff -include $(PSD)psl2int -ps gs_css_e gs_cff
  619. $(PSOBJ)zchar2.$(OBJ) : $(PSSRC)zchar2.c $(OP)\
  620. $(gxfixed_h) $(gxmatrix_h) $(gxfont_h) $(gxfont1_h) $(gxtype1_h)\
  621. $(ichar1_h)
  622. $(PSCC) $(PSO_)zchar2.$(OBJ) $(C_) $(PSSRC)zchar2.c
  623. $(PSOBJ)zfont2.$(OBJ) : $(PSSRC)zfont2.c $(OP)\
  624. $(gsmatrix_h) $(gxfixed_h) $(gxfont_h) $(gxfont1_h)\
  625. $(bfont_h) $(idict_h) $(idparam_h) $(ifont1_h) $(ifont2_h)
  626. $(PSCC) $(PSO_)zfont2.$(OBJ) $(C_) $(PSSRC)zfont2.c
  627. type2_=$(PSOBJ)zchar2.$(OBJ) $(PSOBJ)zfont2.$(OBJ)
  628. $(PSD)type2.dev : $(INT_MAK) $(ECHOGS_XE) $(type2_)\
  629. $(PSD)type1.dev $(GLD)psf2lib.dev
  630. $(SETMOD) $(PSD)type2 $(type2_)
  631. $(ADDMOD) $(PSD)type2 -oper zchar2 zfont2
  632. $(ADDMOD) $(PSD)type2 -include $(PSD)type1 $(GLD)psf2lib
  633. # ---------------- Type 32 (downloaded bitmap) fonts ---------------- #
  634. $(PSOBJ)zchar32.$(OBJ) : $(PSSRC)zchar32.c $(OP)\
  635. $(gsccode_h) $(gsmatrix_h) $(gsutil_h)\
  636. $(gxfcache_h) $(gxfixed_h) $(gxfont_h)\
  637. $(ifont_h) $(igstate_h) $(store_h)
  638. $(PSCC) $(PSO_)zchar32.$(OBJ) $(C_) $(PSSRC)zchar32.c
  639. $(PSOBJ)zfont32.$(OBJ) : $(PSSRC)zfont32.c $(OP)\
  640. $(gsccode_h) $(gsmatrix_h) $(gsutil_h) $(gxfont_h)\
  641. $(bfont_h) $(store_h)
  642. $(PSCC) $(PSO_)zfont32.$(OBJ) $(C_) $(PSSRC)zfont32.c
  643. type32_=$(PSOBJ)zchar32.$(OBJ) $(PSOBJ)zfont32.$(OBJ)
  644. $(PSD)type32.dev : $(INT_MAK) $(ECHOGS_XE) $(type32_)
  645. $(SETMOD) $(PSD)type32 $(type32_)
  646. $(ADDMOD) $(PSD)type32 -oper zchar32 zfont32
  647. $(ADDMOD) $(PSD)type32 -ps gs_res gs_typ32
  648. # ---------------- TrueType and PostScript Type 42 fonts ---------------- #
  649. # Mac glyph support (has an internal dependency)
  650. $(PSD)macroman.dev : $(INT_MAK) $(ECHOGS_XE) $(PSLIB)gs_mro_e.ps
  651. $(SETMOD) $(PSD)macroman -ps gs_mro_e
  652. $(PSD)macglyph.dev : $(INT_MAK) $(ECHOGS_XE) $(PSLIB)gs_mgl_e.ps\
  653. $(PSD)macroman.dev
  654. $(SETMOD) $(PSD)macglyph -include $(PSD)macroman -ps gs_mgl_e
  655. # Native TrueType support
  656. $(PSD)ttfont.dev : $(INT_MAK) $(ECHOGS_XE) $(PSD)macglyph.dev $(PSD)type42.dev
  657. $(SETMOD) $(PSD)ttfont -include $(PSD)macglyph $(PSD)type42
  658. $(ADDMOD) $(PSD)ttfont -ps gs_wan_e gs_agl gs_ttf
  659. # Type 42 (embedded TrueType) support
  660. type42read_=$(PSOBJ)zchar42.$(OBJ) $(PSOBJ)zcharout.$(OBJ) $(PSOBJ)zfont42.$(OBJ)
  661. $(PSD)type42.dev : $(INT_MAK) $(ECHOGS_XE) $(type42read_) $(GLD)ttflib.dev
  662. $(SETMOD) $(PSD)type42 $(type42read_)
  663. $(ADDMOD) $(PSD)type42 -include $(GLD)ttflib
  664. $(ADDMOD) $(PSD)type42 -oper zchar42 zfont42
  665. $(ADDMOD) $(PSD)type42 -ps gs_typ42
  666. $(PSOBJ)zchar42.$(OBJ) : $(PSSRC)zchar42.c $(OP)\
  667. $(gsmatrix_h) $(gspaint_h) $(gspath_h)\
  668. $(gxfixed_h) $(gxfont_h) $(gxfont42_h)\
  669. $(gxistate_h) $(gxpath_h) $(gxtext_h) $(gzstate_h)\
  670. $(dstack_h) $(estack_h) $(ichar_h) $(icharout_h)\
  671. $(ifont_h) $(igstate_h) $(store_h)
  672. $(PSCC) $(PSO_)zchar42.$(OBJ) $(C_) $(PSSRC)zchar42.c
  673. $(PSOBJ)zfont42.$(OBJ) : $(PSSRC)zfont42.c $(OP) $(memory__h)\
  674. $(gsccode_h) $(gsmatrix_h) $(gxfont_h) $(gxfont42_h)\
  675. $(bfont_h) $(icharout_h) $(idict_h) $(idparam_h) $(ifont42_h) $(iname_h)\
  676. $(store_h)
  677. $(PSCC) $(PSO_)zfont42.$(OBJ) $(C_) $(PSSRC)zfont42.c
  678. # ======================== Precompilation options ======================== #
  679. # ---------------- Precompiled fonts ---------------- #
  680. # See Fonts.htm for more information.
  681. ccfont_h=$(PSSRC)ccfont.h $(stdpre_h) $(gsmemory_h)\
  682. $(iref_h) $(ivmspace_h) $(store_h)
  683. CCFONT=$(OP) $(ccfont_h)
  684. # List the fonts we are going to compile.
  685. # Because of intrinsic limitations in `make', we have to list
  686. # the object file names and the font names separately.
  687. # Because of limitations in the DOS shell, we have to break the fonts up
  688. # into lists that will fit on a single line (120 characters).
  689. # The rules for constructing the .c files from the fonts themselves,
  690. # and for compiling the .c files, are in cfonts.mak, not here.
  691. # For example, to compile the Courier fonts, you should invoke
  692. # make Courier_o
  693. # By convention, the names of the 35 standard compiled fonts use '0' for
  694. # the foundry name. This allows users to substitute different foundries
  695. # without having to change this makefile.
  696. ccfonts_ps=gs_ccfnt
  697. ccfonts1_=$(PSOBJ)0agk.$(OBJ) $(PSOBJ)0agko.$(OBJ) $(PSOBJ)0agd.$(OBJ) $(PSOBJ)0agdo.$(OBJ)
  698. ccfonts1=agk agko agd agdo
  699. ccfonts2_=$(PSOBJ)0bkl.$(OBJ) $(PSOBJ)0bkli.$(OBJ) $(PSOBJ)0bkd.$(OBJ) $(PSOBJ)0bkdi.$(OBJ)
  700. ccfonts2=bkl bkli bkd bkdi
  701. ccfonts3_=$(PSOBJ)0crr.$(OBJ) $(PSOBJ)0cri.$(OBJ) $(PSOBJ)0crb.$(OBJ) $(PSOBJ)0crbi.$(OBJ)
  702. ccfonts3=crr cri crb crbi
  703. ccfonts4_=$(PSOBJ)0hvr.$(OBJ) $(PSOBJ)0hvro.$(OBJ) $(PSOBJ)0hvb.$(OBJ) $(PSOBJ)0hvbo.$(OBJ)
  704. ccfonts4=hvr hvro hvb hvbo
  705. ccfonts5_=$(PSOBJ)0hvrrn.$(OBJ) $(PSOBJ)0hvrorn.$(OBJ) $(PSOBJ)0hvbrn.$(OBJ) $(PSOBJ)0hvborn.$(OBJ)
  706. ccfonts5=hvrrn hvrorn hvbrn hvborn
  707. ccfonts6_=$(PSOBJ)0ncr.$(OBJ) $(PSOBJ)0ncri.$(OBJ) $(PSOBJ)0ncb.$(OBJ) $(PSOBJ)0ncbi.$(OBJ)
  708. ccfonts6=ncr ncri ncb ncbi
  709. ccfonts7_=$(PSOBJ)0plr.$(OBJ) $(PSOBJ)0plri.$(OBJ) $(PSOBJ)0plb.$(OBJ) $(PSOBJ)0plbi.$(OBJ)
  710. ccfonts7=plr plri plb plbi
  711. ccfonts8_=$(PSOBJ)0tmr.$(OBJ) $(PSOBJ)0tmri.$(OBJ) $(PSOBJ)0tmb.$(OBJ) $(PSOBJ)0tmbi.$(OBJ)
  712. ccfonts8=tmr tmri tmb tmbi
  713. ccfonts9_=$(PSOBJ)0syr.$(OBJ) $(PSOBJ)0zcmi.$(OBJ) $(PSOBJ)0zdr.$(OBJ)
  714. ccfonts9=syr zcmi zdr
  715. # The free distribution includes Bitstream Charter, Utopia, and
  716. # freeware Cyrillic and Kana fonts. We only provide for compiling
  717. # Charter and Utopia.
  718. ccfonts10free_=$(PSOBJ)bchr.$(OBJ) $(PSOBJ)bchri.$(OBJ) $(PSOBJ)bchb.$(OBJ) $(PSOBJ)bchbi.$(OBJ)
  719. ccfonts10free=chr chri chb chbi
  720. ccfonts11free_=$(PSOBJ)putr.$(OBJ) $(PSOBJ)putri.$(OBJ) $(PSOBJ)putb.$(OBJ) $(PSOBJ)putbi.$(OBJ)
  721. ccfonts11free=utr utri utb utbi
  722. # Uncomment the alternatives in the next 4 lines if you want
  723. # Charter and Utopia compiled in.
  724. #ccfonts10_=$(ccfonts10free_)
  725. ccfonts10_=
  726. #ccfonts10=$(ccfonts10free)
  727. ccfonts10=
  728. #ccfonts11_=$(ccfonts11free_)
  729. ccfonts11_=
  730. #ccfonts11=$(ccfonts11free)
  731. ccfonts11=
  732. # Add your own fonts here if desired.
  733. ccfonts12_=
  734. ccfonts12=
  735. ccfonts13_=
  736. ccfonts13=
  737. ccfonts14_=
  738. ccfonts14=
  739. ccfonts15_=
  740. ccfonts15=
  741. # font2c has the prefix "gs" built into it, so we need to instruct
  742. # genconf to use the same one.
  743. $(gconfigf_h) : $(TOP_MAKEFILES) $(INT_MAK) $(ECHOGS_XE) $(GENCONF_XE)
  744. $(SETMOD) $(PSD)ccfonts_ -font $(ccfonts1)
  745. $(ADDMOD) $(PSD)ccfonts_ -font $(ccfonts2)
  746. $(ADDMOD) $(PSD)ccfonts_ -font $(ccfonts3)
  747. $(ADDMOD) $(PSD)ccfonts_ -font $(ccfonts4)
  748. $(ADDMOD) $(PSD)ccfonts_ -font $(ccfonts5)
  749. $(ADDMOD) $(PSD)ccfonts_ -font $(ccfonts6)
  750. $(ADDMOD) $(PSD)ccfonts_ -font $(ccfonts7)
  751. $(ADDMOD) $(PSD)ccfonts_ -font $(ccfonts8)
  752. $(ADDMOD) $(PSD)ccfonts_ -font $(ccfonts9)
  753. $(ADDMOD) $(PSD)ccfonts_ -font $(ccfonts10)
  754. $(ADDMOD) $(PSD)ccfonts_ -font $(ccfonts11)
  755. $(ADDMOD) $(PSD)ccfonts_ -font $(ccfonts12)
  756. $(ADDMOD) $(PSD)ccfonts_ -font $(ccfonts13)
  757. $(ADDMOD) $(PSD)ccfonts_ -font $(ccfonts14)
  758. $(ADDMOD) $(PSD)ccfonts_ -font $(ccfonts15)
  759. $(EXP)$(GENCONF_XE) $(PSGEN)ccfonts_.dev -n gs -f $(gconfigf_h)
  760. # We separate icfontab.dev from ccfonts.dev so that a customer can put
  761. # compiled fonts into a separate shared library.
  762. # Define ccfont_table separately, so it can be set from the command line
  763. # to select an alternate compiled font table.
  764. ccfont_table=icfontab
  765. $(PSD)icfontab.dev : $(TOP_MAKEFILES) $(INT_MAK) $(ECHOGS_XE)\
  766. $(PSOBJ)icfontab.$(OBJ)\
  767. $(ccfonts1_) $(ccfonts2_) $(ccfonts3_) $(ccfonts4_) $(ccfonts5_)\
  768. $(ccfonts6_) $(ccfonts7_) $(ccfonts8_) $(ccfonts9_) $(ccfonts10_)\
  769. $(ccfonts11_) $(ccfonts12_) $(ccfonts13_) $(ccfonts14_) $(ccfonts15_)
  770. $(SETMOD) $(PSD)icfontab -obj $(PSOBJ)icfontab.$(OBJ)
  771. $(ADDMOD) $(PSD)icfontab -obj $(ccfonts1_)
  772. $(ADDMOD) $(PSD)icfontab -obj $(ccfonts2_)
  773. $(ADDMOD) $(PSD)icfontab -obj $(ccfonts3_)
  774. $(ADDMOD) $(PSD)icfontab -obj $(ccfonts4_)
  775. $(ADDMOD) $(PSD)icfontab -obj $(ccfonts5_)
  776. $(ADDMOD) $(PSD)icfontab -obj $(ccfonts6_)
  777. $(ADDMOD) $(PSD)icfontab -obj $(ccfonts7_)
  778. $(ADDMOD) $(PSD)icfontab -obj $(ccfonts8_)
  779. $(ADDMOD) $(PSD)icfontab -obj $(ccfonts9_)
  780. $(ADDMOD) $(PSD)icfontab -obj $(ccfonts10_)
  781. $(ADDMOD) $(PSD)icfontab -obj $(ccfonts11_)
  782. $(ADDMOD) $(PSD)icfontab -obj $(ccfonts12_)
  783. $(ADDMOD) $(PSD)icfontab -obj $(ccfonts13_)
  784. $(ADDMOD) $(PSD)icfontab -obj $(ccfonts14_)
  785. $(ADDMOD) $(PSD)icfontab -obj $(ccfonts15_)
  786. $(PSOBJ)icfontab.$(OBJ) : $(PSSRC)icfontab.c $(AK) $(ccfont_h) $(gconfigf_h)
  787. $(CP_) $(gconfigf_h) $(PSGEN)gconfigf.h
  788. $(PSCC) $(PSO_)icfontab.$(OBJ) $(C_) $(PSSRC)icfontab.c
  789. # Strictly speaking, ccfonts shouldn't need to include type1,
  790. # since one could choose to precompile only Type 0 fonts,
  791. # but getting this exactly right would be too much work.
  792. $(PSD)ccfonts.dev : $(TOP_MAKEFILES) $(INT_MAK)\
  793. $(PSD)type1.dev $(PSOBJ)iccfont.$(OBJ) $(PSD)$(ccfont_table).dev
  794. $(SETMOD) $(PSD)ccfonts -include $(PSD)type1
  795. $(ADDMOD) $(PSD)ccfonts -include $(PSD)$(ccfont_table)
  796. $(ADDMOD) $(PSD)ccfonts -obj $(PSOBJ)iccfont.$(OBJ)
  797. $(ADDMOD) $(PSD)ccfonts -oper ccfonts
  798. $(ADDMOD) $(PSD)ccfonts -ps $(ccfonts_ps)
  799. $(PSOBJ)iccfont.$(OBJ) : $(PSSRC)iccfont.c $(GH) $(string__h)\
  800. $(gsstruct_h) $(ccfont_h) $(errors_h)\
  801. $(ialloc_h) $(idict_h) $(ifont_h) $(iname_h) $(isave_h) $(iutil_h)\
  802. $(oper_h) $(ostack_h) $(store_h) $(stream_h) $(strimpl_h) $(sfilter_h) $(iscan_h)
  803. $(PSCC) $(PSO_)iccfont.$(OBJ) $(C_) $(PSSRC)iccfont.c
  804. # ---------------- Compiled initialization code ---------------- #
  805. # We select either iccinit0 or iccinit1 depending on COMPILE_INITS.
  806. $(PSOBJ)iccinit0.$(OBJ) : $(PSSRC)iccinit0.c $(stdpre_h)
  807. $(PSCC) $(PSO_)iccinit0.$(OBJ) $(C_) $(PSSRC)iccinit0.c
  808. $(PSOBJ)iccinit1.$(OBJ) : $(PSOBJ)gs_init.$(OBJ)
  809. $(CP_) $(PSOBJ)gs_init.$(OBJ) $(PSOBJ)iccinit1.$(OBJ)
  810. # All the gs_*.ps files should be prerequisites of gs_init.c,
  811. # but we don't have any convenient list of them.
  812. $(PSGEN)gs_init.c : $(PSLIB)$(GS_INIT) $(GENINIT_XE) $(gconfig_h)
  813. $(EXP)$(GENINIT_XE) -I $(PSLIB) $(GS_INIT) $(gconfig_h) -c $(PSGEN)gs_init.c
  814. $(PSOBJ)gs_init.$(OBJ) : $(PSGEN)gs_init.c $(stdpre_h)
  815. $(PSCC) $(PSO_)gs_init.$(OBJ) $(C_) $(PSGEN)gs_init.c
  816. # ---------------- Stochastic halftone ---------------- #
  817. $(PSD)stocht.dev : $(INT_MAK) $(ECHOGS_XE) $(PSD)stocht$(COMPILE_INITS).dev
  818. $(SETMOD) $(PSD)stocht -include $(PSD)stocht$(COMPILE_INITS)
  819. # If we aren't compiling, just include the PostScript code.
  820. # Note that the resource machinery must be loaded first.
  821. $(PSD)stocht0.dev : $(INT_MAK) $(ECHOGS_XE)
  822. $(SETMOD) $(PSD)stocht0 -ps gs_res ht_ccsto
  823. # If we are compiling, a special compilation step is needed.
  824. stocht1_=$(PSOBJ)ht_ccsto.$(OBJ)
  825. $(PSD)stocht1.dev : $(INT_MAK) $(ECHOGS_XE) $(stocht1_) $(PSD)stocht0.dev
  826. $(SETMOD) $(PSD)stocht1 $(stocht1_)
  827. $(ADDMOD) $(PSD)stocht1 -halftone $(Q)StochasticDefault$(Q)
  828. $(ADDMOD) $(PSD)stocht1 -include $(PSD)stocht0
  829. $(PSOBJ)ht_ccsto.$(OBJ) : $(PSGEN)ht_ccsto.c $(gxdhtres_h)
  830. $(PSCC) $(PSO_)ht_ccsto.$(OBJ) $(C_) $(PSGEN)ht_ccsto.c
  831. $(PSGEN)ht_ccsto.c : $(PSLIB)ht_ccsto.ps $(GENHT_XE)
  832. $(EXP)$(GENHT_XE) $(PSLIB)ht_ccsto.ps $(PSGEN)ht_ccsto.c
  833. # ================ PS LL3 features used internally in L2 ================ #
  834. # ---------------- Functions ---------------- #
  835. ifunc_h=$(PSSRC)ifunc.h $(gsfunc_h)
  836. # Generic support, and FunctionType 0.
  837. funcread_=$(PSOBJ)zfunc.$(OBJ) $(PSOBJ)zfunc0.$(OBJ)
  838. $(PSD)func.dev : $(INT_MAK) $(ECHOGS_XE) $(funcread_) $(GLD)funclib.dev
  839. $(SETMOD) $(PSD)func $(funcread_)
  840. $(ADDMOD) $(PSD)func -oper zfunc
  841. $(ADDMOD) $(PSD)func -functiontype 0
  842. $(ADDMOD) $(PSD)func -include $(GLD)funclib
  843. $(PSOBJ)zfunc.$(OBJ) : $(PSSRC)zfunc.c $(OP) $(memory__h)\
  844. $(gscdefs_h) $(gsfunc_h) $(gsstruct_h)\
  845. $(ialloc_h) $(idict_h) $(idparam_h) $(ifunc_h) $(store_h)
  846. $(PSCC) $(PSO_)zfunc.$(OBJ) $(C_) $(PSSRC)zfunc.c
  847. $(PSOBJ)zfunc0.$(OBJ) : $(PSSRC)zfunc0.c $(OP) $(memory__h)\
  848. $(gsdsrc_h) $(gsfunc_h) $(gsfunc0_h)\
  849. $(stream_h)\
  850. $(files_h) $(ialloc_h) $(idict_h) $(idparam_h) $(ifunc_h)
  851. $(PSCC) $(PSO_)zfunc0.$(OBJ) $(C_) $(PSSRC)zfunc0.c
  852. # ---------------- zlib/Flate filters ---------------- #
  853. fzlib_=$(PSOBJ)zfzlib.$(OBJ)
  854. $(PSD)fzlib.dev : $(INT_MAK) $(ECHOGS_XE) $(fzlib_)\
  855. $(GLD)szlibe.dev $(GLD)szlibd.dev
  856. $(SETMOD) $(PSD)fzlib -include $(GLD)szlibe $(GLD)szlibd
  857. $(ADDMOD) $(PSD)fzlib -obj $(fzlib_)
  858. $(ADDMOD) $(PSD)fzlib -oper zfzlib
  859. $(PSOBJ)zfzlib.$(OBJ) : $(PSSRC)zfzlib.c $(OP)\
  860. $(idict_h) $(idparam_h) $(ifilter_h) $(ifrpred_h) $(ifwpred_h)\
  861. $(spdiffx_h) $(spngpx_h) $(strimpl_h) $(szlibx_h)
  862. $(PSCC) $(PSO_)zfzlib.$(OBJ) $(C_) $(PSSRC)zfzlib.c
  863. # ---------------- ReusableStreamDecode filter ---------------- #
  864. # This is also used by the implementation of CIDFontType 0 fonts.
  865. $(PSD)frsd.dev : $(INT_MAK) $(ECHOGS_XE) $(PSD)zfrsd.dev
  866. $(SETMOD) $(PSD)frsd -include $(PSD)zfrsd
  867. $(ADDMOD) $(PSD)frsd -ps gs_lev2 gs_res gs_frsd
  868. zfrsd_=$(PSOBJ)zfrsd.$(OBJ)
  869. $(PSD)zfrsd.dev : $(INT_MAK) $(ECHOGS_XE) $(zfrsd_)
  870. $(SETMOD) $(PSD)zfrsd $(zfrsd_)
  871. $(ADDMOD) $(PSD)zfrsd -oper zfrsd
  872. $(PSOBJ)zfrsd.$(OBJ) : $(PSSRC)zfrsd.c $(OP) $(memory__h)\
  873. $(gxiodev_h)\
  874. $(sfilter_h) $(stream_h) $(strimpl_h)\
  875. $(files_h) $(idict_h) $(idparam_h) $(iname_h) $(store_h)
  876. $(PSCC) $(PSO_)zfrsd.$(OBJ) $(C_) $(PSSRC)zfrsd.c
  877. # ======================== PostScript Level 2 ======================== #
  878. # We keep the old name for backward compatibility.
  879. $(PSD)level2.dev : $(PSD)psl2.dev
  880. $(CP_) $(PSD)psl2.dev $(PSD)level2.dev
  881. $(PSD)psl2.dev : $(INT_MAK) $(ECHOGS_XE)\
  882. $(PSD)cidfont.dev $(PSD)cie.dev $(PSD)cmapread.dev $(PSD)compfont.dev\
  883. $(PSD)dct.dev $(PSD)dpsand2.dev\
  884. $(PSD)filter.dev $(PSD)iodevice.dev $(PSD)pagedev.dev $(PSD)pattern.dev\
  885. $(PSD)psl1.dev $(GLD)psl2lib.dev $(PSD)psl2read.dev\
  886. $(PSD)sepr.dev $(PSD)type32.dev $(PSD)type42.dev
  887. $(SETMOD) $(PSD)psl2 -include $(PSD)cidfont $(PSD)cie $(PSD)cmapread $(PSD)compfont
  888. $(ADDMOD) $(PSD)psl2 -include $(PSD)dct $(PSD)dpsand2 $(PSD)filter $(PSD)iodevice
  889. $(ADDMOD) $(PSD)psl2 -include $(PSD)pagedev $(PSD)pattern $(PSD)psl1 $(GLD)psl2lib $(PSD)psl2read
  890. $(ADDMOD) $(PSD)psl2 -include $(PSD)sepr $(PSD)type32 $(PSD)type42
  891. $(ADDMOD) $(PSD)psl2 -emulator PostScript PostScriptLevel2
  892. # Define basic Level 2 language support.
  893. # This is the minimum required for CMap and CIDFont support.
  894. psl2int_=$(PSOBJ)iutil2.$(OBJ) $(PSOBJ)zmisc2.$(OBJ)
  895. $(PSD)psl2int.dev : $(INT_MAK) $(ECHOGS_XE) $(psl2int_)\
  896. $(PSD)dps2int.dev $(PSD)usparam.dev
  897. $(SETMOD) $(PSD)psl2int $(psl2int_)
  898. $(ADDMOD) $(PSD)psl2int -include $(PSD)dps2int $(PSD)usparam
  899. $(ADDMOD) $(PSD)psl2int -oper zmisc2
  900. $(ADDMOD) $(PSD)psl2int -ps gs_lev2 gs_res
  901. ivmem2_h=$(PSSRC)ivmem2.h
  902. $(PSOBJ)iutil2.$(OBJ) : $(PSSRC)iutil2.c $(GH) $(memory__h) $(string__h)\
  903. $(gsparam_h) $(gsutil_h)\
  904. $(errors_h) $(idict_h) $(imemory_h) $(iutil_h) $(iutil2_h) $(opcheck_h)
  905. $(PSCC) $(PSO_)iutil2.$(OBJ) $(C_) $(PSSRC)iutil2.c
  906. $(PSOBJ)zmisc2.$(OBJ) : $(PSSRC)zmisc2.c $(OP) $(memory__h) $(string__h)\
  907. $(iddict_h) $(idparam_h) $(iparam_h) $(dstack_h) $(estack_h)\
  908. $(ilevel_h) $(iname_h) $(iutil2_h) $(ivmspace_h) $(store_h)
  909. $(PSCC) $(PSO_)zmisc2.$(OBJ) $(C_) $(PSSRC)zmisc2.c
  910. # Define support for user and system parameters.
  911. # We make this a separate module only because it must have a default.
  912. nousparm_=$(PSOBJ)inouparm.$(OBJ)
  913. $(PSD)nousparm.dev : $(INT_MAK) $(ECHOGS_XE) $(nousparm_)
  914. $(SETMOD) $(PSD)nousparm $(nousparm_)
  915. $(PSOBJ)inouparm.$(OBJ) : $(PSSRC)inouparm.c\
  916. $(ghost_h) $(icontext_h)
  917. $(PSCC) $(PSO_)inouparm.$(OBJ) $(C_) $(PSSRC)inouparm.c
  918. usparam_=$(PSOBJ)zusparam.$(OBJ)
  919. $(PSD)usparam.dev : $(INT_MAK) $(ECHOGS_XE) $(usparam_)
  920. $(SETMOD) $(PSD)usparam $(usparam_)
  921. $(ADDMOD) $(PSD)usparam -oper zusparam -replace $(PSD)nousparm
  922. # Note that zusparam includes both Level 1 and Level 2 operators.
  923. $(PSOBJ)zusparam.$(OBJ) : $(PSSRC)zusparam.c $(OP) $(memory__h) $(string__h)\
  924. $(gscdefs_h) $(gsfont_h) $(gsstruct_h) $(gsutil_h) $(gxht_h)\
  925. $(ialloc_h) $(icontext_h) $(idict_h) $(idparam_h) $(iparam_h)\
  926. $(iname_h) $(itoken_h) $(iutil2_h) $(ivmem2_h)\
  927. $(dstack_h) $(estack_h) $(store_h)
  928. $(PSCC) $(PSO_)zusparam.$(OBJ) $(C_) $(PSSRC)zusparam.c
  929. # Define full Level 2 support.
  930. iimage2_h=$(PSSRC)iimage2.h
  931. psl2read_=$(PSOBJ)zcolor2.$(OBJ) $(PSOBJ)zcsindex.$(OBJ) $(PSOBJ)zht2.$(OBJ) $(PSOBJ)zimage2.$(OBJ)
  932. # Note that zmisc2 includes both Level 1 and Level 2 operators.
  933. $(PSD)psl2read.dev : $(INT_MAK) $(ECHOGS_XE) $(psl2read_)\
  934. $(PSD)psl2int.dev $(PSD)dps2read.dev
  935. $(SETMOD) $(PSD)psl2read $(psl2read_)
  936. $(ADDMOD) $(PSD)psl2read -include $(PSD)psl2int $(PSD)dps2read
  937. $(ADDMOD) $(PSD)psl2read -oper zcolor2_l2 zcsindex_l2
  938. $(ADDMOD) $(PSD)psl2read -oper zht2_l2 zimage2_l2
  939. $(PSOBJ)zcolor2.$(OBJ) : $(PSSRC)zcolor2.c $(OP)\
  940. $(gscolor_h) $(gscssub_h) $(gsmatrix_h) $(gsstruct_h)\
  941. $(gxcolor2_h) $(gxcspace_h) $(gxdcolor_h) $(gxdevice_h) $(gxdevmem_h) $(gxfixed_h) $(gxpcolor_h)\
  942. $(estack_h) $(ialloc_h) $(idict_h) $(iname_h) $(idparam_h) $(igstate_h) $(istruct_h)\
  943. $(store_h)
  944. $(PSCC) $(PSO_)zcolor2.$(OBJ) $(C_) $(PSSRC)zcolor2.c
  945. $(PSOBJ)zcsindex.$(OBJ) : $(PSSRC)zcsindex.c $(OP) $(memory__h)\
  946. $(gscolor_h) $(gsstruct_h) $(gxfixed_h) $(gxcolor2_h) $(gxcspace_h) $(gsmatrix_h)\
  947. $(ialloc_h) $(icsmap_h) $(estack_h) $(igstate_h) $(ivmspace_h) $(store_h)
  948. $(PSCC) $(PSO_)zcsindex.$(OBJ) $(C_) $(PSSRC)zcsindex.c
  949. $(PSOBJ)zht2.$(OBJ) : $(PSSRC)zht2.c $(OP)\
  950. $(gsstruct_h) $(gxdevice_h) $(gzht_h)\
  951. $(estack_h) $(ialloc_h) $(icolor_h) $(iddict_h) $(idparam_h) $(igstate_h)\
  952. $(iht_h) $(store_h)
  953. $(PSCC) $(PSO_)zht2.$(OBJ) $(C_) $(PSSRC)zht2.c
  954. $(PSOBJ)zimage2.$(OBJ) : $(PSSRC)zimage2.c $(OP) $(math__h) $(memory__h)\
  955. $(gscolor_h) $(gscolor2_h) $(gscspace_h) $(gsimage_h) $(gsmatrix_h)\
  956. $(gxfixed_h)\
  957. $(idict_h) $(idparam_h) $(iimage_h) $(iimage2_h) $(ilevel_h) $(igstate_h)
  958. $(PSCC) $(PSO_)zimage2.$(OBJ) $(C_) $(PSSRC)zimage2.c
  959. # ---------------- setpagedevice ---------------- #
  960. pagedev_=$(PSOBJ)zdevice2.$(OBJ) $(PSOBJ)zmedia2.$(OBJ)
  961. $(PSD)pagedev.dev : $(INT_MAK) $(ECHOGS_XE) $(pagedev_)
  962. $(SETMOD) $(PSD)pagedev $(pagedev_)
  963. $(ADDMOD) $(PSD)pagedev -oper zdevice2_l2 zmedia2_l2
  964. $(ADDMOD) $(PSD)pagedev -ps gs_setpd
  965. $(PSOBJ)zdevice2.$(OBJ) : $(PSSRC)zdevice2.c $(OP) $(math__h) $(memory__h)\
  966. $(dstack_h) $(estack_h)\
  967. $(idict_h) $(idparam_h) $(igstate_h) $(iname_h) $(iutil_h) $(store_h)\
  968. $(gxdevice_h) $(gsstate_h)
  969. $(PSCC) $(PSO_)zdevice2.$(OBJ) $(C_) $(PSSRC)zdevice2.c
  970. $(PSOBJ)zmedia2.$(OBJ) : $(PSSRC)zmedia2.c $(OP) $(math__h) $(memory__h)\
  971. $(gsmatrix_h) $(idict_h) $(idparam_h) $(iname_h) $(store_h)
  972. $(PSCC) $(PSO_)zmedia2.$(OBJ) $(C_) $(PSSRC)zmedia2.c
  973. # ---------------- IODevices ---------------- #
  974. iodevice_=$(PSOBJ)ziodev2.$(OBJ) $(PSOBJ)zdevcal.$(OBJ)
  975. $(PSD)iodevice.dev : $(INT_MAK) $(ECHOGS_XE) $(iodevice_)
  976. $(SETMOD) $(PSD)iodevice $(iodevice_)
  977. $(ADDMOD) $(PSD)iodevice -oper ziodev2_l2
  978. $(ADDMOD) $(PSD)iodevice -iodev null calendar
  979. $(PSOBJ)ziodev2.$(OBJ) : $(PSSRC)ziodev2.c $(OP) $(string__h) $(gp_h)\
  980. $(gxiodev_h) $(stream_h)\
  981. $(dstack_h) $(files_h) $(iparam_h) $(iutil2_h) $(store_h)
  982. $(PSCC) $(PSO_)ziodev2.$(OBJ) $(C_) $(PSSRC)ziodev2.c
  983. $(PSOBJ)zdevcal.$(OBJ) : $(PSSRC)zdevcal.c $(GH) $(time__h)\
  984. $(gxiodev_h) $(iparam_h) $(istack_h)
  985. $(PSCC) $(PSO_)zdevcal.$(OBJ) $(C_) $(PSSRC)zdevcal.c
  986. # ---------------- Filters other than the ones in sfilter.c ---------------- #
  987. # Standard Level 2 decoding filters only. The PDF configuration uses this.
  988. fdecode_=$(GLOBJ)scantab.$(OBJ) $(GLOBJ)scfparam.$(OBJ) $(GLOBJ)sfilter2.$(OBJ) $(PSOBJ)zfdecode.$(OBJ)
  989. $(PSD)fdecode.dev : $(INT_MAK) $(ECHOGS_XE) $(fdecode_)\
  990. $(GLD)cfd.dev $(GLD)lzwd.dev $(GLD)pdiff.dev $(GLD)pngp.dev $(GLD)rld.dev
  991. $(SETMOD) $(PSD)fdecode $(fdecode_)
  992. $(ADDMOD) $(PSD)fdecode -include $(GLD)cfd $(GLD)lzwd $(GLD)pdiff $(GLD)pngp $(GLD)rld
  993. $(ADDMOD) $(PSD)fdecode -oper zfdecode
  994. $(PSOBJ)zfdecode.$(OBJ) : $(PSSRC)zfdecode.c $(OP) $(memory__h)\
  995. $(gsparam_h) $(gsstruct_h)\
  996. $(ialloc_h) $(idict_h) $(idparam_h) $(ifilter_h) $(ifilter2_h) $(ifrpred_h)\
  997. $(ilevel_h) $(iparam_h)\
  998. $(sa85x_h) $(scf_h) $(scfx_h) $(sfilter_h) $(slzwx_h) $(spdiffx_h) $(spngpx_h)\
  999. $(store_h) $(stream_h) $(strimpl_h)
  1000. $(PSCC) $(PSO_)zfdecode.$(OBJ) $(C_) $(PSSRC)zfdecode.c
  1001. # Complete Level 2 filter capability.
  1002. filter_=$(PSOBJ)zfilter2.$(OBJ)
  1003. $(PSD)filter.dev : $(INT_MAK) $(ECHOGS_XE) $(PSD)fdecode.dev $(filter_)\
  1004. $(GLD)cfe.dev $(GLD)lzwe.dev $(GLD)rle.dev
  1005. $(SETMOD) $(PSD)filter -include $(PSD)fdecode
  1006. $(ADDMOD) $(PSD)filter -obj $(filter_)
  1007. $(ADDMOD) $(PSD)filter -include $(GLD)cfe $(GLD)lzwe $(GLD)rle
  1008. $(ADDMOD) $(PSD)filter -oper zfilter2
  1009. $(PSOBJ)zfilter2.$(OBJ) : $(PSSRC)zfilter2.c $(OP) $(memory__h)\
  1010. $(gsstruct_h)\
  1011. $(ialloc_h) $(idict_h) $(idparam_h) $(ifilter_h) $(ifilter2_h) $(ifwpred_h)\
  1012. $(store_h)\
  1013. $(sfilter_h) $(scfx_h) $(slzwx_h) $(spdiffx_h) $(spngpx_h) $(strimpl_h)
  1014. $(PSCC) $(PSO_)zfilter2.$(OBJ) $(C_) $(PSSRC)zfilter2.c
  1015. # Extensions beyond Level 2 standard.
  1016. xfilter_=$(PSOBJ)sbhc.$(OBJ) $(PSOBJ)sbwbs.$(OBJ) $(PSOBJ)shcgen.$(OBJ)\
  1017. $(PSOBJ)smtf.$(OBJ) $(PSOBJ)zfilterx.$(OBJ)
  1018. $(PSD)xfilter.dev : $(INT_MAK) $(ECHOGS_XE) $(xfilter_) $(GLD)pngp.dev
  1019. $(SETMOD) $(PSD)xfilter $(xfilter_)
  1020. $(ADDMOD) $(PSD)xfilter -include $(GLD)pngp
  1021. $(ADDMOD) $(PSD)xfilter -oper zfilterx
  1022. $(PSOBJ)sbhc.$(OBJ) : $(PSSRC)sbhc.c $(AK) $(memory__h) $(stdio__h)\
  1023. $(gdebug_h) $(sbhc_h) $(shcgen_h) $(strimpl_h)
  1024. $(PSCC) $(PSO_)sbhc.$(OBJ) $(C_) $(PSSRC)sbhc.c
  1025. $(PSOBJ)sbwbs.$(OBJ) : $(PSSRC)sbwbs.c $(AK) $(stdio__h) $(memory__h)\
  1026. $(gdebug_h) $(sbwbs_h) $(sfilter_h) $(strimpl_h)
  1027. $(PSCC) $(PSO_)sbwbs.$(OBJ) $(C_) $(PSSRC)sbwbs.c
  1028. $(PSOBJ)shcgen.$(OBJ) : $(PSSRC)shcgen.c $(AK) $(memory__h) $(stdio__h)\
  1029. $(gdebug_h) $(gserror_h) $(gserrors_h) $(gsmemory_h)\
  1030. $(scommon_h) $(shc_h) $(shcgen_h)
  1031. $(PSCC) $(PSO_)shcgen.$(OBJ) $(C_) $(PSSRC)shcgen.c
  1032. $(PSOBJ)smtf.$(OBJ) : $(PSSRC)smtf.c $(AK) $(stdio__h)\
  1033. $(smtf_h) $(strimpl_h)
  1034. $(PSCC) $(PSO_)smtf.$(OBJ) $(C_) $(PSSRC)smtf.c
  1035. $(PSOBJ)zfilterx.$(OBJ) : $(PSSRC)zfilterx.c $(OP) $(memory__h)\
  1036. $(gsstruct_h) $(ialloc_h) $(idict_h) $(idparam_h) $(ifilter_h)\
  1037. $(store_h) $(sfilter_h) $(sbhc_h) $(sbtx_h) $(sbwbs_h) $(shcgen_h)\
  1038. $(smtf_h) $(strimpl_h)
  1039. $(PSCC) $(PSO_)zfilterx.$(OBJ) $(C_) $(PSSRC)zfilterx.c
  1040. # MD5 digest filter
  1041. fmd5_=$(GLOBJ)zfmd5.$(OBJ)
  1042. $(PSD)fmd5.dev : $(INT_MAK) $(ECHOGS_XE) $(fmd5_) $(GLD)smd5.dev
  1043. $(SETMOD) $(PSD)fmd5 $(fmd5_)
  1044. $(ADDMOD) $(PSD)fmd5 -include $(GLD)smd5
  1045. $(ADDMOD) $(PSD)fmd5 -oper zfmd5
  1046. $(PSOBJ)zfmd5.$(OBJ) : $(PSSRC)zfmd5.c $(OP) $(memory__h)\
  1047. $(gsstruct_h) $(ialloc_h) $(ifilter_h)\
  1048. $(smd5_h) $(stream_h) $(strimpl_h)
  1049. $(PSCC) $(PSO_)zfmd5.$(OBJ) $(C_) $(PSSRC)zfmd5.c
  1050. # Arcfour cipher filter
  1051. farc4_=$(GLOBJ)zfarc4.$(OBJ)
  1052. $(PSD)farc4.dev : $(INT_MAK) $(ECHOGS_XE) $(farc4_) $(GLD)sarc4.dev
  1053. $(SETMOD) $(PSD)farc4 $(farc4_)
  1054. $(ADDMOD) $(PSD)farc4 -include $(GLD)sarc4
  1055. $(ADDMOD) $(PSD)farc4 -oper zfarc4
  1056. $(PSOBJ)zfarc4.$(OBJ) : $(PSSRC)zfarc4.c $(OP) $(memory__h)\
  1057. $(gsstruct_h) $(ialloc_h) $(ifilter_h)\
  1058. $(sarc4_h) $(stream_h) $(strimpl_h)
  1059. $(PSCC) $(PSO_)zfarc4.$(OBJ) $(C_) $(PSSRC)zfarc4.c
  1060. # ---------------- Binary tokens ---------------- #
  1061. nobtoken_=$(PSOBJ)inobtokn.$(OBJ)
  1062. $(PSD)nobtoken.dev : $(INT_MAK) $(ECHOGS_XE) $(nobtoken_)
  1063. $(SETMOD) $(PSD)nobtoken $(nobtoken_)
  1064. $(PSOBJ)inobtokn.$(OBJ) : $(PSSRC)inobtokn.c $(GH)\
  1065. $(stream_h) $(errors_h) $(iscan_h) $(iscanbin_h)
  1066. $(PSCC) $(PSO_)inobtokn.$(OBJ) $(C_) $(PSSRC)inobtokn.c
  1067. btoken_=$(PSOBJ)iscanbin.$(OBJ) $(PSOBJ)zbseq.$(OBJ)
  1068. $(PSD)btoken.dev : $(INT_MAK) $(ECHOGS_XE) $(btoken_)
  1069. $(SETMOD) $(PSD)btoken $(btoken_)
  1070. $(ADDMOD) $(PSD)btoken -oper zbseq_l2 -replace $(PSD)nobtoken
  1071. $(ADDMOD) $(PSD)btoken -ps gs_btokn
  1072. $(PSOBJ)iscanbin.$(OBJ) : $(PSSRC)iscanbin.c $(GH)\
  1073. $(math__h) $(memory__h) $(errors_h)\
  1074. $(gsutil_h) $(gxalloc_h) $(ialloc_h) $(ibnum_h) $(iddict_h) $(iname_h)\
  1075. $(iscan_h) $(iscanbin_h) $(iutil_h) $(ivmspace_h)\
  1076. $(btoken_h) $(dstack_h) $(ostack_h)\
  1077. $(sfilter_h) $(store_h) $(stream_h) $(strimpl_h)
  1078. $(PSCC) $(PSO_)iscanbin.$(OBJ) $(C_) $(PSSRC)iscanbin.c
  1079. $(PSOBJ)zbseq.$(OBJ) : $(PSSRC)zbseq.c $(OP) $(memory__h)\
  1080. $(gxalloc_h)\
  1081. $(btoken_h) $(ialloc_h) $(istruct_h) $(store_h)
  1082. $(PSCC) $(PSO_)zbseq.$(OBJ) $(C_) $(PSSRC)zbseq.c
  1083. # ---------------- User paths & insideness testing ---------------- #
  1084. upath_=$(PSOBJ)zupath.$(OBJ) $(PSOBJ)ibnum.$(OBJ) $(GLOBJ)gdevhit.$(OBJ)
  1085. $(PSD)upath.dev : $(INT_MAK) $(ECHOGS_XE) $(upath_)
  1086. $(SETMOD) $(PSD)upath $(upath_)
  1087. $(ADDMOD) $(PSD)upath -oper zupath_l2
  1088. $(PSOBJ)zupath.$(OBJ) : $(PSSRC)zupath.c $(OP)\
  1089. $(dstack_h) $(oparc_h) $(store_h)\
  1090. $(ibnum_h) $(idict_h) $(igstate_h) $(iname_h) $(iutil_h) $(stream_h)\
  1091. $(gscoord_h) $(gsmatrix_h) $(gspaint_h) $(gspath_h) $(gsstate_h)\
  1092. $(gxfixed_h) $(gxdevice_h) $(gzpath_h) $(gzstate_h)
  1093. $(PSCC) $(PSO_)zupath.$(OBJ) $(C_) $(PSSRC)zupath.c
  1094. # -------- Additions common to Display PostScript and Level 2 -------- #
  1095. $(PSD)dpsand2.dev : $(INT_MAK) $(ECHOGS_XE)\
  1096. $(PSD)btoken.dev $(PSD)color.dev $(PSD)upath.dev $(GLD)dps2lib.dev $(PSD)dps2read.dev
  1097. $(SETMOD) $(PSD)dpsand2 -include $(PSD)btoken $(PSD)color $(PSD)upath $(GLD)dps2lib $(PSD)dps2read
  1098. dps2int_=$(PSOBJ)zvmem2.$(OBJ) $(PSOBJ)zdps1.$(OBJ)
  1099. # Note that zvmem2 includes both Level 1 and Level 2 operators.
  1100. $(PSD)dps2int.dev : $(INT_MAK) $(ECHOGS_XE) $(dps2int_)
  1101. $(SETMOD) $(PSD)dps2int $(dps2int_)
  1102. $(ADDMOD) $(PSD)dps2int -oper zvmem2 zdps1_l2
  1103. $(ADDMOD) $(PSD)dps2int -ps gs_dps1
  1104. dps2read_=$(PSOBJ)ibnum.$(OBJ) $(PSOBJ)zcharx.$(OBJ)
  1105. $(PSD)dps2read.dev : $(INT_MAK) $(ECHOGS_XE) $(dps2read_) $(PSD)dps2int.dev
  1106. $(SETMOD) $(PSD)dps2read $(dps2read_)
  1107. $(ADDMOD) $(PSD)dps2read -include $(PSD)dps2int
  1108. $(ADDMOD) $(PSD)dps2read -oper ireclaim_l2 zcharx
  1109. $(ADDMOD) $(PSD)dps2read -ps gs_dps2
  1110. $(PSOBJ)ibnum.$(OBJ) : $(PSSRC)ibnum.c $(GH) $(math__h) $(memory__h)\
  1111. $(errors_h) $(stream_h) $(ibnum_h) $(imemory_h) $(iutil_h)
  1112. $(PSCC) $(PSO_)ibnum.$(OBJ) $(C_) $(PSSRC)ibnum.c
  1113. $(PSOBJ)zcharx.$(OBJ) : $(PSSRC)zcharx.c $(OP)\
  1114. $(gsmatrix_h) $(gstext_h) $(gxfixed_h) $(gxfont_h)\
  1115. $(ialloc_h) $(ibnum_h) $(ichar_h) $(iname_h) $(igstate_h)
  1116. $(PSCC) $(PSO_)zcharx.$(OBJ) $(C_) $(PSSRC)zcharx.c
  1117. $(PSOBJ)zdps1.$(OBJ) : $(PSSRC)zdps1.c $(OP)\
  1118. $(gsmatrix_h) $(gspath_h) $(gspath2_h) $(gsstate_h)\
  1119. $(ialloc_h) $(ivmspace_h) $(igstate_h) $(store_h) $(stream_h) $(ibnum_h)
  1120. $(PSCC) $(PSO_)zdps1.$(OBJ) $(C_) $(PSSRC)zdps1.c
  1121. $(PSOBJ)zvmem2.$(OBJ) : $(PSSRC)zvmem2.c $(OP)\
  1122. $(estack_h) $(ialloc_h) $(ivmspace_h) $(store_h) $(ivmem2_h)
  1123. $(PSCC) $(PSO_)zvmem2.$(OBJ) $(C_) $(PSSRC)zvmem2.c
  1124. # -------- Composite (PostScript Type 0) font support -------- #
  1125. $(PSD)compfont.dev : $(INT_MAK) $(ECHOGS_XE)\
  1126. $(GLD)psf0lib.dev $(PSD)psf0read.dev
  1127. $(SETMOD) $(PSD)compfont -include $(GLD)psf0lib $(PSD)psf0read
  1128. # We always include cmapread because zfont0.c refers to it,
  1129. # and it's not worth the trouble to exclude.
  1130. psf0read_=$(PSOBJ)zcfont.$(OBJ) $(PSOBJ)zfont0.$(OBJ)
  1131. $(PSD)psf0read.dev : $(INT_MAK) $(ECHOGS_XE) $(psf0read_)
  1132. $(SETMOD) $(PSD)psf0read $(psf0read_)
  1133. $(ADDMOD) $(PSD)psf0read -oper zcfont zfont0
  1134. $(ADDMOD) $(PSD)psf0read -include $(PSD)cmapread
  1135. $(PSOBJ)zcfont.$(OBJ) : $(PSSRC)zcfont.c $(OP)\
  1136. $(gsmatrix_h)\
  1137. $(gxfixed_h) $(gxfont_h) $(gxtext_h)\
  1138. $(ichar_h) $(estack_h) $(ifont_h) $(igstate_h) $(store_h)
  1139. $(PSCC) $(PSO_)zcfont.$(OBJ) $(C_) $(PSSRC)zcfont.c
  1140. $(PSOBJ)zfont0.$(OBJ) : $(PSSRC)zfont0.c $(OP)\
  1141. $(gsstruct_h)\
  1142. $(gxdevice_h) $(gxfcmap_h) $(gxfixed_h) $(gxfont_h) $(gxfont0_h) $(gxmatrix_h)\
  1143. $(gzstate_h)\
  1144. $(bfont_h) $(ialloc_h) $(iddict_h) $(idparam_h) $(igstate_h) $(iname_h)\
  1145. $(store_h)
  1146. $(PSCC) $(PSO_)zfont0.$(OBJ) $(C_) $(PSSRC)zfont0.c
  1147. # ---------------- CMap and CIDFont support ---------------- #
  1148. # Note that this requires at least minimal Level 2 support,
  1149. # because it requires findresource.
  1150. icid_h=$(PSSRC)icid.h
  1151. ifcid_h=$(PSSRC)ifcid.h
  1152. cmapread_=$(PSOBJ)zcid.$(OBJ) $(PSOBJ)zfcmap.$(OBJ)
  1153. $(PSD)cmapread.dev : $(INT_MAK) $(ECHOGS_XE) $(cmapread_)\
  1154. $(GLD)cmaplib.dev $(PSD)psl2int.dev
  1155. $(SETMOD) $(PSD)cmapread $(cmapread_)
  1156. $(ADDMOD) $(PSD)cmapread -include $(GLD)cmaplib $(PSD)psl2int
  1157. $(ADDMOD) $(PSD)cmapread -oper zfcmap
  1158. $(ADDMOD) $(PSD)cmapread -ps gs_cmap
  1159. $(PSOBJ)zfcmap.$(OBJ) : $(PSSRC)zfcmap.c $(OP) $(memory__h)\
  1160. $(gsmatrix_h) $(gsstruct_h) $(gsutil_h)\
  1161. $(gdevpsf_h)\
  1162. $(gxfcmap_h) $(gxfont_h)\
  1163. $(files_h) $(ialloc_h) $(icid_h) $(iddict_h) $(idparam_h) $(ifont_h) $(iname_h)\
  1164. $(store_h)\
  1165. $(spprint_h) $(stream_h)
  1166. $(PSCC) $(PSO_)zfcmap.$(OBJ) $(C_) $(PSSRC)zfcmap.c
  1167. cidread_=$(PSOBJ)zcid.$(OBJ) $(PSOBJ)zfcid.$(OBJ) $(PSOBJ)zfcid0.$(OBJ) $(PSOBJ)zfcid1.$(OBJ)
  1168. $(PSD)cidfont.dev : $(INT_MAK) $(ECHOGS_XE) $(cidread_)\
  1169. $(PSD)psf1read.dev $(PSD)psl2int.dev $(PSD)type2.dev $(PSD)type42.dev\
  1170. $(PSD)zfrsd.dev
  1171. $(SETMOD) $(PSD)cidfont $(cidread_)
  1172. $(ADDMOD) $(PSD)cidfont -include $(PSD)psf1read $(PSD)psl2int
  1173. $(ADDMOD) $(PSD)cidfont -include $(PSD)type2 $(PSD)type42 $(PSD)zfrsd
  1174. $(ADDMOD) $(PSD)cidfont -oper zfcid0 zfcid1
  1175. $(ADDMOD) $(PSD)cidfont -ps gs_cidfn gs_cidcm
  1176. $(PSOBJ)zcid.$(OBJ) : $(PSSRC)zcid.c $(OP)\
  1177. $(gxcid_h) $(errors_h) $(icid_h) $(idict_h) $(idparam_h)
  1178. $(PSCC) $(PSO_)zcid.$(OBJ) $(C_) $(PSSRC)zcid.c
  1179. $(PSOBJ)zfcid.$(OBJ) : $(PSSRC)zfcid.c $(OP)\
  1180. $(gsmatrix_h) $(gxfcid_h)\
  1181. $(bfont_h) $(icid_h) $(idict_h) $(idparam_h) $(ifcid_h) $(store_h)
  1182. $(PSCC) $(PSO_)zfcid.$(OBJ) $(C_) $(PSSRC)zfcid.c
  1183. $(PSOBJ)zfcid0.$(OBJ) : $(PSSRC)zfcid0.c $(OP) $(memory__h)\
  1184. $(gsccode_h) $(gsmatrix_h) $(gsstruct_h) $(gxfcid_h) $(gxfont1_h)\
  1185. $(gdevpsf_h)\
  1186. $(stream_h)\
  1187. $(bfont_h) $(files_h) $(ichar_h) $(ichar1_h) $(icid_h) $(idict_h) $(idparam_h)\
  1188. $(ifcid_h) $(ifont1_h) $(ifont2_h) $(ifont42_h) $(store_h)
  1189. $(PSCC) $(PSO_)zfcid0.$(OBJ) $(C_) $(PSSRC)zfcid0.c
  1190. $(PSOBJ)zfcid1.$(OBJ) : $(PSSRC)zfcid1.c $(OP) $(memory__h)\
  1191. $(gsccode_h) $(gsmatrix_h) $(gsstruct_h) $(gxfcid_h)\
  1192. $(bfont_h) $(icid_h) $(idict_h) $(idparam_h)\
  1193. $(ifcid_h) $(ifont42_h) $(store_h)
  1194. $(PSCC) $(PSO_)zfcid1.$(OBJ) $(C_) $(PSSRC)zfcid1.c
  1195. # ---------------- CIE color ---------------- #
  1196. cieread_=$(PSOBJ)zcie.$(OBJ) $(PSOBJ)zcrd.$(OBJ)
  1197. $(PSD)cie.dev : $(INT_MAK) $(ECHOGS_XE) $(cieread_) $(GLD)cielib.dev
  1198. $(SETMOD) $(PSD)cie $(cieread_)
  1199. $(ADDMOD) $(PSD)cie -oper zcie_l2 zcrd_l2
  1200. $(ADDMOD) $(PSD)cie -include $(GLD)cielib
  1201. icie_h=$(PSSRC)icie.h
  1202. $(PSOBJ)zcie.$(OBJ) : $(PSSRC)zcie.c $(OP) $(math__h) $(memory__h)\
  1203. $(gscolor2_h) $(gscie_h) $(gsstruct_h) $(gxcspace_h)\
  1204. $(ialloc_h) $(icie_h) $(idict_h) $(idparam_h) $(estack_h)\
  1205. $(isave_h) $(igstate_h) $(ivmspace_h) $(store_h)
  1206. $(PSCC) $(PSO_)zcie.$(OBJ) $(C_) $(PSSRC)zcie.c
  1207. $(PSOBJ)zcrd.$(OBJ) : $(PSSRC)zcrd.c $(OP) $(math__h)\
  1208. $(gscrd_h) $(gscrdp_h) $(gscspace_h) $(gscolor2_h) $(gsstruct_h)\
  1209. $(estack_h) $(ialloc_h) $(icie_h) $(idict_h) $(idparam_h) $(igstate_h)\
  1210. $(iparam_h) $(ivmspace_h) $(store_h)
  1211. $(PSCC) $(PSO_)zcrd.$(OBJ) $(C_) $(PSSRC)zcrd.c
  1212. # ---------------- Pattern color ---------------- #
  1213. ipcolor_h=$(PSSRC)ipcolor.h
  1214. $(PSD)pattern.dev : $(INT_MAK) $(ECHOGS_XE) $(GLD)patlib.dev $(PSD)patread.dev
  1215. $(SETMOD) $(PSD)pattern -include $(GLD)patlib $(PSD)patread
  1216. patread_=$(PSOBJ)zpcolor.$(OBJ)
  1217. $(PSD)patread.dev : $(INT_MAK) $(ECHOGS_XE) $(patread_)
  1218. $(SETMOD) $(PSD)patread $(patread_)
  1219. $(ADDMOD) $(PSD)patread -oper zpcolor_l2
  1220. $(PSOBJ)zpcolor.$(OBJ) : $(PSSRC)zpcolor.c $(OP)\
  1221. $(gscolor_h) $(gsmatrix_h) $(gsstruct_h)\
  1222. $(gxcolor2_h) $(gxcspace_h) $(gxdcolor_h) $(gxdevice_h) $(gxdevmem_h)\
  1223. $(gxfixed_h) $(gxpcolor_h)\
  1224. $(estack_h)\
  1225. $(ialloc_h) $(icremap_h) $(idict_h) $(idparam_h) $(igstate_h)\
  1226. $(ipcolor_h) $(istruct_h)\
  1227. $(store_h)
  1228. $(PSCC) $(PSO_)zpcolor.$(OBJ) $(C_) $(PSSRC)zpcolor.c
  1229. # ---------------- Separation color ---------------- #
  1230. seprread_=$(PSOBJ)zcssepr.$(OBJ) $(PSOBJ)zccube.$(OBJ)
  1231. $(PSD)sepr.dev : $(INT_MAK) $(ECHOGS_XE) $(seprread_)\
  1232. $(PSD)func4.dev $(GLD)seprlib.dev
  1233. $(SETMOD) $(PSD)sepr $(seprread_)
  1234. $(ADDMOD) $(PSD)sepr -oper zcssepr_l2
  1235. $(ADDMOD) $(PSD)sepr -oper zccube
  1236. $(ADDMOD) $(PSD)sepr -include $(PSD)func4 $(GLD)seprlib
  1237. $(PSOBJ)zcssepr.$(OBJ) : $(PSSRC)zcssepr.c $(OP) $(memory__h)\
  1238. $(gscolor_h) $(gscsepr_h) $(gsmatrix_h) $(gsstruct_h)\
  1239. $(gxcolor2_h) $(gxcspace_h) $(gxfixed_h)\
  1240. $(estack_h) $(ialloc_h) $(icsmap_h) $(ifunc_h) $(igstate_h) $(iname_h) $(ivmspace_h) $(store_h)
  1241. $(PSCC) $(PSO_)zcssepr.$(OBJ) $(C_) $(PSSRC)zcssepr.c
  1242. $(PSOBJ)zccube.$(OBJ) : $(PSSRC)zccube.c $(OP) $(memory__h)\
  1243. $(gxcspace_h) $(estack_h) $(ialloc_h) $(ifunc_h) $(ostack_h) $(gsfunc0_h)
  1244. $(PSCC) $(PSO_)zccube.$(OBJ) $(C_) $(PSSRC)zccube.c
  1245. # ---------------- DCT filters ---------------- #
  1246. # The definitions for jpeg*.dev are in jpeg.mak.
  1247. $(PSD)dct.dev : $(INT_MAK) $(ECHOGS_XE) $(PSD)dcte.dev $(PSD)dctd.dev
  1248. $(SETMOD) $(PSD)dct -include $(PSD)dcte $(PSD)dctd
  1249. # Encoding (compression)
  1250. dcte_=$(PSOBJ)zfdcte.$(OBJ)
  1251. $(PSD)dcte.dev : $(INT_MAK) $(ECHOGS_XE) $(GLD)sdcte.dev $(GLD)sdeparam.dev $(dcte_)
  1252. $(SETMOD) $(PSD)dcte -include $(GLD)sdcte $(GLD)sdeparam
  1253. $(ADDMOD) $(PSD)dcte -obj $(dcte_)
  1254. $(ADDMOD) $(PSD)dcte -oper zfdcte
  1255. $(PSOBJ)zfdcte.$(OBJ) : $(PSSRC)zfdcte.c $(OP)\
  1256. $(memory__h) $(stdio__h) $(jpeglib__h)\
  1257. $(gsmalloc_h)\
  1258. $(sdct_h) $(sjpeg_h) $(stream_h) $(strimpl_h)\
  1259. $(files_h) $(ialloc_h) $(idict_h) $(idparam_h) $(ifilter_h) $(iparam_h)
  1260. $(PSCC) $(PSO_)zfdcte.$(OBJ) $(C_) $(PSSRC)zfdcte.c
  1261. # Decoding (decompression)
  1262. dctd_=$(PSOBJ)zfdctd.$(OBJ)
  1263. $(PSD)dctd.dev : $(INT_MAK) $(ECHOGS_XE) $(GLD)sdctd.dev $(GLD)sddparam.dev $(dctd_)
  1264. $(SETMOD) $(PSD)dctd -include $(GLD)sdctd $(GLD)sddparam
  1265. $(ADDMOD) $(PSD)dctd -obj $(dctd_)
  1266. $(ADDMOD) $(PSD)dctd -oper zfdctd
  1267. $(PSOBJ)zfdctd.$(OBJ) : $(PSSRC)zfdctd.c $(OP)\
  1268. $(memory__h) $(stdio__h) $(jpeglib__h)\
  1269. $(gsmalloc_h)\
  1270. $(ialloc_h) $(ifilter_h) $(iparam_h) $(sdct_h) $(sjpeg_h) $(strimpl_h)
  1271. $(PSCC) $(PSO_)zfdctd.$(OBJ) $(C_) $(PSSRC)zfdctd.c
  1272. # ================ Display PostScript ================ #
  1273. dps_=$(PSOBJ)zdps.$(OBJ) $(PSOBJ)zcontext.$(OBJ)
  1274. $(PSD)dps.dev : $(INT_MAK) $(ECHOGS_XE) $(GLD)dpslib.dev $(PSD)psl2.dev $(dps_)
  1275. $(SETMOD) $(PSD)dps -include $(GLD)dpslib $(PSD)psl2
  1276. $(ADDMOD) $(PSD)dps -obj $(dps_)
  1277. $(ADDMOD) $(PSD)dps -oper zcontext1 zcontext2 zdps
  1278. $(ADDMOD) $(PSD)dps -ps gs_dps
  1279. $(PSOBJ)zdps.$(OBJ) : $(PSSRC)zdps.c $(OP)\
  1280. $(gsdps_h) $(gsimage_h) $(gsiparm2_h) $(gsstate_h)\
  1281. $(gxalloc_h) $(gxfixed_h) $(gxpath_h)\
  1282. $(btoken_h)\
  1283. $(idparam_h) $(iddict_h) $(igstate_h) $(iimage2_h) $(iname_h) $(store_h)
  1284. $(PSCC) $(PSO_)zdps.$(OBJ) $(C_) $(PSSRC)zdps.c
  1285. $(PSOBJ)zcontext.$(OBJ) : $(PSSRC)zcontext.c $(OP) $(gp_h) $(memory__h)\
  1286. $(gsexit_h) $(gsgc_h) $(gsstruct_h) $(gsutil_h) $(gxalloc_h) $(gxstate_h)\
  1287. $(icontext_h) $(idict_h) $(igstate_h) $(interp_h) $(isave_h) $(istruct_h)\
  1288. $(dstack_h) $(estack_h) $(files_h) $(ostack_h) $(store_h) $(stream_h)
  1289. $(PSCC) $(PSO_)zcontext.$(OBJ) $(C_) $(PSSRC)zcontext.c
  1290. # ---------------- NeXT Display PostScript ---------------- #
  1291. dpsnext_=$(PSOBJ)zdpnext.$(OBJ)
  1292. $(PSD)dpsnext.dev : $(INT_MAK) $(ECHOGS_XE) $(dpsnext_)\
  1293. $(PSD)dps.dev $(GLD)dpnxtlib.dev
  1294. $(SETMOD) $(PSD)dpsnext -include $(PSD)dps $(GLD)dpnxtlib
  1295. $(ADDMOD) $(PSD)dpsnext -obj $(dpsnext_)
  1296. $(ADDMOD) $(PSD)dpsnext -oper zdpnext
  1297. $(ADDMOD) $(PSD)dpsnext -ps gs_dpnxt
  1298. $(PSOBJ)zdpnext.$(OBJ) : $(PSSRC)zdpnext.c $(math__h) $(OP)\
  1299. $(gscoord_h) $(gscspace_h) $(gsdpnext_h)\
  1300. $(gsiparam_h) $(gsiparm2_h) $(gsmatrix_h) $(gspath2_h)\
  1301. $(gxcvalue_h) $(gxdevice_h) $(gxsample_h)\
  1302. $(ialloc_h) $(igstate_h) $(iimage_h) $(iimage2_h) $(store_h)
  1303. $(PSCC) $(PSO_)zdpnext.$(OBJ) $(C_) $(PSSRC)zdpnext.c
  1304. # ==================== PostScript LanguageLevel 3 ===================== #
  1305. # ---------------- DevicePixel color space ---------------- #
  1306. cspixint_=$(PSOBJ)zcspixel.$(OBJ)
  1307. $(PSD)cspixel.dev : $(INT_MAK) $(ECHOGS_XE) $(cspixint_) $(GLD)cspixlib.dev
  1308. $(SETMOD) $(PSD)cspixel $(cspixint_)
  1309. $(ADDMOD) $(PSD)cspixel -oper zcspixel
  1310. $(ADDMOD) $(PSD)cspixel -include $(GLD)cspixlib
  1311. $(PSOBJ)zcspixel.$(OBJ) : $(PSSRC)zcspixel.c $(OP)\
  1312. $(gscolor2_h) $(gscpixel_h) $(gscspace_h) $(gsmatrix_h)\
  1313. $(igstate_h)
  1314. $(PSCC) $(PSO_)zcspixel.$(OBJ) $(C_) $(PSSRC)zcspixel.c
  1315. # ---------------- Rest of LanguageLevel 3 ---------------- #
  1316. $(PSD)psl3.dev : $(INT_MAK) $(ECHOGS_XE)\
  1317. $(PSD)psl2.dev $(PSD)cspixel.dev $(PSD)frsd.dev $(PSD)func.dev\
  1318. $(GLD)psl3lib.dev $(PSD)psl3read.dev
  1319. $(SETMOD) $(PSD)psl3 -include $(PSD)psl2 $(PSD)cspixel $(PSD)frsd $(PSD)func
  1320. $(ADDMOD) $(PSD)psl3 -include $(GLD)psl3lib $(PSD)psl3read
  1321. $(PSOBJ)zcsdevn.$(OBJ) : $(PSSRC)zcsdevn.c $(OP) $(memory__h)\
  1322. $(gscolor2_h) $(gscdevn_h) $(gxcdevn_h) $(gxcspace_h)\
  1323. $(estack_h) $(ialloc_h) $(icremap_h) $(ifunc_h) $(igstate_h) $(iname_h)
  1324. $(PSCC) $(PSO_)zcsdevn.$(OBJ) $(C_) $(PSSRC)zcsdevn.c
  1325. $(PSOBJ)zfunc3.$(OBJ) : $(PSSRC)zfunc3.c $(memory__h) $(OP)\
  1326. $(gsfunc3_h) $(gsstruct_h)\
  1327. $(files_h) $(ialloc_h) $(idict_h) $(idparam_h) $(ifunc_h)\
  1328. $(store_h) $(stream_h)
  1329. $(PSCC) $(PSO_)zfunc3.$(OBJ) $(C_) $(PSSRC)zfunc3.c
  1330. # FunctionType 4 functions are not a PostScript feature, but they
  1331. # are used in the implementation of Separation and DeviceN color spaces.
  1332. func4read_=$(PSOBJ)zfunc4.$(OBJ)
  1333. $(PSD)func4.dev : $(INT_MAK) $(ECHOGS_XE) $(func4read_)\
  1334. $(PSD)func.dev $(GLD)func4lib.dev
  1335. $(SETMOD) $(PSD)func4 $(func4read_)
  1336. $(ADDMOD) $(PSD)func4 -functiontype 4
  1337. $(ADDMOD) $(PSD)func4 -include $(PSD)func $(GLD)func4lib
  1338. $(PSOBJ)zfunc4.$(OBJ) : $(PSSRC)zfunc4.c $(memory__h) $(OP)\
  1339. $(gsfunc_h) $(gsfunc4_h) $(gsutil_h)\
  1340. $(idict_h) $(ifunc_h) $(iname_h)\
  1341. $(opextern_h) $(dstack_h)
  1342. $(PSCC) $(PSO_)zfunc4.$(OBJ) $(C_) $(PSSRC)zfunc4.c
  1343. $(PSOBJ)zimage3.$(OBJ) : $(PSSRC)zimage3.c $(OP) $(memory__h)\
  1344. $(gscolor2_h) $(gsiparm3_h) $(gsiparm4_h) $(gscspace_h) $(gxiparam_h)\
  1345. $(idparam_h) $(idict_h) $(igstate_h) $(iimage_h) $(iimage2_h)
  1346. $(PSCC) $(PSO_)zimage3.$(OBJ) $(C_) $(PSSRC)zimage3.c
  1347. $(PSOBJ)zmisc3.$(OBJ) : $(PSSRC)zmisc3.c $(GH)\
  1348. $(gsclipsr_h) $(gscolor2_h) $(gscspace_h) $(gscssub_h) $(gsmatrix_h)\
  1349. $(igstate_h) $(oper_h) $(store_h)
  1350. $(PSCC) $(PSO_)zmisc3.$(OBJ) $(C_) $(PSSRC)zmisc3.c
  1351. $(PSOBJ)zshade.$(OBJ) : $(PSSRC)zshade.c $(memory__h) $(OP)\
  1352. $(gscolor2_h) $(gscolor3_h) $(gscspace_h) $(gsfunc3_h)\
  1353. $(gsptype2_h) $(gsshade_h) $(gsstruct_h) $(gsuid_h)\
  1354. $(stream_h)\
  1355. $(files_h)\
  1356. $(ialloc_h) $(idict_h) $(idparam_h) $(ifunc_h) $(igstate_h) $(ipcolor_h)\
  1357. $(store_h)
  1358. $(PSCC) $(PSO_)zshade.$(OBJ) $(C_) $(PSSRC)zshade.c
  1359. psl3read_1=$(PSOBJ)zcsdevn.$(OBJ) $(PSOBJ)zfunc3.$(OBJ) $(PSOBJ)zccube.$(OBJ)
  1360. psl3read_2=$(PSOBJ)zimage3.$(OBJ) $(PSOBJ)zmisc3.$(OBJ) $(PSOBJ)zshade.$(OBJ)
  1361. psl3read_=$(psl3read_1) $(psl3read_2)
  1362. # Note: we need the ReusableStreamDecode filter for shadings.
  1363. $(PSD)psl3read.dev : $(INT_MAK) $(ECHOGS_XE) $(psl3read_)\
  1364. $(PSD)frsd.dev $(PSD)fzlib.dev
  1365. $(SETMOD) $(PSD)psl3read $(psl3read_1)
  1366. $(ADDMOD) $(PSD)psl3read $(psl3read_2)
  1367. $(ADDMOD) $(PSD)psl3read -oper zcsdevn
  1368. $(ADDMOD) $(PSD)psl3read -oper zccube
  1369. $(ADDMOD) $(PSD)psl3read -oper zimage3 zmisc3 zshade
  1370. $(ADDMOD) $(PSD)psl3read -functiontype 2 3
  1371. $(ADDMOD) $(PSD)psl3read -ps gs_ll3
  1372. $(ADDMOD) $(PSD)psl3read -include $(PSD)frsd $(PSD)fzlib
  1373. # ---------------- Trapping ---------------- #
  1374. trapread_=$(PSOBJ)ztrap.$(OBJ)
  1375. $(PSD)trapread.dev : $(INT_MAK) $(ECHOGS_XE) $(trapread_)
  1376. $(SETMOD) $(PSD)trapread $(trapread_)
  1377. $(ADDMOD) $(PSD)trapread -oper ztrap
  1378. $(ADDMOD) $(PSD)trapread -ps gs_trap
  1379. $(PSOBJ)ztrap.$(OBJ) : $(PSSRC)ztrap.c $(OP)\
  1380. $(gstrap_h)\
  1381. $(ialloc_h) $(iparam_h)
  1382. $(PSCC) $(PSO_)ztrap.$(OBJ) $(C_) $(PSSRC)ztrap.c
  1383. $(PSD)trapping.dev : $(INT_MAK) $(ECHOGS_XE) $(GLD)traplib.dev $(PSD)trapread.dev
  1384. $(SETMOD) $(PSD)trapping -include $(GLD)traplib $(PSD)trapread
  1385. # ---------------- Transparency ---------------- #
  1386. transread_=$(PSOBJ)ztrans.$(OBJ)
  1387. $(PSD)transpar.dev : $(INT_MAK) $(ECHOGS_XE)\
  1388. $(PSD)psl2read.dev $(GLD)translib.dev $(transread_)
  1389. $(SETMOD) $(PSD)transpar $(transread_)
  1390. $(ADDMOD) $(PSD)transpar -oper ztrans
  1391. $(ADDMOD) $(PSD)transpar -include $(PSD)psl2read $(GLD)translib
  1392. $(PSOBJ)ztrans.$(OBJ) : $(PSSRC)ztrans.c $(OP) $(string__h)\
  1393. $(gscolor2_h) $(gscspace_h) $(gsipar3x_h) $(gstrans_h) $(gxiparam_h)\
  1394. $(idict_h) $(idparam_h) $(ifunc_h) $(igstate_h) $(iimage_h) $(iimage2_h) $(iname_h)\
  1395. $(store_h)
  1396. $(PSCC) $(PSO_)ztrans.$(OBJ) $(C_) $(PSSRC)ztrans.c
  1397. # ---------------- ICCBased color spaces ---------------- #
  1398. iccread_=$(PSOBJ)zicc.$(OBJ)
  1399. $(PSD)icc.dev : $(INT_MAK) $(ECHOGS_XE) $(PSD)cie.dev $(iccread_) \
  1400. $(GLD)sicclib.dev
  1401. $(SETMOD) $(PSD)icc $(iccread_)
  1402. $(ADDMOD) $(PSD)icc -oper zicc_ll3
  1403. $(ADDMOD) $(PSD)icc -ps gs_icc
  1404. $(ADDMOD) $(PSD)icc -include $(GLD)sicclib $(PSD)cie
  1405. $(PSOBJ)zicc.$(OBJ) : $(PSSRC)zicc.c $(OP) $(math__h) $(memory__h)\
  1406. $(gsstruct_h) $(gxcspace_h) $(stream_h) $(files_h) $(gscolor2_h)\
  1407. $(gsicc_h) $(estack_h) $(idict_h) $(idparam_h) $(igstate_h) $(icie_h)
  1408. $(PSCC) $(PSO_)zicc.$(OBJ) $(C_) $(PSSRC)zicc.c
  1409. # ================================ PDF ================================ #
  1410. # We need nearly all of the PostScript LanguageLevel 3 interpreter for PDF,
  1411. # but not all of it: we could do without the arc operators (Level 1),
  1412. # the Encode filters (Level 2), and some LL3 features (clipsave/cliprestore,
  1413. # UseCIEColor, IdiomSets). However, we've decided it isn't worth the
  1414. # trouble to do the fine-grain factoring to enable this, since code size
  1415. # is not at a premium for PDF interpreters.
  1416. # Because of the way the PDF encodings are defined, they must get loaded
  1417. # before we install the Level 2 resource machinery.
  1418. # On the other hand, the PDF .ps files must get loaded after
  1419. # level2dict is defined.
  1420. $(PSD)pdf.dev : $(INT_MAK) $(ECHOGS_XE)\
  1421. $(PSD)psbase.dev $(GLD)dps2lib.dev $(PSD)dps2read.dev\
  1422. $(PSD)pdffonts.dev $(PSD)psl3.dev $(PSD)pdfread.dev $(PSD)cff.dev\
  1423. $(PSD)fmd5.dev $(PSD)farc4.dev $(PSD)ttfont.dev $(PSD)type2.dev $(PSD)icc.dev
  1424. $(SETMOD) $(PSD)pdf -include $(PSD)psbase $(GLD)dps2lib
  1425. $(ADDMOD) $(PSD)pdf -include $(PSD)dps2read $(PSD)pdffonts $(PSD)psl3
  1426. $(ADDMOD) $(PSD)pdf -include $(GLD)psl2lib $(PSD)pdfread $(PSD)cff
  1427. $(ADDMOD) $(PSD)pdf -include $(PSD)fmd5 $(PSD)farc4 $(PSD)ttfont $(PSD)type2
  1428. $(ADDMOD) $(PSD)pdf -include $(PSD)icc
  1429. $(ADDMOD) $(PSD)pdf -functiontype 4
  1430. $(ADDMOD) $(PSD)pdf -emulator PDF
  1431. # Reader only
  1432. $(PSD)pdffonts.dev : $(INT_MAK) $(ECHOGS_XE)
  1433. $(SETMOD) $(PSD)pdffonts -ps gs_mex_e gs_mro_e gs_pdf_e gs_wan_e
  1434. $(PSD)pdfread.dev : $(INT_MAK) $(ECHOGS_XE)\
  1435. $(PSD)frsd.dev $(PSD)func4.dev $(PSD)fzlib.dev $(PSD)transpar.dev
  1436. $(SETMOD) $(PSD)pdfread -include $(PSD)frsd $(PSD)func4 $(PSD)fzlib
  1437. $(SETMOD) $(PSD)pdfread -include $(PSD)transpar
  1438. $(ADDMOD) $(PSD)pdfread -ps pdf_ops gs_l2img
  1439. $(ADDMOD) $(PSD)pdfread -ps pdf_base pdf_draw pdf_font pdf_main pdf_sec
  1440. # ================ Dependencies for auxiliary programs ================ #
  1441. GENINIT_DEPS=$(stdpre_h)
  1442. # ============================= Main program ============================== #
  1443. $(PSOBJ)gs.$(OBJ) : $(PSSRC)gs.c $(GH)\
  1444. $(imain_h) $(imainarg_h) $(iminst_h)
  1445. $(PSCC) $(PSO_)gs.$(OBJ) $(C_) $(PSSRC)gs.c
  1446. $(PSOBJ)iapi.$(OBJ) : $(PSSRC)iapi.c $(GH)\
  1447. $(string__h) $(errors_h) $(gsargs_h) $(gscdefs_h) $(gstypes_h) $(iapi_h)\
  1448. $(iref_h) $(imain_h) $(imainarg_h) $(iminst_h)
  1449. $(PSCC) $(PSO_)iapi.$(OBJ) $(C_) $(PSSRC)iapi.c
  1450. $(PSOBJ)icontext.$(OBJ) : $(PSSRC)icontext.c $(GH)\
  1451. $(gsstruct_h) $(gxalloc_h)\
  1452. $(dstack_h) $(errors_h) $(estack_h) $(files_h)\
  1453. $(icontext_h) $(idict_h) $(igstate_h) $(interp_h) $(isave_h) $(store_h)\
  1454. $(stream_h)
  1455. $(PSCC) $(PSO_)icontext.$(OBJ) $(C_) $(PSSRC)icontext.c
  1456. gdevdsp_h=$(GLSRC)gdevdsp.h
  1457. gdevdsp2_h=$(GLSRC)gdevdsp2.h
  1458. $(PSOBJ)idisp.$(OBJ) : $(PSSRC)idisp.c\
  1459. $(iapi_h) $(ghost_h) $(gp_h)\
  1460. $(imain_h) $(iminst_h) $(idisp_h)\
  1461. $(gx_h) $(gxdevice_h) $(gxdevmem_h) $(gdevdsp_h) $(gdevdsp2_h)
  1462. $(PSCC) $(PSO_)idisp.$(OBJ) $(C_) $(PSSRC)idisp.c
  1463. $(PSOBJ)imainarg.$(OBJ) : $(PSSRC)imainarg.c $(GH)\
  1464. $(ctype__h) $(memory__h) $(string__h)\
  1465. $(gp_h)\
  1466. $(gsargs_h) $(gscdefs_h) $(gsdevice_h) $(gsmalloc_h) $(gsmdebug_h)\
  1467. $(gxdevice_h) $(gxdevmem_h)\
  1468. $(errors_h) $(estack_h) $(files_h)\
  1469. $(ialloc_h) $(iconf_h) $(imain_h) $(imainarg_h) $(iminst_h)\
  1470. $(iname_h) $(interp_h) $(iscan_h) $(iutil_h) $(ivmspace_h)\
  1471. $(ostack_h) $(sfilter_h) $(store_h) $(stream_h) $(strimpl_h)
  1472. $(PSCC) $(PSO_)imainarg.$(OBJ) $(C_) $(PSSRC)imainarg.c
  1473. $(PSOBJ)imain.$(OBJ) : $(PSSRC)imain.c $(GH) $(memory__h) $(string__h)\
  1474. $(gp_h) $(gscdefs_h) $(gslib_h) $(gsmatrix_h) $(gsutil_h) $(gxdevice_h)\
  1475. $(dstack_h) $(errors_h) $(estack_h) $(files_h)\
  1476. $(ialloc_h) $(iconf_h) $(idebug_h) $(idict_h) $(idisp_h) $(iinit_h)\
  1477. $(iname_h) $(interp_h) $(isave_h) $(iscan_h) $(ivmspace_h)\
  1478. $(main_h) $(oper_h) $(ostack_h)\
  1479. $(sfilter_h) $(store_h) $(stream_h) $(strimpl_h)
  1480. $(PSCC) $(PSO_)imain.$(OBJ) $(C_) $(PSSRC)imain.c
  1481. #****** $(CCINT) interp.c
  1482. $(PSOBJ)interp.$(OBJ) : $(PSSRC)interp.c $(GH) $(memory__h) $(string__h)\
  1483. $(gsstruct_h)\
  1484. $(dstack_h) $(errors_h) $(estack_h) $(files_h)\
  1485. $(ialloc_h) $(iastruct_h) $(icontext_h) $(icremap_h) $(iddict_h) $(igstate_h)\
  1486. $(iname_h) $(inamedef_h) $(interp_h) $(ipacked_h)\
  1487. $(isave_h) $(iscan_h) $(istack_h) $(itoken_h) $(iutil_h) $(ivmspace_h)\
  1488. $(oper_h) $(ostack_h) $(sfilter_h) $(store_h) $(stream_h) $(strimpl_h)
  1489. $(PSCC) $(PSO_)interp.$(OBJ) $(C_) $(PSSRC)interp.c
  1490. $(PSOBJ)ireclaim.$(OBJ) : $(PSSRC)ireclaim.c $(GH)\
  1491. $(gsstruct_h)\
  1492. $(iastate_h) $(icontext_h) $(interp_h) $(isave_h) $(isstate_h)\
  1493. $(dstack_h) $(errors_h) $(estack_h) $(opdef_h) $(ostack_h) $(store_h)
  1494. $(PSCC) $(PSO_)ireclaim.$(OBJ) $(C_) $(PSSRC)ireclaim.c