2 # "$Id: Makedefs.in 5194 2006-02-27 20:57:07Z 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@
48 # Installation programs...
51 INSTALL_BIN = $(LIBTOOL) $(INSTALL) -m 755
52 INSTALL_CONFIG = $(INSTALL) -m @CUPS_CONFIG_FILE_PERM@
53 INSTALL_DATA = $(INSTALL) -m 644
54 INSTALL_DIR = $(INSTALL) -d
55 INSTALL_LIB = $(LIBTOOL) $(INSTALL) -m 755
56 INSTALL_MAN = $(INSTALL) -m 644
57 INSTALL_SCRIPT = $(INSTALL) -m 755
60 # Default user, group, and system groups for the scheduler...
63 CUPS_USER = @CUPS_USER@
64 CUPS_GROUP = @CUPS_GROUP@
65 CUPS_SYSTEM_GROUPS = @CUPS_SYSTEM_GROUPS@
66 CUPS_PRIMARY_SYSTEM_GROUP = @CUPS_PRIMARY_SYSTEM_GROUP@
69 # Default permissions...
72 CUPS_CONFIG_FILE_PERM = @CUPS_CONFIG_FILE_PERM@
73 CUPS_LOG_FILE_PERM = @CUPS_LOG_FILE_PERM@
80 LIBCUPSIMAGE = @LIBCUPSIMAGE@
83 LIBMALLOC = @LIBMALLOC@
91 # Install static libraries?
94 INSTALLSTATIC = @INSTALLSTATIC@
99 # OPTIM defines the common compiler optimization/debugging options.
100 # OPTIONS defines other compile-time options (currently only -dDEBUG for
105 BACKLIBS = @BACKLIBS@
106 CFLAGS = -I.. $(RC_CFLAGS) $(SSLFLAGS) @CPPFLAGS@ @CFLAGS@ \
107 @LARGEFILE@ @PTHREAD_FLAGS@ $(OPTIONS)
109 CUPSDLIBS = @CUPSDLIBS@
110 CXXFLAGS = -I.. $(RC_CFLAGS) $(SSLFLAGS) @CPPFLAGS@ @CXXFLAGS@ \
111 @LARGEFILE@ @PTHREAD_FLAGS@ $(OPTIONS)
113 DSOFLAGS = @DSOFLAGS@
114 DSOLIBS = @DSOLIBS@ $(COMMONLIBS)
115 IMGLIBS = @IMGLIBS@ -lm
116 LDFLAGS = -L../cups -L../filter $(RC_CFLAGS) @LDFLAGS@ $(OPTIM)
117 LINKCUPS = @LINKCUPS@ $(SSLLIBS)
118 LINKCUPSIMAGE = @LINKCUPSIMAGE@
119 LIBS = $(LINKCUPS) $(COMMONLIBS)
124 SSLFLAGS = @SSLFLAGS@
126 LAUNCHDLIBS = @LAUNCHDLIBS@
131 # The first section uses the GNU names (which are *extremely*
132 # difficult to find in a makefile because they are lowercase...)
133 # We have to define these first because autoconf uses ${prefix}
134 # and ${exec_prefix} for most of the other directories...
136 # This is immediately followed by definition in ALL CAPS for the
137 # needed directories...
142 exec_prefix = @exec_prefix@
143 includedir = @includedir@
146 libexecdir = @libexecdir@
147 localstatedir = @localstatedir@
149 oldincludedir = @oldincludedir@
152 sharedstatedir = @sharedstatedir@
154 sysconfdir = @sysconfdir@
155 top_srcdir = @top_srcdir@
157 BUILDROOT = $(DSTROOT)
159 AMANDIR = $(BUILDROOT)@AMANDIR@
160 BINDIR = $(BUILDROOT)@bindir@
161 CACHEDIR = $(BUILDROOT)@CUPS_CACHEDIR@
162 DATADIR = $(BUILDROOT)@CUPS_DATADIR@
163 DOCDIR = $(BUILDROOT)@CUPS_DOCROOT@
164 INCLUDEDIR = $(BUILDROOT)$(includedir)
166 INITDDIR = @INITDDIR@
167 LIBDIR = $(BUILDROOT)$(libdir)
168 LOCALEDIR = $(BUILDROOT)@CUPS_LOCALEDIR@
169 LOGDIR = $(BUILDROOT)@CUPS_LOGDIR@
170 MANDIR = $(BUILDROOT)@mandir@
171 PMANDIR = $(BUILDROOT)@PMANDIR@
172 REQUESTS = $(BUILDROOT)@CUPS_REQUESTS@
173 SBINDIR = $(BUILDROOT)@sbindir@
174 SERVERBIN = $(BUILDROOT)@CUPS_SERVERBIN@
175 SERVERROOT = $(BUILDROOT)@CUPS_SERVERROOT@
176 STATEDIR = $(BUILDROOT)@CUPS_STATEDIR@
187 DEFAULT_LAUNCHD_CONF = @DEFAULT_LAUNCHD_CONF@
196 .SUFFIXES: .1 .1.gz .1m .1m.gz .5 .5.gz .7 .7.gz .8 .8.gz .a .c .cxx .h .man .o .gz
200 $(CC) $(OPTIM) $(CFLAGS) -c $<
204 $(CXX) $(OPTIM) $(CXXFLAGS) -c $<
206 .man.1 .man.1m .man.5 .man.7 .man.8:
211 .man.1.gz .man.1m.gz .man.5.gz .man.7.gz .man.8.gz .man.gz:
212 echo -n Compressing $<...
218 # End of "$Id: Makedefs.in 5194 2006-02-27 20:57:07Z mike $"