-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdefs.in
375 lines (348 loc) · 11.7 KB
/
defs.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
# $Id$
#
# @WARNING@
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1988-1996 Sam Leffler
# Copyright (c) 1991-1996 Silicon Graphics, Inc.
# HylaFAX is a trademark of Silicon Graphics
#
# Permission to use, copy, modify, distribute, and sell this software and
# its documentation for any purpose is hereby granted without fee, provided
# that (i) the above copyright notices and this permission notice appear in
# all copies of the software and related documentation, and (ii) the names of
# Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written
# permission of Sam Leffler and Silicon Graphics.
#
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
#
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
# OF THIS SOFTWARE.
#
#
# VERSION: @VERSION@
# DATE: @DATE@
# TARGET: @TARGET@
# CCOMPILER: @CCOMPILER@
# CXXCOMPILER: @CXXCOMPILER@
#
@SETMAKE@
MAKEFILE = Makefile
SHELL = @SCRIPT_SH@
VERSION = @VERSION@
ABI_VERSION = @ABI_VERSION@
ABI_PATCH = @ABI_PATCH@
#
# Directory locations setup at configuration time.
# Note that changing these parameters here is likely
# to insufficient; you are better off rerunning the
# configure script so that all uses are set correctly.
#
SPOOL = @SPOOL@
SBIN = @SBIN@
BIN = @BIN@
LIBDATA = @LIBDATA@
LIBDIR = @LIBDIR@
LIBEXEC = @LIBEXEC@
FONTMAP = @FONTMAP@
FONTPATH = @FONTPATH@
SENDMAIL = @SENDMAIL@
#
TOPSRCDIR = @SRCDIR@
PORT = ${DEPTH}/port
SRCDIR = ${DEPTH}/${TOPSRCDIR}/${SUBDIR}
VPATH = ${DEPTH}/${TOPSRCDIR}/${SUBDIR}
#
# PostScript imaging support to setup for the default
# installation. This should be one of "gs" or "dps"
# according to whether Ghostscript or the DPS-based
# SGI tool is to be used.
#
PSPACKAGE = @PSPACKAGE@
#
# Basic tools used in the build process.
#
C++ = @CXXCOMPILER@
CC = @CCOMPILER@
AR = @AR@
AROPTS = @AROPTS@
RANLIB = @RANLIB@
MKDEPEND = @MKDEPEND@
#
# Programs used during installation.
#
INSTALL = @INSTALL@ ${INSTALL_OPTS}
ECHO = @ECHO@
FUSER = @FUSER@
GREP = @GREP@
RM = @RM@
PWDCMD = @PWDCMD@
MKDIR = @MKDIR@
NAWK = @AWK@
SED = @SED@
SORT = @SORT@
TTYCMD = @TTYCMD@
#
PRODUCT = hylafax
GENDIST = @GENDIST@ # for SGI systems
#
# Uid&Gid for installing server stuff. Note that the server process
# proper (/usr/etc/faxd or similar) must either run setuid root or
# setuid uucp (i.e. fax and uucp must have the same uid). This is
# so that the fax server can participate in the UUCP locking scheme
# and thereby implement tty line sharing (i.e. share the same line
# and modem for both fax and data).
#
FAXUSER = @FAXUID@
FAXGROUP = @FAXGID@
#
# Ownership of system directories that might be created at install time
#
SYSUSER = @SYSUID@
SYSGROUP = @SYSGID@
DIRMODE = 755
#
# Enable Dynamic Shared Object (DSO) support if appropriate.
#
# DSO is the suffix for a DSO file (e.g. ".so"). If DSO's are
# not supported on a system then set this to ".a" to get static
# linking of the appropriate libraries.
#
# DSOOPTS are options to CCF/C++F when creating a DSO.
# DSODELAY is the option to supply when building a DSO with libraries
# that should be ``lazy loaded'' (e.g. because they are infrequently
# used)
# LLDOPTS is intended to be used to pass options that force searching
# for DSO's that are stuck in non-standard system locations
#
DSO = @DSOSUF@
DSOOPTS = @DSOOPTS@
DSODELAY = @DSODELAY@
LLDOPTS = @LLDOPTS@
#
# Default optimizer and prototype options
#
OPTIMIZER = @OPTIMIZER@
CVERSION = @ENVOPTS@
C++FILE = @CXXFILE@
# default definitions for programs--overide them as desired
LIBS = ${UTIL}/libhylafax-${ABI_VERSION}.${DSO}
LLDLIBS = -L${UTIL} -lhylafax-${ABI_VERSION} @LIBJBIG@ ${LIBTIFF} ${LIBINTL} ${LIBZ} ${LIBREGEX} ${LIBPORT} ${MACHDEPLIBS}
#
# Override this definition to eliminate shared library use.
#
SHDLIBC = @SHDLIBC@
#
# Libraries that may vary from machine to machine (especially if
# you use GNU GCC instead of AT&T C++).
#
MACHDEPLIBS = @MACHDEPLIBS@
#
# I18N-related definitions. The source for the INTL library
# is not required to build this software, but you must have
# the INTL library installed somewhere on your system to link
# against. If the default "-lintl" is insufficient to locate
# the library, you can setup a config.local file that defines
# LIBINTL and/or INTLINC (used to find libintl.h)
INTLINC = @INTLINC@
LIBINTL = @LIBINTL@
#
#
# TIFF-related definitions. The source for the TIFF library
# is not required to build this software, but you must have
# the TIFF library installed somewhere on your system to link
# against. If the default "-L /usr/local/lib -ltiff" is
# insufficient to locate the library you can setup a config.local
# file that defines LIBTIFF and/or TIFFINC (used to find tiffio.h)
#
TIFFINC = @TIFFINC@
LIBTIFF = @LIBTIFF@
TIFFBIN = @TIFFBIN@
#
# zlib-related definitions. The source for the zlib library
# is not required to build this software, but you must have
# the zlib library installed somewhere on your system to link
# against. If the default "-L /usr/local/lib -lz" is
# insufficient to locate the library you can setup a config.local
# file that defines LIBZ and/or ZINC (used to find zlib.h)
#
ZLIBINC = @ZLIBINC@
LIBZ = @LIBZ@
#
# regex-related definitions. The source for the POSIX regular
# expression package is not required to build this software,
# but you must have the resulting library installed somewhere
# on your system to link against. If the default value
# "-L /usr/local/lib -lregex" is insufficient to locate the
# library you can setup a config.local file that defines LIBREGEX
# and/or REGEXINC
#
REGEXINC = @REGEXINC@
LIBREGEX = @LIBREGEX@
# random utility functions and classes
UTIL = ${DEPTH}/libhylafax
FAXD = ${DEPTH}/faxd
LIBPORT = @LIBPORT@
LIBPAM = @LIBPAM@
LIBUTIL = @LIBUTIL@
LIBCRYPT = @LIBCRYPT@
#
# Definitions used by common rules.
#
COMMONRULES = ${DEPTH}/rules
COMMONTARGS = clobber clean rmtargets depend incdepend
#
# C compiler flags are composed of variable (set on the command line),
# local (defined in the makefile), and global (defined in this file)
# parts, in that order. This ordering is used so that variable or
# locally specified include directories are searched before the globally
# specified ones.
#
CFLAGS = ${CVERSION} ${VCFLAGS} ${LCFLAGS} ${GCFLAGS}
VCFLAGS = ${VCDEFS} ${VCINCS} ${VCOPTS}
LCFLAGS = ${LCDEFS} ${LCINCS} ${LCOPTS}
GCFLAGS = ${GCDEFS} ${GCINCS} ${GCOPTS}
COPTS = ${VCOPTS} ${LCOPTS} ${GCOPTS}
CDEFS = ${VCDEFS} ${LCDEFS} ${GCDEFS}
CINCS = ${VCINCS} ${LCINCS} ${GCINCS}
GCOPTS = @GCOPTS@ ${OPTIMIZER} @PROTOTYPES@
GCDEFS = @ANSICPP@
GCINCS = -I. -I${DEPTH} -I${SRCDIR} \
-I${DEPTH}/${TOPSRCDIR}/libhylafax ${REGEXINC} ${TIFFINC} ${INTLINC}
#
# C++ flags are decomposed using the same hierarchy as C flags.
#
C++FLAGS = ${CVERSION} ${VC++FLAGS} ${LC++FLAGS} ${GC++FLAGS}
VC++FLAGS = ${VC++DEFS} ${VC++INCS} ${VC++OPTS}
LC++FLAGS = ${LC++DEFS} ${LC++INCS} ${LC++OPTS}
GC++FLAGS = ${GC++DEFS} ${GC++INCS} ${GC++OPTS}
C++OPTS = ${VC++OPTS} ${LC++OPTS} ${GC++OPTS}
C++DEFS = ${VC++DEFS} ${LC++DEFS} ${GC++DEFS}
C++INCS = ${VC++INCS} ${LC++INCS} ${GC++INCS}
GC++OPTS = @GCXXOPTS@ ${OPTIMIZER}
GC++INCS = -I. -I${DEPTH} -I${SRCDIR} \
-I${DEPTH}/${TOPSRCDIR}/libhylafax ${REGEXINC} ${TIFFINC} ${INTLINC}
GC++DEFS = @ANSICXXPP@
#
# Loader flags, composed of library (-l's) and option parts, with
# the libraries appearing last. Both of these are divided into variable,
# local, and global parts. The composition of LDFLAGS is done in the
# other "direction" from CFLAGS so that all the -L's, that are part of
# LDOPTS, appear before any of the -l's, which are part of LDLIBS.
# Another benefit of segregating the libraries from the remaining of the
# loader options is that the libraries alone can easily be given to
# another program, e.g., lint.
#
# Notes:
# - If a program should not be linked with the shared version of libc,
# then its make file should override the setting of SHDLIBC with a
# line such as "SHDLIBC=".
#
LDFLAGS = ${LDOPTS} ${LDLIBS}
LDOPTS = ${VLDOPTS} ${LLDOPTS} ${GLDOPTS}
LDLIBS = ${VLDLIBS} ${LLDLIBS} ${GLDLIBS}
GLDOPTS =
GLDLIBS = ${SHDLIBC}
#
# Convenient command macros that include the flags macros.
#
C++F = ${C++} ${C++FLAGS}
CCF = ${CC} ${CFLAGS}
#
# Shell script for generating make dependencies. MKDEPEND is a shorthand
# for the tool's absolute pathname. MKDEPENDC adds MKDEPCFLAGS and the -c
# mkdepend option to this. The other language's mkdepend variables try to
# include their language's name in the variable names. Unfortunately, a
# lot of makefiles already use the nondescript LMKDEPFLAGS for C language
# mkdepend options, so we initialize LMKDEPCFLAGS with ${LMKDEPFLAGS}.
#
MKDEPENDC++ = ${MKDEPEND} ${MKDEPC++FLAGS} -c \
"${C++F} ${C++FILE} -c -M @MKDEPCXXOPTS@"
MKDEPENDC = ${MKDEPEND} ${MKDEPCFLAGS} -c "${CCF} -c -M @MKDEPCOPTS@"
MKDEPC++FLAGS = ${VMKDEPC++FLAGS} ${LMKDEPC++FLAGS} ${GMKDEPC++FLAGS}
MKDEPCFLAGS = ${VMKDEPCFLAGS} ${LMKDEPCFLAGS} ${GMKDEPCFLAGS}
LMKDEPCFLAGS = ${LMKDEPFLAGS}
GMKDEPFLAGS = -e 's@ ${INCLDIR}/@ $${INCLDIR}/@'
GMKDEPC++FLAGS = ${GMKDEPFLAGS} -s C++ -e 's@\.c++\.o *: @\.o: @'
GMKDEPCFLAGS = ${GMKDEPFLAGS}
#
# Macro to add to LMKDEPCFLAGS or LMKDEPC++FLAGS if your makefile builds
# single-source programs using null suffix rules (e.g., .c:}. This option
# works for both C and C++ make depend.
#
NULLSUFFIX_MKDEPFLAG=-e 's@\.o+*:@:@'
#
# MKDEPFILE is the name of the dependency database, included by rules.
#
MKDEPFILE = Makedepend
#
# CDEPFILES lists all C or cc-compiled source files that depend on header
# files computable by ${MKDEPENDC}. C++DEPFILES lists all C++ files having
# dependencies computable by ${MKDEPENDC++}.
#
C++DEPFILES = ${C++FILES}
CDEPFILES = ${CFILES}
DEPFILES = ${C++DEPFILES} ${CDEPFILES}
#
# Directory shorthands, mainly for make depend (see GMKDEPFLAGS above).
#
INCLDIR = /usr/include
#
# Manual-related controls:
#
# MAN head of manual tree
# MANAPPS subdirectory for client stuff in BIN
# MANSYS subdirectory for server & server-related apps
# MANFILES subdirectory for file format info
#
MAN = @MANDIR@
MANAPPS = @MANAPPS@
MANSYS = @MANSYS@
MANFILES = @MANFILES@
#
# MANNUM4_5 specification of manpage numbering for 4, 4F, 5, or 5F
# MANNUM1_8 specification of manpage numbering for 8, 8C, or 1M
# MANCVT command to convert source to installable target (can use
# $? and $@, but not $<)
MANNUM4_5 = @MANNUM4_5@
MANNUM1_8 = @MANNUM1_8@
MANCVT = @MANCVT@
#
# The following macros are used during the install step to generate
# the filenames of the target manual pages. They appear inside a
# shell for loop in a command of the form:
#
# f=${MAN*NAME}
#
# where the variable ``i'' contains the filename of the formatted
# manual page (formatted according to the MANCVT macro).
#
# MANCAPPNAME generate installed client app man page filename
# MANCFILENAME generate installed client file format man page filename
# MANSAPPNAME generate installed server app man page filename
# MANSFILENAME generate installed server file format man page filename
#
#
MANCAPPNAME = @MANCAPPNAME@
MANCFILENAME = @MANCFILENAME@
MANSAPPNAME = @MANSAPPNAME@
MANSFILENAME = @MANSFILENAME@
#
# NLS Support
#
# All translations listed here must have a translated po/${LANG}.po file
#
LOCALEDIR = @LOCALEDIR@
LANGUAGES = nl es vi id de
XGETTEXT = @XGETTEXT@
MSGMERGE = @MSGMERGE@
MSGFMT = @MSGFMT@
MSGCAT = @MSGCAT@