2 # "$Id: Makedefs.in 5136 2006-02-19 18:46:46Z mike $"
4 # Common makefile definitions for the Common UNIX Printing System (CUPS).
6 # Copyright 1997-2006 by Easy Software Products, all rights reserved.
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
15 # Attn: CUPS Licensing Information
16 # Easy Software Products
17 # 44141 Airport View Drive, Suite 204
18 # Hollywood, Maryland 20636 USA
20 # Voice: (301) 373-9600
21 # EMail: cups-info@cups.org
22 # WWW: http://www.cups.org
47 # Installation programs...
50 INSTALL_BIN = $(LIBTOOL) $(INSTALL) -m 755
51 INSTALL_CONFIG = $(INSTALL) -m @CUPS_CONFIG_FILE_PERM@
52 INSTALL_DATA = $(INSTALL) -m 644
53 INSTALL_DIR = $(INSTALL) -d
54 INSTALL_LIB = $(LIBTOOL) $(INSTALL) -m 755
55 INSTALL_MAN = $(INSTALL) -m 644
56 INSTALL_SCRIPT = $(INSTALL) -m 755
59 # Default user, group, and system groups for the scheduler...
62 CUPS_USER = @CUPS_USER@
63 CUPS_GROUP = @CUPS_GROUP@
64 CUPS_SYSTEM_GROUPS = @CUPS_SYSTEM_GROUPS@
65 CUPS_PRIMARY_SYSTEM_GROUP = @CUPS_PRIMARY_SYSTEM_GROUP@
68 # Default permissions...
71 CUPS_CONFIG_FILE_PERM = @CUPS_CONFIG_FILE_PERM@
72 CUPS_LOG_FILE_PERM = @CUPS_LOG_FILE_PERM@
79 LIBCUPSIMAGE = @LIBCUPSIMAGE@
81 LIBMALLOC = @LIBMALLOC@
89 # Install static libraries?
92 INSTALLSTATIC = @INSTALLSTATIC@
97 # OPTIM defines the common compiler optimization/debugging options.
98 # OPTIONS defines other compile-time options (currently only -dDEBUG for
103 BACKLIBS = @BACKLIBS@
104 CFLAGS = -I.. $(RC_CFLAGS) $(SSLFLAGS) @CPPFLAGS@ @CFLAGS@ \
105 @LARGEFILE@ $(OPTIONS)
107 CUPSDLIBS = @CUPSDLIBS@
108 CXXFLAGS = -I.. $(RC_CFLAGS) $(SSLFLAGS) @CPPFLAGS@ @CXXFLAGS@ \
109 @LARGEFILE@ $(OPTIONS)
111 DSOFLAGS = @DSOFLAGS@
112 DSOLIBS = @DSOLIBS@ $(COMMONLIBS)
113 IMGLIBS = @IMGLIBS@ -lm
114 LDFLAGS = -L../cups -L../filter $(RC_CFLAGS) @LDFLAGS@ $(OPTIM)
115 LINKCUPS = @LINKCUPS@ $(SSLLIBS)
116 LINKCUPSIMAGE = @LINKCUPSIMAGE@
117 LIBS = $(LINKCUPS) $(COMMONLIBS)
121 SSLFLAGS = @SSLFLAGS@
123 LAUNCHDLIBS = @LAUNCHDLIBS@
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...
133 # This is immediately followed by definition in ALL CAPS for the
134 # needed directories...
139 exec_prefix = @exec_prefix@
140 includedir = @includedir@
143 libexecdir = @libexecdir@
144 localstatedir = @localstatedir@
146 oldincludedir = @oldincludedir@
149 sharedstatedir = @sharedstatedir@
151 sysconfdir = @sysconfdir@
152 top_srcdir = @top_srcdir@
154 BUILDROOT = $(DSTROOT)
156 AMANDIR = $(BUILDROOT)@AMANDIR@
157 BINDIR = $(BUILDROOT)@bindir@
158 CACHEDIR = $(BUILDROOT)@CUPS_CACHEDIR@
159 DATADIR = $(BUILDROOT)@CUPS_DATADIR@
160 DOCDIR = $(BUILDROOT)@CUPS_DOCROOT@
161 INCLUDEDIR = $(BUILDROOT)$(includedir)
163 INITDDIR = @INITDDIR@
164 LIBDIR = $(BUILDROOT)$(libdir)
165 LOCALEDIR = $(BUILDROOT)@CUPS_LOCALEDIR@
166 LOGDIR = $(BUILDROOT)@CUPS_LOGDIR@
167 MANDIR = $(BUILDROOT)@mandir@
168 PMANDIR = $(BUILDROOT)@PMANDIR@
169 REQUESTS = $(BUILDROOT)@CUPS_REQUESTS@
170 SBINDIR = $(BUILDROOT)@sbindir@
171 SERVERBIN = $(BUILDROOT)@CUPS_SERVERBIN@
172 SERVERROOT = $(BUILDROOT)@CUPS_SERVERROOT@
173 STATEDIR = $(BUILDROOT)@CUPS_STATEDIR@
181 PAMDIR = $(BUILDROOT)@PAMDIR@
184 DEFAULT_LAUNCHD_CONF = @DEFAULT_LAUNCHD_CONF@
193 .SUFFIXES: .1 .1.gz .1m .1m.gz .5 .5.gz .7 .7.gz .8 .8.gz .a .c .cxx .h .man .o .gz
197 $(CC) $(OPTIM) $(CFLAGS) -c $<
201 $(CXX) $(OPTIM) $(CXXFLAGS) -c $<
203 .man.1 .man.1m .man.5 .man.7 .man.8:
208 .man.1.gz .man.1m.gz .man.5.gz .man.7.gz .man.8.gz .man.gz:
209 echo -n Compressing $<...
215 # End of "$Id: Makedefs.in 5136 2006-02-19 18:46:46Z mike $"