]> git.ipfire.org Git - thirdparty/cups.git/blame - Makedefs.in
Fix mime_type_t structure definition...
[thirdparty/cups.git] / Makedefs.in
CommitLineData
3a57cba8 1#
c9d3f842 2# "$Id$"
3a57cba8 3#
4# Common makefile definitions for the Common UNIX Printing System (CUPS).
5#
c9d3f842 6# Copyright 1997-2005 by Easy Software Products, all rights reserved.
3a57cba8 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
c9e6a22c 17# 44141 Airport View Drive, Suite 204
c9d3f842 18# Hollywood, Maryland 20636 USA
3a57cba8 19#
9639c4de 20# Voice: (301) 373-9600
3a57cba8 21# EMail: cups-info@cups.org
22# WWW: http://www.cups.org
23#
24
a810d5d8 25#
26# Programs...
27#
28
b4f2ed46 29AR = @AR@
30AWK = @AWK@
31CC = @LIBTOOL@ @CC@
32CXX = @LIBTOOL@ @CXX@
33DSO = @DSO@
34HTMLDOC = @HTMLDOC@
35INSTALL = @INSTALL@
36LIBTOOL = @LIBTOOL@
2abcdcaa 37LN = @LN@ -sf
b4f2ed46 38MV = @MV@
b4f2ed46 39RANLIB = @RANLIB@
40RM = @RM@ -f
41SED = @SED@
42SHELL = /bin/sh
43STRIP = @STRIP@
3a57cba8 44
a3e17a89 45#
46# Installation programs...
47#
48
f9ab96a4 49INSTALL_BIN = $(LIBTOOL) $(INSTALL) -m 755
6dc66910 50INSTALL_CONFIG = $(INSTALL) -m @CUPS_CONFIG_FILE_PERM@
753453e4 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#
6dc66910 58# Default user, group, and system groups for the scheduler...
753453e4 59#
60
61CUPS_USER = @CUPS_USER@
62CUPS_GROUP = @CUPS_GROUP@
6dc66910 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@
a3e17a89 71
7e8966ca 72#
73# Libraries...
74#
75
b4f2ed46 76LIBCUPS = @LIBCUPS@
77LIBCUPSIMAGE = @LIBCUPSIMAGE@
78LIBJPEG = @LIBJPEG@
79LIBMALLOC = @LIBMALLOC@
80LIBPAPER = @LIBPAPER@
81LIBPNG = @LIBPNG@
82LIBSLP = @LIBSLP@
83LIBTIFF = @LIBTIFF@
84LIBZ = @LIBZ@
7e8966ca 85
be72435b 86#
87# Install static libraries?
88#
89
90INSTALLSTATIC = @INSTALLSTATIC@
91
a810d5d8 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
b4f2ed46 100ARFLAGS = @ARFLAGS@
101BACKLIBS = @BACKLIBS@
1479646d 102CFLAGS = -I.. $(RC_CFLAGS) $(SSLFLAGS) @CPPFLAGS@ @CFLAGS@ \
103 @LARGEFILE@ $(OPTIONS)
6c240d71 104COMMONLIBS = @LIBS@
6de33945 105CUPSDLIBS = @CUPSDLIBS@
1479646d 106CXXFLAGS = -I.. $(RC_CFLAGS) $(SSLFLAGS) @CPPFLAGS@ @CXXFLAGS@ \
107 @LARGEFILE@ $(OPTIONS)
b4f2ed46 108CXXLIBS = @CXXLIBS@
33c76e27 109DSOFLAGS = @DSOFLAGS@
b4f2ed46 110DSOLIBS = @DSOLIBS@ $(COMMONLIBS)
111IMGLIBS = @IMGLIBS@ -lm
112LDFLAGS = -L../cups -L../filter $(RC_CFLAGS) @LDFLAGS@ $(OPTIM)
1a59b1c1 113LINKCUPS = @LINKCUPS@ $(SSLLIBS)
b4f2ed46 114LINKCUPSIMAGE = @LINKCUPSIMAGE@
6c240d71 115LIBS = $(LINKCUPS) $(COMMONLIBS)
b4f2ed46 116OPTIM = @OPTIM@
117OPTIONS =
118PAMLIBS = @PAMLIBS@
a603272c 119SSLFLAGS = @SSLFLAGS@
b4f2ed46 120SSLLIBS = @SSLLIBS@
5db6985b 121LAUNCHDLIBS = @LAUNCHDLIBS@
a810d5d8 122
123#
124# Directories...
125#
126# The first section uses the GNU names (which are *extremely*
127# difficult to find in a makefile because they are lowercase...)
128# We have to define these first because autoconf uses ${prefix}
129# and ${exec_prefix} for most of the other directories...
130#
131# This is immediately followed by definition in ALL CAPS for the
132# needed directories...
133#
134
135bindir = @bindir@
136datadir = @datadir@
137exec_prefix = @exec_prefix@
138includedir = @includedir@
139infodir = @infodir@
140libdir = @libdir@
141libexecdir = @libexecdir@
142localstatedir = @localstatedir@
143mandir = @mandir@
144oldincludedir = @oldincludedir@
145prefix = @prefix@
146sbindir = @sbindir@
147sharedstatedir = @sharedstatedir@
148srcdir = @srcdir@
149sysconfdir = @sysconfdir@
150top_srcdir = @top_srcdir@
151
f915b00f 152BUILDROOT = $(DSTROOT)
153
753453e4 154AMANDIR = $(BUILDROOT)@AMANDIR@
155BINDIR = $(BUILDROOT)@bindir@
f2bc527f 156CACHEDIR = $(BUILDROOT)@CUPS_CACHEDIR@
753453e4 157DATADIR = $(BUILDROOT)@CUPS_DATADIR@
158DOCDIR = $(BUILDROOT)@CUPS_DOCROOT@
159INCLUDEDIR = $(BUILDROOT)$(includedir)
7f30fc5e 160INITDIR = @INITDIR@
161INITDDIR = @INITDDIR@
753453e4 162LIBDIR = $(BUILDROOT)$(libdir)
163LOCALEDIR = $(BUILDROOT)@CUPS_LOCALEDIR@
164LOGDIR = $(BUILDROOT)@CUPS_LOGDIR@
165MANDIR = $(BUILDROOT)@mandir@
753453e4 166PMANDIR = $(BUILDROOT)@PMANDIR@
167REQUESTS = $(BUILDROOT)@CUPS_REQUESTS@
168SBINDIR = $(BUILDROOT)@sbindir@
169SERVERBIN = $(BUILDROOT)@CUPS_SERVERBIN@
170SERVERROOT = $(BUILDROOT)@CUPS_SERVERROOT@
62485fd0 171STATEDIR = $(BUILDROOT)@CUPS_STATEDIR@
a810d5d8 172
0efda061 173MAN1EXT = @MAN1EXT@
174MAN5EXT = @MAN5EXT@
ae40876c 175MAN8EXT = @MAN8EXT@
753453e4 176MAN8DIR = @MAN8DIR@
e64cfc6d 177
5aad2002 178PAMDIR = $(BUILDROOT)@PAMDIR@
179PAMFILE = @PAMFILE@
180
5db6985b 181DEFAULT_LAUNCHD_CONF = @DEFAULT_LAUNCHD_CONF@
182
5aad2002 183
a810d5d8 184#
185# Rules...
186#
187
7e8966ca 188.SILENT:
0efda061 189.SUFFIXES: .1 .1.gz .1m .1m.gz .5 .5.gz .8 .8.gz .a .c .cxx .h .man .o .gz
190
3a57cba8 191.c.o:
8391453b 192 echo Compiling $<...
f6fb02d3 193 $(CC) $(OPTIM) $(CFLAGS) -c $<
0efda061 194
0e60aede 195.cxx.o:
196 echo Compiling $<...
f6fb02d3 197 $(CXX) $(OPTIM) $(CXXFLAGS) -c $<
0efda061 198
199.man.1 .man.1m .man.5 .man.8:
200 echo Linking $<...
201 $(RM) $@
202 $(LN) $< $@
203
204.man.1.gz .man.1m.gz .man.5.gz .man.8.gz .man.gz:
e43e7922 205 echo -n Compressing $<...
f63a2256 206 $(RM) $@
0efda061 207 gzip -v9 <$< >$@
5b28477f 208
3a57cba8 209
210#
c9d3f842 211# End of "$Id$"
3a57cba8 212#