2 # "$Id: Makedefs.in 5229 2006-03-05 16:48:12Z 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
40 PHPCONFIG = @PHPCONFIG@
49 # Installation programs...
52 INSTALL_BIN = $(LIBTOOL) $(INSTALL) -m 755
53 INSTALL_CONFIG = $(INSTALL) -m @CUPS_CONFIG_FILE_PERM@
54 INSTALL_DATA = $(INSTALL) -m 644
55 INSTALL_DIR = $(INSTALL) -d
56 INSTALL_LIB = $(LIBTOOL) $(INSTALL) -m 755
57 INSTALL_MAN = $(INSTALL) -m 644
58 INSTALL_SCRIPT = $(INSTALL) -m 755
61 # Default user, group, and system groups for the scheduler...
64 CUPS_USER = @CUPS_USER@
65 CUPS_GROUP = @CUPS_GROUP@
66 CUPS_SYSTEM_GROUPS = @CUPS_SYSTEM_GROUPS@
67 CUPS_PRIMARY_SYSTEM_GROUP = @CUPS_PRIMARY_SYSTEM_GROUP@
70 # Default permissions...
73 CUPS_CONFIG_FILE_PERM = @CUPS_CONFIG_FILE_PERM@
74 CUPS_LOG_FILE_PERM = @CUPS_LOG_FILE_PERM@
81 LIBCUPSIMAGE = @LIBCUPSIMAGE@
84 LIBMALLOC = @LIBMALLOC@
92 # Install static libraries?
95 INSTALLSTATIC = @INSTALLSTATIC@
100 # OPTIM defines the common compiler optimization/debugging options.
101 # OPTIONS defines other compile-time options (currently only -dDEBUG for
106 BACKLIBS = @BACKLIBS@
107 CFLAGS = -I.. $(RC_CFLAGS) $(SSLFLAGS) @CPPFLAGS@ @CFLAGS@ \
108 @LARGEFILE@ @PTHREAD_FLAGS@ $(OPTIONS)
110 CUPSDLIBS = @CUPSDLIBS@
111 CXXFLAGS = -I.. $(RC_CFLAGS) $(SSLFLAGS) @CPPFLAGS@ @CXXFLAGS@ \
112 @LARGEFILE@ @PTHREAD_FLAGS@ $(OPTIONS)
114 DSOFLAGS = @DSOFLAGS@
115 DSOLIBS = @DSOLIBS@ $(COMMONLIBS)
116 IMGLIBS = @IMGLIBS@ -lm
117 LDFLAGS = -L../cups -L../filter $(RC_CFLAGS) @LDFLAGS@ $(OPTIM)
118 LINKCUPS = @LINKCUPS@ $(SSLLIBS)
119 LINKCUPSIMAGE = @LINKCUPSIMAGE@
120 LIBS = $(LINKCUPS) $(COMMONLIBS)
125 SSLFLAGS = @SSLFLAGS@
127 LAUNCHDLIBS = @LAUNCHDLIBS@
132 # The first section uses the GNU names (which are *extremely*
133 # difficult to find in a makefile because they are lowercase...)
134 # We have to define these first because autoconf uses ${prefix}
135 # and ${exec_prefix} for most of the other directories...
137 # This is immediately followed by definition in ALL CAPS for the
138 # needed directories...
143 exec_prefix = @exec_prefix@
144 includedir = @includedir@
147 libexecdir = @libexecdir@
148 localstatedir = @localstatedir@
150 oldincludedir = @oldincludedir@
153 sharedstatedir = @sharedstatedir@
155 sysconfdir = @sysconfdir@
156 top_srcdir = @top_srcdir@
158 BUILDROOT = $(DSTROOT)
160 AMANDIR = $(BUILDROOT)@AMANDIR@
161 BINDIR = $(BUILDROOT)@bindir@
162 CACHEDIR = $(BUILDROOT)@CUPS_CACHEDIR@
163 DATADIR = $(BUILDROOT)@CUPS_DATADIR@
164 DOCDIR = $(BUILDROOT)@CUPS_DOCROOT@
165 INCLUDEDIR = $(BUILDROOT)$(includedir)
167 INITDDIR = @INITDDIR@
168 LIBDIR = $(BUILDROOT)$(libdir)
169 LOCALEDIR = $(BUILDROOT)@CUPS_LOCALEDIR@
170 LOGDIR = $(BUILDROOT)@CUPS_LOGDIR@
171 MANDIR = $(BUILDROOT)@mandir@
172 PMANDIR = $(BUILDROOT)@PMANDIR@
173 REQUESTS = $(BUILDROOT)@CUPS_REQUESTS@
174 SBINDIR = $(BUILDROOT)@sbindir@
175 SERVERBIN = $(BUILDROOT)@CUPS_SERVERBIN@
176 SERVERROOT = $(BUILDROOT)@CUPS_SERVERROOT@
177 STATEDIR = $(BUILDROOT)@CUPS_STATEDIR@
188 DEFAULT_LAUNCHD_CONF = @DEFAULT_LAUNCHD_CONF@
197 .SUFFIXES: .1 .1.gz .1m .1m.gz .5 .5.gz .7 .7.gz .8 .8.gz .a .c .cxx .h .man .o .gz
201 $(CC) $(OPTIM) $(CFLAGS) -c $<
205 $(CXX) $(OPTIM) $(CXXFLAGS) -c $<
207 .man.1 .man.1m .man.5 .man.7 .man.8:
212 .man.1.gz .man.1m.gz .man.5.gz .man.7.gz .man.8.gz .man.gz:
213 echo -n Compressing $<...
219 # End of "$Id: Makedefs.in 5229 2006-03-05 16:48:12Z mike $"