]> git.ipfire.org Git - thirdparty/cups.git/blame - Makedefs.in
Load cups into easysw/current.
[thirdparty/cups.git] / Makedefs.in
CommitLineData
ef416fc2 1#
d09495fa 2# "$Id: Makedefs.in 5799 2006-08-03 00:54:38Z 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#
d09495fa 177# The "datarootdir" variable may not get defined if you are using
178# a version of autoconf prior to 2.60.
179#
ef416fc2 180# This is immediately followed by definition in ALL CAPS for the
181# needed directories...
182#
183
184bindir = @bindir@
185datadir = @datadir@
d09495fa 186datarootdir = @datarootdir@
ef416fc2 187exec_prefix = @exec_prefix@
188includedir = @includedir@
189infodir = @infodir@
190libdir = @libdir@
191libexecdir = @libexecdir@
192localstatedir = @localstatedir@
193mandir = @mandir@
194oldincludedir = @oldincludedir@
195prefix = @prefix@
196sbindir = @sbindir@
197sharedstatedir = @sharedstatedir@
198srcdir = @srcdir@
199sysconfdir = @sysconfdir@
200top_srcdir = @top_srcdir@
201
202BUILDROOT = $(DSTROOT)
203
204AMANDIR = $(BUILDROOT)@AMANDIR@
205BINDIR = $(BUILDROOT)@bindir@
206CACHEDIR = $(BUILDROOT)@CUPS_CACHEDIR@
207DATADIR = $(BUILDROOT)@CUPS_DATADIR@
208DOCDIR = $(BUILDROOT)@CUPS_DOCROOT@
209INCLUDEDIR = $(BUILDROOT)$(includedir)
210INITDIR = @INITDIR@
211INITDDIR = @INITDDIR@
212LIBDIR = $(BUILDROOT)$(libdir)
213LOCALEDIR = $(BUILDROOT)@CUPS_LOCALEDIR@
214LOGDIR = $(BUILDROOT)@CUPS_LOGDIR@
215MANDIR = $(BUILDROOT)@mandir@
216PMANDIR = $(BUILDROOT)@PMANDIR@
217REQUESTS = $(BUILDROOT)@CUPS_REQUESTS@
218SBINDIR = $(BUILDROOT)@sbindir@
219SERVERBIN = $(BUILDROOT)@CUPS_SERVERBIN@
220SERVERROOT = $(BUILDROOT)@CUPS_SERVERROOT@
221STATEDIR = $(BUILDROOT)@CUPS_STATEDIR@
e1d6a774 222XINETD = @XINETD@
ef416fc2 223
224MAN1EXT = @MAN1EXT@
225MAN5EXT = @MAN5EXT@
bd7854cb 226MAN7EXT = @MAN7EXT@
ef416fc2 227MAN8EXT = @MAN8EXT@
228MAN8DIR = @MAN8DIR@
229
b423cd4c 230PAMDIR = @PAMDIR@
ef416fc2 231PAMFILE = @PAMFILE@
232
b423cd4c 233DEFAULT_LAUNCHD_CONF = @DEFAULT_LAUNCHD_CONF@
bd7854cb 234DBUSDIR = @DBUSDIR@
a4d04587 235
ef416fc2 236
237#
238# Rules...
239#
240
241.SILENT:
e1d6a774 242.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 243
244.c.o:
245 echo Compiling $<...
e1d6a774 246 $(CC) $(ARCHFLAGS) $(OPTIM) $(CFLAGS) -c $<
247
248.c.32.o:
249 echo Compiling 32-bit $<...
250 $(CC) $(ARCH32FLAGS) $(OPTIM) $(CFLAGS) -c -o $@ $<
251
252.c.64.o:
253 echo Compiling 64-bit $<...
254 $(CC) $(ARCH64FLAGS) $(OPTIM) $(CFLAGS) -c -o $@ $<
ef416fc2 255
256.cxx.o:
257 echo Compiling $<...
e1d6a774 258 $(CXX) $(ARCHFLAGS) $(OPTIM) $(CXXFLAGS) -c $<
ef416fc2 259
bd7854cb 260.man.1 .man.1m .man.5 .man.7 .man.8:
ef416fc2 261 echo Linking $<...
262 $(RM) $@
263 $(LN) $< $@
264
bd7854cb 265.man.1.gz .man.1m.gz .man.5.gz .man.7.gz .man.8.gz .man.gz:
ef416fc2 266 echo -n Compressing $<...
267 $(RM) $@
268 gzip -v9 <$< >$@
269
270
271#
d09495fa 272# End of "$Id: Makedefs.in 5799 2006-08-03 00:54:38Z mike $"
ef416fc2 273#