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