]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | # |
b19ccc9e | 2 | # "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $" |
ef416fc2 | 3 | # |
4 | # Filter makefile for the Common UNIX Printing System (CUPS). | |
5 | # | |
c168a833 | 6 | # Copyright 2007-2009 by Apple Inc. |
bd7854cb | 7 | # Copyright 1997-2006 by Easy Software Products. |
ef416fc2 | 8 | # |
9 | # These coded instructions, statements, and computer programs are the | |
bc44d920 | 10 | # property of Apple Inc. and are protected by Federal copyright |
11 | # law. Distribution and use rights are outlined in the file "LICENSE.txt" | |
12 | # which should have been included with this file. If this file is | |
13 | # file is missing or damaged, see the license at "http://www.cups.org/". | |
ef416fc2 | 14 | # |
15 | # This file is subject to the Apple OS-Developed Software exception. | |
16 | # | |
17 | ||
18 | include ../Makedefs | |
19 | ||
b86bc4cf | 20 | |
c9fc04c6 | 21 | FILTERS = \ |
e6013cfa | 22 | $(BANNERTOPS) \ |
c9fc04c6 MS |
23 | commandtops \ |
24 | gziptoany \ | |
25 | hpgltops \ | |
e6013cfa | 26 | $(TEXTTOPS) \ |
c9fc04c6 MS |
27 | pstops \ |
28 | $(IMGFILTERS) \ | |
29 | $(PDFTOPS) \ | |
30 | rastertolabel \ | |
31 | rastertoepson \ | |
32 | rastertohp | |
33 | LIBTARGETS = \ | |
e1d6a774 | 34 | $(LIBCUPSIMAGE) \ |
35 | libcupsimage.a \ | |
36 | $(LIB32CUPSIMAGE) \ | |
5f64df29 MS |
37 | $(LIB64CUPSIMAGE) |
38 | UNITTARGETS = \ | |
39 | rasterbench \ | |
40 | testimage \ | |
e1d6a774 | 41 | testraster |
c9fc04c6 MS |
42 | TARGETS = \ |
43 | $(LIBTARGETS) \ | |
5f64df29 | 44 | $(FILTERS) |
ef416fc2 | 45 | |
46 | HPGLOBJS = hpgl-attr.o hpgl-config.o hpgl-main.o hpgl-prolog.o \ | |
47 | hpgl-char.o hpgl-input.o hpgl-polygon.o hpgl-vector.o | |
48 | IMAGEOBJS = image-bmp.o image-colorspace.o image-gif.o image-jpeg.o \ | |
49 | image-photocd.o image-pix.o image-png.o image-pnm.o \ | |
50 | image-sgi.o image-sgilib.o image-sun.o image-tiff.o \ | |
f7deaa1a | 51 | image-zoom.o image.o error.o interpret.o raster.o |
e1d6a774 | 52 | IMAGE32OBJS = $(IMAGEOBJS:.o=.32.o) |
53 | IMAGE64OBJS = $(IMAGEOBJS:.o=.64.o) | |
ef416fc2 | 54 | FORMOBJS = form-attr.o form-main.o form-ps.o form-text.o form-tree.o |
55 | OBJS = $(HPGLOBJS) $(IMAGEOBJS) $(FORMOBJS) \ | |
1f6f3dbc | 56 | bannertops.o commandtops.o gziptoany.o imagetops.o \ |
cda47a96 | 57 | imagetoraster.o common.o pdftops.o pstext.o pstops.o \ |
ed486911 | 58 | rasterbench.o rastertoepson.o rastertohp.o rastertolabel.o \ |
e1d6a774 | 59 | testimage.o testraster.o textcommon.o texttops.o |
ef416fc2 | 60 | |
61 | ||
62 | # | |
63 | # Make all targets... | |
64 | # | |
65 | ||
e1d6a774 | 66 | all: $(TARGETS) |
ef416fc2 | 67 | |
68 | ||
c9fc04c6 MS |
69 | # |
70 | # Make library targets... | |
71 | # | |
72 | ||
73 | libs: $(LIBTARGETS) | |
74 | ||
75 | ||
5f64df29 MS |
76 | # |
77 | # Make unit tests... | |
78 | # | |
79 | ||
80 | unittests: $(UNITTARGETS) | |
81 | ||
82 | ||
ef416fc2 | 83 | # |
84 | # Clean all object files... | |
85 | # | |
86 | ||
87 | clean: | |
5f64df29 | 88 | $(RM) $(OBJS) $(TARGETS) $(UNITTARGETS) |
e1d6a774 | 89 | $(RM) libcupsimage.so libcupsimage.sl libcupsimage.dylib |
f301802f | 90 | $(RM) -r 32bit 64bit |
ef416fc2 | 91 | |
92 | ||
93 | # | |
94 | # Update dependencies (without system header dependencies...) | |
95 | # | |
96 | ||
97 | depend: | |
e1d6a774 | 98 | touch Dependencies.tmp |
99 | makedepend -Y -I.. -fDependencies.tmp $(OBJS:.o=.c) >/dev/null 2>&1 | |
100 | $(RM) Dependencies | |
101 | cp Dependencies.tmp Dependencies | |
ac884b6a MS |
102 | sed -E -e '1,$$s/^([^.]+)\.o:/\1\.32.o: \1\.c /' Dependencies.tmp >>Dependencies |
103 | sed -E -e '1,$$s/^([^.]+)\.o:/\1\.64.o: \1\.c /' Dependencies.tmp >>Dependencies | |
e1d6a774 | 104 | $(RM) Dependencies.tmp |
ef416fc2 | 105 | |
106 | ||
107 | # | |
108 | # Install all targets... | |
109 | # | |
110 | ||
50fe7201 MS |
111 | install: all install-data install-headers install-libs install-exec |
112 | ||
113 | ||
114 | # | |
115 | # Install data files... | |
116 | # | |
117 | ||
118 | install-data: | |
119 | ||
120 | ||
121 | # | |
122 | # Install programs... | |
123 | # | |
124 | ||
125 | install-exec: | |
bd7854cb | 126 | $(INSTALL_DIR) -m 755 $(SERVERBIN)/filter |
ef416fc2 | 127 | for file in $(FILTERS); do \ |
128 | $(INSTALL_BIN) $$file $(SERVERBIN)/filter; \ | |
129 | done | |
130 | $(RM) $(SERVERBIN)/filter/rastertodymo | |
131 | $(LN) rastertolabel $(SERVERBIN)/filter/rastertodymo | |
50fe7201 MS |
132 | if test "x$(SYMROOT)" != "x"; then \ |
133 | $(INSTALL_DIR) $(SYMROOT); \ | |
134 | for file in $(TARGETS); do \ | |
135 | cp $$file $(SYMROOT); \ | |
136 | done \ | |
137 | fi | |
138 | ||
139 | ||
140 | # | |
141 | # Install headers... | |
142 | # | |
143 | ||
144 | install-headers: | |
145 | $(INSTALL_DIR) -m 755 $(INCLUDEDIR)/cups | |
146 | $(INSTALL_DATA) image.h $(INCLUDEDIR)/cups | |
147 | ||
148 | ||
149 | # | |
150 | # Install libraries... | |
151 | # | |
152 | ||
153 | install-libs: $(INSTALLSTATIC) $(INSTALL32) $(INSTALL64) | |
923edb68 | 154 | $(INSTALL_DIR) -m 755 $(LIBDIR) |
ef416fc2 | 155 | $(INSTALL_LIB) $(LIBCUPSIMAGE) $(LIBDIR) |
156 | -if test $(LIBCUPSIMAGE) = "libcupsimage.so.2" -o $(LIBCUPSIMAGE) = "libcupsimage.sl.2"; then \ | |
157 | $(RM) $(LIBDIR)/`basename $(LIBCUPSIMAGE) .2`; \ | |
158 | $(LN) $(LIBCUPSIMAGE) $(LIBDIR)/`basename $(LIBCUPSIMAGE) .2`; \ | |
159 | fi | |
160 | -if test $(LIBCUPSIMAGE) = "libcupsimage.2.dylib"; then \ | |
ef416fc2 | 161 | $(RM) $(LIBDIR)/libcupsimage.dylib; \ |
162 | $(LN) $(LIBCUPSIMAGE) $(LIBDIR)/libcupsimage.dylib; \ | |
163 | fi | |
923edb68 | 164 | |
165 | installstatic: | |
166 | $(INSTALL_DIR) -m 755 $(LIBDIR) | |
d6ae789d | 167 | $(INSTALL_LIB) libcupsimage.a $(LIBDIR); |
168 | $(RANLIB) $(LIBDIR)/libcupsimage.a; | |
ef416fc2 | 169 | |
e1d6a774 | 170 | install32bit: |
171 | $(INSTALL_DIR) -m 755 $(LIB32DIR) | |
f301802f | 172 | $(INSTALL_LIB) 32bit/libcupsimage.so.2 $(LIB32DIR)/libcupsimage.so.2 |
ed486911 | 173 | $(LN) libcupsimage.so.2 $(LIB32DIR)/libcupsimage.so |
e1d6a774 | 174 | |
175 | install64bit: | |
176 | $(INSTALL_DIR) -m 755 $(LIB64DIR) | |
f301802f | 177 | $(INSTALL_LIB) 64bit/libcupsimage.so.2 $(LIB64DIR)/libcupsimage.so.2 |
ed486911 | 178 | $(LN) libcupsimage.so.2 $(LIB64DIR)/libcupsimage.so |
e1d6a774 | 179 | |
ef416fc2 | 180 | |
757d2cad | 181 | # |
182 | # Uninstall all targets... | |
183 | # | |
184 | ||
e1d6a774 | 185 | uninstall: $(UNINSTALL32) $(UNINSTALL64) |
757d2cad | 186 | for file in $(FILTERS); do \ |
187 | $(RM) $(SERVERBIN)/filter/$$file; \ | |
188 | done | |
189 | $(RM) $(SERVERBIN)/filter/rastertodymo | |
190 | -$(RMDIR) $(SERVERBIN)/filter | |
191 | -$(RMDIR) $(SERVERBIN) | |
192 | $(RM) $(LIBDIR)/libcupsimage.2.dylib | |
193 | $(RM) $(LIBDIR)/libcupsimage.a | |
194 | $(RM) $(LIBDIR)/libcupsimage.dylib | |
195 | $(RM) $(LIBDIR)/libcupsimage_s.a | |
196 | $(RM) $(LIBDIR)/libcupsimage.sl | |
197 | $(RM) $(LIBDIR)/libcupsimage.sl.2 | |
198 | $(RM) $(LIBDIR)/libcupsimage.so | |
199 | $(RM) $(LIBDIR)/libcupsimage.so.2 | |
200 | -$(RMDIR) $(LIBDIR) | |
201 | $(RM) $(INCLUDEDIR)/cups/image.h | |
757d2cad | 202 | -$(RMDIR) $(INCLUDEDIR)/cups |
203 | ||
e1d6a774 | 204 | uninstall32bit: |
205 | $(RM) $(LIB32DIR)/libcupsimage.so | |
206 | $(RM) $(LIB32DIR)/libcupsimage.so.2 | |
207 | -$(RMDIR) $(LIB32DIR) | |
208 | ||
209 | uninstall64bit: | |
210 | $(RM) $(LIB64DIR)/libcupsimage.so | |
211 | $(RM) $(LIB64DIR)/libcupsimage.so.2 | |
212 | -$(RMDIR) $(LIB64DIR) | |
213 | ||
757d2cad | 214 | |
b423cd4c | 215 | # |
216 | # Automatic API help files... | |
217 | # | |
218 | ||
219 | apihelp: | |
220 | echo Generating CUPS API help files... | |
221 | mxmldoc --section "Programming" --title "Raster API" \ | |
5a738aea MS |
222 | --css ../doc/cups-printable.css \ |
223 | --header api-raster.header --intro api-raster.shtml \ | |
f11a948a | 224 | api-raster.xml \ |
ac884b6a MS |
225 | ../cups/raster.h interpret.c raster.c \ |
226 | >../doc/help/api-raster.html | |
f11a948a MS |
227 | mxmldoc --tokens help/api-raster.html api-raster.xml >../doc/help/api-raster.tokens |
228 | $(RM) api-raster.xml | |
8b450588 MS |
229 | mxmldoc --section "Programming" \ |
230 | --title "Developing PostScript Printer Drivers" \ | |
231 | --css ../doc/cups-printable.css \ | |
232 | --header postscript-driver.header \ | |
233 | --intro postscript-driver.shtml \ | |
234 | >../doc/help/postscript-driver.html | |
235 | mxmldoc --section "Programming" \ | |
236 | --title "Introduction to the PPD Compiler" \ | |
237 | --css ../doc/cups-printable.css \ | |
238 | --header ppd-compiler.header \ | |
239 | --intro ppd-compiler.shtml \ | |
240 | >../doc/help/ppd-compiler.html | |
241 | mxmldoc --section "Programming" \ | |
242 | --title "Developing Raster Printer Drivers" \ | |
243 | --css ../doc/cups-printable.css \ | |
244 | --header raster-driver.header \ | |
245 | --intro raster-driver.shtml \ | |
246 | >../doc/help/raster-driver.html | |
b423cd4c | 247 | |
5a738aea MS |
248 | framedhelp: |
249 | echo Generating CUPS API help files... | |
250 | mxmldoc --section "Programming" --title "Raster API" \ | |
251 | --framed ../cups/api-raster \ | |
252 | --css ../doc/cups-printable.css \ | |
253 | --header api-raster.header --intro api-raster.shtml \ | |
ac884b6a | 254 | ../cups/raster.h interpret.c raster.c |
8b450588 MS |
255 | mxmldoc --section "Programming" \ |
256 | --title "Developing PostScript Printer Drivers" \ | |
257 | --framed ../cups/postscript-driver \ | |
258 | --css ../doc/cups-printable.css \ | |
259 | --header postscript-driver.header \ | |
260 | --intro postscript-driver.shtml | |
261 | mxmldoc --section "Programming" \ | |
262 | --title "Introduction to the PPD Compiler" \ | |
263 | --framed ../cups/ppd-compiler \ | |
264 | --css ../doc/cups-printable.css \ | |
265 | --header ppd-compiler.header \ | |
266 | --intro ppd-compiler.shtml | |
267 | mxmldoc --section "Programming" \ | |
268 | --title "Developing Raster Printer Drivers" \ | |
269 | --framed ../cups/raster-driver \ | |
270 | --css ../doc/cups-printable.css \ | |
271 | --header raster-driver.header \ | |
272 | --intro raster-driver.shtml | |
273 | ||
b423cd4c | 274 | |
1f6f3dbc MS |
275 | # |
276 | # bannertops | |
277 | # | |
278 | ||
cda47a96 | 279 | bannertops: bannertops.o pstext.o common.o ../cups/$(LIBCUPS) $(LIBCUPSIMAGE) |
1f6f3dbc | 280 | echo Linking $@... |
cda47a96 MS |
281 | $(CC) $(LDFLAGS) -o $@ bannertops.o pstext.o common.o $(LINKCUPSIMAGE) \ |
282 | $(IMGLIBS) $(LIBS) | |
1f6f3dbc MS |
283 | |
284 | ||
7a14d768 MS |
285 | # |
286 | # commandtops | |
287 | # | |
288 | ||
289 | commandtops: commandtops.o ../cups/$(LIBCUPS) | |
290 | echo Linking $@... | |
291 | $(CC) $(LDFLAGS) -o $@ commandtops.o $(LIBS) | |
292 | ||
293 | ||
ef416fc2 | 294 | # |
295 | # formtops | |
296 | # | |
297 | ||
298 | formtops: $(FORMOBJS) common.o ../cups/$(LIBCUPS) | |
299 | echo Linking $@... | |
300 | $(CC) $(LDFLAGS) -o $@ $(FORMOBJS) common.o $(LIBS) -lm | |
301 | ||
302 | ||
303 | # | |
304 | # gziptoany | |
305 | # | |
306 | ||
307 | gziptoany: gziptoany.o ../Makedefs ../cups/$(LIBCUPS) | |
308 | echo Linking $@... | |
309 | $(CC) $(LDFLAGS) -o $@ gziptoany.o $(LIBZ) $(LIBS) | |
310 | ||
311 | ||
312 | # | |
313 | # hpgltops | |
314 | # | |
315 | ||
316 | hpgltops: $(HPGLOBJS) common.o ../cups/$(LIBCUPS) | |
317 | echo Linking $@... | |
318 | $(CC) $(LDFLAGS) -o $@ $(HPGLOBJS) common.o $(LIBS) -lm | |
319 | ||
320 | ||
321 | # | |
322 | # libcupsimage.so.2, libcupsimage.sl.2 | |
323 | # | |
324 | ||
325 | libcupsimage.so.2 libcupsimage.sl.2: $(IMAGEOBJS) | |
326 | echo Linking $@... | |
a74454a7 | 327 | $(DSO) $(ARCHFLAGS) $(DSOFLAGS) -o $@ $(IMAGEOBJS) $(DSOLIBS) \ |
328 | -L../cups $(LINKCUPS) -lm | |
ef416fc2 | 329 | $(RM) `basename $@ .2` |
330 | $(LN) $@ `basename $@ .2` | |
331 | ||
332 | ||
e1d6a774 | 333 | # |
f301802f | 334 | # 32bit/libcupsimage.so.2 |
e1d6a774 | 335 | # |
336 | ||
f301802f | 337 | 32bit/libcupsimage.so.2: $(IMAGE32OBJS) |
e1d6a774 | 338 | echo Linking 32-bit $@... |
f301802f | 339 | -mkdir 32bit |
340 | $(DSO) $(ARCH32FLAGS) $(DSO32FLAGS) -o $@ $(IMAGE32OBJS) $(DSOLIBS) \ | |
341 | -L../cups/32bit $(LINKCUPS) -lm | |
e1d6a774 | 342 | |
343 | ||
344 | # | |
f301802f | 345 | # 64bit/libcupsimage.so.2 |
e1d6a774 | 346 | # |
347 | ||
f301802f | 348 | 64bit/libcupsimage.so.2: $(IMAGE64OBJS) |
e1d6a774 | 349 | echo Linking 64-bit $@... |
f301802f | 350 | -mkdir 64bit |
351 | $(DSO) $(ARCH64FLAGS) $(DSO64FLAGS) -o $@ $(IMAGE64OBJS) $(DSOLIBS) \ | |
352 | -L../cups/64bit $(LINKCUPS) -lm | |
e1d6a774 | 353 | |
354 | ||
ef416fc2 | 355 | # |
356 | # libcupsimage.2.dylib | |
357 | # | |
358 | ||
355e94dc | 359 | libcupsimage.2.dylib: $(IMAGEOBJS) $(LIBCUPSIMAGEORDER) |
ef416fc2 | 360 | echo Linking $@... |
e1d6a774 | 361 | $(DSO) $(ARCHFLAGS) $(DSOFLAGS) -o $@ \ |
fa73b229 | 362 | -install_name $(libdir)/$@ \ |
f7deaa1a | 363 | -current_version 2.3.0 \ |
ef416fc2 | 364 | -compatibility_version 2.0.0 \ |
cc0d019f | 365 | -sectorder __TEXT __text $(LIBCUPSIMAGEORDER) \ |
ef416fc2 | 366 | $(IMAGEOBJS) $(DSOLIBS) -L../cups $(LINKCUPS) -lm |
367 | $(RM) libcupsimage.dylib | |
368 | $(LN) $@ libcupsimage.dylib | |
369 | ||
370 | ||
371 | # | |
372 | # libcupsimage_s.a | |
373 | # | |
374 | ||
a74454a7 | 375 | libcupsimage_s.a: $(IMAGEOBJS) libcupsimage_s.exp |
ef416fc2 | 376 | echo Linking $@... |
e1d6a774 | 377 | $(DSO) $(DSOFLAGS) -Wl,-berok,-bexport:libcupsimage_s.exp \ |
378 | -o libcupsimage_s.o $(IMAGEOBJS) $(DSOLIBS) -lm | |
ef416fc2 | 379 | $(RM) $@ |
380 | $(AR) $(ARFLAGS) $@ libcupsimage_s.o | |
381 | ||
382 | ||
383 | # | |
384 | # libcupsimage.la | |
385 | # | |
386 | ||
387 | libcupsimage.la: $(IMAGEOBJS) | |
388 | echo Linking $@... | |
e1d6a774 | 389 | $(DSO) $(ARCHFLAGS) $(DSOFLAGS) -o $@ $(IMAGEOBJS:.o=.lo) $(DSOLIBS) \ |
a74454a7 | 390 | -L../cups $(LINKCUPS) \ |
f7deaa1a | 391 | -rpath $(LIBDIR) -version-info 2:3 |
ef416fc2 | 392 | |
393 | ||
394 | # | |
395 | # libcupsimage.a | |
396 | # | |
397 | ||
398 | libcupsimage.a: $(IMAGEOBJS) | |
399 | echo Archiving $@... | |
400 | $(RM) $@ | |
401 | $(AR) $(ARFLAGS) $@ $(IMAGEOBJS) | |
402 | $(RANLIB) $@ | |
403 | ||
404 | ||
405 | # | |
406 | # testimage | |
407 | # | |
408 | ||
409 | testimage: testimage.o libcupsimage.a ../Makedefs | |
410 | echo Linking $@... | |
411 | $(CC) $(LDFLAGS) -o $@ testimage.o libcupsimage.a \ | |
412 | $(IMGLIBS) $(DSOLIBS) $(LIBS) | |
413 | ||
414 | ||
415 | # | |
416 | # imagetops | |
417 | # | |
418 | ||
419 | imagetops: imagetops.o common.o $(LIBCUPSIMAGE) \ | |
420 | ../cups/$(LIBCUPS) | |
421 | echo Linking $@... | |
422 | $(CC) $(LDFLAGS) -o $@ imagetops.o common.o $(LINKCUPSIMAGE) \ | |
423 | $(IMGLIBS) $(LIBS) | |
424 | ||
425 | ||
426 | # | |
427 | # imagetoraster | |
428 | # | |
429 | ||
430 | imagetoraster: imagetoraster.o common.o $(LIBCUPSIMAGE) \ | |
431 | ../cups/$(LIBCUPS) | |
432 | echo Linking $@... | |
433 | $(CC) $(LDFLAGS) -o $@ imagetoraster.o common.o $(LINKCUPSIMAGE) \ | |
434 | $(IMGLIBS) $(LIBS) | |
435 | ||
436 | ||
437 | # | |
438 | # pstops | |
439 | # | |
440 | ||
441 | pstops: pstops.o common.o ../cups/$(LIBCUPS) | |
442 | echo Linking $@... | |
bd7854cb | 443 | $(CC) $(LDFLAGS) -o $@ pstops.o common.o $(LIBS) -lm |
ef416fc2 | 444 | |
445 | ||
91c84a35 MS |
446 | # |
447 | # pdftops | |
448 | # | |
449 | ||
450 | pdftops: pdftops.o common.o ../cups/$(LIBCUPS) | |
451 | echo Linking $@... | |
452 | $(CC) $(LDFLAGS) -o $@ pdftops.o common.o $(LIBS) | |
453 | ||
454 | ||
ef416fc2 | 455 | # |
456 | # rastertolabel | |
457 | # | |
458 | ||
459 | rastertolabel: rastertolabel.o ../cups/$(LIBCUPS) $(LIBCUPSIMAGE) | |
460 | echo Linking $@... | |
461 | $(CC) $(LDFLAGS) -o $@ rastertolabel.o $(LINKCUPSIMAGE) $(IMGLIBS) $(LIBS) | |
462 | ||
463 | ||
464 | # | |
465 | # rastertoepson | |
466 | # | |
467 | ||
468 | rastertoepson: rastertoepson.o ../cups/$(LIBCUPS) $(LIBCUPSIMAGE) | |
469 | echo Linking $@... | |
470 | $(CC) $(LDFLAGS) -o $@ rastertoepson.o $(LINKCUPSIMAGE) $(IMGLIBS) $(LIBS) | |
471 | ||
472 | ||
473 | # | |
474 | # rastertohp | |
475 | # | |
476 | ||
477 | rastertohp: rastertohp.o ../cups/$(LIBCUPS) $(LIBCUPSIMAGE) | |
478 | echo Linking $@... | |
479 | $(CC) $(LDFLAGS) -o $@ rastertohp.o $(LINKCUPSIMAGE) $(IMGLIBS) $(LIBS) | |
480 | ||
481 | ||
482 | # | |
483 | # testraster | |
484 | # | |
485 | ||
b86bc4cf | 486 | testraster: testraster.o ../cups/libcups.a libcupsimage.a |
ef416fc2 | 487 | echo Linking $@... |
c9fc04c6 MS |
488 | $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ testraster.o libcupsimage.a \ |
489 | ../cups/libcups.a $(IMGLIBS) $(DSOLIBS) $(COMMONLIBS) \ | |
c168a833 | 490 | $(SSLLIBS) $(DNSSDLIBS) $(LIBGSSAPI) |
c9fc04c6 MS |
491 | echo Running raster API tests... |
492 | ./testraster | |
ef416fc2 | 493 | |
494 | ||
ed486911 | 495 | # |
496 | # rasterbench | |
497 | # | |
498 | ||
f7deaa1a | 499 | rasterbench: rasterbench.o libcupsimage.a |
ed486911 | 500 | echo Linking $@... |
f7deaa1a | 501 | $(CC) $(LDFLAGS) -o $@ rasterbench.o libcupsimage.a $(LIBS) |
ed486911 | 502 | |
503 | ||
ef416fc2 | 504 | # |
505 | # texttops | |
506 | # | |
507 | ||
508 | texttops: texttops.o textcommon.o common.o \ | |
509 | ../cups/$(LIBCUPS) | |
510 | echo Linking $@... | |
511 | $(CC) $(LDFLAGS) -o $@ texttops.o textcommon.o common.o $(LIBS) | |
512 | ||
513 | ||
514 | # | |
515 | # Dependencies... | |
516 | # | |
517 | ||
518 | include Dependencies | |
519 | ||
520 | ||
521 | # | |
b19ccc9e | 522 | # End of "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $". |
ef416fc2 | 523 | # |