]> git.ipfire.org Git - thirdparty/cups.git/blob - Makedefs.in
Added LDAP printer browsing support (STR #338)
[thirdparty/cups.git] / Makedefs.in
1 #
2 # "$Id$"
3 #
4 # Common makefile definitions for the Common UNIX Printing System (CUPS).
5 #
6 # Copyright 1997-2006 by Easy Software Products, all rights reserved.
7 #
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
13 # at:
14 #
15 # Attn: CUPS Licensing Information
16 # Easy Software Products
17 # 44141 Airport View Drive, Suite 204
18 # Hollywood, Maryland 20636 USA
19 #
20 # Voice: (301) 373-9600
21 # EMail: cups-info@cups.org
22 # WWW: http://www.cups.org
23 #
24
25 #
26 # Programs...
27 #
28
29 AR = @AR@
30 AWK = @AWK@
31 CC = @LIBTOOL@ @CC@
32 CXX = @LIBTOOL@ @CXX@
33 DSO = @DSO@
34 HTMLDOC = @HTMLDOC@
35 INSTALL = @INSTALL@
36 LD = @LD@
37 LIBTOOL = @LIBTOOL@
38 LN = @LN@ -sf
39 MV = @MV@
40 RANLIB = @RANLIB@
41 RM = @RM@ -f
42 SED = @SED@
43 SHELL = /bin/sh
44 STRIP = @STRIP@
45
46 #
47 # Installation programs...
48 #
49
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
57
58 #
59 # Default user, group, and system groups for the scheduler...
60 #
61
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@
66
67 #
68 # Default permissions...
69 #
70
71 CUPS_CONFIG_FILE_PERM = @CUPS_CONFIG_FILE_PERM@
72 CUPS_LOG_FILE_PERM = @CUPS_LOG_FILE_PERM@
73
74 #
75 # Libraries...
76 #
77
78 LIBCUPS = @LIBCUPS@
79 LIBCUPSIMAGE = @LIBCUPSIMAGE@
80 LIBJPEG = @LIBJPEG@
81 LIBLDAP = @LIBLDAP@
82 LIBMALLOC = @LIBMALLOC@
83 LIBPAPER = @LIBPAPER@
84 LIBPNG = @LIBPNG@
85 LIBSLP = @LIBSLP@
86 LIBTIFF = @LIBTIFF@
87 LIBZ = @LIBZ@
88
89 #
90 # Install static libraries?
91 #
92
93 INSTALLSTATIC = @INSTALLSTATIC@
94
95 #
96 # Program options...
97 #
98 # OPTIM defines the common compiler optimization/debugging options.
99 # OPTIONS defines other compile-time options (currently only -dDEBUG for
100 # extra debug info)
101 #
102
103 ARFLAGS = @ARFLAGS@
104 BACKLIBS = @BACKLIBS@
105 CFLAGS = -I.. $(RC_CFLAGS) $(SSLFLAGS) @CPPFLAGS@ @CFLAGS@ \
106 @LARGEFILE@ $(OPTIONS)
107 COMMONLIBS = @LIBS@
108 CUPSDLIBS = @CUPSDLIBS@
109 CXXFLAGS = -I.. $(RC_CFLAGS) $(SSLFLAGS) @CPPFLAGS@ @CXXFLAGS@ \
110 @LARGEFILE@ $(OPTIONS)
111 CXXLIBS = @CXXLIBS@
112 DSOFLAGS = @DSOFLAGS@
113 DSOLIBS = @DSOLIBS@ $(COMMONLIBS)
114 IMGLIBS = @IMGLIBS@ -lm
115 LDFLAGS = -L../cups -L../filter $(RC_CFLAGS) @LDFLAGS@ $(OPTIM)
116 LINKCUPS = @LINKCUPS@ $(SSLLIBS)
117 LINKCUPSIMAGE = @LINKCUPSIMAGE@
118 LIBS = $(LINKCUPS) $(COMMONLIBS)
119 OPTIM = @OPTIM@
120 OPTIONS =
121 PAMLIBS = @PAMLIBS@
122 SSLFLAGS = @SSLFLAGS@
123 SSLLIBS = @SSLLIBS@
124 LAUNCHDLIBS = @LAUNCHDLIBS@
125
126 #
127 # Directories...
128 #
129 # The first section uses the GNU names (which are *extremely*
130 # difficult to find in a makefile because they are lowercase...)
131 # We have to define these first because autoconf uses ${prefix}
132 # and ${exec_prefix} for most of the other directories...
133 #
134 # This is immediately followed by definition in ALL CAPS for the
135 # needed directories...
136 #
137
138 bindir = @bindir@
139 datadir = @datadir@
140 exec_prefix = @exec_prefix@
141 includedir = @includedir@
142 infodir = @infodir@
143 libdir = @libdir@
144 libexecdir = @libexecdir@
145 localstatedir = @localstatedir@
146 mandir = @mandir@
147 oldincludedir = @oldincludedir@
148 prefix = @prefix@
149 sbindir = @sbindir@
150 sharedstatedir = @sharedstatedir@
151 srcdir = @srcdir@
152 sysconfdir = @sysconfdir@
153 top_srcdir = @top_srcdir@
154
155 BUILDROOT = $(DSTROOT)
156
157 AMANDIR = $(BUILDROOT)@AMANDIR@
158 BINDIR = $(BUILDROOT)@bindir@
159 CACHEDIR = $(BUILDROOT)@CUPS_CACHEDIR@
160 DATADIR = $(BUILDROOT)@CUPS_DATADIR@
161 DOCDIR = $(BUILDROOT)@CUPS_DOCROOT@
162 INCLUDEDIR = $(BUILDROOT)$(includedir)
163 INITDIR = @INITDIR@
164 INITDDIR = @INITDDIR@
165 LIBDIR = $(BUILDROOT)$(libdir)
166 LOCALEDIR = $(BUILDROOT)@CUPS_LOCALEDIR@
167 LOGDIR = $(BUILDROOT)@CUPS_LOGDIR@
168 MANDIR = $(BUILDROOT)@mandir@
169 PMANDIR = $(BUILDROOT)@PMANDIR@
170 REQUESTS = $(BUILDROOT)@CUPS_REQUESTS@
171 SBINDIR = $(BUILDROOT)@sbindir@
172 SERVERBIN = $(BUILDROOT)@CUPS_SERVERBIN@
173 SERVERROOT = $(BUILDROOT)@CUPS_SERVERROOT@
174 STATEDIR = $(BUILDROOT)@CUPS_STATEDIR@
175
176 MAN1EXT = @MAN1EXT@
177 MAN5EXT = @MAN5EXT@
178 MAN7EXT = @MAN7EXT@
179 MAN8EXT = @MAN8EXT@
180 MAN8DIR = @MAN8DIR@
181
182 PAMDIR = $(BUILDROOT)@PAMDIR@
183 PAMFILE = @PAMFILE@
184
185 DEFAULT_LAUNCHD_CONF = @DEFAULT_LAUNCHD_CONF@
186 DBUSDIR = @DBUSDIR@
187
188
189 #
190 # Rules...
191 #
192
193 .SILENT:
194 .SUFFIXES: .1 .1.gz .1m .1m.gz .5 .5.gz .7 .7.gz .8 .8.gz .a .c .cxx .h .man .o .gz
195
196 .c.o:
197 echo Compiling $<...
198 $(CC) $(OPTIM) $(CFLAGS) -c $<
199
200 .cxx.o:
201 echo Compiling $<...
202 $(CXX) $(OPTIM) $(CXXFLAGS) -c $<
203
204 .man.1 .man.1m .man.5 .man.7 .man.8:
205 echo Linking $<...
206 $(RM) $@
207 $(LN) $< $@
208
209 .man.1.gz .man.1m.gz .man.5.gz .man.7.gz .man.8.gz .man.gz:
210 echo -n Compressing $<...
211 $(RM) $@
212 gzip -v9 <$< >$@
213
214
215 #
216 # End of "$Id$"
217 #