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