File: Makedefs.in

package info (click to toggle)
cups 1.4.4-7+squeeze10
  • links: PTS, VCS
  • area: main
  • in suites: squeeze-lts
  • size: 25,548 kB
  • ctags: 9,583
  • sloc: ansic: 138,214; sh: 37,926; cpp: 25,469; makefile: 3,285; perl: 190; python: 127; php: 28
file content (293 lines) | stat: -rw-r--r-- 7,257 bytes parent folder | download | duplicates (2)
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
#
# "$Id: Makedefs.in 9120 2010-04-23 18:56:34Z mike $"
#
#   Common makefile definitions for CUPS.
#
#   Copyright 2007-2010 by Apple Inc.
#   Copyright 1997-2007 by Easy Software Products, all rights reserved.
#
#   These coded instructions, statements, and computer programs are the
#   property of Apple Inc. and are protected by Federal copyright
#   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
#   which should have been included with this file.  If this file is
#   file is missing or damaged, see the license at "http://www.cups.org/".
#

#
# Programs...
#

AR		=	@AR@
AWK		=	@AWK@
CC		=	@LIBTOOL@ @CC@
CHMOD		=	@CHMOD@
CXX		=	@LIBTOOL@ @CXX@
DSO		=	@DSO@
DSOXX		=	@DSOXX@
HTMLDOC		=	@HTMLDOC@
INSTALL		=	@INSTALL@
LD		=	@LD@
LIBTOOL		=	@LIBTOOL@
LN		=	@LN@ -sf
MV		=	@MV@
PHPCONFIG	=	@PHPCONFIG@
RANLIB		=	@RANLIB@
RM		=	@RM@ -f
RMDIR		=	@RMDIR@
SED		=	@SED@
SHELL		=	/bin/sh

#
# Installation programs...
#

INSTALL_BIN	=	$(LIBTOOL) $(INSTALL) -c -m 555 @INSTALL_STRIP@
INSTALL_CONFIG	=	$(INSTALL) -c -m @CUPS_CONFIG_FILE_PERM@
INSTALL_DATA	=	$(INSTALL) -c -m 444
INSTALL_DIR	=	$(INSTALL) -d
INSTALL_LIB	=	$(LIBTOOL) $(INSTALL) -c -m 555 @INSTALL_STRIP@
INSTALL_MAN	=	$(INSTALL) -c -m 444
INSTALL_SCRIPT	=	$(INSTALL) -c -m 555

#
# Default user, group, and system groups for the scheduler...
#

CUPS_USER	=	@CUPS_USER@
CUPS_GROUP	=	@CUPS_GROUP@
CUPS_SYSTEM_GROUPS =	@CUPS_SYSTEM_GROUPS@
CUPS_PRIMARY_SYSTEM_GROUP =	@CUPS_PRIMARY_SYSTEM_GROUP@

#
# Default permissions...
#

CUPS_CONFIG_FILE_PERM = @CUPS_CONFIG_FILE_PERM@
CUPS_LOG_FILE_PERM = @CUPS_LOG_FILE_PERM@

#
# Languages to install...
#

LANGUAGES	=	@LANGUAGES@
INSTALL_LANGUAGES =	@INSTALL_LANGUAGES@
UNINSTALL_LANGUAGES =	@UNINSTALL_LANGUAGES@

#
# Libraries...
#

LIBCUPS		=	@LIBCUPS@
LIBCUPSCGI	=	@LIBCUPSCGI@
LIBCUPSDRIVER	=	@LIBCUPSDRIVER@
LIBCUPSIMAGE	=	@LIBCUPSIMAGE@
LIBCUPSMIME	=	@LIBCUPSMIME@
LIBCUPSPPDC	=	@LIBCUPSPPDC@
LIBJPEG		=	@LIBJPEG@
LIBLDAP		=	@LIBLDAP@
LIBMALLOC	=	@LIBMALLOC@
LIBPAPER	=	@LIBPAPER@
LIBPNG		=	@LIBPNG@
LIBSLP		=	@LIBSLP@
LIBGSSAPI	=	@LIBGSSAPI@
LIBTIFF		=	@LIBTIFF@
LIBUSB		=	@LIBUSB@
LIBWRAP		=	@LIBWRAP@
LIBZ		=	@LIBZ@

#
# Install static libraries?
#

INSTALLSTATIC	=	@INSTALLSTATIC@

#
# Program options...
#
# ARCHFLAGS     Defines the default architecture build options.
# ARCH32FLAGS   Defines the 32-bit architecture build options, used
#               when compiling separate 32/64-bit libraries.
# ARCH64FLAGS   Defines the 64-bit architecture build options, used
#               when compiling separate 32/64-bit libraries.
# OPTIM         Defines the common compiler optimization/debugging options
#               for all architectures.
# OPTIONS       Defines other compile-time options (currently only -DDEBUG
#               for extra debug info)
#

ALL_CFLAGS	=	-I.. -D_CUPS_SOURCE $(CFLAGS) $(SSLFLAGS) \
			@LARGEFILE@ @PTHREAD_FLAGS@ $(OPTIONS)
ALL_CXXFLAGS	=	-I.. -D_CUPS_SOURCE $(CXXFLAGS) $(SSLFLAGS) \
			@LARGEFILE@ @PTHREAD_FLAGS@ $(OPTIONS)
ARCHFLAGS	=	@ARCHFLAGS@
ARFLAGS		=	@ARFLAGS@
BACKLIBS	=	@BACKLIBS@
BANNERTOPS	=	@BANNERTOPS@
CFLAGS		=	@CPPFLAGS@ @CFLAGS@
COMMONLIBS	=	@LIBS@
CUPSDLIBS	=	@CUPSDLIBS@
CXXFLAGS	=	@CPPFLAGS@ @CXXFLAGS@
CXXLIBS		=	@CXXLIBS@
DBUS_NOTIFIER	=	@DBUS_NOTIFIER@
DBUS_NOTIFIERLIBS =	@DBUS_NOTIFIERLIBS@
DNSSD_BACKEND	=	@DNSSD_BACKEND@
DSOFLAGS	=	-L../cups @DSOFLAGS@
DSOLIBS		=	@DSOLIBS@ $(COMMONLIBS)
DNSSDLIBS	=	@DNSSDLIBS@
FONTS		=	@FONTS@
IMGLIBS		=	@IMGLIBS@
IMGFILTERS	=	@IMGFILTERS@
LAUNCHDLIBS	=	@LAUNCHDLIBS@
LDFLAGS		=	-L../cgi-bin -L../cups -L../filter -L../ppdc \
			-L../scheduler @LDARCHFLAGS@ \
			@LDFLAGS@ @RELROFLAGS@ @PIEFLAGS@ $(OPTIM)
LEGACY_BACKENDS	=	@LEGACY_BACKENDS@
LIBCUPSORDER	=	@LIBCUPSORDER@
LIBCUPSIMAGEORDER =	@LIBCUPSIMAGEORDER@
LINKCUPS	=	@LINKCUPS@ $(SSLLIBS) $(DNSSDLIBS)
LINKCUPSIMAGE	=	@LINKCUPSIMAGE@
LIBS		=	$(LINKCUPS) $(COMMONLIBS)
OPTIM		=	@OPTIM@
OPTIONS		=
PAMLIBS		=	@PAMLIBS@
PAP		=	@PAP@
PDFTOPS		=	@PDFTOPS@
PHPDIR		=	@PHPDIR@
PHPOPTIONS	=	@PHPOPTIONS@ -I../.. `$(PHPCONFIG) --includes`
SSLFLAGS	=	@SSLFLAGS@
SSLLIBS		=	@SSLLIBS@
TEXTTOPS	=	@TEXTTOPS@
UNITTESTS	=	@UNITTESTS@


#
# Separate 32/64-bit library support...
#

ARCH32FLAGS	=	@ARCH32FLAGS@
DSO32FLAGS	=	@DSO32FLAGS@
INSTALL32	=	@INSTALL32@
LIB32CUPS	=	@LIB32CUPS@
LIB32CUPSIMAGE	=	@LIB32CUPSIMAGE@
LIB32DIR	=	$(BUILDROOT)@LIB32DIR@
UNINSTALL32	=	@UNINSTALL32@

ARCH64FLAGS	=	@ARCH64FLAGS@
DSO64FLAGS	=	@DSO64FLAGS@
INSTALL64	=	@INSTALL64@
LIB64CUPS	=	@LIB64CUPS@
LIB64CUPSIMAGE	=	@LIB64CUPSIMAGE@
LIB64DIR	=	$(BUILDROOT)@LIB64DIR@
UNINSTALL64	=	@UNINSTALL64@

#
# Directories...
#
# The first section uses the GNU names (which are *extremely*
# difficult to find in a makefile because they are lowercase...)
# We have to define these first because autoconf uses ${prefix}
# and ${exec_prefix} for most of the other directories...
#
# The "datarootdir" variable may not get defined if you are using
# a version of autoconf prior to 2.60.
#
# This is immediately followed by definition in ALL CAPS for the
# needed directories...
#

bindir		=	@bindir@
datadir		=	@datadir@
datarootdir	=	@datarootdir@
exec_prefix	=	@exec_prefix@
includedir	=	@includedir@
infodir		=	@infodir@
libdir		=	@libdir@
libexecdir	=	@libexecdir@
localstatedir	=	@localstatedir@
mandir		=	@mandir@
oldincludedir	=	@oldincludedir@
prefix		=	@prefix@
sbindir		=	@sbindir@
sharedstatedir	=	@sharedstatedir@
srcdir		=	@srcdir@
sysconfdir	=	@sysconfdir@
top_srcdir	=	@top_srcdir@

BUILDROOT	=	$(DSTROOT)

AMANDIR		=	$(BUILDROOT)@AMANDIR@
BINDIR		=	$(BUILDROOT)@bindir@
CACHEDIR	=	$(BUILDROOT)@CUPS_CACHEDIR@
DATADIR		=	$(BUILDROOT)@CUPS_DATADIR@
DOCDIR		=	$(BUILDROOT)@CUPS_DOCROOT@
ICONDIR		=	@ICONDIR@
INCLUDEDIR	=	$(BUILDROOT)$(includedir)
INITDIR		=	@INITDIR@
INITDDIR	=	@INITDDIR@
LIBDIR		=	$(BUILDROOT)$(libdir)
LOCALEDIR	= 	$(BUILDROOT)@CUPS_LOCALEDIR@
LOGDIR		= 	$(BUILDROOT)@CUPS_LOGDIR@
MANDIR		=	$(BUILDROOT)@mandir@
MENUDIR		=	@MENUDIR@
PMANDIR		=	$(BUILDROOT)@PMANDIR@
RCLEVELS	=	@RCLEVELS@
RCSTART		=	@RCSTART@
RCSTOP		=	@RCSTOP@
REQUESTS	= 	$(BUILDROOT)@CUPS_REQUESTS@
SBINDIR		=	$(BUILDROOT)@sbindir@
SERVERBIN	= 	$(BUILDROOT)@CUPS_SERVERBIN@
SERVERROOT	= 	$(BUILDROOT)@CUPS_SERVERROOT@
SMFMANIFESTDIR	= 	@SMFMANIFESTDIR@
STATEDIR	=	$(BUILDROOT)@CUPS_STATEDIR@
XINETD		=	@XINETD@

MAN1EXT		=	@MAN1EXT@
MAN5EXT		=	@MAN5EXT@
MAN7EXT		=	@MAN7EXT@
MAN8EXT		=	@MAN8EXT@
MAN8DIR		=	@MAN8DIR@

PAMDIR		=	@PAMDIR@
PAMFILE		=	@PAMFILE@

DEFAULT_LAUNCHD_CONF =	@DEFAULT_LAUNCHD_CONF@
DBUSDIR		=	@DBUSDIR@


#
# Rules...
#

.SILENT:
.SUFFIXES:	.1 .1.gz .1m .1m.gz .3 .3.gz .5 .5.gz .7 .7.gz .8 .8.gz .a .c .cxx .h .man .o .32.o .64.o .gz

.c.o:
	echo Compiling $<...
	$(CC) $(ARCHFLAGS) $(OPTIM) $(ALL_CFLAGS) -c -o $@ $<

.c.32.o:
	echo Compiling 32-bit $<...
	$(CC) $(ARCH32FLAGS) $(OPTIM) $(ALL_CFLAGS) -c -o $@ $<

.c.64.o:
	echo Compiling 64-bit $<...
	$(CC) $(ARCH64FLAGS) $(OPTIM) $(ALL_CFLAGS) -c -o $@ $<

.cxx.o:
	echo Compiling $<...
	$(CXX) $(ARCHFLAGS) $(OPTIM) $(ALL_CXXFLAGS) -c -o $@ $<

.man.1 .man.1m .man.3 .man.5 .man.7 .man.8:
	echo Linking $<...
	$(RM) $@
	$(LN) $< $@

.man.1.gz .man.1m.gz .man.3.gz .man.5.gz .man.7.gz .man.8.gz .man.gz:
	echo -n Compressing $<...
	$(RM) $@
	gzip -v9 <$< >$@


#
# End of "$Id: Makedefs.in 9120 2010-04-23 18:56:34Z mike $"
#