]> git.ipfire.org Git - thirdparty/cups.git/blame - Makedefs.in
Load cups into easysw/current.
[thirdparty/cups.git] / Makedefs.in
CommitLineData
ef416fc2 1#
b423cd4c 2# "$Id: Makedefs.in 5194 2006-02-27 20:57:07Z 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
43SED = @SED@
44SHELL = /bin/sh
45STRIP = @STRIP@
46
47#
48# Installation programs...
49#
50
e00b005a 51INSTALL_BIN = $(LIBTOOL) $(INSTALL) -m 755
09ec0018 52INSTALL_CONFIG = $(INSTALL) -m @CUPS_CONFIG_FILE_PERM@
ef416fc2 53INSTALL_DATA = $(INSTALL) -m 644
54INSTALL_DIR = $(INSTALL) -d
55INSTALL_LIB = $(LIBTOOL) $(INSTALL) -m 755
56INSTALL_MAN = $(INSTALL) -m 644
57INSTALL_SCRIPT = $(INSTALL) -m 755
58
59#
09ec0018 60# Default user, group, and system groups for the scheduler...
ef416fc2 61#
62
63CUPS_USER = @CUPS_USER@
64CUPS_GROUP = @CUPS_GROUP@
09ec0018 65CUPS_SYSTEM_GROUPS = @CUPS_SYSTEM_GROUPS@
bd7854cb 66CUPS_PRIMARY_SYSTEM_GROUP = @CUPS_PRIMARY_SYSTEM_GROUP@
09ec0018 67
68#
69# Default permissions...
70#
71
72CUPS_CONFIG_FILE_PERM = @CUPS_CONFIG_FILE_PERM@
73CUPS_LOG_FILE_PERM = @CUPS_LOG_FILE_PERM@
ef416fc2 74
75#
76# Libraries...
77#
78
79LIBCUPS = @LIBCUPS@
80LIBCUPSIMAGE = @LIBCUPSIMAGE@
81LIBJPEG = @LIBJPEG@
b423cd4c 82LIBLDAP = @LIBLDAP@
ef416fc2 83LIBMALLOC = @LIBMALLOC@
84LIBPAPER = @LIBPAPER@
85LIBPNG = @LIBPNG@
86LIBSLP = @LIBSLP@
87LIBTIFF = @LIBTIFF@
88LIBZ = @LIBZ@
89
923edb68 90#
91# Install static libraries?
92#
93
94INSTALLSTATIC = @INSTALLSTATIC@
95
ef416fc2 96#
97# Program options...
98#
99# OPTIM defines the common compiler optimization/debugging options.
100# OPTIONS defines other compile-time options (currently only -dDEBUG for
101# extra debug info)
102#
103
104ARFLAGS = @ARFLAGS@
105BACKLIBS = @BACKLIBS@
106CFLAGS = -I.. $(RC_CFLAGS) $(SSLFLAGS) @CPPFLAGS@ @CFLAGS@ \
b423cd4c 107 @LARGEFILE@ @PTHREAD_FLAGS@ $(OPTIONS)
ef416fc2 108COMMONLIBS = @LIBS@
09ec0018 109CUPSDLIBS = @CUPSDLIBS@
ef416fc2 110CXXFLAGS = -I.. $(RC_CFLAGS) $(SSLFLAGS) @CPPFLAGS@ @CXXFLAGS@ \
b423cd4c 111 @LARGEFILE@ @PTHREAD_FLAGS@ $(OPTIONS)
ef416fc2 112CXXLIBS = @CXXLIBS@
113DSOFLAGS = @DSOFLAGS@
114DSOLIBS = @DSOLIBS@ $(COMMONLIBS)
115IMGLIBS = @IMGLIBS@ -lm
116LDFLAGS = -L../cups -L../filter $(RC_CFLAGS) @LDFLAGS@ $(OPTIM)
117LINKCUPS = @LINKCUPS@ $(SSLLIBS)
118LINKCUPSIMAGE = @LINKCUPSIMAGE@
119LIBS = $(LINKCUPS) $(COMMONLIBS)
120OPTIM = @OPTIM@
121OPTIONS =
122PAMLIBS = @PAMLIBS@
b423cd4c 123PHPDIR = @PHPDIR@
ef416fc2 124SSLFLAGS = @SSLFLAGS@
125SSLLIBS = @SSLLIBS@
a4d04587 126LAUNCHDLIBS = @LAUNCHDLIBS@
ef416fc2 127
128#
129# Directories...
130#
131# The first section uses the GNU names (which are *extremely*
132# difficult to find in a makefile because they are lowercase...)
133# We have to define these first because autoconf uses ${prefix}
134# and ${exec_prefix} for most of the other directories...
135#
136# This is immediately followed by definition in ALL CAPS for the
137# needed directories...
138#
139
140bindir = @bindir@
141datadir = @datadir@
142exec_prefix = @exec_prefix@
143includedir = @includedir@
144infodir = @infodir@
145libdir = @libdir@
146libexecdir = @libexecdir@
147localstatedir = @localstatedir@
148mandir = @mandir@
149oldincludedir = @oldincludedir@
150prefix = @prefix@
151sbindir = @sbindir@
152sharedstatedir = @sharedstatedir@
153srcdir = @srcdir@
154sysconfdir = @sysconfdir@
155top_srcdir = @top_srcdir@
156
157BUILDROOT = $(DSTROOT)
158
159AMANDIR = $(BUILDROOT)@AMANDIR@
160BINDIR = $(BUILDROOT)@bindir@
161CACHEDIR = $(BUILDROOT)@CUPS_CACHEDIR@
162DATADIR = $(BUILDROOT)@CUPS_DATADIR@
163DOCDIR = $(BUILDROOT)@CUPS_DOCROOT@
164INCLUDEDIR = $(BUILDROOT)$(includedir)
165INITDIR = @INITDIR@
166INITDDIR = @INITDDIR@
167LIBDIR = $(BUILDROOT)$(libdir)
168LOCALEDIR = $(BUILDROOT)@CUPS_LOCALEDIR@
169LOGDIR = $(BUILDROOT)@CUPS_LOGDIR@
170MANDIR = $(BUILDROOT)@mandir@
171PMANDIR = $(BUILDROOT)@PMANDIR@
172REQUESTS = $(BUILDROOT)@CUPS_REQUESTS@
173SBINDIR = $(BUILDROOT)@sbindir@
174SERVERBIN = $(BUILDROOT)@CUPS_SERVERBIN@
175SERVERROOT = $(BUILDROOT)@CUPS_SERVERROOT@
176STATEDIR = $(BUILDROOT)@CUPS_STATEDIR@
177
178MAN1EXT = @MAN1EXT@
179MAN5EXT = @MAN5EXT@
bd7854cb 180MAN7EXT = @MAN7EXT@
ef416fc2 181MAN8EXT = @MAN8EXT@
182MAN8DIR = @MAN8DIR@
183
b423cd4c 184PAMDIR = @PAMDIR@
ef416fc2 185PAMFILE = @PAMFILE@
186
b423cd4c 187DEFAULT_LAUNCHD_CONF = @DEFAULT_LAUNCHD_CONF@
bd7854cb 188DBUSDIR = @DBUSDIR@
a4d04587 189
ef416fc2 190
191#
192# Rules...
193#
194
195.SILENT:
bd7854cb 196.SUFFIXES: .1 .1.gz .1m .1m.gz .5 .5.gz .7 .7.gz .8 .8.gz .a .c .cxx .h .man .o .gz
ef416fc2 197
198.c.o:
199 echo Compiling $<...
200 $(CC) $(OPTIM) $(CFLAGS) -c $<
201
202.cxx.o:
203 echo Compiling $<...
204 $(CXX) $(OPTIM) $(CXXFLAGS) -c $<
205
bd7854cb 206.man.1 .man.1m .man.5 .man.7 .man.8:
ef416fc2 207 echo Linking $<...
208 $(RM) $@
209 $(LN) $< $@
210
bd7854cb 211.man.1.gz .man.1m.gz .man.5.gz .man.7.gz .man.8.gz .man.gz:
ef416fc2 212 echo -n Compressing $<...
213 $(RM) $@
214 gzip -v9 <$< >$@
215
216
217#
b423cd4c 218# End of "$Id: Makedefs.in 5194 2006-02-27 20:57:07Z mike $"
ef416fc2 219#