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