annotate src/ghostscript-mingw-i686-makefile @ 3792:1a2fec9962a7

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