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