]> git.ipfire.org Git - thirdparty/cups.git/blame - Makedefs.in
Update man pages.
[thirdparty/cups.git] / Makedefs.in
CommitLineData
ef416fc2 1#
724e1819 2# Common makefile definitions for CUPS.
ef416fc2 3#
083672b1 4# Copyright © 2007-2019 by Apple Inc.
14435106 5# Copyright © 1997-2007 by Easy Software Products, all rights reserved.
ef416fc2 6#
00dbe99f
MS
7# Licensed under Apache License v2.0. See the file "LICENSE" for more
8# information.
ef416fc2 9#
10
44b3f161
MS
11#
12# CUPS version...
13#
14
15CUPS_VERSION = @CUPS_VERSION@
16
17
ef416fc2 18#
19# Programs...
20#
21
22AR = @AR@
23AWK = @AWK@
b94f7488 24CC = @LIBTOOL_CC@ @CC@
97c9a8d7 25CHMOD = @CHMOD@
b94f7488 26CXX = @LIBTOOL_CXX@ @CXX@
ef416fc2 27DSO = @DSO@
50fe7201 28DSOXX = @DSOXX@
a29fd7dd 29GZIP = @GZIP@
ef416fc2 30INSTALL = @INSTALL@
bd7854cb 31LD = @LD@
07cb7247
MS
32LD_CC = @LD_CC@
33LD_CXX = @LD_CXX@
ef416fc2 34LIBTOOL = @LIBTOOL@
35LN = @LN@ -sf
9964a31a 36MKDIR = @MKDIR@ -p
ef416fc2 37MV = @MV@
38RANLIB = @RANLIB@
39RM = @RM@ -f
757d2cad 40RMDIR = @RMDIR@
ef416fc2 41SED = @SED@
42SHELL = /bin/sh
839a51c8 43
ef416fc2 44#
45# Installation programs...
46#
47
b94f7488 48INSTALL_BIN = @LIBTOOL_INSTALL@ $(INSTALL) -c -m @CUPS_EXE_FILE_PERM@ @INSTALL_STRIP@
82cc1f9a 49INSTALL_COMPDATA = $(INSTALL) -c -m 444 @INSTALL_GZIP@
a29fd7dd 50INSTALL_CONFIG = $(INSTALL) -c -m @CUPS_CONFIG_FILE_PERM@
e07d4801 51INSTALL_DATA = $(INSTALL) -c -m 444
ef416fc2 52INSTALL_DIR = $(INSTALL) -d
b94f7488 53INSTALL_LIB = @LIBTOOL_INSTALL@ $(INSTALL) -c -m @CUPS_EXE_FILE_PERM@ @INSTALL_STRIP@
e07d4801 54INSTALL_MAN = $(INSTALL) -c -m 444
d4a895f8 55INSTALL_SCRIPT = $(INSTALL) -c -m @CUPS_EXE_FILE_PERM@
ef416fc2 56
57#
09ec0018 58# Default user, group, and system groups for the scheduler...
ef416fc2 59#
60
61CUPS_USER = @CUPS_USER@
62CUPS_GROUP = @CUPS_GROUP@
09ec0018 63CUPS_SYSTEM_GROUPS = @CUPS_SYSTEM_GROUPS@
bd7854cb 64CUPS_PRIMARY_SYSTEM_GROUP = @CUPS_PRIMARY_SYSTEM_GROUP@
09ec0018 65
66#
67# Default permissions...
68#
69
70CUPS_CONFIG_FILE_PERM = @CUPS_CONFIG_FILE_PERM@
82cc1f9a 71CUPS_CUPSD_FILE_PERM = @CUPS_CUPSD_FILE_PERM@
09ec0018 72CUPS_LOG_FILE_PERM = @CUPS_LOG_FILE_PERM@
ef416fc2 73
e1d6a774 74#
75# Languages to install...
76#
77
78LANGUAGES = @LANGUAGES@
ed486911 79INSTALL_LANGUAGES = @INSTALL_LANGUAGES@
80UNINSTALL_LANGUAGES = @UNINSTALL_LANGUAGES@
e1d6a774 81
105922ec
MS
82#
83# Cross-compilation support: "local" target is used for any tools that are
84# built and run locally.
85#
86
87LOCALTARGET = @LOCALTARGET@
88
89
ef416fc2 90#
91# Libraries...
92#
93
94LIBCUPS = @LIBCUPS@
95LIBCUPSIMAGE = @LIBCUPSIMAGE@
58b64dbb 96LIBCUPSOBJS = @LIBCUPSOBJS@
f8b3a85b 97LIBCUPSSTATIC = @LIBCUPSSTATIC@
12f89d24 98LIBGSSAPI = @LIBGSSAPI@
ffbf1e61
MS
99LIBHEADERS = @LIBHEADERS@
100LIBHEADERSPRIV = @LIBHEADERSPRIV@
ef416fc2 101LIBMALLOC = @LIBMALLOC@
102LIBPAPER = @LIBPAPER@
75bd9771 103LIBUSB = @LIBUSB@
749b1e90 104LIBWRAP = @LIBWRAP@
ef416fc2 105LIBZ = @LIBZ@
106
923edb68 107#
108# Install static libraries?
109#
110
111INSTALLSTATIC = @INSTALLSTATIC@
112
ef416fc2 113#
eac3a0a0
MS
114# IPP backend aliases...
115#
116
117IPPALIASES = @IPPALIASES@
118
6641bd0d
MS
119
120#
121# ippeveprinter commands...
122#
123
124IPPEVECOMMANDS = @IPPEVECOMMANDS@
125
126
eac3a0a0
MS
127#
128# Install XPC backends?
129#
130
131INSTALLXPC = @INSTALLXPC@
132
00dbe99f
MS
133#
134# Code signing...
135#
136
137CODE_SIGN = @CODE_SIGN@
138CODE_SIGN_IDENTITY = -
139
eac3a0a0 140#
ef416fc2 141# Program options...
142#
09a101d6 143# ARCHFLAGS Defines the default architecture build options.
e1d6a774 144# OPTIM Defines the common compiler optimization/debugging options
145# for all architectures.
146# OPTIONS Defines other compile-time options (currently only -DDEBUG
147# for extra debug info)
ef416fc2 148#
149
f518bf7e
MS
150ALL_CFLAGS = -I.. -D_CUPS_SOURCE $(CFLAGS) \
151 $(SSLFLAGS) @LARGEFILE@ @PTHREAD_FLAGS@ \
152 $(ONDEMANDFLAGS) $(OPTIONS)
153ALL_CXXFLAGS = -I.. -D_CUPS_SOURCE $(CXXFLAGS) \
154 $(SSLFLAGS) @LARGEFILE@ @PTHREAD_FLAGS@ \
155 $(ONDEMANDFLAGS) $(OPTIONS)
21609267
MS
156ALL_DSOFLAGS = -L../cups @ARCHFLAGS@ @RELROFLAGS@ $(DSOFLAGS) $(OPTIM)
157ALL_LDFLAGS = -L../cups @LDARCHFLAGS@ @RELROFLAGS@ $(LDFLAGS) \
158 @PIEFLAGS@ $(OPTIM)
e1d6a774 159ARCHFLAGS = @ARCHFLAGS@
ef416fc2 160ARFLAGS = @ARFLAGS@
161BACKLIBS = @BACKLIBS@
6d2f911b 162BUILDDIRS = @BUILDDIRS@
5bd77a73 163CFLAGS = @CPPFLAGS@ @CFLAGS@
ef416fc2 164COMMONLIBS = @LIBS@
ac884b6a
MS
165CXXFLAGS = @CPPFLAGS@ @CXXFLAGS@
166CXXLIBS = @CXXLIBS@
c5571a1d
MS
167DBUS_NOTIFIER = @DBUS_NOTIFIER@
168DBUS_NOTIFIERLIBS = @DBUS_NOTIFIERLIBS@
169DNSSD_BACKEND = @DNSSD_BACKEND@
21609267 170DSOFLAGS = @DSOFLAGS@
ef416fc2 171DSOLIBS = @DSOLIBS@ $(COMMONLIBS)
f7deaa1a 172DNSSDLIBS = @DNSSDLIBS@
766a8229
MS
173IPPFIND_BIN = @IPPFIND_BIN@
174IPPFIND_MAN = @IPPFIND_MAN@
21609267 175LDFLAGS = @LDFLAGS@
de4966cb 176LINKCUPS = @LINKCUPS@ $(LIBGSSAPI) $(DNSSDLIBS) $(SSLLIBS) $(LIBZ)
ef416fc2 177LINKCUPSIMAGE = @LINKCUPSIMAGE@
178LIBS = $(LINKCUPS) $(COMMONLIBS)
f2b8078b
MS
179ONDEMANDFLAGS = @ONDEMANDFLAGS@
180ONDEMANDLIBS = @ONDEMANDLIBS@
ef416fc2 181OPTIM = @OPTIM@
f518bf7e 182OPTIONS = @WARNING_OPTIONS@
ef416fc2 183PAMLIBS = @PAMLIBS@
cc754834 184SERVERLIBS = @SERVERLIBS@
ef416fc2 185SSLFLAGS = @SSLFLAGS@
186SSLLIBS = @SSLLIBS@
5f64df29
MS
187UNITTESTS = @UNITTESTS@
188
ef416fc2 189
190#
191# Directories...
192#
193# The first section uses the GNU names (which are *extremely*
194# difficult to find in a makefile because they are lowercase...)
195# We have to define these first because autoconf uses ${prefix}
196# and ${exec_prefix} for most of the other directories...
197#
d09495fa 198# The "datarootdir" variable may not get defined if you are using
199# a version of autoconf prior to 2.60.
200#
ef416fc2 201# This is immediately followed by definition in ALL CAPS for the
202# needed directories...
203#
204
205bindir = @bindir@
206datadir = @datadir@
d09495fa 207datarootdir = @datarootdir@
ef416fc2 208exec_prefix = @exec_prefix@
209includedir = @includedir@
210infodir = @infodir@
211libdir = @libdir@
212libexecdir = @libexecdir@
213localstatedir = @localstatedir@
214mandir = @mandir@
215oldincludedir = @oldincludedir@
216prefix = @prefix@
71e16022 217privateinclude = @privateinclude@
ef416fc2 218sbindir = @sbindir@
219sharedstatedir = @sharedstatedir@
220srcdir = @srcdir@
221sysconfdir = @sysconfdir@
222top_srcdir = @top_srcdir@
223
083672b1 224BUILDROOT = $(DSTROOT)$(DESTDIR)
ef416fc2 225
226AMANDIR = $(BUILDROOT)@AMANDIR@
227BINDIR = $(BUILDROOT)@bindir@
0837b7e8 228BUNDLEDIR = @CUPS_BUNDLEDIR@
ef416fc2 229CACHEDIR = $(BUILDROOT)@CUPS_CACHEDIR@
230DATADIR = $(BUILDROOT)@CUPS_DATADIR@
231DOCDIR = $(BUILDROOT)@CUPS_DOCROOT@
f7deaa1a 232ICONDIR = @ICONDIR@
fb458c34 233INCLUDEDIR = $(BUILDROOT)$(includedir)
ef416fc2 234LIBDIR = $(BUILDROOT)$(libdir)
235LOCALEDIR = $(BUILDROOT)@CUPS_LOCALEDIR@
236LOGDIR = $(BUILDROOT)@CUPS_LOGDIR@
237MANDIR = $(BUILDROOT)@mandir@
f7deaa1a 238MENUDIR = @MENUDIR@
ef416fc2 239PMANDIR = $(BUILDROOT)@PMANDIR@
fb458c34 240PRIVATEINCLUDE = $(BUILDROOT)@PRIVATEINCLUDE@
f7deaa1a 241RCLEVELS = @RCLEVELS@
242RCSTART = @RCSTART@
243RCSTOP = @RCSTOP@
ef416fc2 244REQUESTS = $(BUILDROOT)@CUPS_REQUESTS@
e4b72d7e 245RESOURCEDIR = @CUPS_RESOURCEDIR@
ef416fc2 246SBINDIR = $(BUILDROOT)@sbindir@
247SERVERBIN = $(BUILDROOT)@CUPS_SERVERBIN@
248SERVERROOT = $(BUILDROOT)@CUPS_SERVERROOT@
249STATEDIR = $(BUILDROOT)@CUPS_STATEDIR@
250
251MAN1EXT = @MAN1EXT@
252MAN5EXT = @MAN5EXT@
bd7854cb 253MAN7EXT = @MAN7EXT@
ef416fc2 254MAN8EXT = @MAN8EXT@
255MAN8DIR = @MAN8DIR@
256
b423cd4c 257PAMDIR = @PAMDIR@
ef416fc2 258PAMFILE = @PAMFILE@
259
bd7854cb 260DBUSDIR = @DBUSDIR@
f2b8078b
MS
261INITDIR = @INITDIR@
262INITDDIR = @INITDDIR@
263LAUNCHD_DIR = @LAUNCHD_DIR@
264SMFMANIFESTDIR = @SMFMANIFESTDIR@
265SYSTEMD_DIR = @SYSTEMD_DIR@
266XINETD = @XINETD@
267
268USBQUIRKS = @USBQUIRKS@
a4d04587 269
ef416fc2 270
271#
272# Rules...
273#
274
275.SILENT:
12f89d24 276.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 .gz
ef416fc2 277
278.c.o:
279 echo Compiling $<...
6d2f911b 280 $(CC) $(ARCHFLAGS) $(OPTIM) $(ALL_CFLAGS) -c -o $@ $<
e1d6a774 281
ac884b6a
MS
282.cxx.o:
283 echo Compiling $<...
6d2f911b 284 $(CXX) $(ARCHFLAGS) $(OPTIM) $(ALL_CXXFLAGS) -c -o $@ $<
ac884b6a
MS
285
286.man.1 .man.1m .man.3 .man.5 .man.7 .man.8:
ef416fc2 287 echo Linking $<...
288 $(RM) $@
289 $(LN) $< $@
290
ac884b6a 291.man.1.gz .man.1m.gz .man.3.gz .man.5.gz .man.7.gz .man.8.gz .man.gz:
ef416fc2 292 echo -n Compressing $<...
293 $(RM) $@
294 gzip -v9 <$< >$@