2 # "$Id: Makedefs.in 5384 2006-04-07 18:03:16Z 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@
77 # Languages to install...
80 LANGUAGES = @LANGUAGES@
87 LIBCUPSIMAGE = @LIBCUPSIMAGE@
90 LIBMALLOC = @LIBMALLOC@
98 # Install static libraries?
101 INSTALLSTATIC = @INSTALLSTATIC@
106 # ARCHFLAGS Defines the default architecture build options, used
107 # when compiling separate 32/64-bit libraries.
108 # ARCH32FLAGS Defines the 32-bit architecture build options, used
109 # when compiling separate 32/64-bit libraries.
110 # ARCH64FLAGS Defines the 64-bit architecture build options, used
111 # when compiling separate 32/64-bit libraries.
112 # OPTIM Defines the common compiler optimization/debugging options
113 # for all architectures.
114 # OPTIONS Defines other compile-time options (currently only -DDEBUG
115 # for extra debug info)
118 ARCHFLAGS = @ARCHFLAGS@
120 BACKLIBS = @BACKLIBS@
121 CFLAGS = -I.. $(SSLFLAGS) @CPPFLAGS@ @CFLAGS@ \
122 @LARGEFILE@ @PTHREAD_FLAGS@ $(OPTIONS)
124 CUPSDLIBS = @CUPSDLIBS@
125 CXXFLAGS = -I.. $(SSLFLAGS) @CPPFLAGS@ @CXXFLAGS@ \
126 @LARGEFILE@ @PTHREAD_FLAGS@ $(OPTIONS)
128 DSOFLAGS = @DSOFLAGS@
129 DSOLIBS = @DSOLIBS@ $(COMMONLIBS)
130 IMGLIBS = @IMGLIBS@ -lm
131 IMGFILTERS = @IMGFILTERS@
132 LDFLAGS = -L../cups -L../filter $(RC_CFLAGS) $(ARCHFLAGS) \
134 LINKCUPS = @LINKCUPS@ $(SSLLIBS)
135 LINKCUPSIMAGE = @LINKCUPSIMAGE@
136 LIBS = $(LINKCUPS) $(COMMONLIBS)
142 SSLFLAGS = @SSLFLAGS@
144 LAUNCHDLIBS = @LAUNCHDLIBS@
147 # Separate 32/64-bit library support...
150 ARCH32FLAGS = @ARCH32FLAGS@
151 INSTALL32 = @INSTALL32@
152 LIB32CUPS = @LIB32CUPS@
153 LIB32CUPSIMAGE = @LIB32CUPSIMAGE@
154 LIB32DIR = $(BUILDROOT)@LIB32DIR@
155 UNINSTALL32 = @UNINSTALL32@
157 ARCH64FLAGS = @ARCH64FLAGS@
158 INSTALL64 = @INSTALL64@
159 LIB64CUPS = @LIB64CUPS@
160 LIB64CUPSIMAGE = @LIB64CUPSIMAGE@
161 LIB64DIR = $(BUILDROOT)@LIB64DIR@
162 UNINSTALL64 = @UNINSTALL64@
167 # The first section uses the GNU names (which are *extremely*
168 # difficult to find in a makefile because they are lowercase...)
169 # We have to define these first because autoconf uses ${prefix}
170 # and ${exec_prefix} for most of the other directories...
172 # This is immediately followed by definition in ALL CAPS for the
173 # needed directories...
178 exec_prefix = @exec_prefix@
179 includedir = @includedir@
182 libexecdir = @libexecdir@
183 localstatedir = @localstatedir@
185 oldincludedir = @oldincludedir@
188 sharedstatedir = @sharedstatedir@
190 sysconfdir = @sysconfdir@
191 top_srcdir = @top_srcdir@
193 BUILDROOT = $(DSTROOT)
195 AMANDIR = $(BUILDROOT)@AMANDIR@
196 BINDIR = $(BUILDROOT)@bindir@
197 CACHEDIR = $(BUILDROOT)@CUPS_CACHEDIR@
198 DATADIR = $(BUILDROOT)@CUPS_DATADIR@
199 DOCDIR = $(BUILDROOT)@CUPS_DOCROOT@
200 INCLUDEDIR = $(BUILDROOT)$(includedir)
202 INITDDIR = @INITDDIR@
203 LIBDIR = $(BUILDROOT)$(libdir)
204 LOCALEDIR = $(BUILDROOT)@CUPS_LOCALEDIR@
205 LOGDIR = $(BUILDROOT)@CUPS_LOGDIR@
206 MANDIR = $(BUILDROOT)@mandir@
207 PMANDIR = $(BUILDROOT)@PMANDIR@
208 REQUESTS = $(BUILDROOT)@CUPS_REQUESTS@
209 SBINDIR = $(BUILDROOT)@sbindir@
210 SERVERBIN = $(BUILDROOT)@CUPS_SERVERBIN@
211 SERVERROOT = $(BUILDROOT)@CUPS_SERVERROOT@
212 STATEDIR = $(BUILDROOT)@CUPS_STATEDIR@
224 DEFAULT_LAUNCHD_CONF = @DEFAULT_LAUNCHD_CONF@
233 .SUFFIXES: .1 .1.gz .1m .1m.gz .5 .5.gz .7 .7.gz .8 .8.gz .a .c .cxx .h .man .o .32.o .64.o .gz
237 $(CC) $(ARCHFLAGS) $(OPTIM) $(CFLAGS) -c $<
240 echo Compiling 32-bit $<...
241 $(CC) $(ARCH32FLAGS) $(OPTIM) $(CFLAGS) -c -o $@ $<
244 echo Compiling 64-bit $<...
245 $(CC) $(ARCH64FLAGS) $(OPTIM) $(CFLAGS) -c -o $@ $<
249 $(CXX) $(ARCHFLAGS) $(OPTIM) $(CXXFLAGS) -c $<
251 .man.1 .man.1m .man.5 .man.7 .man.8:
256 .man.1.gz .man.1m.gz .man.5.gz .man.7.gz .man.8.gz .man.gz:
257 echo -n Compressing $<...
263 # End of "$Id: Makedefs.in 5384 2006-04-07 18:03:16Z mike $"