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