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