]> git.ipfire.org Git - thirdparty/cups.git/blob - cups/Makefile
Merge changes from CUPS 1.6svn-r10188, including changes for <rdar://problem/10127258...
[thirdparty/cups.git] / cups / Makefile
1 #
2 # "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $"
3 #
4 # API library Makefile for CUPS.
5 #
6 # Copyright 2007-2012 by Apple Inc.
7 # Copyright 1997-2006 by Easy Software Products, all rights reserved.
8 #
9 # These coded instructions, statements, and computer programs are the
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/".
14 #
15 # This file is subject to the Apple OS-Developed Software exception.
16 #
17
18 include ../Makedefs
19
20 #
21 # Object files...
22 #
23
24 LIBOBJS = \
25 adminutil.o \
26 array.o \
27 attr.o \
28 auth.o \
29 backchannel.o \
30 backend.o \
31 conflicts.o \
32 custom.o \
33 debug.o \
34 dest.o \
35 dest-job.o \
36 dest-localization.o \
37 dest-options.o \
38 dir.o \
39 emit.o \
40 encode.o \
41 file.o \
42 getdevices.o \
43 getifaddrs.o \
44 getputfile.o \
45 globals.o \
46 http.o \
47 http-addr.o \
48 http-addrlist.o \
49 http-support.o \
50 ipp.o \
51 ipp-support.o \
52 langprintf.o \
53 language.o \
54 localize.o \
55 mark.o \
56 md5.o \
57 md5passwd.o \
58 notify.o \
59 options.o \
60 page.o \
61 ppd.o \
62 ppd-cache.o \
63 pwg-media.o \
64 request.o \
65 sidechannel.o \
66 snmp.o \
67 snprintf.o \
68 string.o \
69 tempfile.o \
70 thread.o \
71 transcode.o \
72 usersys.o \
73 util.o
74 TESTOBJS = \
75 testadmin.o \
76 testarray.o \
77 testconflicts.o \
78 testcups.o \
79 testfile.o \
80 testhttp.o \
81 testi18n.o \
82 testipp.o \
83 testoptions.o \
84 testlang.o \
85 testppd.o \
86 testpwg.o \
87 testsnmp.o
88
89 LIB32OBJS = $(LIBOBJS:.o=.32.o)
90 LIB64OBJS = $(LIBOBJS:.o=.64.o)
91 OBJS = \
92 $(LIBOBJS) \
93 $(LIB32OBJS) \
94 $(LIB64OBJS) \
95 $(TESTOBJS)
96
97
98 #
99 # Header files to install...
100 #
101
102 HEADERS = \
103 adminutil.h \
104 array.h \
105 backend.h \
106 cups.h \
107 dir.h \
108 file.h \
109 http.h \
110 ipp.h \
111 language.h \
112 ppd.h \
113 raster.h \
114 sidechannel.h \
115 transcode.h \
116 versioning.h
117
118 HEADERSPRIV = \
119 array-private.h \
120 cups-private.h \
121 debug-private.h \
122 file-private.h \
123 http-private.h \
124 ipp-private.h \
125 language-private.h \
126 md5-private.h \
127 ppd-private.h \
128 pwg-private.h \
129 raster-private.h \
130 snmp-private.h \
131 string-private.h \
132 thread-private.h
133
134
135 #
136 # Targets in this directory...
137 #
138
139 LIBTARGETS = \
140 $(LIBCUPSSTATIC) \
141 $(LIBCUPS) \
142 $(LIB32CUPS) \
143 $(LIB64CUPS)
144
145 UNITTARGETS = \
146 testadmin \
147 testarray \
148 testconflicts \
149 testcups \
150 testfile \
151 testhttp \
152 testi18n \
153 testipp \
154 testlang \
155 testoptions \
156 testppd \
157 testpwg \
158 testsnmp
159
160 TARGETS = \
161 $(LIBTARGETS)
162
163
164 #
165 # Make all targets...
166 #
167
168 all: $(TARGETS)
169
170
171 #
172 # Make library targets...
173 #
174
175 libs: $(LIBTARGETS)
176
177
178 #
179 # Make unit tests...
180 #
181
182 unittests: $(UNITTARGETS)
183
184
185 #
186 # Remove object and target files...
187 #
188
189 clean:
190 $(RM) $(OBJS) $(TARGETS) $(UNITTARGETS)
191 $(RM) libcups.so libcups.sl libcups.dylib
192 $(RM) -r 32bit 64bit
193
194
195 #
196 # Update dependencies (without system header dependencies...)
197 #
198
199 depend:
200 touch Dependencies.tmp
201 makedepend -Y -I.. -fDependencies.tmp $(LIBOBJS:.o=.c) $(TESTOBJS:.o=.c) >/dev/null 2>&1
202 $(RM) Dependencies
203 cp Dependencies.tmp Dependencies
204 sed -E -e '1,$$s/^([^.]+)\.o:/\1\.32.o: \1\.c /' Dependencies.tmp >>Dependencies
205 sed -E -e '1,$$s/^([^.]+)\.o:/\1\.64.o: \1\.c /' Dependencies.tmp >>Dependencies
206 $(RM) Dependencies.tmp
207
208
209 #
210 # Install all targets...
211 #
212
213 install: all install-data install-headers install-libs install-exec
214
215
216 #
217 # Install data files...
218 #
219
220 install-data:
221
222
223 #
224 # Install programs...
225 #
226
227 install-exec:
228
229
230 #
231 # Install headers...
232 #
233
234 install-headers:
235 echo Installing header files into $(INCLUDEDIR)/cups...
236 $(INSTALL_DIR) -m 755 $(INCLUDEDIR)/cups
237 for file in $(HEADERS); do \
238 $(INSTALL_DATA) $$file $(INCLUDEDIR)/cups; \
239 done
240 if test "x$(privateinclude)" != x; then \
241 echo Installing private header files into $(PRIVATEINCLUDE)...; \
242 $(INSTALL_DIR) -m 755 $(PRIVATEINCLUDE); \
243 for file in $(HEADERSPRIV); do \
244 $(INSTALL_DATA) $$file $(PRIVATEINCLUDE)/$$file; \
245 done; \
246 fi
247
248
249 #
250 # Install libraries...
251 #
252
253 install-libs: $(INSTALLSTATIC) $(INSTALL32) $(INSTALL64)
254 echo Installing libraries in $(LIBDIR)...
255 $(INSTALL_DIR) -m 755 $(LIBDIR)
256 $(INSTALL_LIB) $(LIBCUPS) $(LIBDIR)
257 if test $(LIBCUPS) = "libcups.so.2" -o $(LIBCUPS) = "libcups.sl.2"; then \
258 $(RM) $(LIBDIR)/`basename $(LIBCUPS) .2`; \
259 $(LN) $(LIBCUPS) $(LIBDIR)/`basename $(LIBCUPS) .2`; \
260 fi
261 if test $(LIBCUPS) = "libcups.2.dylib"; then \
262 $(RM) $(LIBDIR)/libcups.dylib; \
263 $(LN) $(LIBCUPS) $(LIBDIR)/libcups.dylib; \
264 fi
265 if test "x$(SYMROOT)" != "x"; then \
266 $(INSTALL_DIR) $(SYMROOT); \
267 cp $(LIBCUPS) $(SYMROOT); \
268 fi
269
270 installstatic:
271 $(INSTALL_DIR) -m 755 $(LIBDIR)
272 $(INSTALL_LIB) -m 755 $(LIBCUPSSTATIC) $(LIBDIR)
273 $(RANLIB) $(LIBDIR)/$(LIBCUPSSTATIC)
274 $(CHMOD) 555 $(LIBDIR)/$(LIBCUPSSTATIC)
275
276 install32bit:
277 echo Installing libraries in $(LIB32DIR)...
278 $(INSTALL_DIR) -m 755 $(LIB32DIR)
279 $(INSTALL_LIB) 32bit/libcups.so.2 $(LIB32DIR)/libcups.so.2
280 $(LN) libcups.so.2 $(LIB32DIR)/libcups.so
281
282 install64bit:
283 echo Installing libraries in $(LIB64DIR)...
284 $(INSTALL_DIR) -m 755 $(LIB64DIR)
285 $(INSTALL_LIB) 64bit/libcups.so.2 $(LIB64DIR)/libcups.so.2
286 $(LN) libcups.so.2 $(LIB64DIR)/libcups.so
287
288
289 #
290 # Uninstall object and target files...
291 #
292
293 uninstall: $(UNINSTALL32) $(UNINSTALL64)
294 $(RM) $(LIBDIR)/libcups.2.dylib
295 $(RM) $(LIBDIR)/$(LIBCUPSSTATIC)
296 $(RM) $(LIBDIR)/libcups.dylib
297 $(RM) $(LIBDIR)/libcups_s.a
298 $(RM) $(LIBDIR)/libcups.sl
299 $(RM) $(LIBDIR)/libcups.sl.2
300 $(RM) $(LIBDIR)/libcups.so
301 $(RM) $(LIBDIR)/libcups.so.2
302 -$(RMDIR) $(LIBDIR)
303 for file in $(HEADERS); do \
304 $(RM) $(INCLUDEDIR)/cups/$$file; \
305 done
306 -$(RMDIR) $(INCLUDEDIR)/cups
307
308 uninstall32bit:
309 $(RM) $(LIB32DIR)/libcups.so
310 $(RM) $(LIB32DIR)/libcups.so.2
311 -$(RMDIR) $(LIB32DIR)
312
313 uninstall64bit:
314 $(RM) $(LIB64DIR)/libcups.so
315 $(RM) $(LIB64DIR)/libcups.so.2
316 -$(RMDIR) $(LIB64DIR)
317
318
319 #
320 # libcups.so.2, libcups.sl.2
321 #
322
323 libcups.so.2 libcups.sl.2: $(LIBOBJS)
324 echo Linking $@...
325 $(DSO) $(ARCHFLAGS) $(DSOFLAGS) -o $@ $(LIBOBJS) $(LIBGSSAPI) \
326 $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
327 $(RM) `basename $@ .2`
328 $(LN) $@ `basename $@ .2`
329
330
331 #
332 # 32bit/libcups.so.2
333 #
334
335 32bit/libcups.so.2: $(LIB32OBJS)
336 echo Linking 32-bit $@...
337 -mkdir 32bit
338 $(DSO) $(ARCH32FLAGS) $(DSO32FLAGS) -o $@ $(LIB32OBJS) $(LIBGSSAPI) \
339 $(DNSSDLIBS) $(SSLLIBS) $(COMMONLIBS) $(LIBZ)
340 $(RM) 32bit/libcups.so
341 $(LN) libcups.so.2 32bit/libcups.so
342
343
344 #
345 # 64bit/libcups.so.2
346 #
347
348 64bit/libcups.so.2: $(LIB64OBJS)
349 echo Linking 64-bit $@...
350 -mkdir 64bit
351 $(DSO) $(ARCH64FLAGS) $(DSO64FLAGS) -o $@ $(LIB64OBJS) $(LIBGSSAPI) \
352 $(DNSSDLIBS) $(SSLLIBS) $(COMMONLIBS) $(LIBZ)
353 $(RM) 64bit/libcups.so
354 $(LN) libcups.so.2 64bit/libcups.so
355
356
357 #
358 # libcups.2.dylib
359 #
360
361 libcups.2.dylib: $(LIBOBJS) $(LIBCUPSORDER)
362 echo Creating export list for $@...
363 nm $(LIBOBJS) 2>/dev/null | grep "T _" | awk '{print $$3}' | \
364 grep -v -e '^(_cupsConnect|_cupsCharset|_cupsEncodingName|_cupsSetDefaults|_cupsSetHTTPError|_cupsUserDefault|_httpWait)$$' | \
365 sort >t.exp
366 echo Linking $@...
367 $(DSO) $(ARCHFLAGS) $(DSOFLAGS) -o $@ \
368 -install_name $(libdir)/$@ \
369 -current_version 2.9.0 \
370 -compatibility_version 2.0.0 \
371 -exported_symbols_list t.exp \
372 $(LIBOBJS) $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \
373 $(COMMONLIBS) $(LIBZ)
374 $(RM) libcups.dylib t.exp
375 $(LN) $@ libcups.dylib
376
377
378 #
379 # libcups_s.a
380 #
381
382 libcups_s.a: $(LIBOBJS) libcups_s.exp
383 echo Creating $@...
384 $(DSO) $(DSOFLAGS) -Wl,-bexport:libcups_s.exp -o libcups_s.o \
385 $(LIBOBJS) $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \
386 $(COMMONLIBS) $(LIBZ)
387 $(RM) $@
388 $(AR) $(ARFLAGS) $@ libcups_s.o
389
390
391 #
392 # libcups.la
393 #
394
395 libcups.la: $(LIBOBJS)
396 echo Linking $@...
397 $(CC) $(ARCHFLAGS) $(DSOFLAGS) -o $@ $(LIBOBJS:.o=.lo) \
398 -rpath $(LIBDIR) -version-info 2:9 $(LIBGSSAPI) $(SSLLIBS) \
399 $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
400
401
402 #
403 # libcups.a
404 #
405
406 libcups.a: $(LIBOBJS)
407 echo Archiving $@...
408 $(RM) $@
409 $(AR) $(ARFLAGS) $@ $(LIBOBJS)
410 $(RANLIB) $@
411
412
413 #
414 # testadmin (dependency on static CUPS library is intentional)
415 #
416
417 testadmin: testadmin.o $(LIBCUPSSTATIC)
418 echo Linking $@...
419 $(CC) $(LDFLAGS) -o $@ testadmin.o $(LIBCUPSSTATIC) \
420 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
421
422
423 #
424 # testarray (dependency on static CUPS library is intentional)
425 #
426
427 testarray: testarray.o $(LIBCUPSSTATIC)
428 echo Linking $@...
429 $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ testarray.o $(LIBCUPSSTATIC) \
430 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
431 echo Running array API tests...
432 ./testarray
433
434
435 #
436 # testconflicts (dependency on static CUPS library is intentional)
437 #
438
439 testconflicts: testconflicts.o $(LIBCUPSSTATIC)
440 echo Linking $@...
441 $(CC) $(LDFLAGS) -o $@ testconflicts.o $(LIBCUPSSTATIC) \
442 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
443
444
445 #
446 # testcups (dependency on static CUPS library is intentional)
447 #
448
449 testcups: testcups.o $(LIBCUPSSTATIC)
450 echo Linking $@...
451 $(CC) $(LDFLAGS) -o $@ testcups.o $(LIBCUPSSTATIC) \
452 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
453
454
455 #
456 # testfile (dependency on static CUPS library is intentional)
457 #
458
459 testfile: testfile.o $(LIBCUPSSTATIC)
460 echo Linking $@...
461 $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ testfile.o $(LIBCUPSSTATIC) \
462 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
463 echo Running file API tests...
464 ./testfile
465
466
467 #
468 # testhttp (dependency on static CUPS library is intentional)
469 #
470
471 testhttp: testhttp.o $(LIBCUPSSTATIC)
472 echo Linking $@...
473 $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ testhttp.o $(LIBCUPSSTATIC) \
474 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
475 echo Running HTTP API tests...
476 ./testhttp
477
478
479 #
480 # testipp (dependency on static CUPS library is intentional)
481 #
482
483 testipp: testipp.o $(LIBCUPSSTATIC)
484 echo Linking $@...
485 $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ testipp.o $(LIBCUPSSTATIC) \
486 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
487 echo Running IPP API tests...
488 ./testipp
489
490
491 #
492 # testi18n (dependency on static CUPS library is intentional)
493 #
494
495 testi18n: testi18n.o $(LIBCUPSSTATIC)
496 echo Linking $@...
497 $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ testi18n.o $(LIBCUPSSTATIC) \
498 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
499 echo Running internationalization API tests...
500 ./testi18n
501
502
503 #
504 # testlang (dependency on static CUPS library is intentional)
505 #
506
507 testlang: testlang.o $(LIBCUPSSTATIC)
508 echo Linking $@...
509 $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ testlang.o $(LIBCUPSSTATIC) \
510 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
511 echo Running language API tests...
512 ./testlang
513
514
515 #
516 # testoptions (dependency on static CUPS library is intentional)
517 #
518
519 testoptions: testoptions.o $(LIBCUPSSTATIC)
520 echo Linking $@...
521 $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ testoptions.o $(LIBCUPSSTATIC) \
522 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
523 echo Running option API tests...
524 ./testoptions
525
526
527 #
528 # testppd (dependency on static CUPS library is intentional)
529 #
530
531 testppd: testppd.o $(LIBCUPSSTATIC) test.ppd test2.ppd
532 echo Linking $@...
533 $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ testppd.o $(LIBCUPSSTATIC) \
534 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
535 echo Running PPD API tests...
536 ./testppd
537
538
539 #
540 # testpwg (dependency on static CUPS library is intentional)
541 #
542
543 testpwg: testpwg.o $(LIBCUPSSTATIC) test.ppd
544 echo Linking $@...
545 $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ testpwg.o $(LIBCUPSSTATIC) \
546 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
547 echo Running PWG API tests...
548 ./testpwg test.ppd
549
550
551 #
552 # testsnmp (dependency on static CUPS library is intentional)
553 #
554
555 testsnmp: testsnmp.o $(LIBCUPSSTATIC)
556 echo Linking $@...
557 $(CC) $(LDFLAGS) -o $@ testsnmp.o $(LIBCUPSSTATIC) \
558 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
559
560
561 #
562 # Automatic API help files...
563 #
564
565 apihelp:
566 echo Generating CUPS API help files...
567 mxmldoc --section "Programming" \
568 --title "Introduction to CUPS Programming" \
569 --css ../doc/cups-printable.css \
570 --header api-overview.header --intro api-overview.shtml \
571 >../doc/help/api-overview.html
572 mxmldoc --section "Programming" --title "Array API" \
573 --css ../doc/cups-printable.css \
574 --header api-array.header --intro api-array.shtml \
575 api-array.xml \
576 array.h array.c >../doc/help/api-array.html
577 mxmldoc --tokens help/api-array.html api-array.xml >../doc/help/api-array.tokens
578 $(RM) api-array.xml
579 mxmldoc --section "Programming" --title "CUPS API" \
580 --css ../doc/cups-printable.css \
581 --header api-cups.header --intro api-cups.shtml \
582 api-cups.xml \
583 cups.h adminutil.c dest.c language.c notify.c \
584 options.c tempfile.c usersys.c \
585 util.c >../doc/help/api-cups.html
586 mxmldoc --tokens help/api-cups.html api-cups.xml >../doc/help/api-cups.tokens
587 $(RM) api-cups.xml
588 mxmldoc --section "Programming" --title "File and Directory APIs" \
589 --css ../doc/cups-printable.css \
590 --header api-filedir.header --intro api-filedir.shtml \
591 api-filedir.xml \
592 file.h file.c dir.h dir.c >../doc/help/api-filedir.html
593 mxmldoc --tokens api-filedir.xml >../doc/help/api-filedir.tokens
594 $(RM) api-filedir.xml
595 mxmldoc --section "Programming" --title "PPD API (DEPRECATED)" \
596 --css ../doc/cups-printable.css \
597 --header api-ppd.header --intro api-ppd.shtml \
598 api-ppd.xml \
599 ppd.h attr.c conflicts.c custom.c emit.c localize.c mark.c page.c \
600 ppd.c >../doc/help/api-ppd.html
601 mxmldoc --tokens help/api-ppd.html api-ppd.xml >../doc/help/api-ppd.tokens
602 $(RM) api-ppd.xml
603 mxmldoc --section "Programming" --title "HTTP and IPP APIs" \
604 --css ../doc/cups-printable.css \
605 --header api-httpipp.header --intro api-httpipp.shtml \
606 api-httpipp.xml \
607 http.h ipp.h auth.c getdevices.c getputfile.c encode.c \
608 http.c http-addr.c http-support.c ipp.c ipp-support.c \
609 md5passwd.c request.c >../doc/help/api-httpipp.html
610 mxmldoc --tokens help/api-httpipp.html api-httpipp.xml >../doc/help/api-httpipp.tokens
611 $(RM) api-httpipp.xml
612 mxmldoc --section "Programming" \
613 --title "Filter and Backend Programming" \
614 --css ../doc/cups-printable.css \
615 --header api-filter.header --intro api-filter.shtml \
616 api-filter.xml \
617 backchannel.c backend.h backend.c sidechannel.c sidechannel.h \
618 >../doc/help/api-filter.html
619 mxmldoc --tokens help/api-filter.html api-filter.xml >../doc/help/api-filter.tokens
620 $(RM) api-filter.xml
621
622 framedhelp:
623 echo Generating CUPS API help files...
624 mxmldoc --framed api-overview \
625 --section "Programming" \
626 --title "Introduction to CUPS Programming" \
627 --css ../doc/cups-printable.css \
628 --header api-overview.header --intro api-overview.shtml
629 mxmldoc --framed api-array \
630 --section "Programming" --title "Array API" \
631 --css ../doc/cups-printable.css \
632 --header api-array.header --intro api-array.shtml \
633 array.h array.c
634 mxmldoc --framed api-cups \
635 --section "Programming" --title "CUPS API" \
636 --css ../doc/cups-printable.css \
637 --header api-cups.header --intro api-cups.shtml \
638 cups.h adminutil.c dest.c language.c notify.c \
639 options.c tempfile.c usersys.c \
640 util.c
641 mxmldoc --framed api-filedir \
642 --section "Programming" --title "File and Directory APIs" \
643 --css ../doc/cups-printable.css \
644 --header api-filedir.header --intro api-filedir.shtml \
645 file.h file.c dir.h dir.c
646 mxmldoc --framed api-ppd \
647 --section "Programming" --title "PPD API (DEPRECATED)" \
648 --css ../doc/cups-printable.css \
649 --header api-ppd.header --intro api-ppd.shtml \
650 ppd.h attr.c conflicts.c custom.c emit.c localize.c mark.c \
651 page.c ppd.c
652 mxmldoc --framed api-httpipp \
653 --section "Programming" --title "HTTP and IPP APIs" \
654 --css ../doc/cups-printable.css \
655 --header api-httpipp.header --intro api-httpipp.shtml \
656 http.h ipp.h auth.c getdevices.c getputfile.c encode.c \
657 http.c http-addr.c http-support.c ipp.c ipp-support.c \
658 md5passwd.c request.c
659 mxmldoc --framed api-filter \
660 --section "Programming" \
661 --title "Filter and Backend Programming" \
662 --css ../doc/cups-printable.css \
663 --header api-filter.header --intro api-filter.shtml \
664 backchannel.c backend.h backend.c sidechannel.c sidechannel.h
665
666
667 #
668 # Lines of code computation...
669 #
670
671 sloc:
672 echo "libcupslite: \c"
673 sloccount $(LITEOBJS:.o=.c) 2>/dev/null | grep "Total Physical" | awk '{print $$9}'
674 echo "libcups: \c"
675 sloccount $(LIBOBJS:.o=.c) 2>/dev/null | grep "Total Physical" | awk '{print $$9}'
676
677
678 #
679 # Dependencies...
680 #
681
682 include Dependencies
683
684
685 #
686 # End of "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $".
687 #