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