~ubuntu-branches/ubuntu/jaunty/ghostscript/jaunty-updates

« back to all changes in this revision

Viewing changes to src/jpeg.mak

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2009-01-20 16:40:45 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090120164045-lnfhi0n30o5lwhwa
Tags: 8.64.dfsg.1~svn9377-0ubuntu1
* New upstream release (SVN rev 9377)
   o Fixes many bugs concerning PDF rendering, to make the PDF printing
     workflow correctly working.
   o Fixes long-standing bugs in many drivers, like input paper tray and
     duplex options not working for the built-in PCL 4, 5, 5c, 5e, and
     6/XL drivers, PDF input not working for bjc600, bjc800, and cups
     output devices, several options not working and uninitialized
     memory with cups output device.
   o Merged nearly all patches of the Ubuntu and Debian packages upstream.
   o Fixes LP: #317810, LP: #314439, LP: #314018.
* debian/patches/03_libpaper_support.dpatch,
  debian/patches/11_gs-cjk_font_glyph_handling_fix.dpatch,
  debian/patches/12_gs-cjk_vertical_writing_metrics_fix.dpatch,
  debian/patches/13_gs-cjk_cjkps_examples.dpatch,
  debian/patches/20_bbox_segv_fix.dpatch,
  debian/patches/21_brother_7x0_gdi_fix.dpatch,
  debian/patches/22_epsn_margin_workaround.dpatch,
  debian/patches/24_gs_man_fix.dpatch,
  debian/patches/25_toolbin_insecure_tmp_usage_fix.dpatch,
  debian/patches/26_assorted_script_fixes.dpatch,
  debian/patches/29_gs_css_fix.dpatch,
  debian/patches/30_ps2pdf_man_improvement.dpatch,
  debian/patches/31_fix-gc-sigbus.dpatch,
  debian/patches/34_ftbfs-on-hurd-fix.dpatch,
  debian/patches/35_disable_libcairo.dpatch,
  debian/patches/38_pxl-duplex.dpatch,
  debian/patches/39_pxl-resolution.dpatch,
  debian/patches/42_gs-init-ps-delaybind-fix.dpatch,
  debian/patches/45_bjc600-bjc800-pdf-input.dpatch,
  debian/patches/48_cups-output-device-pdf-duplex-uninitialized-memory-fix.dpatch,
  debian/patches/50_lips4-floating-point-exception.dpatch,
  debian/patches/52_cups-device-logging.dpatch,
  debian/patches/55_pcl-input-slot-fix.dpatch,
  debian/patches/57_pxl-input-slot-fix.dpatch,
  debian/patches/60_pxl-cups-driver-pdf.dpatch,
  debian/patches/62_onebitcmyk-pdf.dpatch,
  debian/patches/65_too-big-temp-files-1.dpatch,
  debian/patches/67_too-big-temp-files-2.dpatch,
  debian/patches/70_take-into-account-data-in-stream-buffer-before-refill.dpatch:
  Removed, applied upstream.
* debian/patches/01_docdir_fix_for_debian.dpatch,
  debian/patches/02_gs_man_fix_debian.dpatch,
  debian/patches/01_docdir-fix-for-debian.dpatch,
  debian/patches/02_docdir-fix-for-debian.dpatch: Renamed patches to
  make merging with Debian easier.
* debian/patches/32_improve-handling-of-media-size-changes-from-gv.dpatch, 
  debian/patches/33_bad-params-to-xinitimage-on-large-bitmaps.dpatch:
  regenerated for new source directory structure.
* debian/rules: Corrected paths to remove cidfmap (it is in Resource/Init/
  in GS 8.64) and to install headers (source paths are psi/ and base/ now).
* debian/rules: Remove all fontmaps, as DeFoMa replaces them.
* debian/local/pdftoraster/pdftoraster.c,
  debian/local/pdftoraster/pdftoraster.convs, debian/rules: Removed
  added pdftoraster filter and use the one which comes with Ghostscript.
* debian/ghostscript.links: s/8.63/8.64/

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#  Copyright (C) 2001-2007 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: jpeg.mak 8357 2007-11-09 21:18:04Z giles $
14
 
# makefile for Independent JPEG Group library code.
15
 
# Users of this makefile must define the following:
16
 
#       GSSRCDIR - the GS library source directory
17
 
#       JSRCDIR - the source directory
18
 
#       JGENDIR - the generated intermediate file directory
19
 
#       JOBJDIR - the object directory
20
 
#       SHARE_JPEG - 0 to compile the library, 1 to share
21
 
#       JPEG_NAME - if SHARE_JPEG = 1, the name of the shared library
22
 
#
23
 
# Note that if SHARE_JPEG = 1, you must still have the library header files
24
 
# available to compile Ghostscript: see doc/Make.htm for more information.
25
 
 
26
 
# NOTE: This makefile is only known to work with the following versions
27
 
# of the IJG library: 6, 6a, 6b.
28
 
# As of March 27, 1998, version 6b is the current version.
29
 
# The odds are good that other versions v6* will work.
30
 
#
31
 
# You can get the IJG library by Internet anonymous FTP from the following
32
 
# places:
33
 
#   Standard distribution (tar + gzip format, Unix end-of-line):
34
 
#       ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v*.tar.gz
35
 
#   MS-DOS archive (PKZIP a.k.a. zip format, MS-DOS end-of-line):
36
 
#       ftp://ftp.simtel.net/pub/simtelnet/msdos/graphics/jpegsr*.zip
37
 
# Please see Ghostscript's `Make.htm' file for instructions about how to
38
 
# unpack these archives.
39
 
#
40
 
# When each version of Ghostscript is released, we copy the associated
41
 
# version of the IJG library to
42
 
#       ftp://ftp.cs.wisc.edu/ghost/3rdparty/
43
 
# for more convenient access.
44
 
#
45
 
# The platform-specific makefiles expect the jpeg source to be in a
46
 
# directory named 'jpeg' at the top level of the source tree, as per
47
 
# the instructions in Make.htm. If you'd prefer to use the versioned
48
 
# directory name of the native library source, you can override this
49
 
# by setting JSRCSDIR in the platform-specific makefile.
50
 
#
51
 
# NOTE: For some obscure reason (probably a bug in djtarx), if you are
52
 
# compiling on a DesqView/X system, you should use the zip version of the
53
 
# IJG library, not the tar.gz version.
54
 
 
55
 
JSRC=$(JSRCDIR)$(D)
56
 
JGEN=$(JGENDIR)$(D)
57
 
JOBJ=$(JOBJDIR)$(D)
58
 
JO_=$(O_)$(JOBJ)
59
 
 
60
 
# Define the name of this makefile.
61
 
JPEG_MAK=$(GLSRC)jpeg.mak
62
 
 
63
 
jpeg.clean : jpeg.config-clean jpeg.clean-not-config-clean
64
 
 
65
 
### WRONG.  MUST DELETE OBJ AND GEN FILES SELECTIVELY.
66
 
jpeg.clean-not-config-clean :
67
 
        $(RM_) $(JOBJ)*.$(OBJ)
68
 
 
69
 
jpeg.config-clean :
70
 
        $(RMN_) $(JGEN)jpeg*.dev
71
 
 
72
 
# JI_ and JF_ are defined in gs.mak.
73
 
# See below for why we need to include GLGENDIR here.
74
 
JCC=$(CC_) $(I_)$(GLGENDIR) $(II)$(JI_)$(_I) $(JF_)
75
 
 
76
 
# We need our own version of jconfig.h, and our own "wrapper" for
77
 
# jmorecfg.h.
78
 
# We also need to change D_MAX_BLOCKS_IN_MCU for Adobe compatibility;
79
 
# we do this in jmorecfg.h.
80
 
 
81
 
# Because this file is included after lib.mak, we can't use _h macros
82
 
# to express indirect dependencies; instead, we build the dependencies
83
 
# into the rules for copying the files.
84
 
# Note: jerror__h and jpeglib__h are defined in lib.mak.
85
 
jconfig__h=$(GLGEN)jconfig_.h $(GLGEN)arch.h
86
 
#jerror__h=$(GLSRC)jerror_.h
87
 
jmorecf__h=$(GLGEN)jmorecf_.h
88
 
#jpeglib__h=$(GLGEN)jpeglib_.h
89
 
 
90
 
# We use our own jconfig.h and jmorecfg.h iff we aren't sharing the library.
91
 
# The library itself may need copies of them.
92
 
 
93
 
jconfig_h=$(GLGEN)jconfig.h
94
 
jmorecfg_h=$(GLGEN)jmorecfg.h
95
 
 
96
 
$(GLGEN)jconfig_.h : $(GLGEN)jconfig$(SHARE_JPEG).h $(MAKEFILE)
97
 
        $(CP_) $(GLGEN)jconfig$(SHARE_JPEG).h $(GLGEN)jconfig_.h
98
 
 
99
 
$(GLGEN)jconfig0.h : $(ECHOGS_XE) $(GLSRC)gsjconf.h $(stdpre_h) $(MAKEFILE)
100
 
        $(EXP)$(ECHOGS_XE) -w $(GLGEN)jconfig0.h -+R $(GLSRC)stdpn.h -+R $(GLSRC)stdpre.h -+R $(GLSRC)gsjconf.h
101
 
        $(RM_) $(GLGEN)jconfig1.h
102
 
 
103
 
$(GLGEN)jconfig1.h : $(ECHOGS_XE) $(JPEG_MAK)
104
 
        $(EXP)$(ECHOGS_XE) -w $(GLGEN)jconfig1.h -x 23 include -x 203c jconfig.h -x 3e
105
 
        $(RMN_) $(GLGEN)jconfig0.h $(GLGEN)jconfig.h
106
 
 
107
 
$(GLGEN)jconfig.h : $(GLGEN)jconfig0.h
108
 
        $(CP_) $(GLGEN)jconfig0.h $(GLGEN)jconfig.h
109
 
 
110
 
$(GLGEN)jmorecf_.h : $(GLGEN)jmorecf$(SHARE_JPEG).h $(MAKEFILE)
111
 
        $(CP_) $(GLGEN)jmorecf$(SHARE_JPEG).h $(GLGEN)jmorecf_.h
112
 
 
113
 
$(GLGEN)jmorecf0.h : $(GLSRC)gsjmorec.h $(GLGEN)jmcorig.h
114
 
        $(CP_) $(GLSRC)gsjmorec.h $(GLGEN)jmorecf0.h
115
 
        $(RM_) $(GLGEN)jmorecf1.h
116
 
 
117
 
$(GLGEN)jmorecf1.h : $(ECHOGS_XE) $(JPEG_MAK)
118
 
        $(EXP)$(ECHOGS_XE) -w $(GLGEN)jmorecf1.h -x 23 include -x 203c jmorecfg.h -x 3e
119
 
        $(RMN_) $(GLGEN)jmorecf0.h $(GLGEN)jmorecfg.h
120
 
 
121
 
$(GLGEN)jmorecfg.h : $(GLGEN)jmorecf0.h
122
 
        $(CP_) $(GLGEN)jmorecf0.h $(GLGEN)jmorecfg.h
123
 
 
124
 
$(GLGEN)jmcorig.h : $(JSRC)jmorecfg.h
125
 
        $(CP_) $(JSRC)jmorecfg.h $(GLGEN)jmcorig.h
126
 
 
127
 
# Contrary to what some portability bigots assert as fact, C compilers are
128
 
# not consistent about where they start searching for #included files:
129
 
# some always start by looking in the same directory as the .c file being
130
 
# compiled, before using the search path specified with -I on the command
131
 
# line, while others do not do this.  For this reason, we must explicitly
132
 
# copy and then delete all the .c files, because they need to obtain our
133
 
# modified version of the header files.  We must similarly copy up all
134
 
# all .h files that include either of these files, directly or indirectly.
135
 
# (The only such .h files currently are jinclude.h and jpeglib.h.)
136
 
# And finally, we must include GLGENDIR in the -I list (see JCC= above).
137
 
 
138
 
JHCOPY=$(GLGEN)jinclude.h $(GLGEN)jpeglib.h
139
 
 
140
 
$(GLGEN)jinclude.h : $(JSRC)jinclude.h
141
 
        $(CP_) $(JSRC)jinclude.h $(GLGEN)jinclude.h
142
 
 
143
 
# jpeglib_.h doesn't really depend on jconfig.h or jmcorig.h,
144
 
# but we choose to put the dependencies here rather than in the
145
 
# definition of jpeglib__h.
146
 
$(GLGEN)jpeglib_.h : $(GLGEN)jpeglib$(SHARE_JPEG).h $(MAKEFILE)
147
 
        $(CP_) $(GLGEN)jpeglib$(SHARE_JPEG).h $(GLGEN)jpeglib_.h
148
 
 
149
 
$(GLGEN)jpeglib0.h : $(JSRC)jpeglib.h $(jconfig_h) $(jmorecfg_h)
150
 
        $(CP_) $(JSRC)jpeglib.h $(GLGEN)jpeglib0.h
151
 
 
152
 
$(GLGEN)jpeglib1.h : $(ECHOGS_XE) $(JPEG_MAK)
153
 
        $(EXP)$(ECHOGS_XE) -w $(GLGEN)jpeglib1.h -x 23 include -x 203c jpeglib.h -x 3e
154
 
 
155
 
# We also need jpeglib.h for #includes in the library itself.
156
 
$(GLGEN)jpeglib.h : $(JSRC)jpeglib.h
157
 
        $(CP_) $(JSRC)jpeglib.h $(GLGEN)jpeglib.h
158
 
 
159
 
# In order to avoid having to keep the dependency lists for the IJG code
160
 
# accurate, we simply make all of them depend on the only files that
161
 
# we are ever going to change, and on all the .h files that must be copied up.
162
 
# This is too conservative, but only hurts us if we are changing our own
163
 
# j*.h files, which happens only rarely during development.
164
 
 
165
 
JDEP=$(AK) $(jconfig_h) $(jmorecfg_h) $(JHCOPY)
166
 
 
167
 
# Code common to compression and decompression.
168
 
 
169
 
jpegc0_=$(JOBJ)jcomapi.$(OBJ) $(JOBJ)jutils.$(OBJ) $(JOBJ)jmemmgr.$(OBJ) $(JOBJ)jerror.$(OBJ)
170
 
$(JGEN)jpegc0.dev : $(JPEG_MAK) $(ECHOGS_XE) $(jpegc0_)
171
 
        $(SETMOD) $(JGEN)jpegc0 $(jpegc0_)
172
 
 
173
 
$(JOBJ)jcomapi.$(OBJ) : $(JSRC)jcomapi.c $(JDEP)
174
 
        $(CP_) $(JSRC)jcomapi.c $(GLGEN)jcomapi.c
175
 
        $(JCC) $(JO_)jcomapi.$(OBJ) $(C_) $(GLGEN)jcomapi.c
176
 
        $(RM_) $(GLGEN)jcomapi.c
177
 
 
178
 
$(JOBJ)jutils.$(OBJ) : $(JSRC)jutils.c $(JDEP)
179
 
        $(CP_) $(JSRC)jutils.c $(GLGEN)jutils.c
180
 
        $(JCC) $(JO_)jutils.$(OBJ) $(C_) $(GLGEN)jutils.c
181
 
        $(RM_) $(GLGEN)jutils.c
182
 
 
183
 
$(JOBJ)jmemmgr.$(OBJ) : $(JSRC)jmemmgr.c $(JDEP)
184
 
        $(CP_) $(JSRC)jmemmgr.c $(GLGEN)jmemmgr.c
185
 
        $(JCC) $(JO_)jmemmgr.$(OBJ) $(C_) $(GLGEN)jmemmgr.c
186
 
        $(RM_) $(GLGEN)jmemmgr.c
187
 
 
188
 
$(JOBJ)jerror.$(OBJ) : $(JSRC)jerror.c $(JDEP)
189
 
        $(CP_) $(JSRC)jerror.c $(GLGEN)jerror.c
190
 
        $(JCC) $(JO_)jerror.$(OBJ) $(C_) $(GLGEN)jerror.c
191
 
        $(RM_) $(GLGEN)jerror.c
192
 
 
193
 
# Encoding (compression) code.
194
 
 
195
 
$(JGEN)jpege.dev : $(TOP_MAKEFILES) $(JPEG_MAK) $(JGEN)jpege_$(SHARE_JPEG).dev
196
 
        $(CP_) $(JGEN)jpege_$(SHARE_JPEG).dev $(JGEN)jpege.dev
197
 
 
198
 
$(JGEN)jpege_1.dev : $(TOP_MAKEFILES) $(JPEG_MAK) $(ECHOGS_XE)
199
 
        $(SETMOD) $(JGEN)jpege_1 -lib $(JPEG_NAME)
200
 
 
201
 
$(JGEN)jpege_0.dev : $(TOP_MAKEFILES) $(JPEG_MAK) $(JGEN)jpege6.dev
202
 
        $(CP_) $(JGEN)jpege6.dev $(JGEN)jpege_0.dev
203
 
 
204
 
jpege6=$(JOBJ)jcapimin.$(OBJ) $(JOBJ)jcapistd.$(OBJ) $(JOBJ)jcinit.$(OBJ)
205
 
 
206
 
jpege_1=$(JOBJ)jccoefct.$(OBJ) $(JOBJ)jccolor.$(OBJ) $(JOBJ)jcdctmgr.$(OBJ)
207
 
jpege_2=$(JOBJ)jchuff.$(OBJ) $(JOBJ)jcmainct.$(OBJ) $(JOBJ)jcmarker.$(OBJ) $(JOBJ)jcmaster.$(OBJ)
208
 
jpege_3=$(JOBJ)jcparam.$(OBJ) $(JOBJ)jcprepct.$(OBJ) $(JOBJ)jcsample.$(OBJ) $(JOBJ)jfdctint.$(OBJ)
209
 
 
210
 
$(JGEN)jpege6.dev : $(JPEG_MAK) $(ECHOGS_XE) $(JGEN)jpegc0.dev $(jpege6) $(jpege_1) $(jpege_2) $(jpege_3)
211
 
        $(SETMOD) $(JGEN)jpege6 $(jpege6)
212
 
        $(ADDMOD) $(JGEN)jpege6 -include $(JGEN)jpegc0.dev
213
 
        $(ADDMOD) $(JGEN)jpege6 -obj $(jpege_1)
214
 
        $(ADDMOD) $(JGEN)jpege6 -obj $(jpege_2)
215
 
        $(ADDMOD) $(JGEN)jpege6 -obj $(jpege_3)
216
 
 
217
 
$(JOBJ)jcapimin.$(OBJ) : $(JSRC)jcapimin.c $(JDEP)
218
 
        $(CP_) $(JSRC)jcapimin.c $(GLGEN)jcapimin.c
219
 
        $(JCC) $(JO_)jcapimin.$(OBJ) $(C_) $(GLGEN)jcapimin.c
220
 
        $(RM_) $(GLGEN)jcapimin.c
221
 
 
222
 
$(JOBJ)jcapistd.$(OBJ) : $(JSRC)jcapistd.c $(JDEP)
223
 
        $(CP_) $(JSRC)jcapistd.c $(GLGEN)jcapistd.c
224
 
        $(JCC) $(JO_)jcapistd.$(OBJ) $(C_) $(GLGEN)jcapistd.c
225
 
        $(RM_) $(GLGEN)jcapistd.c
226
 
 
227
 
$(JOBJ)jcinit.$(OBJ) : $(JSRC)jcinit.c $(JDEP)
228
 
        $(CP_) $(JSRC)jcinit.c $(GLGEN)jcinit.c
229
 
        $(JCC) $(JO_)jcinit.$(OBJ) $(C_) $(GLGEN)jcinit.c
230
 
        $(RM_) $(GLGEN)jcinit.c
231
 
 
232
 
$(JOBJ)jccoefct.$(OBJ) : $(JSRC)jccoefct.c $(JDEP)
233
 
        $(CP_) $(JSRC)jccoefct.c $(GLGEN)jccoefct.c
234
 
        $(JCC) $(JO_)jccoefct.$(OBJ) $(C_) $(GLGEN)jccoefct.c
235
 
        $(RM_) $(GLGEN)jccoefct.c
236
 
 
237
 
$(JOBJ)jccolor.$(OBJ) : $(JSRC)jccolor.c $(JDEP)
238
 
        $(CP_) $(JSRC)jccolor.c $(GLGEN)jccolor.c
239
 
        $(JCC) $(JO_)jccolor.$(OBJ) $(C_) $(GLGEN)jccolor.c
240
 
        $(RM_) $(GLGEN)jccolor.c
241
 
 
242
 
$(JOBJ)jcdctmgr.$(OBJ) : $(JSRC)jcdctmgr.c $(JDEP)
243
 
        $(CP_) $(JSRC)jcdctmgr.c $(GLGEN)jcdctmgr.c
244
 
        $(JCC) $(JO_)jcdctmgr.$(OBJ) $(C_) $(GLGEN)jcdctmgr.c
245
 
        $(RM_) $(GLGEN)jcdctmgr.c
246
 
 
247
 
$(JOBJ)jchuff.$(OBJ) : $(JSRC)jchuff.c $(JDEP)
248
 
        $(CP_) $(JSRC)jchuff.c $(GLGEN)jchuff.c
249
 
        $(JCC) $(JO_)jchuff.$(OBJ) $(C_) $(GLGEN)jchuff.c
250
 
        $(RM_) $(GLGEN)jchuff.c
251
 
 
252
 
$(JOBJ)jcmainct.$(OBJ) : $(JSRC)jcmainct.c $(JDEP)
253
 
        $(CP_) $(JSRC)jcmainct.c $(GLGEN)jcmainct.c
254
 
        $(JCC) $(JO_)jcmainct.$(OBJ) $(C_) $(GLGEN)jcmainct.c
255
 
        $(RM_) $(GLGEN)jcmainct.c
256
 
 
257
 
$(JOBJ)jcmarker.$(OBJ) : $(JSRC)jcmarker.c $(JDEP)
258
 
        $(CP_) $(JSRC)jcmarker.c $(GLGEN)jcmarker.c
259
 
        $(JCC) $(JO_)jcmarker.$(OBJ) $(C_) $(GLGEN)jcmarker.c
260
 
        $(RM_) $(GLGEN)jcmarker.c
261
 
 
262
 
$(JOBJ)jcmaster.$(OBJ) : $(JSRC)jcmaster.c $(JDEP)
263
 
        $(CP_) $(JSRC)jcmaster.c $(GLGEN)jcmaster.c
264
 
        $(JCC) $(JO_)jcmaster.$(OBJ) $(C_) $(GLGEN)jcmaster.c
265
 
        $(RM_) $(GLGEN)jcmaster.c
266
 
 
267
 
$(JOBJ)jcparam.$(OBJ) : $(JSRC)jcparam.c $(JDEP)
268
 
        $(CP_) $(JSRC)jcparam.c $(GLGEN)jcparam.c
269
 
        $(JCC) $(JO_)jcparam.$(OBJ) $(C_) $(GLGEN)jcparam.c
270
 
        $(RM_) $(GLGEN)jcparam.c
271
 
 
272
 
$(JOBJ)jcprepct.$(OBJ) : $(JSRC)jcprepct.c $(JDEP)
273
 
        $(CP_) $(JSRC)jcprepct.c $(GLGEN)jcprepct.c
274
 
        $(JCC) $(JO_)jcprepct.$(OBJ) $(C_) $(GLGEN)jcprepct.c
275
 
        $(RM_) $(GLGEN)jcprepct.c
276
 
 
277
 
$(JOBJ)jcsample.$(OBJ) : $(JSRC)jcsample.c $(JDEP)
278
 
        $(CP_) $(JSRC)jcsample.c $(GLGEN)jcsample.c
279
 
        $(JCC) $(JO_)jcsample.$(OBJ) $(C_) $(GLGEN)jcsample.c
280
 
        $(RM_) $(GLGEN)jcsample.c
281
 
 
282
 
$(JOBJ)jfdctint.$(OBJ) : $(JSRC)jfdctint.c $(JDEP)
283
 
        $(CP_) $(JSRC)jfdctint.c $(GLGEN)jfdctint.c
284
 
        $(JCC) $(JO_)jfdctint.$(OBJ) $(C_) $(GLGEN)jfdctint.c
285
 
        $(RM_) $(GLGEN)jfdctint.c
286
 
 
287
 
# Decompression code
288
 
 
289
 
$(JGEN)jpegd.dev : $(TOP_MAKEFILES) $(JPEG_MAK) $(JGEN)jpegd_$(SHARE_JPEG).dev
290
 
        $(CP_) $(JGEN)jpegd_$(SHARE_JPEG).dev $(JGEN)jpegd.dev
291
 
 
292
 
$(JGEN)jpegd_1.dev : $(TOP_MAKEFILES) $(JPEG_MAK) $(ECHOGS_XE)
293
 
        $(SETMOD) $(JGEN)jpegd_1 -lib $(JPEG_NAME)
294
 
 
295
 
$(JGEN)jpegd_0.dev : $(TOP_MAKEFILES) $(JPEG_MAK) $(JGEN)jpegd6.dev
296
 
        $(CP_) $(JGEN)jpegd6.dev $(JGEN)jpegd_0.dev
297
 
 
298
 
jpegd6=$(JOBJ)jdapimin.$(OBJ) $(JOBJ)jdapistd.$(OBJ) $(JOBJ)jdinput.$(OBJ) $(JOBJ)jdphuff.$(OBJ)
299
 
 
300
 
jpegd_1=$(JOBJ)jdcoefct.$(OBJ) $(JOBJ)jdcolor.$(OBJ)
301
 
jpegd_2=$(JOBJ)jddctmgr.$(OBJ) $(JOBJ)jdhuff.$(OBJ) $(JOBJ)jdmainct.$(OBJ) $(JOBJ)jdmarker.$(OBJ)
302
 
jpegd_3=$(JOBJ)jdmaster.$(OBJ) $(JOBJ)jdpostct.$(OBJ) $(JOBJ)jdsample.$(OBJ) $(JOBJ)jidctint.$(OBJ)
303
 
 
304
 
$(JGEN)jpegd6.dev : $(JPEG_MAK) $(ECHOGS_XE) $(JGEN)jpegc0.dev $(jpegd6) $(jpegd_1) $(jpegd_2) $(jpegd_3)
305
 
        $(SETMOD) $(JGEN)jpegd6 $(jpegd6)
306
 
        $(ADDMOD) $(JGEN)jpegd6 -include $(JGEN)jpegc0.dev
307
 
        $(ADDMOD) $(JGEN)jpegd6 -obj $(jpegd_1)
308
 
        $(ADDMOD) $(JGEN)jpegd6 -obj $(jpegd_2)
309
 
        $(ADDMOD) $(JGEN)jpegd6 -obj $(jpegd_3)
310
 
 
311
 
$(JOBJ)jdapimin.$(OBJ) : $(JSRC)jdapimin.c $(JDEP)
312
 
        $(CP_) $(JSRC)jdapimin.c $(GLGEN)jdapimin.c
313
 
        $(JCC) $(JO_)jdapimin.$(OBJ) $(C_) $(GLGEN)jdapimin.c
314
 
        $(RM_) $(GLGEN)jdapimin.c
315
 
 
316
 
$(JOBJ)jdapistd.$(OBJ) : $(JSRC)jdapistd.c $(JDEP)
317
 
        $(CP_) $(JSRC)jdapistd.c $(GLGEN)jdapistd.c
318
 
        $(JCC) $(JO_)jdapistd.$(OBJ) $(C_) $(GLGEN)jdapistd.c
319
 
        $(RM_) $(GLGEN)jdapistd.c
320
 
 
321
 
$(JOBJ)jdcoefct.$(OBJ) : $(JSRC)jdcoefct.c $(JDEP)
322
 
        $(CP_) $(JSRC)jdcoefct.c $(GLGEN)jdcoefct.c
323
 
        $(JCC) $(JO_)jdcoefct.$(OBJ) $(C_) $(GLGEN)jdcoefct.c
324
 
        $(RM_) $(GLGEN)jdcoefct.c
325
 
 
326
 
$(JOBJ)jdcolor.$(OBJ) : $(JSRC)jdcolor.c $(JDEP)
327
 
        $(CP_) $(JSRC)jdcolor.c $(GLGEN)jdcolor.c
328
 
        $(JCC) $(JO_)jdcolor.$(OBJ) $(C_) $(GLGEN)jdcolor.c
329
 
        $(RM_) $(GLGEN)jdcolor.c
330
 
 
331
 
$(JOBJ)jddctmgr.$(OBJ) : $(JSRC)jddctmgr.c $(JDEP)
332
 
        $(CP_) $(JSRC)jddctmgr.c $(GLGEN)jddctmgr.c
333
 
        $(JCC) $(JO_)jddctmgr.$(OBJ) $(C_) $(GLGEN)jddctmgr.c
334
 
        $(RM_) $(GLGEN)jddctmgr.c
335
 
 
336
 
$(JOBJ)jdhuff.$(OBJ) : $(JSRC)jdhuff.c $(JDEP)
337
 
        $(CP_) $(JSRC)jdhuff.c $(GLGEN)jdhuff.c
338
 
        $(JCC) $(JO_)jdhuff.$(OBJ) $(C_) $(GLGEN)jdhuff.c
339
 
        $(RM_) $(GLGEN)jdhuff.c
340
 
 
341
 
$(JOBJ)jdinput.$(OBJ) : $(JSRC)jdinput.c $(JDEP)
342
 
        $(CP_) $(JSRC)jdinput.c $(GLGEN)jdinput.c
343
 
        $(JCC) $(JO_)jdinput.$(OBJ) $(C_) $(GLGEN)jdinput.c
344
 
        $(RM_) $(GLGEN)jdinput.c
345
 
 
346
 
$(JOBJ)jdmainct.$(OBJ) : $(JSRC)jdmainct.c $(JDEP)
347
 
        $(CP_) $(JSRC)jdmainct.c $(GLGEN)jdmainct.c
348
 
        $(JCC) $(JO_)jdmainct.$(OBJ) $(C_) $(GLGEN)jdmainct.c
349
 
        $(RM_) $(GLGEN)jdmainct.c
350
 
 
351
 
$(JOBJ)jdmarker.$(OBJ) : $(JSRC)jdmarker.c $(JDEP)
352
 
        $(CP_) $(JSRC)jdmarker.c $(GLGEN)jdmarker.c
353
 
        $(JCC) $(JO_)jdmarker.$(OBJ) $(C_) $(GLGEN)jdmarker.c
354
 
        $(RM_) $(GLGEN)jdmarker.c
355
 
 
356
 
$(JOBJ)jdmaster.$(OBJ) : $(JSRC)jdmaster.c $(JDEP)
357
 
        $(CP_) $(JSRC)jdmaster.c $(GLGEN)jdmaster.c
358
 
        $(JCC) $(JO_)jdmaster.$(OBJ) $(C_) $(GLGEN)jdmaster.c
359
 
        $(RM_) $(GLGEN)jdmaster.c
360
 
 
361
 
$(JOBJ)jdphuff.$(OBJ) : $(JSRC)jdphuff.c $(JDEP)
362
 
        $(CP_) $(JSRC)jdphuff.c $(GLGEN)jdphuff.c
363
 
        $(JCC) $(JO_)jdphuff.$(OBJ) $(C_) $(GLGEN)jdphuff.c
364
 
        $(RM_) $(GLGEN)jdphuff.c
365
 
 
366
 
$(JOBJ)jdpostct.$(OBJ) : $(JSRC)jdpostct.c $(JDEP)
367
 
        $(CP_) $(JSRC)jdpostct.c $(GLGEN)jdpostct.c
368
 
        $(JCC) $(JO_)jdpostct.$(OBJ) $(C_) $(GLGEN)jdpostct.c
369
 
        $(RM_) $(GLGEN)jdpostct.c
370
 
 
371
 
$(JOBJ)jdsample.$(OBJ) : $(JSRC)jdsample.c $(JDEP)
372
 
        $(CP_) $(JSRC)jdsample.c $(GLGEN)jdsample.c
373
 
        $(JCC) $(JO_)jdsample.$(OBJ) $(C_) $(GLGEN)jdsample.c
374
 
        $(RM_) $(GLGEN)jdsample.c
375
 
 
376
 
$(JOBJ)jidctint.$(OBJ) : $(JSRC)jidctint.c $(JDEP)
377
 
        $(CP_) $(JSRC)jidctint.c $(GLGEN)jidctint.c
378
 
        $(JCC) $(JO_)jidctint.$(OBJ) $(C_) $(GLGEN)jidctint.c
379
 
        $(RM_) $(GLGEN)jidctint.c