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