]> git.ipfire.org Git - thirdparty/cups.git/blob - Makedefs.in
Load cups into easysw/current.
[thirdparty/cups.git] / Makedefs.in
1 #
2 # "$Id: Makedefs.in 5044 2006-02-01 21:35:30Z mike $"
3 #
4 # Common makefile definitions for the Common UNIX Printing System (CUPS).
5 #
6 # Copyright 1997-2005 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 LIBTOOL = @LIBTOOL@
37 LN = @LN@ -sf
38 MV = @MV@
39 RANLIB = @RANLIB@
40 RM = @RM@ -f
41 SED = @SED@
42 SHELL = /bin/sh
43 STRIP = @STRIP@
44
45 #
46 # Installation programs...
47 #
48
49 INSTALL_BIN = $(LIBTOOL) $(INSTALL) -m 755
50 INSTALL_CONFIG = $(INSTALL) -m @CUPS_CONFIG_FILE_PERM@
51 INSTALL_DATA = $(INSTALL) -m 644
52 INSTALL_DIR = $(INSTALL) -d
53 INSTALL_LIB = $(LIBTOOL) $(INSTALL) -m 755
54 INSTALL_MAN = $(INSTALL) -m 644
55 INSTALL_SCRIPT = $(INSTALL) -m 755
56
57 #
58 # Default user, group, and system groups for the scheduler...
59 #
60
61 CUPS_USER = @CUPS_USER@
62 CUPS_GROUP = @CUPS_GROUP@
63 CUPS_SYSTEM_GROUPS = @CUPS_SYSTEM_GROUPS@
64
65 #
66 # Default permissions...
67 #
68
69 CUPS_CONFIG_FILE_PERM = @CUPS_CONFIG_FILE_PERM@
70 CUPS_LOG_FILE_PERM = @CUPS_LOG_FILE_PERM@
71
72 #
73 # Libraries...
74 #
75
76 LIBCUPS = @LIBCUPS@
77 LIBCUPSIMAGE = @LIBCUPSIMAGE@
78 LIBJPEG = @LIBJPEG@
79 LIBMALLOC = @LIBMALLOC@
80 LIBPAPER = @LIBPAPER@
81 LIBPNG = @LIBPNG@
82 LIBSLP = @LIBSLP@
83 LIBTIFF = @LIBTIFF@
84 LIBZ = @LIBZ@
85
86 #
87 # Install static libraries?
88 #
89
90 INSTALLSTATIC = @INSTALLSTATIC@
91
92 #
93 # Program options...
94 #
95 # OPTIM defines the common compiler optimization/debugging options.
96 # OPTIONS defines other compile-time options (currently only -dDEBUG for
97 # extra debug info)
98 #
99
100 ARFLAGS = @ARFLAGS@
101 BACKLIBS = @BACKLIBS@
102 CFLAGS = -I.. $(RC_CFLAGS) $(SSLFLAGS) @CPPFLAGS@ @CFLAGS@ \
103 @LARGEFILE@ $(OPTIONS)
104 COMMONLIBS = @LIBS@
105 CUPSDLIBS = @CUPSDLIBS@
106 CXXFLAGS = -I.. $(RC_CFLAGS) $(SSLFLAGS) @CPPFLAGS@ @CXXFLAGS@ \
107 @LARGEFILE@ $(OPTIONS)
108 CXXLIBS = @CXXLIBS@
109 DSOFLAGS = @DSOFLAGS@
110 DSOLIBS = @DSOLIBS@ $(COMMONLIBS)
111 IMGLIBS = @IMGLIBS@ -lm
112 LDFLAGS = -L../cups -L../filter $(RC_CFLAGS) @LDFLAGS@ $(OPTIM)
113 LINKCUPS = @LINKCUPS@ $(SSLLIBS)
114 LINKCUPSIMAGE = @LINKCUPSIMAGE@
115 LIBS = $(LINKCUPS) $(COMMONLIBS)
116 OPTIM = @OPTIM@
117 OPTIONS =
118 PAMLIBS = @PAMLIBS@
119 SSLFLAGS = @SSLFLAGS@
120 SSLLIBS = @SSLLIBS@
121 LAUNCHDLIBS = @LAUNCHDLIBS@
122
123 #
124 # Directories...
125 #
126 # The first section uses the GNU names (which are *extremely*
127 # difficult to find in a makefile because they are lowercase...)
128 # We have to define these first because autoconf uses ${prefix}
129 # and ${exec_prefix} for most of the other directories...
130 #
131 # This is immediately followed by definition in ALL CAPS for the
132 # needed directories...
133 #
134
135 bindir = @bindir@
136 datadir = @datadir@
137 exec_prefix = @exec_prefix@
138 includedir = @includedir@
139 infodir = @infodir@
140 libdir = @libdir@
141 libexecdir = @libexecdir@
142 localstatedir = @localstatedir@
143 mandir = @mandir@
144 oldincludedir = @oldincludedir@
145 prefix = @prefix@
146 sbindir = @sbindir@
147 sharedstatedir = @sharedstatedir@
148 srcdir = @srcdir@
149 sysconfdir = @sysconfdir@
150 top_srcdir = @top_srcdir@
151
152 BUILDROOT = $(DSTROOT)
153
154 AMANDIR = $(BUILDROOT)@AMANDIR@
155 BINDIR = $(BUILDROOT)@bindir@
156 CACHEDIR = $(BUILDROOT)@CUPS_CACHEDIR@
157 DATADIR = $(BUILDROOT)@CUPS_DATADIR@
158 DOCDIR = $(BUILDROOT)@CUPS_DOCROOT@
159 INCLUDEDIR = $(BUILDROOT)$(includedir)
160 INITDIR = @INITDIR@
161 INITDDIR = @INITDDIR@
162 LIBDIR = $(BUILDROOT)$(libdir)
163 LOCALEDIR = $(BUILDROOT)@CUPS_LOCALEDIR@
164 LOGDIR = $(BUILDROOT)@CUPS_LOGDIR@
165 MANDIR = $(BUILDROOT)@mandir@
166 PMANDIR = $(BUILDROOT)@PMANDIR@
167 REQUESTS = $(BUILDROOT)@CUPS_REQUESTS@
168 SBINDIR = $(BUILDROOT)@sbindir@
169 SERVERBIN = $(BUILDROOT)@CUPS_SERVERBIN@
170 SERVERROOT = $(BUILDROOT)@CUPS_SERVERROOT@
171 STATEDIR = $(BUILDROOT)@CUPS_STATEDIR@
172
173 MAN1EXT = @MAN1EXT@
174 MAN5EXT = @MAN5EXT@
175 MAN8EXT = @MAN8EXT@
176 MAN8DIR = @MAN8DIR@
177
178 PAMDIR = $(BUILDROOT)@PAMDIR@
179 PAMFILE = @PAMFILE@
180
181 DEFAULT_LAUNCHD_CONF = @DEFAULT_LAUNCHD_CONF@
182
183
184 #
185 # Rules...
186 #
187
188 .SILENT:
189 .SUFFIXES: .1 .1.gz .1m .1m.gz .5 .5.gz .8 .8.gz .a .c .cxx .h .man .o .gz
190
191 .c.o:
192 echo Compiling $<...
193 $(CC) $(OPTIM) $(CFLAGS) -c $<
194
195 .cxx.o:
196 echo Compiling $<...
197 $(CXX) $(OPTIM) $(CXXFLAGS) -c $<
198
199 .man.1 .man.1m .man.5 .man.8:
200 echo Linking $<...
201 $(RM) $@
202 $(LN) $< $@
203
204 .man.1.gz .man.1m.gz .man.5.gz .man.8.gz .man.gz:
205 echo -n Compressing $<...
206 $(RM) $@
207 gzip -v9 <$< >$@
208
209
210 #
211 # End of "$Id: Makedefs.in 5044 2006-02-01 21:35:30Z mike $"
212 #