int.mak 82 KB

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