]> git.ipfire.org Git - thirdparty/cups.git/blame - cups/Makefile
Import changes from CUPS 1.4svn-r8704.
[thirdparty/cups.git] / cups / Makefile
CommitLineData
ef416fc2 1#
b19ccc9e 2# "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $"
ef416fc2 3#
4# API library Makefile for the Common UNIX Printing System (CUPS).
5#
c168a833 6# Copyright 2007-2009 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 \
35 dir.o \
36 emit.o \
37 encode.o \
38 file.o \
ae71f5de 39 getdevices.o \
89d46774 40 getifaddrs.o \
ef416fc2 41 getputfile.o \
42 globals.o \
43 http.o \
44 http-addr.o \
45 http-addrlist.o \
46 http-support.o \
47 ipp.o \
48 ipp-support.o \
49 langprintf.o \
50 language.o \
fa73b229 51 localize.o \
ef416fc2 52 mark.o \
53 md5.o \
54 md5passwd.o \
fa73b229 55 notify.o \
ef416fc2 56 options.o \
57 page.o \
58 ppd.o \
c168a833 59 pwgmedia.o \
ecdc0628 60 request.o \
f7deaa1a 61 sidechannel.o \
91c84a35 62 snmp.o \
ef416fc2 63 snprintf.o \
64 string.o \
65 tempfile.o \
66 transcode.o \
67 usersys.o \
68 util.o
e1d6a774 69LIB32OBJS = $(LIBOBJS:.o=.32.o)
70LIB64OBJS = $(LIBOBJS:.o=.64.o)
ef416fc2 71OBJS = \
72 $(LIBOBJS) \
e1d6a774 73 $(LIB32OBJS) \
74 $(LIB64OBJS) \
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 \
91c84a35 86 testsnmp.o \
ef416fc2 87 php_cups_wrap.o
88
89
90#
91# Header files to install...
92#
93
94HEADERS = \
757d2cad 95 adminutil.h \
ef416fc2 96 array.h \
d09495fa 97 backend.h \
ef416fc2 98 cups.h \
99 dir.h \
100 file.h \
101 http.h \
ef416fc2 102 ipp.h \
103 language.h \
ef416fc2 104 ppd.h \
ac884b6a 105 raster.h \
f7deaa1a 106 sidechannel.h \
a41f09e2
MS
107 transcode.h \
108 versioning.h
ef416fc2 109
110
111#
112# Targets in this directory...
113#
114
c9fc04c6 115LIBTARGETS = \
ef416fc2 116 $(LIBCUPS) \
e1d6a774 117 $(LIB32CUPS) \
118 $(LIB64CUPS) \
5f64df29
MS
119 libcups.a
120
121UNITTARGETS = \
122 testadmin \
ef416fc2 123 testarray \
5f64df29
MS
124 testconflicts \
125 testcups \
ef416fc2 126 testfile \
127 testhttp \
128 testi18n \
129 testipp \
fa73b229 130 testlang \
20fbc903 131 testoptions \
5f64df29
MS
132 testppd \
133 testsnmp
c9fc04c6
MS
134
135TARGETS = \
5f64df29 136 $(LIBTARGETS)
ef416fc2 137
138
139#
140# Make all targets...
141#
142
143all: $(TARGETS)
144
145
c9fc04c6
MS
146#
147# Make library targets...
148#
149
150libs: $(LIBTARGETS)
151
152
5f64df29
MS
153#
154# Make unit tests...
155#
156
157unittests: $(UNITTARGETS)
158
159
ef416fc2 160#
161# Remove object and target files...
162#
163
164clean:
5f64df29 165 $(RM) $(OBJS) $(TARGETS) $(UNITTARGETS)
f301802f 166 $(RM) libcups.so libcups.sl libcups.dylib
ed486911 167 $(RM) -r 32bit 64bit
ef416fc2 168
169
170#
171# Update dependencies (without system header dependencies...)
172#
173
174depend:
e1d6a774 175 touch Dependencies.tmp
176 makedepend -Y -I.. -fDependencies.tmp $(OBJS:.o=.c) >/dev/null 2>&1
177 $(RM) Dependencies
178 cp Dependencies.tmp Dependencies
91c84a35
MS
179 sed -E -e '1,$$s/^([^.]+)\.o:/\1\.32.o: \1\.c /' Dependencies.tmp >>Dependencies
180 sed -E -e '1,$$s/^([^.]+)\.o:/\1\.64.o: \1\.c /' Dependencies.tmp >>Dependencies
e1d6a774 181 $(RM) Dependencies.tmp
ef416fc2 182
183
184#
50fe7201 185# Install all targets...
ef416fc2 186#
187
50fe7201
MS
188install: all install-data install-headers install-libs install-exec
189
190
191#
192# Install data files...
193#
194
195install-data:
196
197
198#
199# Install programs...
200#
201
202install-exec:
203
204
205#
206# Install headers...
207#
208
209install-headers:
210 echo Installing header files into $(INCLUDEDIR)/cups...
211 $(INSTALL_DIR) -m 755 $(INCLUDEDIR)/cups
212 for file in $(HEADERS); do \
213 $(INSTALL_DATA) $$file $(INCLUDEDIR)/cups; \
214 done
215
216
217#
218# Install libraries...
219#
220
221install-libs: $(INSTALLSTATIC) $(INSTALL32) $(INSTALL64)
222 echo Installing libraries in $(LIBDIR)...
bd7854cb 223 $(INSTALL_DIR) -m 755 $(LIBDIR)
ef416fc2 224 $(INSTALL_LIB) $(LIBCUPS) $(LIBDIR)
225 if test $(LIBCUPS) = "libcups.so.2" -o $(LIBCUPS) = "libcups.sl.2"; then \
226 $(RM) $(LIBDIR)/`basename $(LIBCUPS) .2`; \
227 $(LN) $(LIBCUPS) $(LIBDIR)/`basename $(LIBCUPS) .2`; \
228 fi
229 if test $(LIBCUPS) = "libcups.2.dylib"; then \
ef416fc2 230 $(RM) $(LIBDIR)/libcups.dylib; \
231 $(LN) $(LIBCUPS) $(LIBDIR)/libcups.dylib; \
232 fi
09a101d6 233 if test "x$(SYMROOT)" != "x"; then \
234 $(INSTALL_DIR) $(SYMROOT); \
50fe7201 235 cp $(LIBCUPS) $(SYMROOT); \
09a101d6 236 fi
923edb68 237
238installstatic:
239 $(INSTALL_DIR) -m 755 $(LIBDIR)
97c9a8d7 240 $(INSTALL_LIB) -m 755 libcups.a $(LIBDIR)
d6ae789d 241 $(RANLIB) $(LIBDIR)/libcups.a
97c9a8d7 242 $(CHMOD) 555 $(LIBDIR)/libcups.a
ef416fc2 243
e1d6a774 244install32bit:
50fe7201 245 echo Installing libraries in $(LIB32DIR)...
e1d6a774 246 $(INSTALL_DIR) -m 755 $(LIB32DIR)
f301802f 247 $(INSTALL_LIB) 32bit/libcups.so.2 $(LIB32DIR)/libcups.so.2
ed486911 248 $(LN) libcups.so.2 $(LIB32DIR)/libcups.so
e1d6a774 249
250install64bit:
50fe7201 251 echo Installing libraries in $(LIB64DIR)...
e1d6a774 252 $(INSTALL_DIR) -m 755 $(LIB64DIR)
f301802f 253 $(INSTALL_LIB) 64bit/libcups.so.2 $(LIB64DIR)/libcups.so.2
ed486911 254 $(LN) libcups.so.2 $(LIB64DIR)/libcups.so
e1d6a774 255
ef416fc2 256
757d2cad 257#
258# Uninstall object and target files...
259#
260
e1d6a774 261uninstall: $(UNINSTALL32) $(UNINSTALL64)
757d2cad 262 $(RM) $(LIBDIR)/libcups.2.dylib
263 $(RM) $(LIBDIR)/libcups.a
264 $(RM) $(LIBDIR)/libcups.dylib
265 $(RM) $(LIBDIR)/libcups_s.a
266 $(RM) $(LIBDIR)/libcups.sl
267 $(RM) $(LIBDIR)/libcups.sl.2
268 $(RM) $(LIBDIR)/libcups.so
269 $(RM) $(LIBDIR)/libcups.so.2
270 -$(RMDIR) $(LIBDIR)
271 for file in $(HEADERS); do \
272 $(RM) $(INCLUDEDIR)/cups/$$file; \
273 done
274 -$(RMDIR) $(INCLUDEDIR)/cups
275
e1d6a774 276uninstall32bit:
277 $(RM) $(LIB32DIR)/libcups.so
278 $(RM) $(LIB32DIR)/libcups.so.2
279 -$(RMDIR) $(LIB32DIR)
280
281uninstall64bit:
282 $(RM) $(LIB64DIR)/libcups.so
283 $(RM) $(LIB64DIR)/libcups.so.2
284 -$(RMDIR) $(LIB64DIR)
285
757d2cad 286
ef416fc2 287#
288# libcups.so.2, libcups.sl.2
289#
290
291libcups.so.2 libcups.sl.2: $(LIBOBJS)
292 echo Linking $@...
c168a833
MS
293 $(DSO) $(ARCHFLAGS) $(DSOFLAGS) -o $@ $(LIBOBJS) $(LIBGSSAPI) \
294 $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
ef416fc2 295 $(RM) `basename $@ .2`
296 $(LN) $@ `basename $@ .2`
297
298
e1d6a774 299#
f301802f 300# 32bit/libcups.so.2
e1d6a774 301#
302
f301802f 30332bit/libcups.so.2: $(LIB32OBJS)
e1d6a774 304 echo Linking 32-bit $@...
f301802f 305 -mkdir 32bit
c168a833
MS
306 $(DSO) $(ARCH32FLAGS) $(DSO32FLAGS) -o $@ $(LIB32OBJS) $(LIBGSSAPI) \
307 $(DNSSDLIBS) $(SSLLIBS) $(COMMONLIBS) $(LIBZ)
f301802f 308 $(RM) 32bit/libcups.so
309 $(LN) libcups.so.2 32bit/libcups.so
e1d6a774 310
311
312#
f301802f 313# 64bit/libcups.so.2
e1d6a774 314#
315
f301802f 31664bit/libcups.so.2: $(LIB64OBJS)
e1d6a774 317 echo Linking 64-bit $@...
f301802f 318 -mkdir 64bit
c168a833
MS
319 $(DSO) $(ARCH64FLAGS) $(DSO64FLAGS) -o $@ $(LIB64OBJS) $(LIBGSSAPI) \
320 $(DNSSDLIBS) $(SSLLIBS) $(COMMONLIBS) $(LIBZ)
f301802f 321 $(RM) 64bit/libcups.so
322 $(LN) libcups.so.2 64bit/libcups.so
e1d6a774 323
324
ef416fc2 325#
326# libcups.2.dylib
327#
328
a4924f6c 329libcups.2.dylib: $(LIBOBJS) $(LIBCUPSORDER) libcups.exp
ef416fc2 330 echo Linking $@...
e1d6a774 331 $(DSO) $(ARCHFLAGS) $(DSOFLAGS) -o $@ \
fa73b229 332 -install_name $(libdir)/$@ \
f7deaa1a 333 -current_version 2.8.0 \
ef416fc2 334 -compatibility_version 2.0.0 \
09a101d6 335 -exported_symbols_list libcups.exp \
336 -sectorder __TEXT __text $(LIBCUPSORDER) \
c168a833
MS
337 $(LIBOBJS) $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \
338 $(COMMONLIBS) $(LIBZ)
ef416fc2 339 $(RM) libcups.dylib
340 $(LN) $@ libcups.dylib
341
342
343#
344# libcups_s.a
345#
346
a74454a7 347libcups_s.a: $(LIBOBJS) libcups_s.exp
ef416fc2 348 echo Creating $@...
c168a833
MS
349 $(DSO) $(DSOFLAGS) -Wl,-bexport:libcups_s.exp -o libcups_s.o \
350 $(LIBOBJS) $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \
351 $(COMMONLIBS) $(LIBZ) -lm
ef416fc2 352 $(RM) $@
353 $(AR) $(ARFLAGS) $@ libcups_s.o
354
355
356#
357# libcups.la
358#
359
360libcups.la: $(LIBOBJS)
361 echo Linking $@...
c168a833
MS
362 $(CC) $(ARCHFLAGS) $(DSOFLAGS) -o $@ $(LIBOBJS:.o=.lo) \
363 -rpath $(LIBDIR) -version-info 2:8 $(LIBGSSAPI) $(SSLLIBS) \
364 $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
ef416fc2 365
366
367#
368# libcups.a
369#
370
371libcups.a: $(LIBOBJS)
372 echo Archiving $@...
373 $(RM) $@
374 $(AR) $(ARFLAGS) $@ $(LIBOBJS)
375 $(RANLIB) $@
376
377
378#
379# CUPS language bindings for various scripting languages...
380#
757d2cad 381# NOTE: Not currently used or functional - see the scripting/php directory
382# for the hand-written bindings...
383#
ef416fc2 384
385phpcups.so: $(LIBCUPS) php_cups_wrap.o
386 echo Linking $@...
387 if test `uname` = Darwin; then \
388 DSOFLAGS="-bundle -flat_namespace -undefined suppress"; \
389 else \
390 DSOFLAGS="$(DSOFLAGS)"; \
391 fi; \
392 $(DSO) $$DSOFLAGS -o $@ php_cups_wrap.o $(LIBS) `php-config --ldflags --libs`
393
394php_cups_wrap.o: php_cups_wrap.c
395 echo Compiling $<...
396 $(CC) $(CFLAGS) `php-config --includes` -c $<
397php_cups_wrap.c: cups.h
398 echo Creating $< using SWIG...
399 swig -php -o $@ -module cups cups.h
400
401
757d2cad 402#
403# testadmin (dependency on static CUPS library is intentional)
404#
405
406testadmin: testadmin.o libcups.a
407 echo Linking $@...
408 $(CC) $(LDFLAGS) -o $@ testadmin.o libcups.a \
c168a833 409 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
757d2cad 410
411
ef416fc2 412#
413# testarray (dependency on static CUPS library is intentional)
414#
415
416testarray: testarray.o libcups.a
417 echo Linking $@...
c9fc04c6 418 $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ testarray.o libcups.a \
c168a833 419 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
c9fc04c6
MS
420 echo Running array API tests...
421 ./testarray
ef416fc2 422
423
06d4e77b
MS
424#
425# testconflicts (dependency on static CUPS library is intentional)
426#
427
428testconflicts: testconflicts.o libcups.a
429 echo Linking $@...
430 $(CC) $(LDFLAGS) -o $@ testconflicts.o libcups.a \
c168a833 431 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
06d4e77b
MS
432
433
09a101d6 434#
435# testcups (dependency on static CUPS library is intentional)
436#
437
438testcups: testcups.o libcups.a
439 echo Linking $@...
440 $(CC) $(LDFLAGS) -o $@ testcups.o libcups.a \
c168a833 441 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
09a101d6 442
443
ef416fc2 444#
445# testfile (dependency on static CUPS library is intentional)
446#
447
448testfile: testfile.o libcups.a
449 echo Linking $@...
c9fc04c6 450 $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ testfile.o libcups.a \
c168a833 451 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
c9fc04c6
MS
452 echo Running file API tests...
453 ./testfile
ef416fc2 454
455
456#
457# testhttp (dependency on static CUPS library is intentional)
458#
459
460testhttp: testhttp.o libcups.a
461 echo Linking $@...
c9fc04c6 462 $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ testhttp.o libcups.a \
c168a833 463 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
c9fc04c6
MS
464 echo Running HTTP API tests...
465 ./testhttp
ef416fc2 466
467
468#
469# testipp (dependency on static CUPS library is intentional)
470#
471
472testipp: testipp.o libcups.a
473 echo Linking $@...
c9fc04c6 474 $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ testipp.o libcups.a \
c168a833 475 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
c9fc04c6
MS
476 echo Running IPP API tests...
477 ./testipp
ef416fc2 478
479
480#
481# testi18n (dependency on static CUPS library is intentional)
482#
483
484testi18n: testi18n.o libcups.a
485 echo Linking $@...
c9fc04c6 486 $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ testi18n.o libcups.a \
c168a833 487 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
c9fc04c6
MS
488 echo Running internationalization API tests...
489 ./testi18n
ef416fc2 490
491
492#
493# testlang (dependency on static CUPS library is intentional)
494#
495
496testlang: testlang.o libcups.a
497 echo Linking $@...
c9fc04c6 498 $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ testlang.o libcups.a \
c168a833 499 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
c9fc04c6
MS
500 echo Running language API tests...
501 ./testlang
ef416fc2 502
503
20fbc903
MS
504#
505# testoptions (dependency on static CUPS library is intentional)
506#
507
508testoptions: testoptions.o libcups.a
509 echo Linking $@...
510 $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ testoptions.o libcups.a \
c168a833 511 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
20fbc903
MS
512 echo Running option API tests...
513 ./testoptions
514
515
fa73b229 516#
517# testppd (dependency on static CUPS library is intentional)
518#
519
1340db2d 520testppd: testppd.o libcups.a test.ppd test2.ppd
fa73b229 521 echo Linking $@...
c9fc04c6 522 $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ testppd.o libcups.a \
c168a833 523 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
c9fc04c6
MS
524 echo Running PPD API tests...
525 ./testppd
fa73b229 526
527
91c84a35
MS
528#
529# testsnmp (dependency on static CUPS library is intentional)
530#
531
532testsnmp: testsnmp.o libcups.a
533 echo Linking $@...
534 $(CC) $(LDFLAGS) -o $@ testsnmp.o libcups.a \
c168a833 535 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
91c84a35
MS
536
537
ef416fc2 538#
539# Automatic API help files...
540#
541
542apihelp:
543 echo Generating CUPS API help files...
5a738aea
MS
544 mxmldoc --section "Programming" \
545 --title "Introduction to CUPS Programming" \
546 --css ../doc/cups-printable.css \
547 --header api-overview.header --intro api-overview.shtml \
548 >../doc/help/api-overview.html
ef416fc2 549 mxmldoc --section "Programming" --title "Array API" \
5a738aea
MS
550 --css ../doc/cups-printable.css \
551 --header api-array.header --intro api-array.shtml \
f11a948a 552 api-array.xml \
ef416fc2 553 array.h array.c >../doc/help/api-array.html
f11a948a
MS
554 mxmldoc --tokens help/api-array.html api-array.xml >../doc/help/api-array.tokens
555 $(RM) api-array.xml
ef416fc2 556 mxmldoc --section "Programming" --title "CUPS API" \
5a738aea
MS
557 --css ../doc/cups-printable.css \
558 --header api-cups.header --intro api-cups.shtml \
f11a948a 559 api-cups.xml \
426c6a59 560 cups.h adminutil.c dest.c language.c notify.c \
ef416fc2 561 options.c tempfile.c usersys.c \
562 util.c >../doc/help/api-cups.html
f11a948a
MS
563 mxmldoc --tokens help/api-cups.html api-cups.xml >../doc/help/api-cups.tokens
564 $(RM) api-cups.xml
ef416fc2 565 mxmldoc --section "Programming" --title "File and Directory APIs" \
5a738aea
MS
566 --css ../doc/cups-printable.css \
567 --header api-filedir.header --intro api-filedir.shtml \
f11a948a 568 api-filedir.xml \
ef416fc2 569 file.h file.c dir.h dir.c >../doc/help/api-filedir.html
f11a948a
MS
570 mxmldoc --tokens api-filedir.xml >../doc/help/api-filedir.tokens
571 $(RM) api-filedir.xml
ef416fc2 572 mxmldoc --section "Programming" --title "PPD API" \
5a738aea
MS
573 --css ../doc/cups-printable.css \
574 --header api-ppd.header --intro api-ppd.shtml \
f11a948a 575 api-ppd.xml \
66ab9486 576 ppd.h attr.c conflicts.c custom.c emit.c localize.c mark.c page.c \
ef416fc2 577 ppd.c >../doc/help/api-ppd.html
f11a948a
MS
578 mxmldoc --tokens help/api-ppd.html api-ppd.xml >../doc/help/api-ppd.tokens
579 $(RM) api-ppd.xml
ef416fc2 580 mxmldoc --section "Programming" --title "HTTP and IPP APIs" \
5a738aea
MS
581 --css ../doc/cups-printable.css \
582 --header api-httpipp.header --intro api-httpipp.shtml \
f11a948a 583 api-httpipp.xml \
ae71f5de
MS
584 http.h ipp.h auth.c getdevices.c getputfile.c encode.c \
585 http.c http-addr.c http-support.c ipp.c ipp-support.c \
586 md5passwd.c request.c >../doc/help/api-httpipp.html
f11a948a
MS
587 mxmldoc --tokens help/api-httpipp.html api-httpipp.xml >../doc/help/api-httpipp.tokens
588 $(RM) api-httpipp.xml
5a738aea
MS
589 mxmldoc --section "Programming" \
590 --title "Filter and Backend Programming" \
591 --css ../doc/cups-printable.css \
592 --header api-filter.header --intro api-filter.shtml \
f11a948a 593 api-filter.xml \
ac884b6a 594 backchannel.c backend.h backend.c sidechannel.c sidechannel.h \
7a14d768 595 >../doc/help/api-filter.html
f11a948a
MS
596 mxmldoc --tokens help/api-filter.html api-filter.xml >../doc/help/api-filter.tokens
597 $(RM) api-filter.xml
5a738aea
MS
598
599framedhelp:
600 echo Generating CUPS API help files...
601 mxmldoc --framed api-overview \
602 --section "Programming" \
603 --title "Introduction to CUPS Programming" \
604 --css ../doc/cups-printable.css \
605 --header api-overview.header --intro api-overview.shtml
606 mxmldoc --framed api-array \
607 --section "Programming" --title "Array API" \
608 --css ../doc/cups-printable.css \
609 --header api-array.header --intro api-array.shtml \
610 array.h array.c
611 mxmldoc --framed api-cups \
612 --section "Programming" --title "CUPS API" \
613 --css ../doc/cups-printable.css \
614 --header api-cups.header --intro api-cups.shtml \
426c6a59 615 cups.h adminutil.c dest.c language.c notify.c \
5a738aea 616 options.c tempfile.c usersys.c \
ac884b6a 617 util.c
5a738aea
MS
618 mxmldoc --framed api-filedir \
619 --section "Programming" --title "File and Directory APIs" \
620 --css ../doc/cups-printable.css \
621 --header api-filedir.header --intro api-filedir.shtml \
ac884b6a 622 file.h file.c dir.h dir.c
5a738aea
MS
623 mxmldoc --framed api-ppd \
624 --section "Programming" --title "PPD API" \
625 --css ../doc/cups-printable.css \
626 --header api-ppd.header --intro api-ppd.shtml \
66ab9486
MS
627 ppd.h attr.c conflicts.c custom.c emit.c localize.c mark.c \
628 page.c ppd.c
5a738aea
MS
629 mxmldoc --framed api-httpipp \
630 --section "Programming" --title "HTTP and IPP APIs" \
631 --css ../doc/cups-printable.css \
632 --header api-httpipp.header --intro api-httpipp.shtml \
ae71f5de
MS
633 http.h ipp.h auth.c getdevices.c getputfile.c encode.c \
634 http.c http-addr.c http-support.c ipp.c ipp-support.c \
635 md5passwd.c request.c
5a738aea
MS
636 mxmldoc --framed api-filter \
637 --section "Programming" \
638 --title "Filter and Backend Programming" \
639 --css ../doc/cups-printable.css \
640 --header api-filter.header --intro api-filter.shtml \
7a14d768 641 backchannel.c backend.h backend.c sidechannel.c sidechannel.h
ef416fc2 642
643
644#
645# Dependencies...
646#
647
648include Dependencies
649
650
651#
b19ccc9e 652# End of "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $".
ef416fc2 653#