]> git.ipfire.org Git - thirdparty/cups.git/blame - Makedefs.in
Load cups into easysw/current.
[thirdparty/cups.git] / Makedefs.in
CommitLineData
ef416fc2 1#
f7faf1f5 2# "$Id: Makedefs.in 5609 2006-05-30 20:31:10Z 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@
ed486911 81INSTALL_LANGUAGES = @INSTALL_LANGUAGES@
82UNINSTALL_LANGUAGES = @UNINSTALL_LANGUAGES@
e1d6a774 83
ef416fc2 84#
85# Libraries...
86#
87
88LIBCUPS = @LIBCUPS@
89LIBCUPSIMAGE = @LIBCUPSIMAGE@
90LIBJPEG = @LIBJPEG@
b423cd4c 91LIBLDAP = @LIBLDAP@
ef416fc2 92LIBMALLOC = @LIBMALLOC@
93LIBPAPER = @LIBPAPER@
94LIBPNG = @LIBPNG@
95LIBSLP = @LIBSLP@
96LIBTIFF = @LIBTIFF@
97LIBZ = @LIBZ@
98
923edb68 99#
100# Install static libraries?
101#
102
103INSTALLSTATIC = @INSTALLSTATIC@
104
ef416fc2 105#
106# Program options...
107#
e1d6a774 108# ARCHFLAGS Defines the default architecture build options, used
109# when compiling separate 32/64-bit libraries.
110# ARCH32FLAGS Defines the 32-bit architecture build options, used
111# when compiling separate 32/64-bit libraries.
112# ARCH64FLAGS Defines the 64-bit architecture build options, used
113# when compiling separate 32/64-bit libraries.
114# OPTIM Defines the common compiler optimization/debugging options
115# for all architectures.
116# OPTIONS Defines other compile-time options (currently only -DDEBUG
117# for extra debug info)
ef416fc2 118#
119
e1d6a774 120ARCHFLAGS = @ARCHFLAGS@
ef416fc2 121ARFLAGS = @ARFLAGS@
122BACKLIBS = @BACKLIBS@
e53920b9 123CFLAGS = -I.. $(SSLFLAGS) @CPPFLAGS@ @CFLAGS@ \
b423cd4c 124 @LARGEFILE@ @PTHREAD_FLAGS@ $(OPTIONS)
ef416fc2 125COMMONLIBS = @LIBS@
09ec0018 126CUPSDLIBS = @CUPSDLIBS@
e53920b9 127CXXFLAGS = -I.. $(SSLFLAGS) @CPPFLAGS@ @CXXFLAGS@ \
b423cd4c 128 @LARGEFILE@ @PTHREAD_FLAGS@ $(OPTIONS)
ef416fc2 129CXXLIBS = @CXXLIBS@
130DSOFLAGS = @DSOFLAGS@
131DSOLIBS = @DSOLIBS@ $(COMMONLIBS)
ed486911 132IMGLIBS = @IMGLIBS@
e1d6a774 133IMGFILTERS = @IMGFILTERS@
ed486911 134LDFLAGS = -L../cups -L../filter $(ARCHFLAGS) \
a74454a7 135 @LDFLAGS@ @PIEFLAGS@ $(OPTIM)
ef416fc2 136LINKCUPS = @LINKCUPS@ $(SSLLIBS)
137LINKCUPSIMAGE = @LINKCUPSIMAGE@
138LIBS = $(LINKCUPS) $(COMMONLIBS)
139OPTIM = @OPTIM@
140OPTIONS =
141PAMLIBS = @PAMLIBS@
a74454a7 142PAP = @PAP@
e1d6a774 143PDFTOPS = @PDFTOPS@
b423cd4c 144PHPDIR = @PHPDIR@
ef416fc2 145SSLFLAGS = @SSLFLAGS@
146SSLLIBS = @SSLLIBS@
a4d04587 147LAUNCHDLIBS = @LAUNCHDLIBS@
ef416fc2 148
e1d6a774 149#
150# Separate 32/64-bit library support...
151#
152
153ARCH32FLAGS = @ARCH32FLAGS@
f301802f 154DSO32FLAGS = @DSO32FLAGS@
e1d6a774 155INSTALL32 = @INSTALL32@
156LIB32CUPS = @LIB32CUPS@
157LIB32CUPSIMAGE = @LIB32CUPSIMAGE@
158LIB32DIR = $(BUILDROOT)@LIB32DIR@
159UNINSTALL32 = @UNINSTALL32@
160
161ARCH64FLAGS = @ARCH64FLAGS@
f301802f 162DSO64FLAGS = @DSO64FLAGS@
e1d6a774 163INSTALL64 = @INSTALL64@
164LIB64CUPS = @LIB64CUPS@
165LIB64CUPSIMAGE = @LIB64CUPSIMAGE@
166LIB64DIR = $(BUILDROOT)@LIB64DIR@
167UNINSTALL64 = @UNINSTALL64@
168
ef416fc2 169#
170# Directories...
171#
172# The first section uses the GNU names (which are *extremely*
173# difficult to find in a makefile because they are lowercase...)
174# We have to define these first because autoconf uses ${prefix}
175# and ${exec_prefix} for most of the other directories...
176#
177# This is immediately followed by definition in ALL CAPS for the
178# needed directories...
179#
180
181bindir = @bindir@
182datadir = @datadir@
183exec_prefix = @exec_prefix@
184includedir = @includedir@
185infodir = @infodir@
186libdir = @libdir@
187libexecdir = @libexecdir@
188localstatedir = @localstatedir@
189mandir = @mandir@
190oldincludedir = @oldincludedir@
191prefix = @prefix@
192sbindir = @sbindir@
193sharedstatedir = @sharedstatedir@
194srcdir = @srcdir@
195sysconfdir = @sysconfdir@
196top_srcdir = @top_srcdir@
197
198BUILDROOT = $(DSTROOT)
199
200AMANDIR = $(BUILDROOT)@AMANDIR@
201BINDIR = $(BUILDROOT)@bindir@
202CACHEDIR = $(BUILDROOT)@CUPS_CACHEDIR@
203DATADIR = $(BUILDROOT)@CUPS_DATADIR@
204DOCDIR = $(BUILDROOT)@CUPS_DOCROOT@
205INCLUDEDIR = $(BUILDROOT)$(includedir)
206INITDIR = @INITDIR@
207INITDDIR = @INITDDIR@
208LIBDIR = $(BUILDROOT)$(libdir)
209LOCALEDIR = $(BUILDROOT)@CUPS_LOCALEDIR@
210LOGDIR = $(BUILDROOT)@CUPS_LOGDIR@
211MANDIR = $(BUILDROOT)@mandir@
212PMANDIR = $(BUILDROOT)@PMANDIR@
213REQUESTS = $(BUILDROOT)@CUPS_REQUESTS@
214SBINDIR = $(BUILDROOT)@sbindir@
215SERVERBIN = $(BUILDROOT)@CUPS_SERVERBIN@
216SERVERROOT = $(BUILDROOT)@CUPS_SERVERROOT@
217STATEDIR = $(BUILDROOT)@CUPS_STATEDIR@
e1d6a774 218XINETD = @XINETD@
ef416fc2 219
220MAN1EXT = @MAN1EXT@
221MAN5EXT = @MAN5EXT@
bd7854cb 222MAN7EXT = @MAN7EXT@
ef416fc2 223MAN8EXT = @MAN8EXT@
224MAN8DIR = @MAN8DIR@
225
b423cd4c 226PAMDIR = @PAMDIR@
ef416fc2 227PAMFILE = @PAMFILE@
228
b423cd4c 229DEFAULT_LAUNCHD_CONF = @DEFAULT_LAUNCHD_CONF@
bd7854cb 230DBUSDIR = @DBUSDIR@
a4d04587 231
ef416fc2 232
233#
234# Rules...
235#
236
237.SILENT:
e1d6a774 238.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 239
240.c.o:
241 echo Compiling $<...
e1d6a774 242 $(CC) $(ARCHFLAGS) $(OPTIM) $(CFLAGS) -c $<
243
244.c.32.o:
245 echo Compiling 32-bit $<...
246 $(CC) $(ARCH32FLAGS) $(OPTIM) $(CFLAGS) -c -o $@ $<
247
248.c.64.o:
249 echo Compiling 64-bit $<...
250 $(CC) $(ARCH64FLAGS) $(OPTIM) $(CFLAGS) -c -o $@ $<
ef416fc2 251
252.cxx.o:
253 echo Compiling $<...
e1d6a774 254 $(CXX) $(ARCHFLAGS) $(OPTIM) $(CXXFLAGS) -c $<
ef416fc2 255
bd7854cb 256.man.1 .man.1m .man.5 .man.7 .man.8:
ef416fc2 257 echo Linking $<...
258 $(RM) $@
259 $(LN) $< $@
260
bd7854cb 261.man.1.gz .man.1m.gz .man.5.gz .man.7.gz .man.8.gz .man.gz:
ef416fc2 262 echo -n Compressing $<...
263 $(RM) $@
264 gzip -v9 <$< >$@
265
266
267#
f7faf1f5 268# End of "$Id: Makedefs.in 5609 2006-05-30 20:31:10Z mike $"
ef416fc2 269#