]> git.ipfire.org Git - thirdparty/cups.git/blame - Makedefs.in
Load cups into easysw/current.
[thirdparty/cups.git] / Makedefs.in
CommitLineData
ef416fc2 1#
f301802f 2# "$Id: Makedefs.in 5563 2006-05-21 17:18:40Z mike $"
ef416fc2 3#
4# Common makefile definitions for the Common UNIX Printing System (CUPS).
5#
bd7854cb 6# Copyright 1997-2006 by Easy Software Products, all rights reserved.
ef416fc2 7#
8# These coded instructions, statements, and computer programs are the
9# property of Easy Software Products and are protected by Federal
10# copyright law. Distribution and use rights are outlined in the file
11# "LICENSE.txt" which should have been included with this file. If this
12# file is missing or damaged please contact Easy Software Products
13# at:
14#
15# Attn: CUPS Licensing Information
16# Easy Software Products
17# 44141 Airport View Drive, Suite 204
18# Hollywood, Maryland 20636 USA
19#
20# Voice: (301) 373-9600
21# EMail: cups-info@cups.org
22# WWW: http://www.cups.org
23#
24
25#
26# Programs...
27#
28
29AR = @AR@
30AWK = @AWK@
31CC = @LIBTOOL@ @CC@
32CXX = @LIBTOOL@ @CXX@
33DSO = @DSO@
34HTMLDOC = @HTMLDOC@
35INSTALL = @INSTALL@
bd7854cb 36LD = @LD@
ef416fc2 37LIBTOOL = @LIBTOOL@
38LN = @LN@ -sf
39MV = @MV@
b423cd4c 40PHPCONFIG = @PHPCONFIG@
ef416fc2 41RANLIB = @RANLIB@
42RM = @RM@ -f
757d2cad 43RMDIR = @RMDIR@
ef416fc2 44SED = @SED@
45SHELL = /bin/sh
46STRIP = @STRIP@
47
48#
49# Installation programs...
50#
51
e00b005a 52INSTALL_BIN = $(LIBTOOL) $(INSTALL) -m 755
09ec0018 53INSTALL_CONFIG = $(INSTALL) -m @CUPS_CONFIG_FILE_PERM@
ef416fc2 54INSTALL_DATA = $(INSTALL) -m 644
55INSTALL_DIR = $(INSTALL) -d
56INSTALL_LIB = $(LIBTOOL) $(INSTALL) -m 755
57INSTALL_MAN = $(INSTALL) -m 644
58INSTALL_SCRIPT = $(INSTALL) -m 755
59
60#
09ec0018 61# Default user, group, and system groups for the scheduler...
ef416fc2 62#
63
64CUPS_USER = @CUPS_USER@
65CUPS_GROUP = @CUPS_GROUP@
09ec0018 66CUPS_SYSTEM_GROUPS = @CUPS_SYSTEM_GROUPS@
bd7854cb 67CUPS_PRIMARY_SYSTEM_GROUP = @CUPS_PRIMARY_SYSTEM_GROUP@
09ec0018 68
69#
70# Default permissions...
71#
72
73CUPS_CONFIG_FILE_PERM = @CUPS_CONFIG_FILE_PERM@
74CUPS_LOG_FILE_PERM = @CUPS_LOG_FILE_PERM@
ef416fc2 75
e1d6a774 76#
77# Languages to install...
78#
79
80LANGUAGES = @LANGUAGES@
81
ef416fc2 82#
83# Libraries...
84#
85
86LIBCUPS = @LIBCUPS@
87LIBCUPSIMAGE = @LIBCUPSIMAGE@
88LIBJPEG = @LIBJPEG@
b423cd4c 89LIBLDAP = @LIBLDAP@
ef416fc2 90LIBMALLOC = @LIBMALLOC@
91LIBPAPER = @LIBPAPER@
92LIBPNG = @LIBPNG@
93LIBSLP = @LIBSLP@
94LIBTIFF = @LIBTIFF@
95LIBZ = @LIBZ@
96
923edb68 97#
98# Install static libraries?
99#
100
101INSTALLSTATIC = @INSTALLSTATIC@
102
ef416fc2 103#
104# Program options...
105#
e1d6a774 106# ARCHFLAGS Defines the default architecture build options, used
107# when compiling separate 32/64-bit libraries.
108# ARCH32FLAGS Defines the 32-bit architecture build options, used
109# when compiling separate 32/64-bit libraries.
110# ARCH64FLAGS Defines the 64-bit architecture build options, used
111# when compiling separate 32/64-bit libraries.
112# OPTIM Defines the common compiler optimization/debugging options
113# for all architectures.
114# OPTIONS Defines other compile-time options (currently only -DDEBUG
115# for extra debug info)
ef416fc2 116#
117
e1d6a774 118ARCHFLAGS = @ARCHFLAGS@
ef416fc2 119ARFLAGS = @ARFLAGS@
120BACKLIBS = @BACKLIBS@
e53920b9 121CFLAGS = -I.. $(SSLFLAGS) @CPPFLAGS@ @CFLAGS@ \
b423cd4c 122 @LARGEFILE@ @PTHREAD_FLAGS@ $(OPTIONS)
ef416fc2 123COMMONLIBS = @LIBS@
09ec0018 124CUPSDLIBS = @CUPSDLIBS@
e53920b9 125CXXFLAGS = -I.. $(SSLFLAGS) @CPPFLAGS@ @CXXFLAGS@ \
b423cd4c 126 @LARGEFILE@ @PTHREAD_FLAGS@ $(OPTIONS)
ef416fc2 127CXXLIBS = @CXXLIBS@
128DSOFLAGS = @DSOFLAGS@
129DSOLIBS = @DSOLIBS@ $(COMMONLIBS)
130IMGLIBS = @IMGLIBS@ -lm
e1d6a774 131IMGFILTERS = @IMGFILTERS@
80ca4592 132LDFLAGS = -L../cups -L../filter $(RC_CFLAGS) $(ARCHFLAGS) \
a74454a7 133 @LDFLAGS@ @PIEFLAGS@ $(OPTIM)
ef416fc2 134LINKCUPS = @LINKCUPS@ $(SSLLIBS)
135LINKCUPSIMAGE = @LINKCUPSIMAGE@
136LIBS = $(LINKCUPS) $(COMMONLIBS)
137OPTIM = @OPTIM@
138OPTIONS =
139PAMLIBS = @PAMLIBS@
a74454a7 140PAP = @PAP@
e1d6a774 141PDFTOPS = @PDFTOPS@
b423cd4c 142PHPDIR = @PHPDIR@
ef416fc2 143SSLFLAGS = @SSLFLAGS@
144SSLLIBS = @SSLLIBS@
a4d04587 145LAUNCHDLIBS = @LAUNCHDLIBS@
ef416fc2 146
e1d6a774 147#
148# Separate 32/64-bit library support...
149#
150
151ARCH32FLAGS = @ARCH32FLAGS@
f301802f 152DSO32FLAGS = @DSO32FLAGS@
e1d6a774 153INSTALL32 = @INSTALL32@
154LIB32CUPS = @LIB32CUPS@
155LIB32CUPSIMAGE = @LIB32CUPSIMAGE@
156LIB32DIR = $(BUILDROOT)@LIB32DIR@
157UNINSTALL32 = @UNINSTALL32@
158
159ARCH64FLAGS = @ARCH64FLAGS@
f301802f 160DSO64FLAGS = @DSO64FLAGS@
e1d6a774 161INSTALL64 = @INSTALL64@
162LIB64CUPS = @LIB64CUPS@
163LIB64CUPSIMAGE = @LIB64CUPSIMAGE@
164LIB64DIR = $(BUILDROOT)@LIB64DIR@
165UNINSTALL64 = @UNINSTALL64@
166
ef416fc2 167#
168# Directories...
169#
170# The first section uses the GNU names (which are *extremely*
171# difficult to find in a makefile because they are lowercase...)
172# We have to define these first because autoconf uses ${prefix}
173# and ${exec_prefix} for most of the other directories...
174#
175# This is immediately followed by definition in ALL CAPS for the
176# needed directories...
177#
178
179bindir = @bindir@
180datadir = @datadir@
181exec_prefix = @exec_prefix@
182includedir = @includedir@
183infodir = @infodir@
184libdir = @libdir@
185libexecdir = @libexecdir@
186localstatedir = @localstatedir@
187mandir = @mandir@
188oldincludedir = @oldincludedir@
189prefix = @prefix@
190sbindir = @sbindir@
191sharedstatedir = @sharedstatedir@
192srcdir = @srcdir@
193sysconfdir = @sysconfdir@
194top_srcdir = @top_srcdir@
195
196BUILDROOT = $(DSTROOT)
197
198AMANDIR = $(BUILDROOT)@AMANDIR@
199BINDIR = $(BUILDROOT)@bindir@
200CACHEDIR = $(BUILDROOT)@CUPS_CACHEDIR@
201DATADIR = $(BUILDROOT)@CUPS_DATADIR@
202DOCDIR = $(BUILDROOT)@CUPS_DOCROOT@
203INCLUDEDIR = $(BUILDROOT)$(includedir)
204INITDIR = @INITDIR@
205INITDDIR = @INITDDIR@
206LIBDIR = $(BUILDROOT)$(libdir)
207LOCALEDIR = $(BUILDROOT)@CUPS_LOCALEDIR@
208LOGDIR = $(BUILDROOT)@CUPS_LOGDIR@
209MANDIR = $(BUILDROOT)@mandir@
210PMANDIR = $(BUILDROOT)@PMANDIR@
211REQUESTS = $(BUILDROOT)@CUPS_REQUESTS@
212SBINDIR = $(BUILDROOT)@sbindir@
213SERVERBIN = $(BUILDROOT)@CUPS_SERVERBIN@
214SERVERROOT = $(BUILDROOT)@CUPS_SERVERROOT@
215STATEDIR = $(BUILDROOT)@CUPS_STATEDIR@
e1d6a774 216XINETD = @XINETD@
ef416fc2 217
218MAN1EXT = @MAN1EXT@
219MAN5EXT = @MAN5EXT@
bd7854cb 220MAN7EXT = @MAN7EXT@
ef416fc2 221MAN8EXT = @MAN8EXT@
222MAN8DIR = @MAN8DIR@
223
b423cd4c 224PAMDIR = @PAMDIR@
ef416fc2 225PAMFILE = @PAMFILE@
226
b423cd4c 227DEFAULT_LAUNCHD_CONF = @DEFAULT_LAUNCHD_CONF@
bd7854cb 228DBUSDIR = @DBUSDIR@
a4d04587 229
ef416fc2 230
231#
232# Rules...
233#
234
235.SILENT:
e1d6a774 236.SUFFIXES: .1 .1.gz .1m .1m.gz .5 .5.gz .7 .7.gz .8 .8.gz .a .c .cxx .h .man .o .32.o .64.o .gz
ef416fc2 237
238.c.o:
239 echo Compiling $<...
e1d6a774 240 $(CC) $(ARCHFLAGS) $(OPTIM) $(CFLAGS) -c $<
241
242.c.32.o:
243 echo Compiling 32-bit $<...
244 $(CC) $(ARCH32FLAGS) $(OPTIM) $(CFLAGS) -c -o $@ $<
245
246.c.64.o:
247 echo Compiling 64-bit $<...
248 $(CC) $(ARCH64FLAGS) $(OPTIM) $(CFLAGS) -c -o $@ $<
ef416fc2 249
250.cxx.o:
251 echo Compiling $<...
e1d6a774 252 $(CXX) $(ARCHFLAGS) $(OPTIM) $(CXXFLAGS) -c $<
ef416fc2 253
bd7854cb 254.man.1 .man.1m .man.5 .man.7 .man.8:
ef416fc2 255 echo Linking $<...
256 $(RM) $@
257 $(LN) $< $@
258
bd7854cb 259.man.1.gz .man.1m.gz .man.5.gz .man.7.gz .man.8.gz .man.gz:
ef416fc2 260 echo -n Compressing $<...
261 $(RM) $@
262 gzip -v9 <$< >$@
263
264
265#
f301802f 266# End of "$Id: Makedefs.in 5563 2006-05-21 17:18:40Z mike $"
ef416fc2 267#