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