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