]> git.ipfire.org Git - thirdparty/cups.git/blame - Makedefs.in
Load cups into easysw/current.
[thirdparty/cups.git] / Makedefs.in
CommitLineData
ef416fc2 1#
a74454a7 2# "$Id: Makedefs.in 5468 2006-04-27 13:40:30Z 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@
152INSTALL32 = @INSTALL32@
153LIB32CUPS = @LIB32CUPS@
154LIB32CUPSIMAGE = @LIB32CUPSIMAGE@
155LIB32DIR = $(BUILDROOT)@LIB32DIR@
156UNINSTALL32 = @UNINSTALL32@
157
158ARCH64FLAGS = @ARCH64FLAGS@
159INSTALL64 = @INSTALL64@
160LIB64CUPS = @LIB64CUPS@
161LIB64CUPSIMAGE = @LIB64CUPSIMAGE@
162LIB64DIR = $(BUILDROOT)@LIB64DIR@
163UNINSTALL64 = @UNINSTALL64@
164
ef416fc2 165#
166# Directories...
167#
168# The first section uses the GNU names (which are *extremely*
169# difficult to find in a makefile because they are lowercase...)
170# We have to define these first because autoconf uses ${prefix}
171# and ${exec_prefix} for most of the other directories...
172#
173# This is immediately followed by definition in ALL CAPS for the
174# needed directories...
175#
176
177bindir = @bindir@
178datadir = @datadir@
179exec_prefix = @exec_prefix@
180includedir = @includedir@
181infodir = @infodir@
182libdir = @libdir@
183libexecdir = @libexecdir@
184localstatedir = @localstatedir@
185mandir = @mandir@
186oldincludedir = @oldincludedir@
187prefix = @prefix@
188sbindir = @sbindir@
189sharedstatedir = @sharedstatedir@
190srcdir = @srcdir@
191sysconfdir = @sysconfdir@
192top_srcdir = @top_srcdir@
193
194BUILDROOT = $(DSTROOT)
195
196AMANDIR = $(BUILDROOT)@AMANDIR@
197BINDIR = $(BUILDROOT)@bindir@
198CACHEDIR = $(BUILDROOT)@CUPS_CACHEDIR@
199DATADIR = $(BUILDROOT)@CUPS_DATADIR@
200DOCDIR = $(BUILDROOT)@CUPS_DOCROOT@
201INCLUDEDIR = $(BUILDROOT)$(includedir)
202INITDIR = @INITDIR@
203INITDDIR = @INITDDIR@
204LIBDIR = $(BUILDROOT)$(libdir)
205LOCALEDIR = $(BUILDROOT)@CUPS_LOCALEDIR@
206LOGDIR = $(BUILDROOT)@CUPS_LOGDIR@
207MANDIR = $(BUILDROOT)@mandir@
208PMANDIR = $(BUILDROOT)@PMANDIR@
209REQUESTS = $(BUILDROOT)@CUPS_REQUESTS@
210SBINDIR = $(BUILDROOT)@sbindir@
211SERVERBIN = $(BUILDROOT)@CUPS_SERVERBIN@
212SERVERROOT = $(BUILDROOT)@CUPS_SERVERROOT@
213STATEDIR = $(BUILDROOT)@CUPS_STATEDIR@
e1d6a774 214XINETD = @XINETD@
ef416fc2 215
216MAN1EXT = @MAN1EXT@
217MAN5EXT = @MAN5EXT@
bd7854cb 218MAN7EXT = @MAN7EXT@
ef416fc2 219MAN8EXT = @MAN8EXT@
220MAN8DIR = @MAN8DIR@
221
b423cd4c 222PAMDIR = @PAMDIR@
ef416fc2 223PAMFILE = @PAMFILE@
224
b423cd4c 225DEFAULT_LAUNCHD_CONF = @DEFAULT_LAUNCHD_CONF@
bd7854cb 226DBUSDIR = @DBUSDIR@
a4d04587 227
ef416fc2 228
229#
230# Rules...
231#
232
233.SILENT:
e1d6a774 234.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 235
236.c.o:
237 echo Compiling $<...
e1d6a774 238 $(CC) $(ARCHFLAGS) $(OPTIM) $(CFLAGS) -c $<
239
240.c.32.o:
241 echo Compiling 32-bit $<...
242 $(CC) $(ARCH32FLAGS) $(OPTIM) $(CFLAGS) -c -o $@ $<
243
244.c.64.o:
245 echo Compiling 64-bit $<...
246 $(CC) $(ARCH64FLAGS) $(OPTIM) $(CFLAGS) -c -o $@ $<
ef416fc2 247
248.cxx.o:
249 echo Compiling $<...
e1d6a774 250 $(CXX) $(ARCHFLAGS) $(OPTIM) $(CXXFLAGS) -c $<
ef416fc2 251
bd7854cb 252.man.1 .man.1m .man.5 .man.7 .man.8:
ef416fc2 253 echo Linking $<...
254 $(RM) $@
255 $(LN) $< $@
256
bd7854cb 257.man.1.gz .man.1m.gz .man.5.gz .man.7.gz .man.8.gz .man.gz:
ef416fc2 258 echo -n Compressing $<...
259 $(RM) $@
260 gzip -v9 <$< >$@
261
262
263#
a74454a7 264# End of "$Id: Makedefs.in 5468 2006-04-27 13:40:30Z mike $"
ef416fc2 265#