2 # "$Id: Makedefs.in 5609 2006-05-30 20:31:10Z 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@
81 INSTALL_LANGUAGES = @INSTALL_LANGUAGES@
82 UNINSTALL_LANGUAGES = @UNINSTALL_LANGUAGES@
89 LIBCUPSIMAGE = @LIBCUPSIMAGE@
92 LIBMALLOC = @LIBMALLOC@
100 # Install static libraries?
103 INSTALLSTATIC = @INSTALLSTATIC@
108 # ARCHFLAGS Defines the default architecture build options, used
109 # when compiling separate 32/64-bit libraries.
110 # ARCH32FLAGS Defines the 32-bit architecture build options, used
111 # when compiling separate 32/64-bit libraries.
112 # ARCH64FLAGS Defines the 64-bit architecture build options, used
113 # when compiling separate 32/64-bit libraries.
114 # OPTIM Defines the common compiler optimization/debugging options
115 # for all architectures.
116 # OPTIONS Defines other compile-time options (currently only -DDEBUG
117 # for extra debug info)
120 ARCHFLAGS = @ARCHFLAGS@
122 BACKLIBS = @BACKLIBS@
123 CFLAGS = -I.. $(SSLFLAGS) @CPPFLAGS@ @CFLAGS@ \
124 @LARGEFILE@ @PTHREAD_FLAGS@ $(OPTIONS)
126 CUPSDLIBS = @CUPSDLIBS@
127 CXXFLAGS = -I.. $(SSLFLAGS) @CPPFLAGS@ @CXXFLAGS@ \
128 @LARGEFILE@ @PTHREAD_FLAGS@ $(OPTIONS)
130 DSOFLAGS = @DSOFLAGS@
131 DSOLIBS = @DSOLIBS@ $(COMMONLIBS)
133 IMGFILTERS = @IMGFILTERS@
134 LDFLAGS = -L../cups -L../filter $(ARCHFLAGS) \
135 @LDFLAGS@ @PIEFLAGS@ $(OPTIM)
136 LINKCUPS = @LINKCUPS@ $(SSLLIBS)
137 LINKCUPSIMAGE = @LINKCUPSIMAGE@
138 LIBS = $(LINKCUPS) $(COMMONLIBS)
145 SSLFLAGS = @SSLFLAGS@
147 LAUNCHDLIBS = @LAUNCHDLIBS@
150 # Separate 32/64-bit library support...
153 ARCH32FLAGS = @ARCH32FLAGS@
154 DSO32FLAGS = @DSO32FLAGS@
155 INSTALL32 = @INSTALL32@
156 LIB32CUPS = @LIB32CUPS@
157 LIB32CUPSIMAGE = @LIB32CUPSIMAGE@
158 LIB32DIR = $(BUILDROOT)@LIB32DIR@
159 UNINSTALL32 = @UNINSTALL32@
161 ARCH64FLAGS = @ARCH64FLAGS@
162 DSO64FLAGS = @DSO64FLAGS@
163 INSTALL64 = @INSTALL64@
164 LIB64CUPS = @LIB64CUPS@
165 LIB64CUPSIMAGE = @LIB64CUPSIMAGE@
166 LIB64DIR = $(BUILDROOT)@LIB64DIR@
167 UNINSTALL64 = @UNINSTALL64@
172 # The first section uses the GNU names (which are *extremely*
173 # difficult to find in a makefile because they are lowercase...)
174 # We have to define these first because autoconf uses ${prefix}
175 # and ${exec_prefix} for most of the other directories...
177 # This is immediately followed by definition in ALL CAPS for the
178 # needed directories...
183 exec_prefix = @exec_prefix@
184 includedir = @includedir@
187 libexecdir = @libexecdir@
188 localstatedir = @localstatedir@
190 oldincludedir = @oldincludedir@
193 sharedstatedir = @sharedstatedir@
195 sysconfdir = @sysconfdir@
196 top_srcdir = @top_srcdir@
198 BUILDROOT = $(DSTROOT)
200 AMANDIR = $(BUILDROOT)@AMANDIR@
201 BINDIR = $(BUILDROOT)@bindir@
202 CACHEDIR = $(BUILDROOT)@CUPS_CACHEDIR@
203 DATADIR = $(BUILDROOT)@CUPS_DATADIR@
204 DOCDIR = $(BUILDROOT)@CUPS_DOCROOT@
205 INCLUDEDIR = $(BUILDROOT)$(includedir)
207 INITDDIR = @INITDDIR@
208 LIBDIR = $(BUILDROOT)$(libdir)
209 LOCALEDIR = $(BUILDROOT)@CUPS_LOCALEDIR@
210 LOGDIR = $(BUILDROOT)@CUPS_LOGDIR@
211 MANDIR = $(BUILDROOT)@mandir@
212 PMANDIR = $(BUILDROOT)@PMANDIR@
213 REQUESTS = $(BUILDROOT)@CUPS_REQUESTS@
214 SBINDIR = $(BUILDROOT)@sbindir@
215 SERVERBIN = $(BUILDROOT)@CUPS_SERVERBIN@
216 SERVERROOT = $(BUILDROOT)@CUPS_SERVERROOT@
217 STATEDIR = $(BUILDROOT)@CUPS_STATEDIR@
229 DEFAULT_LAUNCHD_CONF = @DEFAULT_LAUNCHD_CONF@
238 .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
242 $(CC) $(ARCHFLAGS) $(OPTIM) $(CFLAGS) -c $<
245 echo Compiling 32-bit $<...
246 $(CC) $(ARCH32FLAGS) $(OPTIM) $(CFLAGS) -c -o $@ $<
249 echo Compiling 64-bit $<...
250 $(CC) $(ARCH64FLAGS) $(OPTIM) $(CFLAGS) -c -o $@ $<
254 $(CXX) $(ARCHFLAGS) $(OPTIM) $(CXXFLAGS) -c $<
256 .man.1 .man.1m .man.5 .man.7 .man.8:
261 .man.1.gz .man.1m.gz .man.5.gz .man.7.gz .man.8.gz .man.gz:
262 echo -n Compressing $<...
268 # End of "$Id: Makedefs.in 5609 2006-05-30 20:31:10Z mike $"