comparison src/ghostscript-mingw-i686-makefile @ 3643:f2503a486cce

ghostscript: new package
author John W. Eaton <jwe@octave.org>
date Thu, 03 Jul 2014 19:10:32 -0400
parents
children 1a2fec9962a7
comparison
equal deleted inserted replaced
3642:5a459f007b2f 3643:f2503a486cce
1 # Copyright (C) 2001-2012 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,
8 # modified or distributed except as expressly authorized under the terms
9 # of the license contained in the file LICENSE in this distribution.
10 #
11 # Refer to licensing information at http://www.artifex.com or contact
12 # Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael,
13 # CA 94903, U.S.A., +1(415)492-9861, for further information.
14 #
15 # makefile template for/from the autoconf build.
16 # Makefile. Generated from Makefile.in by configure.
17
18 # ------------------------------- Options ------------------------------- #
19
20 ####### The following are the only parts of the file you should need to edit.
21
22 # Define the directory for the final executable, and the
23 # source, generated intermediate file, and object directories
24 # for the graphics library (GL) and the PostScript/PDF interpreter (PS).
25
26 BINDIR=./$(BUILDDIRPREFIX)bin
27 GLSRCDIR=./base
28 GLGENDIR=./$(BUILDDIRPREFIX)obj
29 GLOBJDIR=./$(BUILDDIRPREFIX)obj
30 AUXDIR=$(GLGENDIR)/aux_
31 PSSRCDIR=./psi
32 PSLIBDIR=./lib
33 PSRESDIR=./Resource
34 PSGENDIR=./$(BUILDDIRPREFIX)obj
35 PSOBJDIR=./$(BUILDDIRPREFIX)obj
36 CONTRIBDIR=./contrib
37
38 # Do not edit the next group of lines.
39
40 include $(GLSRCDIR)/version.mak
41 DD=$(GLGENDIR)/
42 GLD=$(GLGENDIR)/
43 PSD=$(PSGENDIR)/
44
45 # ------ Generic options ------ #
46
47 # Define the installation commands and target directories for
48 # executables and files. The commands are only relevant to `make install';
49 # the directories also define the default search path for the
50 # initialization files (gs_*.ps) and the fonts.
51
52 INSTALL = $(GLSRCDIR)/instcopy -c
53 INSTALL_PROGRAM = $(INSTALL) -m 755
54 INSTALL_DATA = $(INSTALL) -m 644
55 INSTALL_SHARED =
56
57 prefix = /usr/local
58 exec_prefix = ${prefix}
59 bindir = ${exec_prefix}/bin
60 scriptdir = $(bindir)
61 includedir = ${prefix}/include
62 libdir = ${exec_prefix}/lib
63 mandir = ${datarootdir}/man
64 man1ext = 1
65 man1dir = $(mandir)/man$(man1ext)
66 datadir = ${datarootdir}
67 datarootdir = ${prefix}/share
68
69 # The following must be substituted using ${datarootdir} and ${exec_prefix}/lib
70 # to avoid adding RPM generation paths (CUPS STR #1112)
71 gsdir = ${datarootdir}/ghostscript
72 gsdatadir = $(gsdir)/$(GS_DOT_VERSION)
73 gssharedir = ${exec_prefix}/lib/ghostscript/$(GS_DOT_VERSION)
74 gsincludedir = ${prefix}/include/ghostscript/
75
76 docdir=$(gsdatadir)/doc
77 exdir=$(gsdatadir)/examples
78 GS_DOCDIR=$(docdir)
79
80 # Define install location for 'cups' device/filter support
81 CUPSCFLAGS=
82 CUPSLIBS=
83 CUPSLIBDIRS=
84 CUPSSERVERBIN=
85 CUPSSERVERROOT=
86 CUPSDATA=
87 CUPSPDFTORASTER=0
88
89 CUPSINSTTARGET=
90
91 # Choose whether to compile the .ps initialization files into the executable.
92 # See gs.mak for details.
93
94 COMPILE_INITS=1
95
96 # Define the default directory/ies for the runtime
97 # initialization and font files. Separate multiple directories with a :.
98
99 GS_LIB_DEFAULT=$(gsdatadir)/Resource/Init:$(gsdatadir)/lib:$(gsdatadir)/Resource/Font:$(gsdir)/fonts:${datarootdir}/fonts/default/ghostscript:${datarootdir}/fonts/default/Type1:${datarootdir}/fonts/default/TrueType:/usr/lib/DPS/outline/base:/usr/openwin/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/TrueType
100
101 # Define the default directory for cached data files
102 # this must be a single path.
103
104 GS_CACHE_DIR="~/.ghostscript/cache/"
105
106 # Define whether or not searching for initialization files should always
107 # look in the current directory first. This leads to well-known security
108 # and confusion problems, but may be convenient sometimes.
109
110 SEARCH_HERE_FIRST=0
111
112 # Define the name of the interpreter initialization file.
113 # (There is no reason to change this.)
114
115 GS_INIT=gs_init.ps
116
117 # Choose generic configuration options.
118
119 TARGET_ARCH_FILE=
120
121 # -DDEBUG
122 # includes debugging features (-Z switch) in the code.
123 # Code runs substantially slower even if no debugging switches
124 # are set.
125
126 GENOPT=
127
128 # Choose capability options.
129
130 # -DHAVE_BSWAP32
131 # use bswap32 intrinsic
132 # -DHAVE_BYTESWAP_H
133 # use byteswap.h functions
134 #
135 # -DHAVE_MKSTEMP
136 # uses mkstemp instead of mktemp
137 # This uses the more secure temporary file creation call
138 # Enable this if it is available on your platform.
139 # -DHAVE_FILE64
140 # use marked versions of the stdio FILE calls, fopen64() et al.
141 #
142 # -DHAVE_MKSTEMP64
143 # use non-standard function mkstemp64()
144 #
145 # -DHAVE_LIBIDN
146 # use libidn to canonicalize Unicode passwords
147 #
148 # -DHAVE_SETLOCALE
149 # call setlocale(LC_CTYPE) when running as a standalone app
150 # -DHAVE_SSE2
151 # use sse2 intrinsics
152
153 CAPOPT= -DHAVE_FILE64 -DHAVE_SETLOCALE -DHAVE_BSWAP32 -DHAVE_STRERROR
154
155 # Define the name of the executable file.
156
157 GS=gs.exe
158
159 # Define the directories for debugging and profiling binaries, relative to
160 # the standard binaries.
161
162 DEBUGDIRPREFIX=debug
163 MEMENTODIRPREFIX=mem
164 PGDIRPREFIX=pg
165
166 # Define whether to compile in the FreeType library, and if so, where
167 # the source tree is location. Otherwise, what library name to use
168 # in linking to a shared implementation.
169
170 FT_BRIDGE=1
171 SHARE_FT=0
172 FTSRCDIR=freetype
173 FT_CFLAGS=-Ifreetype/include
174 FT_LIBS=
175 FT_CONFIG_SYSTEM_ZLIB=
176
177 # Define whether to compile in UFST. Note that freetype will/must be disabled.
178 # FAPI/UFST depends on UFST_BRIDGE being undefined - hence the construct below.
179 # (i.e. use "UFST_BRIDGE=1" or *not to define UFST_BRIDGE to anything*)
180
181 UFST_ROOT=
182 UFST_LIB_EXT=
183
184 UFST_ROMFS_ARGS?=-b \
185 -P $(UFST_ROOT)/fontdata/mtfonts/pcl45/mt3/ -d fontdata/mtfonts/pcl45/mt3/ pcl___xj.fco plug__xi.fco wd____xh.fco \
186 -P $(UFST_ROOT)/fontdata/mtfonts/pclps2/mt3/ -d fontdata/mtfonts/pclps2/mt3/ pclp2_xj.fco \
187 -c -P $(PSSRCDIR)/../lib/ -d Resource/Init/ FAPIconfig-FCO
188
189 UFSTROMFONTDIR=\"%rom%fontdata/\"
190 UFSTDISCFONTDIR?=\"$(UFST_ROOT)/fontdata/\"
191
192
193 UFST_CFLAGS=
194
195 # Define the directory where the IJG JPEG library sources are stored,
196 # and the major version of the library that is stored there.
197 # You may need to change this if the IJG library version changes.
198 # See jpeg.mak for more information.
199
200 JSRCDIR=jpeg
201
202 # Note: if a shared library is used, it may not contain the
203 # D_MAX_BLOCKS_IN_MCU patch, and thus may not be able to read
204 # some older JPEG streams that violate the standard. If the JPEG
205 # library built from local sources, the patch will be applied.
206
207 SHARE_JPEG=1
208 JPEG_NAME=jpeg
209
210 # Define the directory where the PNG library sources are stored,
211 # and the version of the library that is stored there.
212 # You may need to change this if the libpng version changes.
213 # See png.mak for more information.
214
215 SHARE_LIBPNG=1
216 PNGSRCDIR=
217 LIBPNG_NAME=png
218
219 # libtiff
220 SHARE_LIBTIFF=1
221 TIFFSRCDIR=
222 TIFFPLATFORM=unix
223 TIFFCONFIG_SUFFIX=
224 LIBTIFF_NAME=tiff
225
226 # Define the directory where the zlib sources are stored.
227 # See zlib.mak for more information.
228
229 SHARE_ZLIB=0
230 ZSRCDIR=zlib
231 #ZLIB_NAME=gz
232 ZLIB_NAME=z
233
234 # Choose shared or compiled in libjbig2dec and source location
235 # JBIG2_LIB=jbig2dec
236 JBIG2_LIB=jbig2dec
237 SHARE_JBIG2=0
238 JBIG2SRCDIR=jbig2dec
239 JBIG2_CFLAGS=-DHAVE_STDINT_H=1
240
241 # uncomment the following three lines and one of the last two to
242 # compile in the Luratech ldf_jb2 codec
243 #JBIG2_LIB=luratech
244 #SHARE_JBIG2=0
245 #JBIG2SRCDIR=ldf_jb2
246 #JBIG2_CFLAGS=-DUSE_LDF_JB2 -DLINUX
247 #JBIG2_CFLAGS=-DUSE_LDF_JB2 -DMAC -DMAC_OS_X_BUILD
248
249
250 # Choose the library to use for (JPXDecode support)
251 # whether to link to an external build or compile in from source
252 # and source location and configuration flags for compiling in
253 JPX_LIB=openjpeg
254 SHARE_JPX=0
255 JPXSRCDIR=openjpeg
256 JPX_CFLAGS=-DUSE_OPENJPEG_JP2 -D"memalign(a,b)=malloc(b)"
257
258 # uncomment the following three lines and one of the last two to
259 # compile in the Luratech lwf_jp2 codec
260 #JPX_LIB=luratech
261 #SHARE_JPX=0
262 #JPXSRCDIR=lwf_jp2
263 #JPX_CFLAGS=-DUSE_LWF_JP2 -DLINUX
264 #JPX_CFLAGS=-DUSE_LWF_JP2 -DMAC -DMAC_OS_X_BUILD
265
266 # Uncomment the following 4 lines to to compile in OpenJPEG codec
267 #JPX_LIB=openjpeg
268 #SHARE_JPX=0
269 #JPXSRCDIR=openjpeg
270 #JPX_CFLAGS=-DUSE_OPENJPEG_JP2 -DOPJ_STATIC
271
272 # options for lcms color management library
273 SHARE_LCMS=0
274 LCMSSRCDIR=
275 LCMS2SRCDIR=lcms2
276 LCMS_CFLAGS=
277 LCMS2_CFLAGS=
278
279 # Which CMS are we using?
280 # Options are currently lcms or lcms2
281 WHICH_CMS=lcms2
282
283 # Define the directory where the ijs source is stored,
284 # and the process forking method to use for the server.
285 # See ijs.mak for more information.
286
287 SHARE_IJS=0
288 IJS_NAME=
289 IJSSRCDIR=src
290 IJSEXECTYPE=unix
291
292
293 SHARE_LCUPS=1
294 LCUPS_NAME=cups
295 LCUPSSRCDIR=cups
296 LCUPSBUILDTYPE=
297 CUPS_CC=$(CC)
298
299 SHARE_LCUPSI=1
300 LCUPSI_NAME=cupsimage
301 LCUPSISRCDIR=cups
302 CUPS_CC=$(CC)
303
304
305 # Define how to build the library archives. (These are not used in any
306 # standard configuration.)
307
308 AR=ar
309 ARFLAGS=qc
310 RANLIB=ranlib
311
312 # ------ Platform-specific options ------ #
313
314 # Define the name of the C compiler (target and host (AUX))
315
316 CC=gcc
317 CCAUX=gcc
318
319 # Define the name of the linker for the final link step.
320 # Normally this is the same as the C compiler.
321
322 CCLD=$(CC)
323 CCAUXLD=$(CCAUX)
324
325 # Define the default gcc flags.
326 GCFLAGS= -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_INTTYPES_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long long" -DNOCONTRIB -DUSE_LIBICONV_GNU
327
328 # Define the added flags for standard, debugging, profiling
329 # and shared object builds.
330
331 CFLAGS_STANDARD= -O
332 CFLAGS_DEBUG=
333 CFLAGS_PROFILE=-pg -O
334 CFLAGS_SO=
335
336 # Define the other compilation flags. Add at most one of the following:
337 # -DBSD4_2 for 4.2bsd systems.
338 # -DSYSV for System V or DG/UX.
339 # -DSYSV -D__SVR3 for SCO ODT, ISC Unix 2.2 or before,
340 # or any System III Unix, or System V release 3-or-older Unix.
341 # -DSVR4 -DSVR4_0 (not -DSYSV) for System V release 4.0.
342 # -DSVR4 (not -DSYSV) for System V release 4.2 (or later) and Solaris 2.
343 # XCFLAGS can be set from the command line.
344 # We don't include -ansi, because this gets in the way of the platform-
345 # specific stuff that <math.h> typically needs; nevertheless, we expect
346 # gcc to accept ANSI-style function prototypes and function definitions.
347 # CFLAGS from autoconf
348 AC_CFLAGS=
349
350 # fontconfig flags, used by unix-aux.mak
351 FONTCONFIG_CFLAGS=
352 FONTCONFIG_LIBS=
353
354 # DBus flags, used by cups.mak
355 DBUS_CFLAGS=
356 DBUS_LIBS=
357
358 # defines from autoconf; note that we don't use these at present.
359 ACDEFS=-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ERRNO_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_MALLOC_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_INTTYPES_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_LONG_INT=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBM=1 -DUSE_LIBICONV_GNU=1 -DX_DISPLAY_MISSING=1 -DHAVE_FOPEN64=1 -DHAVE_SETLOCALE=1 -DHAVE_STRERROR=1 -Dvfork=fork -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_DUP2=1 -DHAVE_FLOOR=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MEMCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MODF=1 -DHAVE_POW=1 -DHAVE_PUTENV=1 -DHAVE_RINT=1 -DHAVE_SQRT=1 -DHAVE_STRCHR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSPN=1 -DHAVE_STRSTR=1
360
361 CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(AC_CFLAGS) $(XCFLAGS)
362
363 # Define platform flags for ld.
364 # SunOS 4.n may need -Bstatic.
365 # Solaris 2.6 (and possibly some other versions) with any of the SHARE_
366 # parameters set to 1 may need
367 # -R /usr/local/xxx/lib:/usr/local/lib
368 # giving the full path names of the shared library directories.
369 # XLDFLAGS can be set from the command line.
370 # AC_LDFLAGS from autoconf
371 AC_LDFLAGS=
372
373 LDFLAGS= $(AC_LDFLAGS) $(XLDFLAGS)
374
375 # Define any extra libraries to link into the executable.
376 # ISC Unix 2.2 wants -linet.
377 # SCO Unix needs -lsocket if you aren't including the X11 driver.
378 # SVR4 may need -lnsl.
379 # Solaris may need -lnsl -lsocket -lposix4.
380 # (Libraries required by individual drivers are handled automatically.)
381
382 EXTRALIBS=$(XTRALIBS) -lm -liconv
383 AUXEXTRALIBS=$(XTRALIBS) -lm
384
385 # Define the standard libraries to search at the end of linking.
386 # Most platforms require -lpthread for the POSIX threads library;
387 # on FreeBSD, change -lpthread to -lc_r; BSDI and perhaps some others
388 # include pthreads in libc and don't require any additional library.
389 # All reasonable platforms require -lm, but Rhapsody and perhaps one or
390 # two others fold libm into libc and don't require any additional library.
391
392 STDLIBS= -lm
393
394 # Define the include switch(es) for the X11 header files.
395 # This can be null if handled in some other way (e.g., the files are
396 # in /usr/include, or the directory is supplied by an environment variable)
397
398 XINCLUDE=
399
400 # Define the directory/ies and library names for the X11 library files.
401 # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH
402 # (dynamic libraries on SVR4) and should not include -L.
403 # Newer SVR4 systems can use -R in XLIBDIRS rather than setting XLIBDIR.
404 # Both can be null if these files are in the default linker search path.
405
406 # Solaris and other SVR4 systems with dynamic linking probably want
407 #XLIBDIRS=-L/usr/openwin/lib -R/usr/openwin/lib
408 # X11R6 (on any platform) may need
409 #XLIBS=Xt SM ICE Xext X11
410
411 # We use the autoconf macro AC_PATH_XTRA which defines X_LIBS with
412 # the -L (or whatever). It also defines X_PRE_LIBS and X_EXTRA_LIBS
413 # all three of which are stripped and slotted into XLIBS below.
414 # Usually however, all but X_LIBS are empty on modern platforms.
415 XLIBDIRS=
416 XLIBDIR=
417 #XLIBS=Xt Xext X11
418 XLIBS=
419
420 # Define the .dev module that implements thread and synchronization
421 # primitives for this platform.
422
423 # If POSIX sync primitives are used, also change the STDLIBS to include
424 # the pthread library. Otherwise use SYNC=nosync
425 #SYNC=posync
426 #SYNC=nosync
427 SYNC=nosync
428
429 # programs we use
430 RM=rm -f
431
432 # ------ Dynamic loader options ------- #
433 SOC_CFLAGS =
434 SOC_LIBS =
435 SOC_LOADER = dxmainc.c
436
437 # on virtually every Unix-a-like system, this is "so",
438 # but Apple just had to be different, so it's now set
439 # by configure
440 DYNANIC_LIB_EXT = so
441
442 #CAIRO_CFLAGS = @CAIRO_CFLAGS@
443 #CAIRO_LIBS = @CAIRO_LIBS@
444
445 # ------ Devices and features ------ #
446
447 # Choose the language feature(s) to include. See gs.mak for details.
448
449 FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev $(PSD)ttfont.dev $(PSD)epsf.dev $(GLD)pipe.dev $(GLD)gsnogc.dev $(GLD)htxlib.dev $(PSD)jbig2.dev $(PSD)jpx.dev
450 #FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev
451 #FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev $(PSD)ttfont.dev $(PSD)rasterop.dev $(GLD)pipe.dev
452 # The following is strictly for testing.
453 FEATURE_DEVS_ALL=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev $(PSD)ttfont.dev $(PSD)rasterop.dev $(PSD)double.dev $(PSD)trapping.dev $(PSD)stocht.dev $(GLD)pipe.dev $(GLD)gsnogc.dev $(GLD)htxlib.dev $(PSD)jbig2.dev $(PSD)jpx.dev
454 #FEATURE_DEVS=$(FEATURE_DEVS_ALL)
455
456 # The list of resources to be included in the %rom% file system.
457 # This is in the top makefile since the file descriptors are platform specific
458 RESOURCE_LIST=Resource/CMap/ Resource/ColorSpace/ Resource/Decoding/ Resource/Font/ Resource/ProcSet/ Resource/IdiomSet/ Resource/CIDFont/
459
460 # Choose whether to store band lists on files or in memory.
461 # The choices are 'file' or 'memory'.
462
463 BAND_LIST_STORAGE=file
464
465 # Choose which compression method to use when storing band lists in memory.
466 # The choices are 'lzw' or 'zlib'.
467
468 BAND_LIST_COMPRESSOR=zlib
469
470 # Choose the implementation of file I/O: 'stdio', 'fd', or 'both'.
471 # See gs.mak and sfxfd.c for more details.
472
473 FILE_IMPLEMENTATION=stdio
474
475 # Choose the implementation of stdio: '' for file I/O and 'c' for callouts
476 # See gs.mak and ziodevs.c/ziodevsc.c for more details.
477
478 STDIO_IMPLEMENTATION=c
479
480 # List of default devices, in order of priority. They need not be
481 # present in the actual build.
482 GS_DEV_DEFAULT="x11alpha bbox"
483
484 # Fallback default device. This is set to 'display' by
485 # unix-dll.mak when building a shared object.
486 DISPLAY_DEV=$(DD)bbox.dev
487
488 # Choose the device(s) to include. See devs.mak for details,
489 # devs.mak and contrib.mak for the list of available devices.
490
491 #DEVICE_DEVS=$(DISPLAY_DEV) $(DD)x11.dev $(DD)x11alpha.dev $(DD)x11cmyk.dev $(DD)x11gray2.dev $(DD)x11gray4.dev $(DD)x11mono.dev
492 #DEVICE_DEVS=$(DISPLAY_DEV) @X11DEVS@
493 #DEVICE_DEVS=$(DISPLAY_DEV) @X_DEVS@
494
495 #DEVICE_DEVS1=$(DD)bmpmono.dev $(DD)bmpgray.dev $(DD)bmpsep1.dev $(DD)bmpsep8.dev $(DD)bmp16.dev $(DD)bmp256.dev $(DD)bmp16m.dev $(DD)bmp32b.dev
496 #DEVICE_DEVS2=#$(DD)gdevjbig2.dev $(DD)gdevjpx.dev #$(DD)rinkj.dev
497 #DEVICE_DEVS3=$(DD)deskjet.dev $(DD)djet500.dev $(DD)laserjet.dev $(DD)ljetplus.dev $(DD)ljet2p.dev $(DD)ljet3.dev $(DD)ljet3d.dev $(DD)ljet4.dev $(DD)ljet4d.dev $(DD)lj5mono.dev $(DD)lj5gray.dev
498 #DEVICE_DEVS4=$(DD)cdeskjet.dev $(DD)cdjcolor.dev $(DD)cdjmono.dev $(DD)cdj550.dev $(DD)pj.dev $(DD)pjxl.dev $(DD)pjxl300.dev
499 #DEVICE_DEVS5=$(DD)uniprint.dev @IJSDEVS@
500 #DEVICE_DEVS6=$(DD)bj10e.dev $(DD)bj200.dev $(DD)bjc600.dev $(DD)bjc800.dev
501 #DEVICE_DEVS7=$(DD)faxg3.dev $(DD)faxg32d.dev $(DD)faxg4.dev $(DD)cfax.dev
502 #DEVICE_DEVS8=$(DD)pcxmono.dev $(DD)pcxgray.dev $(DD)pcx16.dev $(DD)pcx256.dev $(DD)pcx24b.dev $(DD)pcxcmyk.dev
503 #DEVICE_DEVS9=$(DD)pbm.dev $(DD)pbmraw.dev $(DD)pgm.dev $(DD)pgmraw.dev $(DD)pgnm.dev $(DD)pgnmraw.dev $(DD)pnm.dev $(DD)pnmraw.dev $(DD)ppm.dev $(DD)ppmraw.dev $(DD)pkm.dev $(DD)pkmraw.dev $(DD)pksm.dev $(DD)pksmraw.dev
504 #DEVICE_DEVS10=$(DD)tiffcrle.dev $(DD)tiffg3.dev $(DD)tiffg32d.dev $(DD)tiffg4.dev $(DD)tifflzw.dev $(DD)tiffpack.dev
505 #DEVICE_DEVS11=$(DD)tiff12nc.dev $(DD)tiff24nc.dev $(DD)tiff48nc.dev $(DD)tiffgray.dev $(DD)tiff32nc.dev $(DD)tiff64nc $(DD)tiffsep.dev $(DD)tiffsep1.dev
506 #DEVICE_DEVS12=$(DD)psmono.dev $(DD)psgray.dev $(DD)psrgb.dev $(DD)bit.dev $(DD)bitrgb.dev $(DD)bitcmyk.dev
507 #DEVICE_DEVS13=$(DD)pngmono.dev $(DD)pnggray.dev $(DD)png16.dev $(DD)png256.dev $(DD)png16m.dev
508 #DEVICE_DEVS13=@PNGDEVS@
509 #DEVICE_DEVS14=$(DD)jpeg.dev $(DD)jpeggray.dev
510 #DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)pswrite.dev $(DD)ps2write.dev $(DD)epswrite.dev $(DD)txtwrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
511 #DEVICE_DEVS16=$(DD)bbox.dev
512
513 #DEVICE_DEVS17=
514 #DEVICE_DEVS18=
515 #DEVICE_DEVS19=
516 #DEVICE_DEVS20=$(DD)cljet5.dev $(DD)cljet5c.dev
517 #DEVICE_DEVS21=$(DD)spotcmyk.dev $(DD)devicen.dev $(DD)xcf.dev $(DD)psdcmyk.dev $(DD)psdrgb.dev
518 DEVICE_DEVS=$(DISPLAY_DEV)
519 DEVICE_DEVS1=$(DD)bit.dev $(DD)bitcmyk.dev $(DD)bitrgb.dev $(DD)bitrgbtags.dev $(DD)bmp16.dev $(DD)bmp16m.dev $(DD)bmp256.dev $(DD)bmp32b.dev $(DD)bmpgray.dev $(DD)bmpmono.dev $(DD)bmpsep1.dev $(DD)bmpsep8.dev $(DD)ccr.dev $(DD)cif.dev $(DD)devicen.dev $(DD)epswrite.dev $(DD)inferno.dev $(DD)jpeg.dev $(DD)jpegcmyk.dev $(DD)jpeggray.dev $(DD)mgr4.dev $(DD)mgr8.dev $(DD)mgrgray2.dev $(DD)mgrgray4.dev $(DD)mgrgray8.dev $(DD)mgrmono.dev $(DD)miff24.dev $(DD)pam.dev $(DD)pamcmyk32.dev $(DD)pamcmyk4.dev $(DD)pbm.dev $(DD)pbmraw.dev $(DD)pcx16.dev $(DD)pcx24b.dev $(DD)pcx256.dev $(DD)pcx2up.dev $(DD)pcxcmyk.dev $(DD)pcxgray.dev $(DD)pcxmono.dev $(DD)pdfwrite.dev $(DD)pgm.dev $(DD)pgmraw.dev $(DD)pgnm.dev $(DD)pgnmraw.dev $(DD)pkm.dev $(DD)pkmraw.dev $(DD)pksm.dev $(DD)pksmraw.dev $(DD)plan.dev $(DD)plan9bm.dev $(DD)planc.dev $(DD)plang.dev $(DD)plank.dev $(DD)planm.dev $(DD)pnm.dev $(DD)pnmraw.dev $(DD)ppm.dev $(DD)ppmraw.dev $(DD)ps2write.dev $(DD)psdcmyk.dev $(DD)psdf.dev $(DD)psdrgb.dev $(DD)psgray.dev $(DD)psmono.dev $(DD)psrgb.dev $(DD)pswrite.dev $(DD)sgirgb.dev $(DD)spotcmyk.dev $(DD)sunhmono.dev $(DD)svgwrite.dev $(DD)txtwrite.dev $(DD)xcf.dev
520 DEVICE_DEVS2=$(DD)ap3250.dev $(DD)appledmp.dev $(DD)atx23.dev $(DD)atx24.dev $(DD)atx38.dev $(DD)bj10e.dev $(DD)bj200.dev $(DD)bjc600.dev $(DD)bjc800.dev $(DD)cdeskjet.dev $(DD)cdj500.dev $(DD)cdj550.dev $(DD)cdjcolor.dev $(DD)cdjmono.dev $(DD)cljet5.dev $(DD)cljet5c.dev $(DD)cljet5pr.dev $(DD)coslw2p.dev $(DD)coslwxl.dev $(DD)cp50.dev $(DD)declj250.dev $(DD)deskjet.dev $(DD)dj505j.dev $(DD)djet500.dev $(DD)djet500c.dev $(DD)dnj650c.dev $(DD)eps9high.dev $(DD)eps9mid.dev $(DD)epson.dev $(DD)epsonc.dev $(DD)escp.dev $(DD)fs600.dev $(DD)hl7x0.dev $(DD)ibmpro.dev $(DD)imagen.dev $(DD)iwhi.dev $(DD)iwlo.dev $(DD)iwlq.dev $(DD)jetp3852.dev $(DD)laserjet.dev $(DD)lbp8.dev $(DD)lips3.dev $(DD)lj250.dev $(DD)lj3100sw.dev $(DD)lj4dith.dev $(DD)lj4dithp.dev $(DD)lj5gray.dev $(DD)lj5mono.dev $(DD)ljet2p.dev $(DD)ljet3.dev $(DD)ljet3d.dev $(DD)ljet4.dev $(DD)ljet4d.dev $(DD)ljet4pjl.dev $(DD)ljetplus.dev $(DD)lp2563.dev $(DD)lp8000.dev $(DD)lq850.dev $(DD)lxm5700m.dev $(DD)m8510.dev $(DD)necp6.dev $(DD)oce9050.dev $(DD)oki182.dev $(DD)okiibm.dev $(DD)paintjet.dev $(DD)photoex.dev $(DD)picty180.dev $(DD)pj.dev $(DD)pjetxl.dev $(DD)pjxl.dev $(DD)pjxl300.dev $(DD)pxlcolor.dev $(DD)pxlmono.dev $(DD)r4081.dev $(DD)rinkj.dev $(DD)sj48.dev $(DD)st800.dev $(DD)stcolor.dev $(DD)t4693d2.dev $(DD)t4693d4.dev $(DD)t4693d8.dev $(DD)tek4696.dev $(DD)uniprint.dev
521 DEVICE_DEVS3=
522 DEVICE_DEVS4=
523 DEVICE_DEVS5=
524 DEVICE_DEVS6=$(DD)png16.dev $(DD)png16m.dev $(DD)png256.dev $(DD)png48.dev $(DD)pngalpha.dev $(DD)pnggray.dev $(DD)pngmono.dev
525 DEVICE_DEVS7=$(PSD)jbig2.dev
526 DEVICE_DEVS8=
527 DEVICE_DEVS9=
528 DEVICE_DEVS10=
529 DEVICE_DEVS11=
530 DEVICE_DEVS12=
531 DEVICE_DEVS13=
532 DEVICE_DEVS14=
533 DEVICE_DEVS15=
534 DEVICE_DEVS16=
535 DEVICE_DEVS17=
536 DEVICE_DEVS18=
537 DEVICE_DEVS19=
538 DEVICE_DEVS20=
539 DEVICE_DEVS21=
540
541
542 # Shared library target to build.
543 GS_SHARED_OBJS=
544
545 # ---------------------------- End of options --------------------------- #
546
547 # Define the name of the partial makefile that specifies options --
548 # used in dependencies.
549
550 MAKEFILE=Makefile
551 TOP_MAKEFILES=$(MAKEFILE) $(GLSRCDIR)/unixhead.mak
552
553 # Define the auxiliary program dependency. We don't use this.
554
555 AK=
556
557 # Define the compilation rules and flags.
558
559 CCFLAGS=$(GENOPT) $(CAPOPT) $(CFLAGS)
560 CC_=$(CC) $(CCFLAGS)
561 CCAUX_=$(CCAUX) $(CFLAGS)
562 CC_LEAF=$(CC_)
563 # note gcc can't use -fomit-frame-pointer with -pg.
564 CC_LEAF_PG=$(CC_)
565 # These are the specific warnings we have to turn off to compile those
566 # specific few files that need this. We may turn off others in the future.
567 CC_NO_WARN=$(CC_)
568 CCAUX_NO_WARN=$(CCAUX_)
569 CC_SHARED=$(CC_)
570
571 LD_SET_DT_SONAME=-soname=
572 FOR_MAC=
573
574 # MAKEDIRS = the dependency on ALL object files (must be the last one on
575 # the line. Requires GNU make to make it an 'order only' dependency
576 # MAKEDIRSTOP = the topmost dependency - set this if you can't set MAKEDIRS
577
578 MAKEDIRS=| directories
579 MAKEDIRSTOP=
580
581 # ---------------- End of platform-specific section ---------------- #
582
583 INSTALL_CONTRIB=
584 include $(GLSRCDIR)/unixhead.mak
585 include $(GLSRCDIR)/gs.mak
586 # psromfs.mak must precede lib.mak
587 include $(PSSRCDIR)/psromfs.mak
588 include $(GLSRCDIR)/lib.mak
589 include $(PSSRCDIR)/int.mak
590 include $(GLSRCDIR)/freetype.mak
591 include $(GLSRCDIR)/stub.mak
592 include $(GLSRCDIR)/jpeg.mak
593 # zlib.mak must precede png.mak
594 include $(GLSRCDIR)/zlib.mak
595 include $(GLSRCDIR)/png.mak
596 include $(GLSRCDIR)/tiff.mak
597 include $(GLSRCDIR)/jbig2.mak
598 include $(GLSRCDIR)/ldf_jb2.mak
599 include $(GLSRCDIR)/lwf_jp2.mak
600 include $(GLSRCDIR)/openjpeg.mak
601 include $(GLSRCDIR)/$(WHICH_CMS).mak
602 include $(GLSRCDIR)/ijs.mak
603
604
605 include $(GLSRCDIR)/devs.mak
606 include $(GLSRCDIR)/contrib.mak
607 include $(GLSRCDIR)/unix-aux.mak
608 include $(GLSRCDIR)/unixlink.mak
609 include $(GLSRCDIR)/unix-dll.mak
610 include $(GLSRCDIR)/unix-end.mak
611 include $(GLSRCDIR)/unixinst.mak
612
613
614
615 # Clean up after the autotools scripts
616 # configure.ac and Makefile.in are symlinks from a subdir
617 # (created by autogen.sh) and so are safe to remove
618 distclean : clean config-clean soclean pgclean debugclean mementoclean
619 -$(RM_) -r $(BINDIR) $(GLOBJDIR) $(PSOBJDIR) $(AUXDIR)
620 -$(RM_) -r autom4te.cache
621 -$(RM_) config.log config.status
622 -$(RM_) Makefile
623 # The following is *very* poor - we shouldn't be creating derived files in
624 # the source directory, but for now.....
625 -$(RM_) $(TIFFSRCDIR)$(D)libtiff$(D)tif_config.h $(TIFFSRCDIR)$(D)libtiff$(D)tiffconf.h
626
627 # a debug-clean target for consistency with the ghostpdl builds
628 debug-clean : debugclean
629
630 memento-clean : mementoclean
631
632 maintainer-clean : distclean
633 -$(RM_) configure.ac
634 -$(RM_) configure
635 -$(RM_) Makefile.in
636
637 check : default
638 $(NO_OP)
639