annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3643
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # Copyright (C) 2001-2012 Artifex Software, Inc.
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
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 GLGENDIR=./$(BUILDDIRPREFIX)obj
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 GLOBJDIR=./$(BUILDDIRPREFIX)obj
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30 AUXDIR=$(GLGENDIR)/aux_
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31 PSSRCDIR=./psi
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
32 PSLIBDIR=./lib
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
33 PSRESDIR=./Resource
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34 PSGENDIR=./$(BUILDDIRPREFIX)obj
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
35 PSOBJDIR=./$(BUILDDIRPREFIX)obj
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
36 CONTRIBDIR=./contrib
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
37
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
38 # Do not edit the next group of lines.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
39
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
40 include $(GLSRCDIR)/version.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
41 DD=$(GLGENDIR)/
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
42 GLD=$(GLGENDIR)/
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
43 PSD=$(PSGENDIR)/
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
44
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
45 # ------ Generic options ------ #
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
46
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
47 # Define the installation commands and target directories for
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
48 # executables and files. The commands are only relevant to `make install';
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
49 # the directories also define the default search path for the
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
50 # initialization files (gs_*.ps) and the fonts.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
51
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
52 INSTALL = $(GLSRCDIR)/instcopy -c
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
53 INSTALL_PROGRAM = $(INSTALL) -m 755
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
54 INSTALL_DATA = $(INSTALL) -m 644
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
55 INSTALL_SHARED =
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
56
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
57 prefix = /usr/local
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
58 exec_prefix = ${prefix}
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
59 bindir = ${exec_prefix}/bin
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
60 scriptdir = $(bindir)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
61 includedir = ${prefix}/include
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
62 libdir = ${exec_prefix}/lib
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
63 mandir = ${datarootdir}/man
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
64 man1ext = 1
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
65 man1dir = $(mandir)/man$(man1ext)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
66 datadir = ${datarootdir}
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
67 datarootdir = ${prefix}/share
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
68
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
69 # The following must be substituted using ${datarootdir} and ${exec_prefix}/lib
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
70 # to avoid adding RPM generation paths (CUPS STR #1112)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
71 gsdir = ${datarootdir}/ghostscript
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
72 gsdatadir = $(gsdir)/$(GS_DOT_VERSION)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
73 gssharedir = ${exec_prefix}/lib/ghostscript/$(GS_DOT_VERSION)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
74 gsincludedir = ${prefix}/include/ghostscript/
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
75
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
76 docdir=$(gsdatadir)/doc
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
77 exdir=$(gsdatadir)/examples
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
78 GS_DOCDIR=$(docdir)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
79
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
80 # Define install location for 'cups' device/filter support
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
81 CUPSCFLAGS=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
82 CUPSLIBS=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
83 CUPSLIBDIRS=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
84 CUPSSERVERBIN=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
85 CUPSSERVERROOT=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
86 CUPSDATA=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
87 CUPSPDFTORASTER=0
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
88
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
89 CUPSINSTTARGET=
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 # Choose whether to compile the .ps initialization files into the executable.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
92 # See gs.mak for details.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
93
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
94 COMPILE_INITS=1
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 # Define the default directory/ies for the runtime
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
97 # initialization and font files. Separate multiple directories with a :.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
98
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
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
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
100
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
101 # Define the default directory for cached data files
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
102 # this must be a single path.
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 GS_CACHE_DIR="~/.ghostscript/cache/"
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
105
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
106 # Define whether or not searching for initialization files should always
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
107 # 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
108 # and confusion problems, but may be convenient sometimes.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
109
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
110 SEARCH_HERE_FIRST=0
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
111
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
112 # Define the name of the interpreter initialization file.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
113 # (There is no reason to change this.)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
114
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
115 GS_INIT=gs_init.ps
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
116
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
117 # Choose generic configuration options.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
118
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
119 TARGET_ARCH_FILE=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
120
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
121 # -DDEBUG
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
122 # includes debugging features (-Z switch) in the code.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
123 # Code runs substantially slower even if no debugging switches
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
124 # are set.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
125
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
126 GENOPT=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
127
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
128 # Choose capability options.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
129
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
130 # -DHAVE_BSWAP32
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
131 # use bswap32 intrinsic
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
132 # -DHAVE_BYTESWAP_H
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
133 # use byteswap.h functions
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
134 #
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
135 # -DHAVE_MKSTEMP
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
136 # uses mkstemp instead of mktemp
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
137 # This uses the more secure temporary file creation call
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
138 # Enable this if it is available on your platform.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
139 # -DHAVE_FILE64
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
140 # use marked versions of the stdio FILE calls, fopen64() et al.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
141 #
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
142 # -DHAVE_MKSTEMP64
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
143 # use non-standard function mkstemp64()
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
144 #
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
145 # -DHAVE_LIBIDN
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
146 # use libidn to canonicalize Unicode passwords
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
147 #
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
148 # -DHAVE_SETLOCALE
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
149 # call setlocale(LC_CTYPE) when running as a standalone app
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
150 # -DHAVE_SSE2
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
151 # use sse2 intrinsics
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
152
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
153 CAPOPT= -DHAVE_FILE64 -DHAVE_SETLOCALE -DHAVE_BSWAP32 -DHAVE_STRERROR
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
154
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
155 # Define the name of the executable file.
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 GS=gs.exe
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
158
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
159 # Define the directories for debugging and profiling binaries, relative to
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
160 # the standard binaries.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
161
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
162 DEBUGDIRPREFIX=debug
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
163 MEMENTODIRPREFIX=mem
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
164 PGDIRPREFIX=pg
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
165
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
166 # 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
167 # the source tree is location. Otherwise, what library name to use
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
168 # in linking to a shared implementation.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
169
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
170 FT_BRIDGE=1
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
171 SHARE_FT=0
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
172 FTSRCDIR=freetype
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
173 FT_CFLAGS=-Ifreetype/include
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
174 FT_LIBS=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
175 FT_CONFIG_SYSTEM_ZLIB=
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 # 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
178 # 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
179 # (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
180
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
181 UFST_ROOT=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
182 UFST_LIB_EXT=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
183
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
184 UFST_ROMFS_ARGS?=-b \
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
185 -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
186 -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
187 -c -P $(PSSRCDIR)/../lib/ -d Resource/Init/ FAPIconfig-FCO
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 UFSTROMFONTDIR=\"%rom%fontdata/\"
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
190 UFSTDISCFONTDIR?=\"$(UFST_ROOT)/fontdata/\"
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
191
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
192
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
193 UFST_CFLAGS=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
194
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
195 # Define the directory where the IJG JPEG library sources are stored,
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
196 # and the major version of the library that is stored there.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
197 # 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
198 # See jpeg.mak for more information.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
199
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
200 JSRCDIR=jpeg
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
201
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
202 # 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
203 # 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
204 # some older JPEG streams that violate the standard. If the JPEG
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
205 # library built from local sources, the patch will be applied.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
206
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
207 SHARE_JPEG=1
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
208 JPEG_NAME=jpeg
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
209
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
210 # Define the directory where the PNG library sources are stored,
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
211 # and the version of the library that is stored there.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
212 # You may need to change this if the libpng version changes.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
213 # See png.mak for more information.
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 SHARE_LIBPNG=1
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
216 PNGSRCDIR=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
217 LIBPNG_NAME=png
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
218
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
219 # libtiff
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
220 SHARE_LIBTIFF=1
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
221 TIFFSRCDIR=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
222 TIFFPLATFORM=unix
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
223 TIFFCONFIG_SUFFIX=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
224 LIBTIFF_NAME=tiff
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
225
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
226 # Define the directory where the zlib sources are stored.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
227 # See zlib.mak for more information.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
228
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
229 SHARE_ZLIB=0
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
230 ZSRCDIR=zlib
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
231 #ZLIB_NAME=gz
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
232 ZLIB_NAME=z
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
233
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
234 # Choose shared or compiled in libjbig2dec and source location
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
235 # JBIG2_LIB=jbig2dec
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
236 JBIG2_LIB=jbig2dec
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
237 SHARE_JBIG2=0
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
238 JBIG2SRCDIR=jbig2dec
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
239 JBIG2_CFLAGS=-DHAVE_STDINT_H=1
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
240
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
241 # 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
242 # compile in the Luratech ldf_jb2 codec
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
243 #JBIG2_LIB=luratech
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
244 #SHARE_JBIG2=0
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
245 #JBIG2SRCDIR=ldf_jb2
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
246 #JBIG2_CFLAGS=-DUSE_LDF_JB2 -DLINUX
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
247 #JBIG2_CFLAGS=-DUSE_LDF_JB2 -DMAC -DMAC_OS_X_BUILD
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
248
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
249
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
250 # Choose the library to use for (JPXDecode support)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
251 # 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
252 # and source location and configuration flags for compiling in
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
253 JPX_LIB=openjpeg
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
254 SHARE_JPX=0
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
255 JPXSRCDIR=openjpeg
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
256 JPX_CFLAGS=-DUSE_OPENJPEG_JP2 -D"memalign(a,b)=malloc(b)"
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
257
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
258 # 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
259 # compile in the Luratech lwf_jp2 codec
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
260 #JPX_LIB=luratech
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
261 #SHARE_JPX=0
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
262 #JPXSRCDIR=lwf_jp2
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
263 #JPX_CFLAGS=-DUSE_LWF_JP2 -DLINUX
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
264 #JPX_CFLAGS=-DUSE_LWF_JP2 -DMAC -DMAC_OS_X_BUILD
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
265
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
266 # Uncomment the following 4 lines to to compile in OpenJPEG codec
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
267 #JPX_LIB=openjpeg
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
268 #SHARE_JPX=0
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
269 #JPXSRCDIR=openjpeg
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
270 #JPX_CFLAGS=-DUSE_OPENJPEG_JP2 -DOPJ_STATIC
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
271
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
272 # options for lcms color management library
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
273 SHARE_LCMS=0
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
274 LCMSSRCDIR=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
275 LCMS2SRCDIR=lcms2
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
276 LCMS_CFLAGS=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
277 LCMS2_CFLAGS=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
278
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
279 # Which CMS are we using?
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
280 # Options are currently lcms or lcms2
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
281 WHICH_CMS=lcms2
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
282
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
283 # Define the directory where the ijs source is stored,
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
284 # and the process forking method to use for the server.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
285 # See ijs.mak for more information.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
286
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
287 SHARE_IJS=0
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
288 IJS_NAME=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
289 IJSSRCDIR=src
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
290 IJSEXECTYPE=unix
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
291
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
292
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
293 SHARE_LCUPS=1
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
294 LCUPS_NAME=cups
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
295 LCUPSSRCDIR=cups
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
296 LCUPSBUILDTYPE=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
297 CUPS_CC=$(CC)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
298
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
299 SHARE_LCUPSI=1
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
300 LCUPSI_NAME=cupsimage
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
301 LCUPSISRCDIR=cups
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
302 CUPS_CC=$(CC)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
303
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
304
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
305 # 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
306 # standard configuration.)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
307
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
308 AR=ar
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
309 ARFLAGS=qc
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
310 RANLIB=ranlib
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
311
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
312 # ------ Platform-specific options ------ #
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
313
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
314 # Define the name of the C compiler (target and host (AUX))
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
315
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
316 CC=gcc
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
317 CCAUX=gcc
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
318
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
319 # Define the name of the linker for the final link step.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
320 # Normally this is the same as the C compiler.
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 CCLD=$(CC)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
323 CCAUXLD=$(CCAUX)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
324
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
325 # Define the default gcc flags.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
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
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
327
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
328 # Define the added flags for standard, debugging, profiling
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
329 # and shared object builds.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
330
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
331 CFLAGS_STANDARD= -O
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
332 CFLAGS_DEBUG=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
333 CFLAGS_PROFILE=-pg -O
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
334 CFLAGS_SO=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
335
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
336 # 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
337 # -DBSD4_2 for 4.2bsd systems.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
338 # -DSYSV for System V or DG/UX.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
339 # -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
340 # 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
341 # -DSVR4 -DSVR4_0 (not -DSYSV) for System V release 4.0.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
342 # -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
343 # XCFLAGS can be set from the command line.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
344 # 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
345 # specific stuff that <math.h> typically needs; nevertheless, we expect
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
346 # gcc to accept ANSI-style function prototypes and function definitions.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
347 # CFLAGS from autoconf
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
348 AC_CFLAGS=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
349
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
350 # fontconfig flags, used by unix-aux.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
351 FONTCONFIG_CFLAGS=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
352 FONTCONFIG_LIBS=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
353
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
354 # DBus flags, used by cups.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
355 DBUS_CFLAGS=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
356 DBUS_LIBS=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
357
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
358 # 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
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
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
360
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
361 CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(AC_CFLAGS) $(XCFLAGS)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
362
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
363 # Define platform flags for ld.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
364 # SunOS 4.n may need -Bstatic.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
365 # 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
366 # parameters set to 1 may need
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
367 # -R /usr/local/xxx/lib:/usr/local/lib
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
368 # giving the full path names of the shared library directories.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
369 # XLDFLAGS can be set from the command line.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
370 # AC_LDFLAGS from autoconf
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
371 AC_LDFLAGS=
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 LDFLAGS= $(AC_LDFLAGS) $(XLDFLAGS)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
374
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
375 # Define any extra libraries to link into the executable.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
376 # ISC Unix 2.2 wants -linet.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
377 # 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
378 # SVR4 may need -lnsl.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
379 # Solaris may need -lnsl -lsocket -lposix4.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
380 # (Libraries required by individual drivers are handled automatically.)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
381
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
382 EXTRALIBS=$(XTRALIBS) -lm -liconv
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
383 AUXEXTRALIBS=$(XTRALIBS) -lm
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
384
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
385 # Define the standard libraries to search at the end of linking.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
386 # Most platforms require -lpthread for the POSIX threads library;
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
387 # 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
388 # include pthreads in libc and don't require any additional library.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
389 # All reasonable platforms require -lm, but Rhapsody and perhaps one or
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
390 # 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
391
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
392 STDLIBS= -lm
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
393
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
394 # Define the include switch(es) for the X11 header files.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
395 # 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
396 # 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
397
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
398 XINCLUDE=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
399
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
400 # 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
401 # 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
402 # (dynamic libraries on SVR4) and should not include -L.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
403 # 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
404 # 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
405
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
406 # Solaris and other SVR4 systems with dynamic linking probably want
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
407 #XLIBDIRS=-L/usr/openwin/lib -R/usr/openwin/lib
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
408 # X11R6 (on any platform) may need
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
409 #XLIBS=Xt SM ICE Xext X11
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
410
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
411 # 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
412 # 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
413 # all three of which are stripped and slotted into XLIBS below.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
414 # Usually however, all but X_LIBS are empty on modern platforms.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
415 XLIBDIRS=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
416 XLIBDIR=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
417 #XLIBS=Xt Xext X11
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
418 XLIBS=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
419
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
420 # Define the .dev module that implements thread and synchronization
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
421 # primitives for this platform.
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 # 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
424 # the pthread library. Otherwise use SYNC=nosync
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
425 #SYNC=posync
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
426 #SYNC=nosync
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
427 SYNC=nosync
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
428
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
429 # programs we use
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
430 RM=rm -f
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 # ------ Dynamic loader options ------- #
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
433 SOC_CFLAGS =
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
434 SOC_LIBS =
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
435 SOC_LOADER = dxmainc.c
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
436
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
437 # on virtually every Unix-a-like system, this is "so",
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
438 # 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
439 # by configure
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
440 DYNANIC_LIB_EXT = so
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
441
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
442 #CAIRO_CFLAGS = @CAIRO_CFLAGS@
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
443 #CAIRO_LIBS = @CAIRO_LIBS@
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
444
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
445 # ------ Devices and features ------ #
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
446
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
447 # 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
448
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
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
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
450 #FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
451 #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
452 # The following is strictly for testing.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
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
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
454 #FEATURE_DEVS=$(FEATURE_DEVS_ALL)
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 # 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
457 # 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
458 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
459
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
460 # Choose whether to store band lists on files or in memory.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
461 # The choices are 'file' or 'memory'.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
462
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
463 BAND_LIST_STORAGE=file
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
464
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
465 # 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
466 # The choices are 'lzw' or 'zlib'.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
467
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
468 BAND_LIST_COMPRESSOR=zlib
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 # Choose the implementation of file I/O: 'stdio', 'fd', or 'both'.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
471 # See gs.mak and sfxfd.c for more details.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
472
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
473 FILE_IMPLEMENTATION=stdio
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
474
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
475 # 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
476 # See gs.mak and ziodevs.c/ziodevsc.c for more details.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
477
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
478 STDIO_IMPLEMENTATION=c
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
479
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
480 # 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
481 # present in the actual build.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
482 GS_DEV_DEFAULT="x11alpha bbox"
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 # Fallback default device. This is set to 'display' by
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
485 # unix-dll.mak when building a shared object.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
486 DISPLAY_DEV=$(DD)bbox.dev
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
487
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
488 # Choose the device(s) to include. See devs.mak for details,
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
489 # devs.mak and contrib.mak for the list of available devices.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
490
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
491 #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
492 #DEVICE_DEVS=$(DISPLAY_DEV) @X11DEVS@
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
493 #DEVICE_DEVS=$(DISPLAY_DEV) @X_DEVS@
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
494
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
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
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
496 #DEVICE_DEVS2=#$(DD)gdevjbig2.dev $(DD)gdevjpx.dev #$(DD)rinkj.dev
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
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
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
498 #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
499 #DEVICE_DEVS5=$(DD)uniprint.dev @IJSDEVS@
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
500 #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
501 #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
502 #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
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
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
504 #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
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
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
506 #DEVICE_DEVS12=$(DD)psmono.dev $(DD)psgray.dev $(DD)psrgb.dev $(DD)bit.dev $(DD)bitrgb.dev $(DD)bitcmyk.dev
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
507 #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
508 #DEVICE_DEVS13=@PNGDEVS@
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
509 #DEVICE_DEVS14=$(DD)jpeg.dev $(DD)jpeggray.dev
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
510 #DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)pswrite.dev $(DD)ps2write.dev $(DD)epswrite.dev $(DD)txtwrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
511 #DEVICE_DEVS16=$(DD)bbox.dev
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
512
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
513 #DEVICE_DEVS17=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
514 #DEVICE_DEVS18=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
515 #DEVICE_DEVS19=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
516 #DEVICE_DEVS20=$(DD)cljet5.dev $(DD)cljet5c.dev
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
517 #DEVICE_DEVS21=$(DD)spotcmyk.dev $(DD)devicen.dev $(DD)xcf.dev $(DD)psdcmyk.dev $(DD)psdrgb.dev
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
518 DEVICE_DEVS=$(DISPLAY_DEV)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
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
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
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
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
521 DEVICE_DEVS3=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
522 DEVICE_DEVS4=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
523 DEVICE_DEVS5=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
524 DEVICE_DEVS6=$(DD)png16.dev $(DD)png16m.dev $(DD)png256.dev $(DD)png48.dev $(DD)pngalpha.dev $(DD)pnggray.dev $(DD)pngmono.dev
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
525 DEVICE_DEVS7=$(PSD)jbig2.dev
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
526 DEVICE_DEVS8=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
527 DEVICE_DEVS9=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
528 DEVICE_DEVS10=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
529 DEVICE_DEVS11=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
530 DEVICE_DEVS12=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
531 DEVICE_DEVS13=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
532 DEVICE_DEVS14=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
533 DEVICE_DEVS15=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
534 DEVICE_DEVS16=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
535 DEVICE_DEVS17=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
536 DEVICE_DEVS18=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
537 DEVICE_DEVS19=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
538 DEVICE_DEVS20=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
539 DEVICE_DEVS21=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
540
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
541
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
542 # Shared library target to build.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
543 GS_SHARED_OBJS=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
544
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
545 # ---------------------------- End of options --------------------------- #
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
546
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
547 # Define the name of the partial makefile that specifies options --
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
548 # used in dependencies.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
549
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
550 MAKEFILE=Makefile
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
551 TOP_MAKEFILES=$(MAKEFILE) $(GLSRCDIR)/unixhead.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
552
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
553 # Define the auxiliary program dependency. We don't use this.
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 AK=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
556
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
557 # Define the compilation rules and flags.
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 CCFLAGS=$(GENOPT) $(CAPOPT) $(CFLAGS)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
560 CC_=$(CC) $(CCFLAGS)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
561 CCAUX_=$(CCAUX) $(CFLAGS)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
562 CC_LEAF=$(CC_)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
563 # note gcc can't use -fomit-frame-pointer with -pg.
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
564 CC_LEAF_PG=$(CC_)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
565 # 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
566 # 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
567 CC_NO_WARN=$(CC_)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
568 CCAUX_NO_WARN=$(CCAUX_)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
569 CC_SHARED=$(CC_)
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 LD_SET_DT_SONAME=-soname=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
572 FOR_MAC=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
573
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
574 # 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
575 # 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
576 # 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
577
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
578 MAKEDIRS=| directories
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
579 MAKEDIRSTOP=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
580
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
581 # ---------------- End of platform-specific section ---------------- #
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
582
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
583 INSTALL_CONTRIB=
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
584 include $(GLSRCDIR)/unixhead.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
585 include $(GLSRCDIR)/gs.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
586 # psromfs.mak must precede lib.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
587 include $(PSSRCDIR)/psromfs.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
588 include $(GLSRCDIR)/lib.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
589 include $(PSSRCDIR)/int.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
590 include $(GLSRCDIR)/freetype.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
591 include $(GLSRCDIR)/stub.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
592 include $(GLSRCDIR)/jpeg.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
593 # zlib.mak must precede png.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
594 include $(GLSRCDIR)/zlib.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
595 include $(GLSRCDIR)/png.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
596 include $(GLSRCDIR)/tiff.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
597 include $(GLSRCDIR)/jbig2.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
598 include $(GLSRCDIR)/ldf_jb2.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
599 include $(GLSRCDIR)/lwf_jp2.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
600 include $(GLSRCDIR)/openjpeg.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
601 include $(GLSRCDIR)/$(WHICH_CMS).mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
602 include $(GLSRCDIR)/ijs.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
603
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
604
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
605 include $(GLSRCDIR)/devs.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
606 include $(GLSRCDIR)/contrib.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
607 include $(GLSRCDIR)/unix-aux.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
608 include $(GLSRCDIR)/unixlink.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
609 include $(GLSRCDIR)/unix-dll.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
610 include $(GLSRCDIR)/unix-end.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
611 include $(GLSRCDIR)/unixinst.mak
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
612
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
613
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
614
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
615 # Clean up after the autotools scripts
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
616 # configure.ac and Makefile.in are symlinks from a subdir
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
617 # (created by autogen.sh) and so are safe to remove
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
618 distclean : clean config-clean soclean pgclean debugclean mementoclean
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
619 -$(RM_) -r $(BINDIR) $(GLOBJDIR) $(PSOBJDIR) $(AUXDIR)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
620 -$(RM_) -r autom4te.cache
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
621 -$(RM_) config.log config.status
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
622 -$(RM_) Makefile
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
623 # The following is *very* poor - we shouldn't be creating derived files in
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
624 # the source directory, but for now.....
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
625 -$(RM_) $(TIFFSRCDIR)$(D)libtiff$(D)tif_config.h $(TIFFSRCDIR)$(D)libtiff$(D)tiffconf.h
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 # a debug-clean target for consistency with the ghostpdl builds
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
628 debug-clean : debugclean
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
629
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
630 memento-clean : mementoclean
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
631
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
632 maintainer-clean : distclean
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
633 -$(RM_) configure.ac
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
634 -$(RM_) configure
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
635 -$(RM_) Makefile.in
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 check : default
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
638 $(NO_OP)
f2503a486cce ghostscript: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
639