Imported Upstream version 3.0.5~rc1
Axel Beckert
8 years ago
4 | 4 | Here we list changes that are relatively significant and/or visible to the |
5 | 5 | user. For a history of changes in full detail, see our Mercurial repository |
6 | 6 | at http://hg.dillo.org/dillo |
7 | ||
8 | dillo-3.0.5 [not released yet] | |
9 | ||
10 | +- Image buffer/cache improvements. | |
11 | - Fix for segfault when there's no dpid and view source is requested. | |
12 | - Fix view-source dpi to handle null characters correctly. | |
13 | - Made view-source dpi use CSS formatting (it's shorter and cleaner). | |
14 | Patches: Jorge Arellano Cid | |
15 | +- Crosscompile/buildroot-friendly fltk-config test. | |
16 | Patch: Peter Seiderer | |
17 | +- Fix X11 icon name. | |
18 | - In location bar, tend toward showing beginning of URL instead of end. | |
19 | - Handle irix's version of vsnprintf(). | |
20 | - INPUT, TEXTAREA placeholder attribute. | |
21 | - Better notification when user's domainrc settings block page redirection. | |
22 | - Fix bug with font_factor preference and CSS font-size:(larger|smaller). | |
23 | - Recognize Menu key in keysrc. | |
24 | - HTTPS: change cipher list to "ALL:!aNULL:!eNULL:!LOW:!EXPORT40:!RC4", | |
25 | disable SSL3, disable TLS compression. | |
26 | Patches: corvid | |
27 | +- Avoid requesting background images if an ancestor has display:none. | |
28 | - Ignore built-in search url if any are specified in dillorc. | |
29 | Patches: Johannes Hofmann | |
30 | ||
31 | ----------------------------------------------------------------------------- | |
7 | 32 | |
8 | 33 | dillo-3.0.4.1 [December 24, 2014] |
9 | 34 |
0 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.11.6 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | |
4 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
5 | 6 | # This Makefile.in is free software; the Free Software Foundation |
6 | 7 | # gives unlimited permission to copy and/or distribute it, |
7 | 8 | # with or without modifications, as long as this notice is preserved. |
15 | 16 | |
16 | 17 | |
17 | 18 | VPATH = @srcdir@ |
18 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | |
19 | am__make_running_with_option = \ | |
20 | case $${target_option-} in \ | |
21 | ?) ;; \ | |
22 | *) echo "am__make_running_with_option: internal error: invalid" \ | |
23 | "target option '$${target_option-}' specified" >&2; \ | |
24 | exit 1;; \ | |
25 | esac; \ | |
26 | has_opt=no; \ | |
27 | sane_makeflags=$$MAKEFLAGS; \ | |
28 | if $(am__is_gnu_make); then \ | |
29 | sane_makeflags=$$MFLAGS; \ | |
30 | else \ | |
19 | am__make_dryrun = \ | |
20 | { \ | |
21 | am__dry=no; \ | |
31 | 22 | case $$MAKEFLAGS in \ |
32 | 23 | *\\[\ \ ]*) \ |
33 | bs=\\; \ | |
34 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
35 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
24 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
25 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
26 | *) \ | |
27 | for am__flg in $$MAKEFLAGS; do \ | |
28 | case $$am__flg in \ | |
29 | *=*|--*) ;; \ | |
30 | *n*) am__dry=yes; break;; \ | |
31 | esac; \ | |
32 | done;; \ | |
36 | 33 | esac; \ |
37 | fi; \ | |
38 | skip_next=no; \ | |
39 | strip_trailopt () \ | |
40 | { \ | |
41 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
42 | }; \ | |
43 | for flg in $$sane_makeflags; do \ | |
44 | test $$skip_next = yes && { skip_next=no; continue; }; \ | |
45 | case $$flg in \ | |
46 | *=*|--*) continue;; \ | |
47 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
48 | -*I?*) strip_trailopt 'I';; \ | |
49 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
50 | -*O?*) strip_trailopt 'O';; \ | |
51 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
52 | -*l?*) strip_trailopt 'l';; \ | |
53 | -[dEDm]) skip_next=yes;; \ | |
54 | -[JT]) skip_next=yes;; \ | |
55 | esac; \ | |
56 | case $$flg in \ | |
57 | *$$target_option*) has_opt=yes; break;; \ | |
58 | esac; \ | |
59 | done; \ | |
60 | test $$has_opt = yes | |
61 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
62 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
34 | test $$am__dry = yes; \ | |
35 | } | |
63 | 36 | pkgdatadir = $(datadir)/@PACKAGE@ |
64 | 37 | pkgincludedir = $(includedir)/@PACKAGE@ |
65 | 38 | pkglibdir = $(libdir)/@PACKAGE@ |
80 | 53 | host_triplet = @host@ |
81 | 54 | target_triplet = @target@ |
82 | 55 | subdir = . |
83 | DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \ | |
84 | $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ | |
85 | $(top_srcdir)/configure $(am__configure_deps) \ | |
86 | $(srcdir)/config.h.in $(dist_bin_SCRIPTS) COPYING compile \ | |
87 | config.guess config.sub depcomp install-sh missing | |
56 | DIST_COMMON = README $(am__configure_deps) $(dist_bin_SCRIPTS) \ | |
57 | $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ | |
58 | $(srcdir)/config.h.in $(top_srcdir)/configure AUTHORS COPYING \ | |
59 | ChangeLog INSTALL NEWS config.guess config.sub depcomp \ | |
60 | install-sh missing | |
88 | 61 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
89 | 62 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
90 | 63 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
124 | 97 | } |
125 | 98 | am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sysconfdir)" |
126 | 99 | SCRIPTS = $(dist_bin_SCRIPTS) |
127 | AM_V_P = $(am__v_P_@AM_V@) | |
128 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
129 | am__v_P_0 = false | |
130 | am__v_P_1 = : | |
131 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
132 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
133 | am__v_GEN_0 = @echo " GEN " $@; | |
134 | am__v_GEN_1 = | |
135 | AM_V_at = $(am__v_at_@AM_V@) | |
136 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
137 | am__v_at_0 = @ | |
138 | am__v_at_1 = | |
139 | 100 | SOURCES = |
140 | 101 | DIST_SOURCES = |
141 | RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ | |
142 | ctags-recursive dvi-recursive html-recursive info-recursive \ | |
143 | install-data-recursive install-dvi-recursive \ | |
144 | install-exec-recursive install-html-recursive \ | |
145 | install-info-recursive install-pdf-recursive \ | |
146 | install-ps-recursive install-recursive installcheck-recursive \ | |
147 | installdirs-recursive pdf-recursive ps-recursive \ | |
148 | tags-recursive uninstall-recursive | |
102 | RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ | |
103 | html-recursive info-recursive install-data-recursive \ | |
104 | install-dvi-recursive install-exec-recursive \ | |
105 | install-html-recursive install-info-recursive \ | |
106 | install-pdf-recursive install-ps-recursive install-recursive \ | |
107 | installcheck-recursive installdirs-recursive pdf-recursive \ | |
108 | ps-recursive uninstall-recursive | |
149 | 109 | am__can_run_installinfo = \ |
150 | 110 | case $$AM_UPDATE_INFO_DIR in \ |
151 | 111 | n|no|NO) false;; \ |
154 | 114 | DATA = $(sysconf_DATA) |
155 | 115 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
156 | 116 | distclean-recursive maintainer-clean-recursive |
157 | am__recursive_targets = \ | |
158 | $(RECURSIVE_TARGETS) \ | |
159 | $(RECURSIVE_CLEAN_TARGETS) \ | |
160 | $(am__extra_recursive_targets) | |
161 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ | |
162 | cscope distdir dist dist-all distcheck | |
163 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ | |
164 | $(LISP)config.h.in | |
165 | # Read a list of newline-separated strings from the standard input, | |
166 | # and print each of them once, without duplicates. Input order is | |
167 | # *not* preserved. | |
168 | am__uniquify_input = $(AWK) '\ | |
169 | BEGIN { nonempty = 0; } \ | |
170 | { items[$$0] = 1; nonempty = 1; } \ | |
171 | END { if (nonempty) { for (i in items) print i; }; } \ | |
172 | ' | |
173 | # Make sure the list of sources is unique. This is necessary because, | |
174 | # e.g., the same source file might be shared among _SOURCES variables | |
175 | # for different programs/libraries. | |
176 | am__define_uniq_tagged_files = \ | |
177 | list='$(am__tagged_files)'; \ | |
178 | unique=`for i in $$list; do \ | |
179 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
180 | done | $(am__uniquify_input)` | |
117 | AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ | |
118 | $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ | |
119 | distdir dist dist-all distcheck | |
181 | 120 | ETAGS = etags |
182 | 121 | CTAGS = ctags |
183 | CSCOPE = cscope | |
184 | 122 | DIST_SUBDIRS = $(SUBDIRS) |
185 | 123 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
186 | 124 | distdir = $(PACKAGE)-$(VERSION) |
191 | 129 | && rm -rf "$(distdir)" \ |
192 | 130 | || { sleep 5 && rm -rf "$(distdir)"; }; \ |
193 | 131 | else :; fi |
194 | am__post_remove_distdir = $(am__remove_distdir) | |
195 | 132 | am__relativize = \ |
196 | 133 | dir0=`pwd`; \ |
197 | 134 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ |
219 | 156 | reldir="$$dir2" |
220 | 157 | DIST_ARCHIVES = $(distdir).tar.gz |
221 | 158 | GZIP_ENV = --best |
222 | DIST_TARGETS = dist-gzip | |
223 | 159 | distuninstallcheck_listfiles = find . -type f -print |
224 | 160 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ |
225 | 161 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' |
226 | 162 | distcleancheck_listfiles = find . -type f -print |
227 | 163 | ACLOCAL = @ACLOCAL@ |
228 | 164 | AMTAR = @AMTAR@ |
229 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
230 | 165 | AUTOCONF = @AUTOCONF@ |
231 | 166 | AUTOHEADER = @AUTOHEADER@ |
232 | 167 | AUTOMAKE = @AUTOMAKE@ |
247 | 182 | ECHO_T = @ECHO_T@ |
248 | 183 | EGREP = @EGREP@ |
249 | 184 | EXEEXT = @EXEEXT@ |
185 | FLTK_CONFIG = @FLTK_CONFIG@ | |
250 | 186 | GREP = @GREP@ |
251 | 187 | INSTALL = @INSTALL@ |
252 | 188 | INSTALL_DATA = @INSTALL_DATA@ |
386 | 322 | $(am__aclocal_m4_deps): |
387 | 323 | |
388 | 324 | config.h: stamp-h1 |
389 | @test -f $@ || rm -f stamp-h1 | |
390 | @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 | |
325 | @if test ! -f $@; then rm -f stamp-h1; else :; fi | |
326 | @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi | |
391 | 327 | |
392 | 328 | stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
393 | 329 | @rm -f stamp-h1 |
457 | 393 | dir='$(DESTDIR)$(sysconfdir)'; $(am__uninstall_files_from_dir) |
458 | 394 | |
459 | 395 | # This directory's subdirectories are mostly independent; you can cd |
460 | # into them and run 'make' without going through this Makefile. | |
461 | # To change the values of 'make' variables: instead of editing Makefiles, | |
462 | # (1) if the variable is set in 'config.status', edit 'config.status' | |
463 | # (which will cause the Makefiles to be regenerated when you run 'make'); | |
464 | # (2) otherwise, pass the desired values on the 'make' command line. | |
465 | $(am__recursive_targets): | |
466 | @fail=; \ | |
467 | if $(am__make_keepgoing); then \ | |
468 | failcom='fail=yes'; \ | |
469 | else \ | |
470 | failcom='exit 1'; \ | |
471 | fi; \ | |
396 | # into them and run `make' without going through this Makefile. | |
397 | # To change the values of `make' variables: instead of editing Makefiles, | |
398 | # (1) if the variable is set in `config.status', edit `config.status' | |
399 | # (which will cause the Makefiles to be regenerated when you run `make'); | |
400 | # (2) otherwise, pass the desired values on the `make' command line. | |
401 | $(RECURSIVE_TARGETS): | |
402 | @fail= failcom='exit 1'; \ | |
403 | for f in x $$MAKEFLAGS; do \ | |
404 | case $$f in \ | |
405 | *=* | --[!k]*);; \ | |
406 | *k*) failcom='fail=yes';; \ | |
407 | esac; \ | |
408 | done; \ | |
472 | 409 | dot_seen=no; \ |
473 | 410 | target=`echo $@ | sed s/-recursive//`; \ |
474 | case "$@" in \ | |
475 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | |
476 | *) list='$(SUBDIRS)' ;; \ | |
477 | esac; \ | |
478 | for subdir in $$list; do \ | |
411 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
479 | 412 | echo "Making $$target in $$subdir"; \ |
480 | 413 | if test "$$subdir" = "."; then \ |
481 | 414 | dot_seen=yes; \ |
490 | 423 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
491 | 424 | fi; test -z "$$fail" |
492 | 425 | |
493 | ID: $(am__tagged_files) | |
494 | $(am__define_uniq_tagged_files); mkid -fID $$unique | |
495 | tags: tags-recursive | |
496 | TAGS: tags | |
497 | ||
498 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
426 | $(RECURSIVE_CLEAN_TARGETS): | |
427 | @fail= failcom='exit 1'; \ | |
428 | for f in x $$MAKEFLAGS; do \ | |
429 | case $$f in \ | |
430 | *=* | --[!k]*);; \ | |
431 | *k*) failcom='fail=yes';; \ | |
432 | esac; \ | |
433 | done; \ | |
434 | dot_seen=no; \ | |
435 | case "$@" in \ | |
436 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | |
437 | *) list='$(SUBDIRS)' ;; \ | |
438 | esac; \ | |
439 | rev=''; for subdir in $$list; do \ | |
440 | if test "$$subdir" = "."; then :; else \ | |
441 | rev="$$subdir $$rev"; \ | |
442 | fi; \ | |
443 | done; \ | |
444 | rev="$$rev ."; \ | |
445 | target=`echo $@ | sed s/-recursive//`; \ | |
446 | for subdir in $$rev; do \ | |
447 | echo "Making $$target in $$subdir"; \ | |
448 | if test "$$subdir" = "."; then \ | |
449 | local_target="$$target-am"; \ | |
450 | else \ | |
451 | local_target="$$target"; \ | |
452 | fi; \ | |
453 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
454 | || eval $$failcom; \ | |
455 | done && test -z "$$fail" | |
456 | tags-recursive: | |
457 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
458 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ | |
459 | done | |
460 | ctags-recursive: | |
461 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
462 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ | |
463 | done | |
464 | ||
465 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
466 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
467 | unique=`for i in $$list; do \ | |
468 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
469 | done | \ | |
470 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
471 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
472 | mkid -fID $$unique | |
473 | tags: TAGS | |
474 | ||
475 | TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | |
476 | $(TAGS_FILES) $(LISP) | |
499 | 477 | set x; \ |
500 | 478 | here=`pwd`; \ |
501 | 479 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
511 | 489 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
512 | 490 | fi; \ |
513 | 491 | done; \ |
514 | $(am__define_uniq_tagged_files); \ | |
492 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | |
493 | unique=`for i in $$list; do \ | |
494 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
495 | done | \ | |
496 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
497 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
515 | 498 | shift; \ |
516 | 499 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
517 | 500 | test -n "$$unique" || unique=$$empty_fix; \ |
523 | 506 | $$unique; \ |
524 | 507 | fi; \ |
525 | 508 | fi |
526 | ctags: ctags-recursive | |
527 | ||
528 | CTAGS: ctags | |
529 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
530 | $(am__define_uniq_tagged_files); \ | |
509 | ctags: CTAGS | |
510 | CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | |
511 | $(TAGS_FILES) $(LISP) | |
512 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | |
513 | unique=`for i in $$list; do \ | |
514 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
515 | done | \ | |
516 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
517 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
531 | 518 | test -z "$(CTAGS_ARGS)$$unique" \ |
532 | 519 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
533 | 520 | $$unique |
536 | 523 | here=`$(am__cd) $(top_builddir) && pwd` \ |
537 | 524 | && $(am__cd) $(top_srcdir) \ |
538 | 525 | && gtags -i $(GTAGS_ARGS) "$$here" |
539 | cscope: cscope.files | |
540 | test ! -s cscope.files \ | |
541 | || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) | |
542 | clean-cscope: | |
543 | -rm -f cscope.files | |
544 | cscope.files: clean-cscope cscopelist | |
545 | cscopelist: cscopelist-recursive | |
546 | ||
547 | cscopelist-am: $(am__tagged_files) | |
548 | list='$(am__tagged_files)'; \ | |
549 | case "$(srcdir)" in \ | |
550 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
551 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
552 | esac; \ | |
553 | for i in $$list; do \ | |
554 | if test -f "$$i"; then \ | |
555 | echo "$(subdir)/$$i"; \ | |
556 | else \ | |
557 | echo "$$sdir/$$i"; \ | |
558 | fi; \ | |
559 | done >> $(top_builddir)/cscope.files | |
560 | 526 | |
561 | 527 | distclean-tags: |
562 | 528 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
563 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files | |
564 | 529 | |
565 | 530 | distdir: $(DISTFILES) |
566 | 531 | $(am__remove_distdir) |
628 | 593 | || chmod -R a+r "$(distdir)" |
629 | 594 | dist-gzip: distdir |
630 | 595 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
631 | $(am__post_remove_distdir) | |
596 | $(am__remove_distdir) | |
632 | 597 | |
633 | 598 | dist-bzip2: distdir |
634 | 599 | tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 |
635 | $(am__post_remove_distdir) | |
600 | $(am__remove_distdir) | |
636 | 601 | |
637 | 602 | dist-lzip: distdir |
638 | 603 | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz |
639 | $(am__post_remove_distdir) | |
604 | $(am__remove_distdir) | |
605 | ||
606 | dist-lzma: distdir | |
607 | tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma | |
608 | $(am__remove_distdir) | |
640 | 609 | |
641 | 610 | dist-xz: distdir |
642 | 611 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz |
643 | $(am__post_remove_distdir) | |
612 | $(am__remove_distdir) | |
644 | 613 | |
645 | 614 | dist-tarZ: distdir |
646 | @echo WARNING: "Support for shar distribution archives is" \ | |
647 | "deprecated." >&2 | |
648 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 | |
649 | 615 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
650 | $(am__post_remove_distdir) | |
616 | $(am__remove_distdir) | |
651 | 617 | |
652 | 618 | dist-shar: distdir |
653 | @echo WARNING: "Support for distribution archives compressed with" \ | |
654 | "legacy program 'compress' is deprecated." >&2 | |
655 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 | |
656 | 619 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
657 | $(am__post_remove_distdir) | |
620 | $(am__remove_distdir) | |
658 | 621 | |
659 | 622 | dist-zip: distdir |
660 | 623 | -rm -f $(distdir).zip |
661 | 624 | zip -rq $(distdir).zip $(distdir) |
662 | $(am__post_remove_distdir) | |
663 | ||
664 | dist dist-all: | |
665 | $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' | |
666 | $(am__post_remove_distdir) | |
625 | $(am__remove_distdir) | |
626 | ||
627 | dist dist-all: distdir | |
628 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | |
629 | $(am__remove_distdir) | |
667 | 630 | |
668 | 631 | # This target untars the dist file and tries a VPATH configuration. Then |
669 | 632 | # it guarantees that the distribution is self-contained by making another |
674 | 637 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
675 | 638 | *.tar.bz2*) \ |
676 | 639 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
640 | *.tar.lzma*) \ | |
641 | lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ | |
677 | 642 | *.tar.lz*) \ |
678 | 643 | lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ |
679 | 644 | *.tar.xz*) \ |
685 | 650 | *.zip*) \ |
686 | 651 | unzip $(distdir).zip ;;\ |
687 | 652 | esac |
688 | chmod -R a-w $(distdir) | |
689 | chmod u+w $(distdir) | |
690 | mkdir $(distdir)/_build $(distdir)/_inst | |
653 | chmod -R a-w $(distdir); chmod u+w $(distdir) | |
654 | mkdir $(distdir)/_build | |
655 | mkdir $(distdir)/_inst | |
691 | 656 | chmod a-w $(distdir) |
692 | 657 | test -d $(distdir)/_build || exit 0; \ |
693 | 658 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
694 | 659 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
695 | 660 | && am__cwd=`pwd` \ |
696 | 661 | && $(am__cd) $(distdir)/_build \ |
697 | && ../configure \ | |
662 | && ../configure --srcdir=.. --prefix="$$dc_install_base" \ | |
698 | 663 | $(AM_DISTCHECK_CONFIGURE_FLAGS) \ |
699 | 664 | $(DISTCHECK_CONFIGURE_FLAGS) \ |
700 | --srcdir=.. --prefix="$$dc_install_base" \ | |
701 | 665 | && $(MAKE) $(AM_MAKEFLAGS) \ |
702 | 666 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
703 | 667 | && $(MAKE) $(AM_MAKEFLAGS) check \ |
720 | 684 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
721 | 685 | && cd "$$am__cwd" \ |
722 | 686 | || exit 1 |
723 | $(am__post_remove_distdir) | |
687 | $(am__remove_distdir) | |
724 | 688 | @(echo "$(distdir) archives ready for distribution: "; \ |
725 | 689 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
726 | 690 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
857 | 821 | |
858 | 822 | uninstall-am: uninstall-dist_binSCRIPTS uninstall-sysconfDATA |
859 | 823 | |
860 | .MAKE: $(am__recursive_targets) all install-am install-strip | |
861 | ||
862 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ | |
863 | am--refresh check check-am clean clean-cscope clean-generic \ | |
864 | cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ | |
865 | dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ | |
824 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ | |
825 | ctags-recursive install-am install-strip tags-recursive | |
826 | ||
827 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ | |
828 | all all-am am--refresh check check-am clean clean-generic \ | |
829 | ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ | |
830 | dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ | |
866 | 831 | distcheck distclean distclean-generic distclean-hdr \ |
867 | 832 | distclean-tags distcleancheck distdir distuninstallcheck dvi \ |
868 | 833 | dvi-am html html-am info info-am install install-am \ |
873 | 838 | install-ps-am install-strip install-sysconfDATA installcheck \ |
874 | 839 | installcheck-am installdirs installdirs-am maintainer-clean \ |
875 | 840 | maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ |
876 | pdf-am ps ps-am tags tags-am uninstall uninstall-am \ | |
841 | pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ | |
877 | 842 | uninstall-dist_binSCRIPTS uninstall-sysconfDATA |
878 | 843 | |
879 | 844 |
45 | 45 | |
46 | 46 | dillo-3.0.4, a new release for the new 3.x series is out. |
47 | 47 | |
48 | Dec 2014 | |
49 | ||
50 | dillo-3.0.4.1, a new release for the new 3.x series is out. | |
51 | ||
48 | 52 | |
49 | 53 | Jorge.- |
50 | 54 | jcid@dillo.org |
52 | 52 | Dillo3 |
53 | 53 | ------ |
54 | 54 | |
55 | tar jxvf dillo-3.0.4.1.tar.bz2 | |
56 | cd dillo-3.0.4.1 | |
55 | tar jxvf dillo-3.0.5.tar.bz2 | |
56 | cd dillo-3.0.5 | |
57 | 57 | ./configure; make |
58 | 58 | sudo make install-strip |
59 | 59 |
0 | # generated automatically by aclocal 1.14.1 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. | |
3 | ||
0 | # generated automatically by aclocal 1.11.6 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
3 | # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, | |
4 | # Inc. | |
4 | 5 | # This file is free software; the Free Software Foundation |
5 | 6 | # gives unlimited permission to copy and/or distribute it, |
6 | 7 | # with or without modifications, as long as this notice is preserved. |
10 | 11 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
11 | 12 | # PARTICULAR PURPOSE. |
12 | 13 | |
13 | m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) | |
14 | 14 | m4_ifndef([AC_AUTOCONF_VERSION], |
15 | 15 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
16 | 16 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, |
17 | 17 | [m4_warning([this file was generated for autoconf 2.69. |
18 | 18 | You have another version of autoconf. It may work, but is not guaranteed to. |
19 | 19 | If you have problems, you may need to regenerate the build system entirely. |
20 | To do so, use the procedure documented by the package, typically 'autoreconf'.])]) | |
21 | ||
22 | # Copyright (C) 2002-2013 Free Software Foundation, Inc. | |
23 | # | |
24 | # This file is free software; the Free Software Foundation | |
25 | # gives unlimited permission to copy and/or distribute it, | |
26 | # with or without modifications, as long as this notice is preserved. | |
20 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) | |
21 | ||
22 | # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software | |
23 | # Foundation, Inc. | |
24 | # | |
25 | # This file is free software; the Free Software Foundation | |
26 | # gives unlimited permission to copy and/or distribute it, | |
27 | # with or without modifications, as long as this notice is preserved. | |
28 | ||
29 | # serial 1 | |
27 | 30 | |
28 | 31 | # AM_AUTOMAKE_VERSION(VERSION) |
29 | 32 | # ---------------------------- |
31 | 34 | # generated from the m4 files accompanying Automake X.Y. |
32 | 35 | # (This private macro should not be called outside this file.) |
33 | 36 | AC_DEFUN([AM_AUTOMAKE_VERSION], |
34 | [am__api_version='1.14' | |
37 | [am__api_version='1.11' | |
35 | 38 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
36 | 39 | dnl require some minimum version. Point them to the right macro. |
37 | m4_if([$1], [1.14.1], [], | |
40 | m4_if([$1], [1.11.6], [], | |
38 | 41 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
39 | 42 | ]) |
40 | 43 | |
50 | 53 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
51 | 54 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
52 | 55 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
53 | [AM_AUTOMAKE_VERSION([1.14.1])dnl | |
56 | [AM_AUTOMAKE_VERSION([1.11.6])dnl | |
54 | 57 | m4_ifndef([AC_AUTOCONF_VERSION], |
55 | 58 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
56 | 59 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
57 | 60 | |
58 | 61 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
59 | 62 | |
60 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
61 | # | |
62 | # This file is free software; the Free Software Foundation | |
63 | # gives unlimited permission to copy and/or distribute it, | |
64 | # with or without modifications, as long as this notice is preserved. | |
63 | # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. | |
64 | # | |
65 | # This file is free software; the Free Software Foundation | |
66 | # gives unlimited permission to copy and/or distribute it, | |
67 | # with or without modifications, as long as this notice is preserved. | |
68 | ||
69 | # serial 1 | |
65 | 70 | |
66 | 71 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
67 | # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to | |
68 | # '$srcdir', '$srcdir/..', or '$srcdir/../..'. | |
72 | # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to | |
73 | # `$srcdir', `$srcdir/..', or `$srcdir/../..'. | |
69 | 74 | # |
70 | 75 | # Of course, Automake must honor this variable whenever it calls a |
71 | 76 | # tool from the auxiliary directory. The problem is that $srcdir (and |
84 | 89 | # |
85 | 90 | # The reason of the latter failure is that $top_srcdir and $ac_aux_dir |
86 | 91 | # are both prefixed by $srcdir. In an in-source build this is usually |
87 | # harmless because $srcdir is '.', but things will broke when you | |
92 | # harmless because $srcdir is `.', but things will broke when you | |
88 | 93 | # start a VPATH build or use an absolute $srcdir. |
89 | 94 | # |
90 | 95 | # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, |
102 | 107 | # configured tree to be moved without reconfiguration. |
103 | 108 | |
104 | 109 | AC_DEFUN([AM_AUX_DIR_EXPAND], |
105 | [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl | |
106 | # Expand $ac_aux_dir to an absolute path. | |
107 | am_aux_dir=`cd "$ac_aux_dir" && pwd` | |
110 | [dnl Rely on autoconf to set up CDPATH properly. | |
111 | AC_PREREQ([2.50])dnl | |
112 | # expand $ac_aux_dir to an absolute path | |
113 | am_aux_dir=`cd $ac_aux_dir && pwd` | |
108 | 114 | ]) |
109 | 115 | |
110 | 116 | # AM_CONDITIONAL -*- Autoconf -*- |
111 | 117 | |
112 | # Copyright (C) 1997-2013 Free Software Foundation, Inc. | |
113 | # | |
114 | # This file is free software; the Free Software Foundation | |
115 | # gives unlimited permission to copy and/or distribute it, | |
116 | # with or without modifications, as long as this notice is preserved. | |
118 | # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 | |
119 | # Free Software Foundation, Inc. | |
120 | # | |
121 | # This file is free software; the Free Software Foundation | |
122 | # gives unlimited permission to copy and/or distribute it, | |
123 | # with or without modifications, as long as this notice is preserved. | |
124 | ||
125 | # serial 9 | |
117 | 126 | |
118 | 127 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) |
119 | 128 | # ------------------------------------- |
120 | 129 | # Define a conditional. |
121 | 130 | AC_DEFUN([AM_CONDITIONAL], |
122 | [AC_PREREQ([2.52])dnl | |
123 | m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
124 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
131 | [AC_PREREQ(2.52)dnl | |
132 | ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
133 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
125 | 134 | AC_SUBST([$1_TRUE])dnl |
126 | 135 | AC_SUBST([$1_FALSE])dnl |
127 | 136 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl |
140 | 149 | Usually this means the macro was only invoked conditionally.]]) |
141 | 150 | fi])]) |
142 | 151 | |
143 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | |
144 | # | |
145 | # This file is free software; the Free Software Foundation | |
146 | # gives unlimited permission to copy and/or distribute it, | |
147 | # with or without modifications, as long as this notice is preserved. | |
148 | ||
149 | ||
150 | # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be | |
152 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, | |
153 | # 2010, 2011 Free Software Foundation, Inc. | |
154 | # | |
155 | # This file is free software; the Free Software Foundation | |
156 | # gives unlimited permission to copy and/or distribute it, | |
157 | # with or without modifications, as long as this notice is preserved. | |
158 | ||
159 | # serial 12 | |
160 | ||
161 | # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be | |
151 | 162 | # written in clear, in which case automake, when reading aclocal.m4, |
152 | 163 | # will think it sees a *use*, and therefore will trigger all it's |
153 | 164 | # C support machinery. Also note that it means that autoscan, seeing |
157 | 168 | # _AM_DEPENDENCIES(NAME) |
158 | 169 | # ---------------------- |
159 | 170 | # See how the compiler implements dependency checking. |
160 | # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". | |
171 | # NAME is "CC", "CXX", "GCJ", or "OBJC". | |
161 | 172 | # We try a few techniques and use that to set a single cache variable. |
162 | 173 | # |
163 | 174 | # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
170 | 181 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
171 | 182 | AC_REQUIRE([AM_DEP_TRACK])dnl |
172 | 183 | |
173 | m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], | |
174 | [$1], [CXX], [depcc="$CXX" am_compiler_list=], | |
175 | [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | |
176 | [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], | |
177 | [$1], [UPC], [depcc="$UPC" am_compiler_list=], | |
178 | [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | |
179 | [depcc="$$1" am_compiler_list=]) | |
184 | ifelse([$1], CC, [depcc="$CC" am_compiler_list=], | |
185 | [$1], CXX, [depcc="$CXX" am_compiler_list=], | |
186 | [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | |
187 | [$1], UPC, [depcc="$UPC" am_compiler_list=], | |
188 | [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | |
189 | [depcc="$$1" am_compiler_list=]) | |
180 | 190 | |
181 | 191 | AC_CACHE_CHECK([dependency style of $depcc], |
182 | 192 | [am_cv_$1_dependencies_compiler_type], |
184 | 194 | # We make a subdir and do the tests there. Otherwise we can end up |
185 | 195 | # making bogus files that we don't know about and never remove. For |
186 | 196 | # instance it was reported that on HP-UX the gcc test will end up |
187 | # making a dummy file named 'D' -- because '-MD' means "put the output | |
188 | # in D". | |
197 | # making a dummy file named `D' -- because `-MD' means `put the output | |
198 | # in D'. | |
189 | 199 | rm -rf conftest.dir |
190 | 200 | mkdir conftest.dir |
191 | 201 | # Copy depcomp to subdir because otherwise we won't find it if we're |
225 | 235 | : > sub/conftest.c |
226 | 236 | for i in 1 2 3 4 5 6; do |
227 | 237 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
228 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
229 | # Solaris 10 /bin/sh. | |
230 | echo '/* dummy */' > sub/conftst$i.h | |
238 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
239 | # Solaris 8's {/usr,}/bin/sh. | |
240 | touch sub/conftst$i.h | |
231 | 241 | done |
232 | 242 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
233 | 243 | |
234 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
244 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
235 | 245 | # mode. It turns out that the SunPro C++ compiler does not properly |
236 | # handle '-M -o', and we need to detect this. Also, some Intel | |
237 | # versions had trouble with output in subdirs. | |
246 | # handle `-M -o', and we need to detect this. Also, some Intel | |
247 | # versions had trouble with output in subdirs | |
238 | 248 | am__obj=sub/conftest.${OBJEXT-o} |
239 | 249 | am__minus_obj="-o $am__obj" |
240 | 250 | case $depmode in |
243 | 253 | test "$am__universal" = false || continue |
244 | 254 | ;; |
245 | 255 | nosideeffect) |
246 | # After this tag, mechanisms are not by side-effect, so they'll | |
247 | # only be used when explicitly requested. | |
256 | # after this tag, mechanisms are not by side-effect, so they'll | |
257 | # only be used when explicitly requested | |
248 | 258 | if test "x$enable_dependency_tracking" = xyes; then |
249 | 259 | continue |
250 | 260 | else |
252 | 262 | fi |
253 | 263 | ;; |
254 | 264 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
255 | # This compiler won't grok '-c -o', but also, the minuso test has | |
265 | # This compiler won't grok `-c -o', but also, the minuso test has | |
256 | 266 | # not run yet. These depmodes are late enough in the game, and |
257 | 267 | # so weak that their functioning should not be impacted. |
258 | 268 | am__obj=conftest.${OBJEXT-o} |
300 | 310 | # AM_SET_DEPDIR |
301 | 311 | # ------------- |
302 | 312 | # Choose a directory name for dependency files. |
303 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES. | |
313 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES | |
304 | 314 | AC_DEFUN([AM_SET_DEPDIR], |
305 | 315 | [AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
306 | 316 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
310 | 320 | # AM_DEP_TRACK |
311 | 321 | # ------------ |
312 | 322 | AC_DEFUN([AM_DEP_TRACK], |
313 | [AC_ARG_ENABLE([dependency-tracking], [dnl | |
314 | AS_HELP_STRING( | |
315 | [--enable-dependency-tracking], | |
316 | [do not reject slow dependency extractors]) | |
317 | AS_HELP_STRING( | |
318 | [--disable-dependency-tracking], | |
319 | [speeds up one-time build])]) | |
323 | [AC_ARG_ENABLE(dependency-tracking, | |
324 | [ --disable-dependency-tracking speeds up one-time build | |
325 | --enable-dependency-tracking do not reject slow dependency extractors]) | |
320 | 326 | if test "x$enable_dependency_tracking" != xno; then |
321 | 327 | am_depcomp="$ac_aux_dir/depcomp" |
322 | 328 | AMDEPBACKSLASH='\' |
331 | 337 | |
332 | 338 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
333 | 339 | |
334 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | |
335 | # | |
336 | # This file is free software; the Free Software Foundation | |
337 | # gives unlimited permission to copy and/or distribute it, | |
338 | # with or without modifications, as long as this notice is preserved. | |
339 | ||
340 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 | |
341 | # Free Software Foundation, Inc. | |
342 | # | |
343 | # This file is free software; the Free Software Foundation | |
344 | # gives unlimited permission to copy and/or distribute it, | |
345 | # with or without modifications, as long as this notice is preserved. | |
346 | ||
347 | #serial 5 | |
340 | 348 | |
341 | 349 | # _AM_OUTPUT_DEPENDENCY_COMMANDS |
342 | 350 | # ------------------------------ |
343 | 351 | AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
344 | 352 | [{ |
345 | # Older Autoconf quotes --file arguments for eval, but not when files | |
353 | # Autoconf 2.62 quotes --file arguments for eval, but not when files | |
346 | 354 | # are listed without --file. Let's play safe and only enable the eval |
347 | 355 | # if we detect the quoting. |
348 | 356 | case $CONFIG_FILES in |
355 | 363 | # Strip MF so we end up with the name of the file. |
356 | 364 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
357 | 365 | # Check whether this is an Automake generated Makefile or not. |
358 | # We used to match only the files named 'Makefile.in', but | |
366 | # We used to match only the files named `Makefile.in', but | |
359 | 367 | # some people rename them; so instead we look at the file content. |
360 | 368 | # Grep'ing the first line is not enough: some people post-process |
361 | 369 | # each Makefile.in and add a new line on top of each file to say so. |
367 | 375 | continue |
368 | 376 | fi |
369 | 377 | # Extract the definition of DEPDIR, am__include, and am__quote |
370 | # from the Makefile without running 'make'. | |
378 | # from the Makefile without running `make'. | |
371 | 379 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
372 | 380 | test -z "$DEPDIR" && continue |
373 | 381 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
374 | test -z "$am__include" && continue | |
382 | test -z "am__include" && continue | |
375 | 383 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
384 | # When using ansi2knr, U may be empty or an underscore; expand it | |
385 | U=`sed -n 's/^U = //p' < "$mf"` | |
376 | 386 | # Find all dependency output files, they are included files with |
377 | 387 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
378 | 388 | # simplest approach to changing $(DEPDIR) to its actual value in the |
379 | 389 | # expansion. |
380 | 390 | for file in `sed -n " |
381 | 391 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
382 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
392 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
383 | 393 | # Make sure the directory exists. |
384 | 394 | test -f "$dirpart/$file" && continue |
385 | 395 | fdir=`AS_DIRNAME(["$file"])` |
397 | 407 | # This macro should only be invoked once -- use via AC_REQUIRE. |
398 | 408 | # |
399 | 409 | # This code is only required when automatic dependency tracking |
400 | # is enabled. FIXME. This creates each '.P' file that we will | |
410 | # is enabled. FIXME. This creates each `.P' file that we will | |
401 | 411 | # need in order to bootstrap the dependency handling code. |
402 | 412 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
403 | 413 | [AC_CONFIG_COMMANDS([depfiles], |
407 | 417 | |
408 | 418 | # Do all the work for Automake. -*- Autoconf -*- |
409 | 419 | |
410 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. | |
411 | # | |
412 | # This file is free software; the Free Software Foundation | |
413 | # gives unlimited permission to copy and/or distribute it, | |
414 | # with or without modifications, as long as this notice is preserved. | |
420 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
421 | # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. | |
422 | # | |
423 | # This file is free software; the Free Software Foundation | |
424 | # gives unlimited permission to copy and/or distribute it, | |
425 | # with or without modifications, as long as this notice is preserved. | |
426 | ||
427 | # serial 16 | |
415 | 428 | |
416 | 429 | # This macro actually does too much. Some checks are only needed if |
417 | 430 | # your package does certain things. But this isn't really a big deal. |
418 | ||
419 | dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. | |
420 | m4_define([AC_PROG_CC], | |
421 | m4_defn([AC_PROG_CC]) | |
422 | [_AM_PROG_CC_C_O | |
423 | ]) | |
424 | 431 | |
425 | 432 | # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
426 | 433 | # AM_INIT_AUTOMAKE([OPTIONS]) |
434 | 441 | # arguments mandatory, and then we can depend on a new Autoconf |
435 | 442 | # release and drop the old call support. |
436 | 443 | AC_DEFUN([AM_INIT_AUTOMAKE], |
437 | [AC_PREREQ([2.65])dnl | |
444 | [AC_PREREQ([2.62])dnl | |
438 | 445 | dnl Autoconf wants to disallow AM_ names. We explicitly allow |
439 | 446 | dnl the ones we care about. |
440 | 447 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
463 | 470 | # Define the identity of the package. |
464 | 471 | dnl Distinguish between old-style and new-style calls. |
465 | 472 | m4_ifval([$2], |
466 | [AC_DIAGNOSE([obsolete], | |
467 | [$0: two- and three-arguments forms are deprecated.]) | |
468 | m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |
473 | [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |
469 | 474 | AC_SUBST([PACKAGE], [$1])dnl |
470 | 475 | AC_SUBST([VERSION], [$2])], |
471 | 476 | [_AM_SET_OPTIONS([$1])dnl |
472 | 477 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
473 | m4_if( | |
474 | m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), | |
475 | [ok:ok],, | |
478 | m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, | |
476 | 479 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
477 | 480 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
478 | 481 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
479 | 482 | |
480 | 483 | _AM_IF_OPTION([no-define],, |
481 | [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) | |
482 | AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl | |
484 | [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | |
485 | AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl | |
483 | 486 | |
484 | 487 | # Some tools Automake needs. |
485 | 488 | AC_REQUIRE([AM_SANITY_CHECK])dnl |
486 | 489 | AC_REQUIRE([AC_ARG_PROGRAM])dnl |
487 | AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) | |
488 | AM_MISSING_PROG([AUTOCONF], [autoconf]) | |
489 | AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) | |
490 | AM_MISSING_PROG([AUTOHEADER], [autoheader]) | |
491 | AM_MISSING_PROG([MAKEINFO], [makeinfo]) | |
490 | AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) | |
491 | AM_MISSING_PROG(AUTOCONF, autoconf) | |
492 | AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) | |
493 | AM_MISSING_PROG(AUTOHEADER, autoheader) | |
494 | AM_MISSING_PROG(MAKEINFO, makeinfo) | |
492 | 495 | AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
493 | 496 | AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
494 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
495 | # For better backward compatibility. To be removed once Automake 1.9.x | |
496 | # dies out for good. For more background, see: | |
497 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
498 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
499 | AC_SUBST([mkdir_p], ['$(MKDIR_P)']) | |
497 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl | |
500 | 498 | # We need awk for the "check" target. The system "awk" is bad on |
501 | 499 | # some platforms. |
502 | 500 | AC_REQUIRE([AC_PROG_AWK])dnl |
507 | 505 | [_AM_PROG_TAR([v7])])]) |
508 | 506 | _AM_IF_OPTION([no-dependencies],, |
509 | 507 | [AC_PROVIDE_IFELSE([AC_PROG_CC], |
510 | [_AM_DEPENDENCIES([CC])], | |
511 | [m4_define([AC_PROG_CC], | |
512 | m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl | |
508 | [_AM_DEPENDENCIES(CC)], | |
509 | [define([AC_PROG_CC], | |
510 | defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl | |
513 | 511 | AC_PROVIDE_IFELSE([AC_PROG_CXX], |
514 | [_AM_DEPENDENCIES([CXX])], | |
515 | [m4_define([AC_PROG_CXX], | |
516 | m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl | |
512 | [_AM_DEPENDENCIES(CXX)], | |
513 | [define([AC_PROG_CXX], | |
514 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | |
517 | 515 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
518 | [_AM_DEPENDENCIES([OBJC])], | |
519 | [m4_define([AC_PROG_OBJC], | |
520 | m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl | |
521 | AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], | |
522 | [_AM_DEPENDENCIES([OBJCXX])], | |
523 | [m4_define([AC_PROG_OBJCXX], | |
524 | m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl | |
525 | ]) | |
526 | AC_REQUIRE([AM_SILENT_RULES])dnl | |
527 | dnl The testsuite driver may need to know about EXEEXT, so add the | |
528 | dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This | |
529 | dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. | |
516 | [_AM_DEPENDENCIES(OBJC)], | |
517 | [define([AC_PROG_OBJC], | |
518 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl | |
519 | ]) | |
520 | _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl | |
521 | dnl The `parallel-tests' driver may need to know about EXEEXT, so add the | |
522 | dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro | |
523 | dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. | |
530 | 524 | AC_CONFIG_COMMANDS_PRE(dnl |
531 | 525 | [m4_provide_if([_AM_COMPILER_EXEEXT], |
532 | 526 | [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |
533 | ||
534 | # POSIX will say in a future version that running "rm -f" with no argument | |
535 | # is OK; and we want to be able to make that assumption in our Makefile | |
536 | # recipes. So use an aggressive probe to check that the usage we want is | |
537 | # actually supported "in the wild" to an acceptable degree. | |
538 | # See automake bug#10828. | |
539 | # To make any issue more visible, cause the running configure to be aborted | |
540 | # by default if the 'rm' program in use doesn't match our expectations; the | |
541 | # user can still override this though. | |
542 | if rm -f && rm -fr && rm -rf; then : OK; else | |
543 | cat >&2 <<'END' | |
544 | Oops! | |
545 | ||
546 | Your 'rm' program seems unable to run without file operands specified | |
547 | on the command line, even when the '-f' option is present. This is contrary | |
548 | to the behaviour of most rm programs out there, and not conforming with | |
549 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> | |
550 | ||
551 | Please tell bug-automake@gnu.org about your system, including the value | |
552 | of your $PATH and any error possibly output before this message. This | |
553 | can help us improve future automake versions. | |
554 | ||
555 | END | |
556 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then | |
557 | echo 'Configuration will proceed anyway, since you have set the' >&2 | |
558 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 | |
559 | echo >&2 | |
560 | else | |
561 | cat >&2 <<'END' | |
562 | Aborting the configuration process, to ensure you take notice of the issue. | |
563 | ||
564 | You can download and install GNU coreutils to get an 'rm' implementation | |
565 | that behaves properly: <http://www.gnu.org/software/coreutils/>. | |
566 | ||
567 | If you want to complete the configuration process using your problematic | |
568 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | |
569 | to "yes", and re-run configure. | |
570 | ||
571 | END | |
572 | AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) | |
573 | fi | |
574 | fi | |
575 | ]) | |
576 | ||
577 | dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | |
527 | ]) | |
528 | ||
529 | dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | |
578 | 530 | dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further |
579 | 531 | dnl mangled by Autoconf and run in a shell conditional statement. |
580 | 532 | m4_define([_AC_COMPILER_EXEEXT], |
581 | 533 | m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) |
534 | ||
582 | 535 | |
583 | 536 | # When config.status generates a header, we must update the stamp-h file. |
584 | 537 | # This file resides in the same directory as the config header |
601 | 554 | done |
602 | 555 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
603 | 556 | |
604 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
605 | # | |
606 | # This file is free software; the Free Software Foundation | |
607 | # gives unlimited permission to copy and/or distribute it, | |
608 | # with or without modifications, as long as this notice is preserved. | |
557 | # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, | |
558 | # Inc. | |
559 | # | |
560 | # This file is free software; the Free Software Foundation | |
561 | # gives unlimited permission to copy and/or distribute it, | |
562 | # with or without modifications, as long as this notice is preserved. | |
563 | ||
564 | # serial 1 | |
609 | 565 | |
610 | 566 | # AM_PROG_INSTALL_SH |
611 | 567 | # ------------------ |
620 | 576 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
621 | 577 | esac |
622 | 578 | fi |
623 | AC_SUBST([install_sh])]) | |
624 | ||
625 | # Copyright (C) 2003-2013 Free Software Foundation, Inc. | |
626 | # | |
627 | # This file is free software; the Free Software Foundation | |
628 | # gives unlimited permission to copy and/or distribute it, | |
629 | # with or without modifications, as long as this notice is preserved. | |
579 | AC_SUBST(install_sh)]) | |
580 | ||
581 | # Copyright (C) 2003, 2005 Free Software Foundation, Inc. | |
582 | # | |
583 | # This file is free software; the Free Software Foundation | |
584 | # gives unlimited permission to copy and/or distribute it, | |
585 | # with or without modifications, as long as this notice is preserved. | |
586 | ||
587 | # serial 2 | |
630 | 588 | |
631 | 589 | # Check whether the underlying file-system supports filenames |
632 | 590 | # with a leading dot. For instance MS-DOS doesn't. |
643 | 601 | |
644 | 602 | # Check to see how 'make' treats includes. -*- Autoconf -*- |
645 | 603 | |
646 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
647 | # | |
648 | # This file is free software; the Free Software Foundation | |
649 | # gives unlimited permission to copy and/or distribute it, | |
650 | # with or without modifications, as long as this notice is preserved. | |
604 | # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. | |
605 | # | |
606 | # This file is free software; the Free Software Foundation | |
607 | # gives unlimited permission to copy and/or distribute it, | |
608 | # with or without modifications, as long as this notice is preserved. | |
609 | ||
610 | # serial 4 | |
651 | 611 | |
652 | 612 | # AM_MAKE_INCLUDE() |
653 | 613 | # ----------------- |
666 | 626 | _am_result=none |
667 | 627 | # First try GNU make style include. |
668 | 628 | echo "include confinc" > confmf |
669 | # Ignore all kinds of additional output from 'make'. | |
629 | # Ignore all kinds of additional output from `make'. | |
670 | 630 | case `$am_make -s -f confmf 2> /dev/null` in #( |
671 | 631 | *the\ am__doit\ target*) |
672 | 632 | am__include=include |
693 | 653 | |
694 | 654 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
695 | 655 | |
696 | # Copyright (C) 1997-2013 Free Software Foundation, Inc. | |
697 | # | |
698 | # This file is free software; the Free Software Foundation | |
699 | # gives unlimited permission to copy and/or distribute it, | |
700 | # with or without modifications, as long as this notice is preserved. | |
656 | # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 | |
657 | # Free Software Foundation, Inc. | |
658 | # | |
659 | # This file is free software; the Free Software Foundation | |
660 | # gives unlimited permission to copy and/or distribute it, | |
661 | # with or without modifications, as long as this notice is preserved. | |
662 | ||
663 | # serial 6 | |
701 | 664 | |
702 | 665 | # AM_MISSING_PROG(NAME, PROGRAM) |
703 | 666 | # ------------------------------ |
706 | 669 | $1=${$1-"${am_missing_run}$2"} |
707 | 670 | AC_SUBST($1)]) |
708 | 671 | |
672 | ||
709 | 673 | # AM_MISSING_HAS_RUN |
710 | 674 | # ------------------ |
711 | # Define MISSING if not defined so far and test if it is modern enough. | |
712 | # If it is, set am_missing_run to use it, otherwise, to nothing. | |
675 | # Define MISSING if not defined so far and test if it supports --run. | |
676 | # If it does, set am_missing_run to use it, otherwise, to nothing. | |
713 | 677 | AC_DEFUN([AM_MISSING_HAS_RUN], |
714 | 678 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
715 | 679 | AC_REQUIRE_AUX_FILE([missing])dnl |
722 | 686 | esac |
723 | 687 | fi |
724 | 688 | # Use eval to expand $SHELL |
725 | if eval "$MISSING --is-lightweight"; then | |
726 | am_missing_run="$MISSING " | |
689 | if eval "$MISSING --run true"; then | |
690 | am_missing_run="$MISSING --run " | |
727 | 691 | else |
728 | 692 | am_missing_run= |
729 | AC_MSG_WARN(['missing' script is too old or missing]) | |
730 | fi | |
693 | AC_MSG_WARN([`missing' script is too old or missing]) | |
694 | fi | |
695 | ]) | |
696 | ||
697 | # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, | |
698 | # Inc. | |
699 | # | |
700 | # This file is free software; the Free Software Foundation | |
701 | # gives unlimited permission to copy and/or distribute it, | |
702 | # with or without modifications, as long as this notice is preserved. | |
703 | ||
704 | # serial 1 | |
705 | ||
706 | # AM_PROG_MKDIR_P | |
707 | # --------------- | |
708 | # Check for `mkdir -p'. | |
709 | AC_DEFUN([AM_PROG_MKDIR_P], | |
710 | [AC_PREREQ([2.60])dnl | |
711 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
712 | dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, | |
713 | dnl while keeping a definition of mkdir_p for backward compatibility. | |
714 | dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. | |
715 | dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of | |
716 | dnl Makefile.ins that do not define MKDIR_P, so we do our own | |
717 | dnl adjustment using top_builddir (which is defined more often than | |
718 | dnl MKDIR_P). | |
719 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl | |
720 | case $mkdir_p in | |
721 | [[\\/$]]* | ?:[[\\/]]*) ;; | |
722 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
723 | esac | |
731 | 724 | ]) |
732 | 725 | |
733 | 726 | # Helper functions for option handling. -*- Autoconf -*- |
734 | 727 | |
735 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
736 | # | |
737 | # This file is free software; the Free Software Foundation | |
738 | # gives unlimited permission to copy and/or distribute it, | |
739 | # with or without modifications, as long as this notice is preserved. | |
728 | # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software | |
729 | # Foundation, Inc. | |
730 | # | |
731 | # This file is free software; the Free Software Foundation | |
732 | # gives unlimited permission to copy and/or distribute it, | |
733 | # with or without modifications, as long as this notice is preserved. | |
734 | ||
735 | # serial 5 | |
740 | 736 | |
741 | 737 | # _AM_MANGLE_OPTION(NAME) |
742 | 738 | # ----------------------- |
747 | 743 | # -------------------- |
748 | 744 | # Set option NAME. Presently that only means defining a flag for this option. |
749 | 745 | AC_DEFUN([_AM_SET_OPTION], |
750 | [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) | |
746 | [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) | |
751 | 747 | |
752 | 748 | # _AM_SET_OPTIONS(OPTIONS) |
753 | 749 | # ------------------------ |
761 | 757 | AC_DEFUN([_AM_IF_OPTION], |
762 | 758 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
763 | 759 | |
764 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | |
765 | # | |
766 | # This file is free software; the Free Software Foundation | |
767 | # gives unlimited permission to copy and/or distribute it, | |
768 | # with or without modifications, as long as this notice is preserved. | |
769 | ||
770 | # _AM_PROG_CC_C_O | |
771 | # --------------- | |
772 | # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC | |
773 | # to automatically call this. | |
774 | AC_DEFUN([_AM_PROG_CC_C_O], | |
775 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | |
776 | AC_REQUIRE_AUX_FILE([compile])dnl | |
777 | AC_LANG_PUSH([C])dnl | |
778 | AC_CACHE_CHECK( | |
779 | [whether $CC understands -c and -o together], | |
780 | [am_cv_prog_cc_c_o], | |
781 | [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) | |
782 | # Make sure it works both with $CC and with simple cc. | |
783 | # Following AC_PROG_CC_C_O, we do the test twice because some | |
784 | # compilers refuse to overwrite an existing .o file with -o, | |
785 | # though they will create one. | |
786 | am_cv_prog_cc_c_o=yes | |
787 | for am_i in 1 2; do | |
788 | if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ | |
789 | && test -f conftest2.$ac_objext; then | |
790 | : OK | |
791 | else | |
792 | am_cv_prog_cc_c_o=no | |
793 | break | |
794 | fi | |
795 | done | |
796 | rm -f core conftest* | |
797 | unset am_i]) | |
798 | if test "$am_cv_prog_cc_c_o" != yes; then | |
799 | # Losing compiler, so override with the script. | |
800 | # FIXME: It is wrong to rewrite CC. | |
801 | # But if we don't then we get into trouble of one sort or another. | |
802 | # A longer-term fix would be to have automake use am__CC in this case, | |
803 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | |
804 | CC="$am_aux_dir/compile $CC" | |
805 | fi | |
806 | AC_LANG_POP([C])]) | |
807 | ||
808 | # For backward compatibility. | |
809 | AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) | |
810 | ||
811 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
812 | # | |
813 | # This file is free software; the Free Software Foundation | |
814 | # gives unlimited permission to copy and/or distribute it, | |
815 | # with or without modifications, as long as this notice is preserved. | |
816 | ||
817 | # AM_RUN_LOG(COMMAND) | |
818 | # ------------------- | |
819 | # Run COMMAND, save the exit status in ac_status, and log it. | |
820 | # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) | |
821 | AC_DEFUN([AM_RUN_LOG], | |
822 | [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD | |
823 | ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD | |
824 | ac_status=$? | |
825 | echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD | |
826 | (exit $ac_status); }]) | |
827 | ||
828 | 760 | # Check to make sure that the build environment is sane. -*- Autoconf -*- |
829 | 761 | |
830 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. | |
831 | # | |
832 | # This file is free software; the Free Software Foundation | |
833 | # gives unlimited permission to copy and/or distribute it, | |
834 | # with or without modifications, as long as this notice is preserved. | |
762 | # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 | |
763 | # Free Software Foundation, Inc. | |
764 | # | |
765 | # This file is free software; the Free Software Foundation | |
766 | # gives unlimited permission to copy and/or distribute it, | |
767 | # with or without modifications, as long as this notice is preserved. | |
768 | ||
769 | # serial 5 | |
835 | 770 | |
836 | 771 | # AM_SANITY_CHECK |
837 | 772 | # --------------- |
838 | 773 | AC_DEFUN([AM_SANITY_CHECK], |
839 | 774 | [AC_MSG_CHECKING([whether build environment is sane]) |
775 | # Just in case | |
776 | sleep 1 | |
777 | echo timestamp > conftest.file | |
840 | 778 | # Reject unsafe characters in $srcdir or the absolute working directory |
841 | 779 | # name. Accept space and tab only in the latter. |
842 | 780 | am_lf=' |
847 | 785 | esac |
848 | 786 | case $srcdir in |
849 | 787 | *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) |
850 | AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; | |
788 | AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; | |
851 | 789 | esac |
852 | 790 | |
853 | # Do 'set' in a subshell so we don't clobber the current shell's | |
791 | # Do `set' in a subshell so we don't clobber the current shell's | |
854 | 792 | # arguments. Must try -L first in case configure is actually a |
855 | 793 | # symlink; some systems play weird games with the mod time of symlinks |
856 | 794 | # (eg FreeBSD returns the mod time of the symlink's containing |
857 | 795 | # directory). |
858 | 796 | if ( |
859 | am_has_slept=no | |
860 | for am_try in 1 2; do | |
861 | echo "timestamp, slept: $am_has_slept" > conftest.file | |
862 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
863 | if test "$[*]" = "X"; then | |
864 | # -L didn't work. | |
865 | set X `ls -t "$srcdir/configure" conftest.file` | |
866 | fi | |
867 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | |
868 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | |
869 | ||
870 | # If neither matched, then we have a broken ls. This can happen | |
871 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
872 | # broken ls alias from the environment. This has actually | |
873 | # happened. Such a system could not be considered "sane". | |
874 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | |
875 | alias in your environment]) | |
876 | fi | |
877 | if test "$[2]" = conftest.file || test $am_try -eq 2; then | |
878 | break | |
879 | fi | |
880 | # Just in case. | |
881 | sleep 1 | |
882 | am_has_slept=yes | |
883 | done | |
797 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
798 | if test "$[*]" = "X"; then | |
799 | # -L didn't work. | |
800 | set X `ls -t "$srcdir/configure" conftest.file` | |
801 | fi | |
802 | rm -f conftest.file | |
803 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | |
804 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | |
805 | ||
806 | # If neither matched, then we have a broken ls. This can happen | |
807 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
808 | # broken ls alias from the environment. This has actually | |
809 | # happened. Such a system could not be considered "sane". | |
810 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | |
811 | alias in your environment]) | |
812 | fi | |
813 | ||
884 | 814 | test "$[2]" = conftest.file |
885 | 815 | ) |
886 | 816 | then |
890 | 820 | AC_MSG_ERROR([newly created file is older than distributed files! |
891 | 821 | Check your system clock]) |
892 | 822 | fi |
893 | AC_MSG_RESULT([yes]) | |
894 | # If we didn't sleep, we still need to ensure time stamps of config.status and | |
895 | # generated files are strictly newer. | |
896 | am_sleep_pid= | |
897 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then | |
898 | ( sleep 1 ) & | |
899 | am_sleep_pid=$! | |
900 | fi | |
901 | AC_CONFIG_COMMANDS_PRE( | |
902 | [AC_MSG_CHECKING([that generated files are newer than configure]) | |
903 | if test -n "$am_sleep_pid"; then | |
904 | # Hide warnings about reused PIDs. | |
905 | wait $am_sleep_pid 2>/dev/null | |
906 | fi | |
907 | AC_MSG_RESULT([done])]) | |
908 | rm -f conftest.file | |
909 | ]) | |
910 | ||
911 | # Copyright (C) 2009-2013 Free Software Foundation, Inc. | |
912 | # | |
913 | # This file is free software; the Free Software Foundation | |
914 | # gives unlimited permission to copy and/or distribute it, | |
915 | # with or without modifications, as long as this notice is preserved. | |
916 | ||
917 | # AM_SILENT_RULES([DEFAULT]) | |
918 | # -------------------------- | |
919 | # Enable less verbose build rules; with the default set to DEFAULT | |
920 | # ("yes" being less verbose, "no" or empty being verbose). | |
921 | AC_DEFUN([AM_SILENT_RULES], | |
922 | [AC_ARG_ENABLE([silent-rules], [dnl | |
923 | AS_HELP_STRING( | |
924 | [--enable-silent-rules], | |
925 | [less verbose build output (undo: "make V=1")]) | |
926 | AS_HELP_STRING( | |
927 | [--disable-silent-rules], | |
928 | [verbose build output (undo: "make V=0")])dnl | |
929 | ]) | |
930 | case $enable_silent_rules in @%:@ ((( | |
931 | yes) AM_DEFAULT_VERBOSITY=0;; | |
932 | no) AM_DEFAULT_VERBOSITY=1;; | |
933 | *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; | |
934 | esac | |
935 | dnl | |
936 | dnl A few 'make' implementations (e.g., NonStop OS and NextStep) | |
937 | dnl do not support nested variable expansions. | |
938 | dnl See automake bug#9928 and bug#10237. | |
939 | am_make=${MAKE-make} | |
940 | AC_CACHE_CHECK([whether $am_make supports nested variables], | |
941 | [am_cv_make_support_nested_variables], | |
942 | [if AS_ECHO([['TRUE=$(BAR$(V)) | |
943 | BAR0=false | |
944 | BAR1=true | |
945 | V=1 | |
946 | am__doit: | |
947 | @$(TRUE) | |
948 | .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then | |
949 | am_cv_make_support_nested_variables=yes | |
950 | else | |
951 | am_cv_make_support_nested_variables=no | |
952 | fi]) | |
953 | if test $am_cv_make_support_nested_variables = yes; then | |
954 | dnl Using '$V' instead of '$(V)' breaks IRIX make. | |
955 | AM_V='$(V)' | |
956 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | |
957 | else | |
958 | AM_V=$AM_DEFAULT_VERBOSITY | |
959 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY | |
960 | fi | |
961 | AC_SUBST([AM_V])dnl | |
962 | AM_SUBST_NOTMAKE([AM_V])dnl | |
963 | AC_SUBST([AM_DEFAULT_V])dnl | |
964 | AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl | |
965 | AC_SUBST([AM_DEFAULT_VERBOSITY])dnl | |
966 | AM_BACKSLASH='\' | |
967 | AC_SUBST([AM_BACKSLASH])dnl | |
968 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl | |
969 | ]) | |
970 | ||
971 | # Copyright (C) 2001-2013 Free Software Foundation, Inc. | |
972 | # | |
973 | # This file is free software; the Free Software Foundation | |
974 | # gives unlimited permission to copy and/or distribute it, | |
975 | # with or without modifications, as long as this notice is preserved. | |
823 | AC_MSG_RESULT(yes)]) | |
824 | ||
825 | # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. | |
826 | # | |
827 | # This file is free software; the Free Software Foundation | |
828 | # gives unlimited permission to copy and/or distribute it, | |
829 | # with or without modifications, as long as this notice is preserved. | |
830 | ||
831 | # serial 1 | |
976 | 832 | |
977 | 833 | # AM_PROG_INSTALL_STRIP |
978 | 834 | # --------------------- |
979 | # One issue with vendor 'install' (even GNU) is that you can't | |
835 | # One issue with vendor `install' (even GNU) is that you can't | |
980 | 836 | # specify the program used to strip binaries. This is especially |
981 | 837 | # annoying in cross-compiling environments, where the build's strip |
982 | 838 | # is unlikely to handle the host's binaries. |
983 | 839 | # Fortunately install-sh will honor a STRIPPROG variable, so we |
984 | # always use install-sh in "make install-strip", and initialize | |
840 | # always use install-sh in `make install-strip', and initialize | |
985 | 841 | # STRIPPROG with the value of the STRIP variable (set by the user). |
986 | 842 | AC_DEFUN([AM_PROG_INSTALL_STRIP], |
987 | 843 | [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
988 | # Installed binaries are usually stripped using 'strip' when the user | |
989 | # run "make install-strip". However 'strip' might not be the right | |
844 | # Installed binaries are usually stripped using `strip' when the user | |
845 | # run `make install-strip'. However `strip' might not be the right | |
990 | 846 | # tool to use in cross-compilation environments, therefore Automake |
991 | # will honor the 'STRIP' environment variable to overrule this program. | |
992 | dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. | |
847 | # will honor the `STRIP' environment variable to overrule this program. | |
848 | dnl Don't test for $cross_compiling = yes, because it might be `maybe'. | |
993 | 849 | if test "$cross_compiling" != no; then |
994 | 850 | AC_CHECK_TOOL([STRIP], [strip], :) |
995 | 851 | fi |
996 | 852 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
997 | 853 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
998 | 854 | |
999 | # Copyright (C) 2006-2013 Free Software Foundation, Inc. | |
1000 | # | |
1001 | # This file is free software; the Free Software Foundation | |
1002 | # gives unlimited permission to copy and/or distribute it, | |
1003 | # with or without modifications, as long as this notice is preserved. | |
855 | # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. | |
856 | # | |
857 | # This file is free software; the Free Software Foundation | |
858 | # gives unlimited permission to copy and/or distribute it, | |
859 | # with or without modifications, as long as this notice is preserved. | |
860 | ||
861 | # serial 3 | |
1004 | 862 | |
1005 | 863 | # _AM_SUBST_NOTMAKE(VARIABLE) |
1006 | 864 | # --------------------------- |
1015 | 873 | |
1016 | 874 | # Check how to create a tarball. -*- Autoconf -*- |
1017 | 875 | |
1018 | # Copyright (C) 2004-2013 Free Software Foundation, Inc. | |
1019 | # | |
1020 | # This file is free software; the Free Software Foundation | |
1021 | # gives unlimited permission to copy and/or distribute it, | |
1022 | # with or without modifications, as long as this notice is preserved. | |
876 | # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc. | |
877 | # | |
878 | # This file is free software; the Free Software Foundation | |
879 | # gives unlimited permission to copy and/or distribute it, | |
880 | # with or without modifications, as long as this notice is preserved. | |
881 | ||
882 | # serial 2 | |
1023 | 883 | |
1024 | 884 | # _AM_PROG_TAR(FORMAT) |
1025 | 885 | # -------------------- |
1026 | 886 | # Check how to create a tarball in format FORMAT. |
1027 | # FORMAT should be one of 'v7', 'ustar', or 'pax'. | |
887 | # FORMAT should be one of `v7', `ustar', or `pax'. | |
1028 | 888 | # |
1029 | 889 | # Substitute a variable $(am__tar) that is a command |
1030 | 890 | # writing to stdout a FORMAT-tarball containing the directory |
1034 | 894 | # Substitute a variable $(am__untar) that extract such |
1035 | 895 | # a tarball read from stdin. |
1036 | 896 | # $(am__untar) < result.tar |
1037 | # | |
1038 | 897 | AC_DEFUN([_AM_PROG_TAR], |
1039 | 898 | [# Always define AMTAR for backward compatibility. Yes, it's still used |
1040 | 899 | # in the wild :-( We should find a proper way to deprecate it ... |
1041 | 900 | AC_SUBST([AMTAR], ['$${TAR-tar}']) |
1042 | ||
1043 | # We'll loop over all known methods to create a tar archive until one works. | |
901 | m4_if([$1], [v7], | |
902 | [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], | |
903 | [m4_case([$1], [ustar],, [pax],, | |
904 | [m4_fatal([Unknown tar format])]) | |
905 | AC_MSG_CHECKING([how to create a $1 tar archive]) | |
906 | # Loop over all known methods to create a tar archive until one works. | |
1044 | 907 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' |
1045 | ||
1046 | m4_if([$1], [v7], | |
1047 | [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], | |
1048 | ||
1049 | [m4_case([$1], | |
1050 | [ustar], | |
1051 | [# The POSIX 1988 'ustar' format is defined with fixed-size fields. | |
1052 | # There is notably a 21 bits limit for the UID and the GID. In fact, | |
1053 | # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 | |
1054 | # and bug#13588). | |
1055 | am_max_uid=2097151 # 2^21 - 1 | |
1056 | am_max_gid=$am_max_uid | |
1057 | # The $UID and $GID variables are not portable, so we need to resort | |
1058 | # to the POSIX-mandated id(1) utility. Errors in the 'id' calls | |
1059 | # below are definitely unexpected, so allow the users to see them | |
1060 | # (that is, avoid stderr redirection). | |
1061 | am_uid=`id -u || echo unknown` | |
1062 | am_gid=`id -g || echo unknown` | |
1063 | AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) | |
1064 | if test $am_uid -le $am_max_uid; then | |
1065 | AC_MSG_RESULT([yes]) | |
1066 | else | |
1067 | AC_MSG_RESULT([no]) | |
1068 | _am_tools=none | |
1069 | fi | |
1070 | AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) | |
1071 | if test $am_gid -le $am_max_gid; then | |
1072 | AC_MSG_RESULT([yes]) | |
1073 | else | |
1074 | AC_MSG_RESULT([no]) | |
1075 | _am_tools=none | |
1076 | fi], | |
1077 | ||
1078 | [pax], | |
1079 | [], | |
1080 | ||
1081 | [m4_fatal([Unknown tar format])]) | |
1082 | ||
1083 | AC_MSG_CHECKING([how to create a $1 tar archive]) | |
1084 | ||
1085 | # Go ahead even if we have the value already cached. We do so because we | |
1086 | # need to set the values for the 'am__tar' and 'am__untar' variables. | |
1087 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} | |
1088 | ||
1089 | for _am_tool in $_am_tools; do | |
1090 | case $_am_tool in | |
1091 | gnutar) | |
1092 | for _am_tar in tar gnutar gtar; do | |
1093 | AM_RUN_LOG([$_am_tar --version]) && break | |
1094 | done | |
1095 | am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' | |
1096 | am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' | |
1097 | am__untar="$_am_tar -xf -" | |
1098 | ;; | |
1099 | plaintar) | |
1100 | # Must skip GNU tar: if it does not support --format= it doesn't create | |
1101 | # ustar tarball either. | |
1102 | (tar --version) >/dev/null 2>&1 && continue | |
1103 | am__tar='tar chf - "$$tardir"' | |
1104 | am__tar_='tar chf - "$tardir"' | |
1105 | am__untar='tar xf -' | |
1106 | ;; | |
1107 | pax) | |
1108 | am__tar='pax -L -x $1 -w "$$tardir"' | |
1109 | am__tar_='pax -L -x $1 -w "$tardir"' | |
1110 | am__untar='pax -r' | |
1111 | ;; | |
1112 | cpio) | |
1113 | am__tar='find "$$tardir" -print | cpio -o -H $1 -L' | |
1114 | am__tar_='find "$tardir" -print | cpio -o -H $1 -L' | |
1115 | am__untar='cpio -i -H $1 -d' | |
1116 | ;; | |
1117 | none) | |
1118 | am__tar=false | |
1119 | am__tar_=false | |
1120 | am__untar=false | |
1121 | ;; | |
1122 | esac | |
1123 | ||
1124 | # If the value was cached, stop now. We just wanted to have am__tar | |
1125 | # and am__untar set. | |
1126 | test -n "${am_cv_prog_tar_$1}" && break | |
1127 | ||
1128 | # tar/untar a dummy directory, and stop if the command works. | |
1129 | rm -rf conftest.dir | |
1130 | mkdir conftest.dir | |
1131 | echo GrepMe > conftest.dir/file | |
1132 | AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) | |
1133 | rm -rf conftest.dir | |
1134 | if test -s conftest.tar; then | |
1135 | AM_RUN_LOG([$am__untar <conftest.tar]) | |
1136 | AM_RUN_LOG([cat conftest.dir/file]) | |
1137 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break | |
1138 | fi | |
1139 | done | |
908 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} | |
909 | # Do not fold the above two line into one, because Tru64 sh and | |
910 | # Solaris sh will not grok spaces in the rhs of `-'. | |
911 | for _am_tool in $_am_tools | |
912 | do | |
913 | case $_am_tool in | |
914 | gnutar) | |
915 | for _am_tar in tar gnutar gtar; | |
916 | do | |
917 | AM_RUN_LOG([$_am_tar --version]) && break | |
918 | done | |
919 | am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' | |
920 | am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' | |
921 | am__untar="$_am_tar -xf -" | |
922 | ;; | |
923 | plaintar) | |
924 | # Must skip GNU tar: if it does not support --format= it doesn't create | |
925 | # ustar tarball either. | |
926 | (tar --version) >/dev/null 2>&1 && continue | |
927 | am__tar='tar chf - "$$tardir"' | |
928 | am__tar_='tar chf - "$tardir"' | |
929 | am__untar='tar xf -' | |
930 | ;; | |
931 | pax) | |
932 | am__tar='pax -L -x $1 -w "$$tardir"' | |
933 | am__tar_='pax -L -x $1 -w "$tardir"' | |
934 | am__untar='pax -r' | |
935 | ;; | |
936 | cpio) | |
937 | am__tar='find "$$tardir" -print | cpio -o -H $1 -L' | |
938 | am__tar_='find "$tardir" -print | cpio -o -H $1 -L' | |
939 | am__untar='cpio -i -H $1 -d' | |
940 | ;; | |
941 | none) | |
942 | am__tar=false | |
943 | am__tar_=false | |
944 | am__untar=false | |
945 | ;; | |
946 | esac | |
947 | ||
948 | # If the value was cached, stop now. We just wanted to have am__tar | |
949 | # and am__untar set. | |
950 | test -n "${am_cv_prog_tar_$1}" && break | |
951 | ||
952 | # tar/untar a dummy directory, and stop if the command works | |
1140 | 953 | rm -rf conftest.dir |
1141 | ||
1142 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | |
1143 | AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | |
1144 | ||
954 | mkdir conftest.dir | |
955 | echo GrepMe > conftest.dir/file | |
956 | AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) | |
957 | rm -rf conftest.dir | |
958 | if test -s conftest.tar; then | |
959 | AM_RUN_LOG([$am__untar <conftest.tar]) | |
960 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break | |
961 | fi | |
962 | done | |
963 | rm -rf conftest.dir | |
964 | ||
965 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | |
966 | AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | |
1145 | 967 | AC_SUBST([am__tar]) |
1146 | 968 | AC_SUBST([am__untar]) |
1147 | 969 | ]) # _AM_PROG_TAR |
0 | #! /bin/sh | |
1 | # Wrapper for compilers which do not understand '-c -o'. | |
2 | ||
3 | scriptversion=2012-10-14.11; # UTC | |
4 | ||
5 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | |
6 | # Written by Tom Tromey <tromey@cygnus.com>. | |
7 | # | |
8 | # This program is free software; you can redistribute it and/or modify | |
9 | # it under the terms of the GNU General Public License as published by | |
10 | # the Free Software Foundation; either version 2, or (at your option) | |
11 | # any later version. | |
12 | # | |
13 | # This program is distributed in the hope that it will be useful, | |
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | # GNU General Public License for more details. | |
17 | # | |
18 | # You should have received a copy of the GNU General Public License | |
19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
20 | ||
21 | # As a special exception to the GNU General Public License, if you | |
22 | # distribute this file as part of a program that contains a | |
23 | # configuration script generated by Autoconf, you may include it under | |
24 | # the same distribution terms that you use for the rest of that program. | |
25 | ||
26 | # This file is maintained in Automake, please report | |
27 | # bugs to <bug-automake@gnu.org> or send patches to | |
28 | # <automake-patches@gnu.org>. | |
29 | ||
30 | nl=' | |
31 | ' | |
32 | ||
33 | # We need space, tab and new line, in precisely that order. Quoting is | |
34 | # there to prevent tools from complaining about whitespace usage. | |
35 | IFS=" "" $nl" | |
36 | ||
37 | file_conv= | |
38 | ||
39 | # func_file_conv build_file lazy | |
40 | # Convert a $build file to $host form and store it in $file | |
41 | # Currently only supports Windows hosts. If the determined conversion | |
42 | # type is listed in (the comma separated) LAZY, no conversion will | |
43 | # take place. | |
44 | func_file_conv () | |
45 | { | |
46 | file=$1 | |
47 | case $file in | |
48 | / | /[!/]*) # absolute file, and not a UNC file | |
49 | if test -z "$file_conv"; then | |
50 | # lazily determine how to convert abs files | |
51 | case `uname -s` in | |
52 | MINGW*) | |
53 | file_conv=mingw | |
54 | ;; | |
55 | CYGWIN*) | |
56 | file_conv=cygwin | |
57 | ;; | |
58 | *) | |
59 | file_conv=wine | |
60 | ;; | |
61 | esac | |
62 | fi | |
63 | case $file_conv/,$2, in | |
64 | *,$file_conv,*) | |
65 | ;; | |
66 | mingw/*) | |
67 | file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` | |
68 | ;; | |
69 | cygwin/*) | |
70 | file=`cygpath -m "$file" || echo "$file"` | |
71 | ;; | |
72 | wine/*) | |
73 | file=`winepath -w "$file" || echo "$file"` | |
74 | ;; | |
75 | esac | |
76 | ;; | |
77 | esac | |
78 | } | |
79 | ||
80 | # func_cl_dashL linkdir | |
81 | # Make cl look for libraries in LINKDIR | |
82 | func_cl_dashL () | |
83 | { | |
84 | func_file_conv "$1" | |
85 | if test -z "$lib_path"; then | |
86 | lib_path=$file | |
87 | else | |
88 | lib_path="$lib_path;$file" | |
89 | fi | |
90 | linker_opts="$linker_opts -LIBPATH:$file" | |
91 | } | |
92 | ||
93 | # func_cl_dashl library | |
94 | # Do a library search-path lookup for cl | |
95 | func_cl_dashl () | |
96 | { | |
97 | lib=$1 | |
98 | found=no | |
99 | save_IFS=$IFS | |
100 | IFS=';' | |
101 | for dir in $lib_path $LIB | |
102 | do | |
103 | IFS=$save_IFS | |
104 | if $shared && test -f "$dir/$lib.dll.lib"; then | |
105 | found=yes | |
106 | lib=$dir/$lib.dll.lib | |
107 | break | |
108 | fi | |
109 | if test -f "$dir/$lib.lib"; then | |
110 | found=yes | |
111 | lib=$dir/$lib.lib | |
112 | break | |
113 | fi | |
114 | if test -f "$dir/lib$lib.a"; then | |
115 | found=yes | |
116 | lib=$dir/lib$lib.a | |
117 | break | |
118 | fi | |
119 | done | |
120 | IFS=$save_IFS | |
121 | ||
122 | if test "$found" != yes; then | |
123 | lib=$lib.lib | |
124 | fi | |
125 | } | |
126 | ||
127 | # func_cl_wrapper cl arg... | |
128 | # Adjust compile command to suit cl | |
129 | func_cl_wrapper () | |
130 | { | |
131 | # Assume a capable shell | |
132 | lib_path= | |
133 | shared=: | |
134 | linker_opts= | |
135 | for arg | |
136 | do | |
137 | if test -n "$eat"; then | |
138 | eat= | |
139 | else | |
140 | case $1 in | |
141 | -o) | |
142 | # configure might choose to run compile as 'compile cc -o foo foo.c'. | |
143 | eat=1 | |
144 | case $2 in | |
145 | *.o | *.[oO][bB][jJ]) | |
146 | func_file_conv "$2" | |
147 | set x "$@" -Fo"$file" | |
148 | shift | |
149 | ;; | |
150 | *) | |
151 | func_file_conv "$2" | |
152 | set x "$@" -Fe"$file" | |
153 | shift | |
154 | ;; | |
155 | esac | |
156 | ;; | |
157 | -I) | |
158 | eat=1 | |
159 | func_file_conv "$2" mingw | |
160 | set x "$@" -I"$file" | |
161 | shift | |
162 | ;; | |
163 | -I*) | |
164 | func_file_conv "${1#-I}" mingw | |
165 | set x "$@" -I"$file" | |
166 | shift | |
167 | ;; | |
168 | -l) | |
169 | eat=1 | |
170 | func_cl_dashl "$2" | |
171 | set x "$@" "$lib" | |
172 | shift | |
173 | ;; | |
174 | -l*) | |
175 | func_cl_dashl "${1#-l}" | |
176 | set x "$@" "$lib" | |
177 | shift | |
178 | ;; | |
179 | -L) | |
180 | eat=1 | |
181 | func_cl_dashL "$2" | |
182 | ;; | |
183 | -L*) | |
184 | func_cl_dashL "${1#-L}" | |
185 | ;; | |
186 | -static) | |
187 | shared=false | |
188 | ;; | |
189 | -Wl,*) | |
190 | arg=${1#-Wl,} | |
191 | save_ifs="$IFS"; IFS=',' | |
192 | for flag in $arg; do | |
193 | IFS="$save_ifs" | |
194 | linker_opts="$linker_opts $flag" | |
195 | done | |
196 | IFS="$save_ifs" | |
197 | ;; | |
198 | -Xlinker) | |
199 | eat=1 | |
200 | linker_opts="$linker_opts $2" | |
201 | ;; | |
202 | -*) | |
203 | set x "$@" "$1" | |
204 | shift | |
205 | ;; | |
206 | *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) | |
207 | func_file_conv "$1" | |
208 | set x "$@" -Tp"$file" | |
209 | shift | |
210 | ;; | |
211 | *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) | |
212 | func_file_conv "$1" mingw | |
213 | set x "$@" "$file" | |
214 | shift | |
215 | ;; | |
216 | *) | |
217 | set x "$@" "$1" | |
218 | shift | |
219 | ;; | |
220 | esac | |
221 | fi | |
222 | shift | |
223 | done | |
224 | if test -n "$linker_opts"; then | |
225 | linker_opts="-link$linker_opts" | |
226 | fi | |
227 | exec "$@" $linker_opts | |
228 | exit 1 | |
229 | } | |
230 | ||
231 | eat= | |
232 | ||
233 | case $1 in | |
234 | '') | |
235 | echo "$0: No command. Try '$0 --help' for more information." 1>&2 | |
236 | exit 1; | |
237 | ;; | |
238 | -h | --h*) | |
239 | cat <<\EOF | |
240 | Usage: compile [--help] [--version] PROGRAM [ARGS] | |
241 | ||
242 | Wrapper for compilers which do not understand '-c -o'. | |
243 | Remove '-o dest.o' from ARGS, run PROGRAM with the remaining | |
244 | arguments, and rename the output as expected. | |
245 | ||
246 | If you are trying to build a whole package this is not the | |
247 | right script to run: please start by reading the file 'INSTALL'. | |
248 | ||
249 | Report bugs to <bug-automake@gnu.org>. | |
250 | EOF | |
251 | exit $? | |
252 | ;; | |
253 | -v | --v*) | |
254 | echo "compile $scriptversion" | |
255 | exit $? | |
256 | ;; | |
257 | cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) | |
258 | func_cl_wrapper "$@" # Doesn't return... | |
259 | ;; | |
260 | esac | |
261 | ||
262 | ofile= | |
263 | cfile= | |
264 | ||
265 | for arg | |
266 | do | |
267 | if test -n "$eat"; then | |
268 | eat= | |
269 | else | |
270 | case $1 in | |
271 | -o) | |
272 | # configure might choose to run compile as 'compile cc -o foo foo.c'. | |
273 | # So we strip '-o arg' only if arg is an object. | |
274 | eat=1 | |
275 | case $2 in | |
276 | *.o | *.obj) | |
277 | ofile=$2 | |
278 | ;; | |
279 | *) | |
280 | set x "$@" -o "$2" | |
281 | shift | |
282 | ;; | |
283 | esac | |
284 | ;; | |
285 | *.c) | |
286 | cfile=$1 | |
287 | set x "$@" "$1" | |
288 | shift | |
289 | ;; | |
290 | *) | |
291 | set x "$@" "$1" | |
292 | shift | |
293 | ;; | |
294 | esac | |
295 | fi | |
296 | shift | |
297 | done | |
298 | ||
299 | if test -z "$ofile" || test -z "$cfile"; then | |
300 | # If no '-o' option was seen then we might have been invoked from a | |
301 | # pattern rule where we don't need one. That is ok -- this is a | |
302 | # normal compilation that the losing compiler can handle. If no | |
303 | # '.c' file was seen then we are probably linking. That is also | |
304 | # ok. | |
305 | exec "$@" | |
306 | fi | |
307 | ||
308 | # Name of file we expect compiler to create. | |
309 | cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` | |
310 | ||
311 | # Create the lock directory. | |
312 | # Note: use '[/\\:.-]' here to ensure that we don't use the same name | |
313 | # that we are using for the .o file. Also, base the name on the expected | |
314 | # object file name, since that is what matters with a parallel build. | |
315 | lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d | |
316 | while true; do | |
317 | if mkdir "$lockdir" >/dev/null 2>&1; then | |
318 | break | |
319 | fi | |
320 | sleep 1 | |
321 | done | |
322 | # FIXME: race condition here if user kills between mkdir and trap. | |
323 | trap "rmdir '$lockdir'; exit 1" 1 2 15 | |
324 | ||
325 | # Run the compile. | |
326 | "$@" | |
327 | ret=$? | |
328 | ||
329 | if test -f "$cofile"; then | |
330 | test "$cofile" = "$ofile" || mv "$cofile" "$ofile" | |
331 | elif test -f "${cofile}bj"; then | |
332 | test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" | |
333 | fi | |
334 | ||
335 | rmdir "$lockdir" | |
336 | exit $ret | |
337 | ||
338 | # Local Variables: | |
339 | # mode: shell-script | |
340 | # sh-indentation: 2 | |
341 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
342 | # time-stamp-start: "scriptversion=" | |
343 | # time-stamp-format: "%:y-%02m-%02d.%02H" | |
344 | # time-stamp-time-zone: "UTC" | |
345 | # time-stamp-end: "; # UTC" | |
346 | # End: |
0 | 0 | #! /bin/sh |
1 | 1 | # Attempt to guess a canonical system name. |
2 | # Copyright 1992-2014 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2014-03-23' | |
2 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | |
4 | # 2011, 2012 Free Software Foundation, Inc. | |
5 | ||
6 | timestamp='2012-02-10' | |
5 | 7 | |
6 | 8 | # This file is free software; you can redistribute it and/or modify it |
7 | 9 | # under the terms of the GNU General Public License as published by |
8 | # the Free Software Foundation; either version 3 of the License, or | |
10 | # the Free Software Foundation; either version 2 of the License, or | |
9 | 11 | # (at your option) any later version. |
10 | 12 | # |
11 | 13 | # This program is distributed in the hope that it will be useful, but |
19 | 21 | # As a special exception to the GNU General Public License, if you |
20 | 22 | # distribute this file as part of a program that contains a |
21 | 23 | # configuration script generated by Autoconf, you may include it under |
22 | # the same distribution terms that you use for the rest of that | |
23 | # program. This Exception is an additional permission under section 7 | |
24 | # of the GNU General Public License, version 3 ("GPLv3"). | |
24 | # the same distribution terms that you use for the rest of that program. | |
25 | ||
26 | ||
27 | # Originally written by Per Bothner. Please send patches (context | |
28 | # diff format) to <config-patches@gnu.org> and include a ChangeLog | |
29 | # entry. | |
25 | 30 | # |
26 | # Originally written by Per Bothner. | |
31 | # This script attempts to guess a canonical system name similar to | |
32 | # config.sub. If it succeeds, it prints the system name on stdout, and | |
33 | # exits with 0. Otherwise, it exits with 1. | |
27 | 34 | # |
28 | 35 | # You can get the latest version of this script from: |
29 | 36 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD |
30 | # | |
31 | # Please send patches with a ChangeLog entry to config-patches@gnu.org. | |
32 | ||
33 | 37 | |
34 | 38 | me=`echo "$0" | sed -e 's,.*/,,'` |
35 | 39 | |
49 | 53 | GNU config.guess ($timestamp) |
50 | 54 | |
51 | 55 | Originally written by Per Bothner. |
52 | Copyright 1992-2014 Free Software Foundation, Inc. | |
56 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | |
57 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 | |
58 | Free Software Foundation, Inc. | |
53 | 59 | |
54 | 60 | This is free software; see the source for copying conditions. There is NO |
55 | 61 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
130 | 136 | UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown |
131 | 137 | UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown |
132 | 138 | UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown |
133 | ||
134 | case "${UNAME_SYSTEM}" in | |
135 | Linux|GNU|GNU/*) | |
136 | # If the system lacks a compiler, then just pick glibc. | |
137 | # We could probably try harder. | |
138 | LIBC=gnu | |
139 | ||
140 | eval $set_cc_for_build | |
141 | cat <<-EOF > $dummy.c | |
142 | #include <features.h> | |
143 | #if defined(__UCLIBC__) | |
144 | LIBC=uclibc | |
145 | #elif defined(__dietlibc__) | |
146 | LIBC=dietlibc | |
147 | #else | |
148 | LIBC=gnu | |
149 | #endif | |
150 | EOF | |
151 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` | |
152 | ;; | |
153 | esac | |
154 | 139 | |
155 | 140 | # Note: order is significant - the case branches are not exclusive. |
156 | 141 | |
213 | 198 | # contains redundant information, the shorter form: |
214 | 199 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. |
215 | 200 | echo "${machine}-${os}${release}" |
216 | exit ;; | |
217 | *:Bitrig:*:*) | |
218 | UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` | |
219 | echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} | |
220 | 201 | exit ;; |
221 | 202 | *:OpenBSD:*:*) |
222 | 203 | UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` |
320 | 301 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
321 | 302 | echo arm-acorn-riscix${UNAME_RELEASE} |
322 | 303 | exit ;; |
323 | arm*:riscos:*:*|arm*:RISCOS:*:*) | |
304 | arm:riscos:*:*|arm:RISCOS:*:*) | |
324 | 305 | echo arm-unknown-riscos |
325 | 306 | exit ;; |
326 | 307 | SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) |
819 | 800 | i*:CYGWIN*:*) |
820 | 801 | echo ${UNAME_MACHINE}-pc-cygwin |
821 | 802 | exit ;; |
822 | *:MINGW64*:*) | |
823 | echo ${UNAME_MACHINE}-pc-mingw64 | |
824 | exit ;; | |
825 | 803 | *:MINGW*:*) |
826 | 804 | echo ${UNAME_MACHINE}-pc-mingw32 |
827 | 805 | exit ;; |
828 | *:MSYS*:*) | |
806 | i*:MSYS*:*) | |
829 | 807 | echo ${UNAME_MACHINE}-pc-msys |
830 | 808 | exit ;; |
831 | 809 | i*:windows32*:*) |
873 | 851 | exit ;; |
874 | 852 | *:GNU:*:*) |
875 | 853 | # the GNU system |
876 | echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` | |
854 | echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` | |
877 | 855 | exit ;; |
878 | 856 | *:GNU/*:*:*) |
879 | 857 | # other systems with GNU libc and userland |
880 | echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} | |
858 | echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu | |
881 | 859 | exit ;; |
882 | 860 | i*86:Minix:*:*) |
883 | 861 | echo ${UNAME_MACHINE}-pc-minix |
884 | 862 | exit ;; |
885 | 863 | aarch64:Linux:*:*) |
886 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
864 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
887 | 865 | exit ;; |
888 | 866 | aarch64_be:Linux:*:*) |
889 | 867 | UNAME_MACHINE=aarch64_be |
890 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
868 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
891 | 869 | exit ;; |
892 | 870 | alpha:Linux:*:*) |
893 | 871 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |
900 | 878 | EV68*) UNAME_MACHINE=alphaev68 ;; |
901 | 879 | esac |
902 | 880 | objdump --private-headers /bin/sh | grep -q ld.so.1 |
903 | if test "$?" = 0 ; then LIBC="gnulibc1" ; fi | |
904 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
905 | exit ;; | |
906 | arc:Linux:*:* | arceb:Linux:*:*) | |
907 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
881 | if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi | |
882 | echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} | |
908 | 883 | exit ;; |
909 | 884 | arm*:Linux:*:*) |
910 | 885 | eval $set_cc_for_build |
911 | 886 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
912 | 887 | | grep -q __ARM_EABI__ |
913 | 888 | then |
914 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
889 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
915 | 890 | else |
916 | 891 | if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ |
917 | 892 | | grep -q __ARM_PCS_VFP |
918 | 893 | then |
919 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi | |
894 | echo ${UNAME_MACHINE}-unknown-linux-gnueabi | |
920 | 895 | else |
921 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf | |
896 | echo ${UNAME_MACHINE}-unknown-linux-gnueabihf | |
922 | 897 | fi |
923 | 898 | fi |
924 | 899 | exit ;; |
925 | 900 | avr32*:Linux:*:*) |
926 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
901 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
927 | 902 | exit ;; |
928 | 903 | cris:Linux:*:*) |
929 | echo ${UNAME_MACHINE}-axis-linux-${LIBC} | |
904 | echo ${UNAME_MACHINE}-axis-linux-gnu | |
930 | 905 | exit ;; |
931 | 906 | crisv32:Linux:*:*) |
932 | echo ${UNAME_MACHINE}-axis-linux-${LIBC} | |
907 | echo ${UNAME_MACHINE}-axis-linux-gnu | |
933 | 908 | exit ;; |
934 | 909 | frv:Linux:*:*) |
935 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
910 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
936 | 911 | exit ;; |
937 | 912 | hexagon:Linux:*:*) |
938 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
913 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
939 | 914 | exit ;; |
940 | 915 | i*86:Linux:*:*) |
941 | echo ${UNAME_MACHINE}-pc-linux-${LIBC} | |
916 | LIBC=gnu | |
917 | eval $set_cc_for_build | |
918 | sed 's/^ //' << EOF >$dummy.c | |
919 | #ifdef __dietlibc__ | |
920 | LIBC=dietlibc | |
921 | #endif | |
922 | EOF | |
923 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` | |
924 | echo "${UNAME_MACHINE}-pc-linux-${LIBC}" | |
942 | 925 | exit ;; |
943 | 926 | ia64:Linux:*:*) |
944 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
927 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
945 | 928 | exit ;; |
946 | 929 | m32r*:Linux:*:*) |
947 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
930 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
948 | 931 | exit ;; |
949 | 932 | m68*:Linux:*:*) |
950 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
933 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
951 | 934 | exit ;; |
952 | 935 | mips:Linux:*:* | mips64:Linux:*:*) |
953 | 936 | eval $set_cc_for_build |
966 | 949 | #endif |
967 | 950 | EOF |
968 | 951 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` |
969 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } | |
952 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } | |
970 | 953 | ;; |
971 | openrisc*:Linux:*:*) | |
972 | echo or1k-unknown-linux-${LIBC} | |
973 | exit ;; | |
974 | or32:Linux:*:* | or1k*:Linux:*:*) | |
975 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
954 | or32:Linux:*:*) | |
955 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
976 | 956 | exit ;; |
977 | 957 | padre:Linux:*:*) |
978 | echo sparc-unknown-linux-${LIBC} | |
958 | echo sparc-unknown-linux-gnu | |
979 | 959 | exit ;; |
980 | 960 | parisc64:Linux:*:* | hppa64:Linux:*:*) |
981 | echo hppa64-unknown-linux-${LIBC} | |
961 | echo hppa64-unknown-linux-gnu | |
982 | 962 | exit ;; |
983 | 963 | parisc:Linux:*:* | hppa:Linux:*:*) |
984 | 964 | # Look for CPU level |
985 | 965 | case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in |
986 | PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; | |
987 | PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; | |
988 | *) echo hppa-unknown-linux-${LIBC} ;; | |
966 | PA7*) echo hppa1.1-unknown-linux-gnu ;; | |
967 | PA8*) echo hppa2.0-unknown-linux-gnu ;; | |
968 | *) echo hppa-unknown-linux-gnu ;; | |
989 | 969 | esac |
990 | 970 | exit ;; |
991 | 971 | ppc64:Linux:*:*) |
992 | echo powerpc64-unknown-linux-${LIBC} | |
972 | echo powerpc64-unknown-linux-gnu | |
993 | 973 | exit ;; |
994 | 974 | ppc:Linux:*:*) |
995 | echo powerpc-unknown-linux-${LIBC} | |
996 | exit ;; | |
997 | ppc64le:Linux:*:*) | |
998 | echo powerpc64le-unknown-linux-${LIBC} | |
999 | exit ;; | |
1000 | ppcle:Linux:*:*) | |
1001 | echo powerpcle-unknown-linux-${LIBC} | |
975 | echo powerpc-unknown-linux-gnu | |
1002 | 976 | exit ;; |
1003 | 977 | s390:Linux:*:* | s390x:Linux:*:*) |
1004 | echo ${UNAME_MACHINE}-ibm-linux-${LIBC} | |
978 | echo ${UNAME_MACHINE}-ibm-linux | |
1005 | 979 | exit ;; |
1006 | 980 | sh64*:Linux:*:*) |
1007 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
981 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
1008 | 982 | exit ;; |
1009 | 983 | sh*:Linux:*:*) |
1010 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
984 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
1011 | 985 | exit ;; |
1012 | 986 | sparc:Linux:*:* | sparc64:Linux:*:*) |
1013 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
987 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
1014 | 988 | exit ;; |
1015 | 989 | tile*:Linux:*:*) |
1016 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
990 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
1017 | 991 | exit ;; |
1018 | 992 | vax:Linux:*:*) |
1019 | echo ${UNAME_MACHINE}-dec-linux-${LIBC} | |
993 | echo ${UNAME_MACHINE}-dec-linux-gnu | |
1020 | 994 | exit ;; |
1021 | 995 | x86_64:Linux:*:*) |
1022 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
996 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
1023 | 997 | exit ;; |
1024 | 998 | xtensa*:Linux:*:*) |
1025 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
999 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
1026 | 1000 | exit ;; |
1027 | 1001 | i*86:DYNIX/ptx:4*:*) |
1028 | 1002 | # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. |
1226 | 1200 | BePC:Haiku:*:*) # Haiku running on Intel PC compatible. |
1227 | 1201 | echo i586-pc-haiku |
1228 | 1202 | exit ;; |
1229 | x86_64:Haiku:*:*) | |
1230 | echo x86_64-unknown-haiku | |
1231 | exit ;; | |
1232 | 1203 | SX-4:SUPER-UX:*:*) |
1233 | 1204 | echo sx4-nec-superux${UNAME_RELEASE} |
1234 | 1205 | exit ;; |
1255 | 1226 | exit ;; |
1256 | 1227 | *:Darwin:*:*) |
1257 | 1228 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown |
1258 | eval $set_cc_for_build | |
1259 | if test "$UNAME_PROCESSOR" = unknown ; then | |
1260 | UNAME_PROCESSOR=powerpc | |
1261 | fi | |
1262 | if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then | |
1263 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | |
1264 | if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ | |
1265 | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
1266 | grep IS_64BIT_ARCH >/dev/null | |
1267 | then | |
1268 | case $UNAME_PROCESSOR in | |
1269 | i386) UNAME_PROCESSOR=x86_64 ;; | |
1270 | powerpc) UNAME_PROCESSOR=powerpc64 ;; | |
1271 | esac | |
1272 | fi | |
1273 | fi | |
1274 | elif test "$UNAME_PROCESSOR" = i386 ; then | |
1275 | # Avoid executing cc on OS X 10.9, as it ships with a stub | |
1276 | # that puts up a graphical alert prompting to install | |
1277 | # developer tools. Any system running Mac OS X 10.7 or | |
1278 | # later (Darwin 11 and later) is required to have a 64-bit | |
1279 | # processor. This is not true of the ARM version of Darwin | |
1280 | # that Apple uses in portable devices. | |
1281 | UNAME_PROCESSOR=x86_64 | |
1282 | fi | |
1229 | case $UNAME_PROCESSOR in | |
1230 | i386) | |
1231 | eval $set_cc_for_build | |
1232 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | |
1233 | if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ | |
1234 | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
1235 | grep IS_64BIT_ARCH >/dev/null | |
1236 | then | |
1237 | UNAME_PROCESSOR="x86_64" | |
1238 | fi | |
1239 | fi ;; | |
1240 | unknown) UNAME_PROCESSOR=powerpc ;; | |
1241 | esac | |
1283 | 1242 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} |
1284 | 1243 | exit ;; |
1285 | 1244 | *:procnto*:*:* | *:QNX:[0123456789]*:*) |
1296 | 1255 | NEO-?:NONSTOP_KERNEL:*:*) |
1297 | 1256 | echo neo-tandem-nsk${UNAME_RELEASE} |
1298 | 1257 | exit ;; |
1299 | NSE-*:NONSTOP_KERNEL:*:*) | |
1258 | NSE-?:NONSTOP_KERNEL:*:*) | |
1300 | 1259 | echo nse-tandem-nsk${UNAME_RELEASE} |
1301 | 1260 | exit ;; |
1302 | 1261 | NSR-?:NONSTOP_KERNEL:*:*) |
1370 | 1329 | exit ;; |
1371 | 1330 | esac |
1372 | 1331 | |
1332 | #echo '(No uname command or uname output not recognized.)' 1>&2 | |
1333 | #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 | |
1334 | ||
1335 | eval $set_cc_for_build | |
1336 | cat >$dummy.c <<EOF | |
1337 | #ifdef _SEQUENT_ | |
1338 | # include <sys/types.h> | |
1339 | # include <sys/utsname.h> | |
1340 | #endif | |
1341 | main () | |
1342 | { | |
1343 | #if defined (sony) | |
1344 | #if defined (MIPSEB) | |
1345 | /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, | |
1346 | I don't know.... */ | |
1347 | printf ("mips-sony-bsd\n"); exit (0); | |
1348 | #else | |
1349 | #include <sys/param.h> | |
1350 | printf ("m68k-sony-newsos%s\n", | |
1351 | #ifdef NEWSOS4 | |
1352 | "4" | |
1353 | #else | |
1354 | "" | |
1355 | #endif | |
1356 | ); exit (0); | |
1357 | #endif | |
1358 | #endif | |
1359 | ||
1360 | #if defined (__arm) && defined (__acorn) && defined (__unix) | |
1361 | printf ("arm-acorn-riscix\n"); exit (0); | |
1362 | #endif | |
1363 | ||
1364 | #if defined (hp300) && !defined (hpux) | |
1365 | printf ("m68k-hp-bsd\n"); exit (0); | |
1366 | #endif | |
1367 | ||
1368 | #if defined (NeXT) | |
1369 | #if !defined (__ARCHITECTURE__) | |
1370 | #define __ARCHITECTURE__ "m68k" | |
1371 | #endif | |
1372 | int version; | |
1373 | version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; | |
1374 | if (version < 4) | |
1375 | printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); | |
1376 | else | |
1377 | printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); | |
1378 | exit (0); | |
1379 | #endif | |
1380 | ||
1381 | #if defined (MULTIMAX) || defined (n16) | |
1382 | #if defined (UMAXV) | |
1383 | printf ("ns32k-encore-sysv\n"); exit (0); | |
1384 | #else | |
1385 | #if defined (CMU) | |
1386 | printf ("ns32k-encore-mach\n"); exit (0); | |
1387 | #else | |
1388 | printf ("ns32k-encore-bsd\n"); exit (0); | |
1389 | #endif | |
1390 | #endif | |
1391 | #endif | |
1392 | ||
1393 | #if defined (__386BSD__) | |
1394 | printf ("i386-pc-bsd\n"); exit (0); | |
1395 | #endif | |
1396 | ||
1397 | #if defined (sequent) | |
1398 | #if defined (i386) | |
1399 | printf ("i386-sequent-dynix\n"); exit (0); | |
1400 | #endif | |
1401 | #if defined (ns32000) | |
1402 | printf ("ns32k-sequent-dynix\n"); exit (0); | |
1403 | #endif | |
1404 | #endif | |
1405 | ||
1406 | #if defined (_SEQUENT_) | |
1407 | struct utsname un; | |
1408 | ||
1409 | uname(&un); | |
1410 | ||
1411 | if (strncmp(un.version, "V2", 2) == 0) { | |
1412 | printf ("i386-sequent-ptx2\n"); exit (0); | |
1413 | } | |
1414 | if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ | |
1415 | printf ("i386-sequent-ptx1\n"); exit (0); | |
1416 | } | |
1417 | printf ("i386-sequent-ptx\n"); exit (0); | |
1418 | ||
1419 | #endif | |
1420 | ||
1421 | #if defined (vax) | |
1422 | # if !defined (ultrix) | |
1423 | # include <sys/param.h> | |
1424 | # if defined (BSD) | |
1425 | # if BSD == 43 | |
1426 | printf ("vax-dec-bsd4.3\n"); exit (0); | |
1427 | # else | |
1428 | # if BSD == 199006 | |
1429 | printf ("vax-dec-bsd4.3reno\n"); exit (0); | |
1430 | # else | |
1431 | printf ("vax-dec-bsd\n"); exit (0); | |
1432 | # endif | |
1433 | # endif | |
1434 | # else | |
1435 | printf ("vax-dec-bsd\n"); exit (0); | |
1436 | # endif | |
1437 | # else | |
1438 | printf ("vax-dec-ultrix\n"); exit (0); | |
1439 | # endif | |
1440 | #endif | |
1441 | ||
1442 | #if defined (alliant) && defined (i860) | |
1443 | printf ("i860-alliant-bsd\n"); exit (0); | |
1444 | #endif | |
1445 | ||
1446 | exit (1); | |
1447 | } | |
1448 | EOF | |
1449 | ||
1450 | $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && | |
1451 | { echo "$SYSTEM_NAME"; exit; } | |
1452 | ||
1453 | # Apollos put the system type in the environment. | |
1454 | ||
1455 | test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } | |
1456 | ||
1457 | # Convex versions that predate uname can use getsysinfo(1) | |
1458 | ||
1459 | if [ -x /usr/convex/getsysinfo ] | |
1460 | then | |
1461 | case `getsysinfo -f cpu_type` in | |
1462 | c1*) | |
1463 | echo c1-convex-bsd | |
1464 | exit ;; | |
1465 | c2*) | |
1466 | if getsysinfo -f scalar_acc | |
1467 | then echo c32-convex-bsd | |
1468 | else echo c2-convex-bsd | |
1469 | fi | |
1470 | exit ;; | |
1471 | c34*) | |
1472 | echo c34-convex-bsd | |
1473 | exit ;; | |
1474 | c38*) | |
1475 | echo c38-convex-bsd | |
1476 | exit ;; | |
1477 | c4*) | |
1478 | echo c4-convex-bsd | |
1479 | exit ;; | |
1480 | esac | |
1481 | fi | |
1482 | ||
1373 | 1483 | cat >&2 <<EOF |
1374 | 1484 | $0: unable to guess system type |
1375 | 1485 |
0 | 0 | #! /bin/sh |
1 | 1 | # Configuration validation subroutine script. |
2 | # Copyright 1992-2014 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2014-09-11' | |
5 | ||
6 | # This file is free software; you can redistribute it and/or modify it | |
7 | # under the terms of the GNU General Public License as published by | |
8 | # the Free Software Foundation; either version 3 of the License, or | |
2 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | |
4 | # 2011, 2012 Free Software Foundation, Inc. | |
5 | ||
6 | timestamp='2012-04-18' | |
7 | ||
8 | # This file is (in principle) common to ALL GNU software. | |
9 | # The presence of a machine in this file suggests that SOME GNU software | |
10 | # can handle that machine. It does not imply ALL GNU software can. | |
11 | # | |
12 | # This file is free software; you can redistribute it and/or modify | |
13 | # it under the terms of the GNU General Public License as published by | |
14 | # the Free Software Foundation; either version 2 of the License, or | |
9 | 15 | # (at your option) any later version. |
10 | 16 | # |
11 | # This program is distributed in the hope that it will be useful, but | |
12 | # WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 | # General Public License for more details. | |
17 | # This program is distributed in the hope that it will be useful, | |
18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
20 | # GNU General Public License for more details. | |
15 | 21 | # |
16 | 22 | # You should have received a copy of the GNU General Public License |
17 | 23 | # along with this program; if not, see <http://www.gnu.org/licenses/>. |
19 | 25 | # As a special exception to the GNU General Public License, if you |
20 | 26 | # distribute this file as part of a program that contains a |
21 | 27 | # configuration script generated by Autoconf, you may include it under |
22 | # the same distribution terms that you use for the rest of that | |
23 | # program. This Exception is an additional permission under section 7 | |
24 | # of the GNU General Public License, version 3 ("GPLv3"). | |
25 | ||
26 | ||
27 | # Please send patches with a ChangeLog entry to config-patches@gnu.org. | |
28 | # the same distribution terms that you use for the rest of that program. | |
29 | ||
30 | ||
31 | # Please send patches to <config-patches@gnu.org>. Submit a context | |
32 | # diff and a properly formatted GNU ChangeLog entry. | |
28 | 33 | # |
29 | 34 | # Configuration subroutine to validate and canonicalize a configuration type. |
30 | 35 | # Supply the specified configuration type as an argument. |
67 | 72 | version="\ |
68 | 73 | GNU config.sub ($timestamp) |
69 | 74 | |
70 | Copyright 1992-2014 Free Software Foundation, Inc. | |
75 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | |
76 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 | |
77 | Free Software Foundation, Inc. | |
71 | 78 | |
72 | 79 | This is free software; see the source for copying conditions. There is NO |
73 | 80 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
115 | 122 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
116 | 123 | case $maybe_os in |
117 | 124 | nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ |
118 | linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ | |
125 | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ | |
119 | 126 | knetbsd*-gnu* | netbsd*-gnu* | \ |
120 | 127 | kopensolaris*-gnu* | \ |
121 | 128 | storm-chaos* | os2-emx* | rtmk-nova*) |
148 | 155 | -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
149 | 156 | -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
150 | 157 | -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
151 | -apple | -axis | -knuth | -cray | -microblaze*) | |
158 | -apple | -axis | -knuth | -cray | -microblaze) | |
152 | 159 | os= |
153 | 160 | basic_machine=$1 |
154 | 161 | ;; |
251 | 258 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
252 | 259 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
253 | 260 | | am33_2.0 \ |
254 | | arc | arceb \ | |
255 | | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | |
256 | | avr | avr32 \ | |
257 | | be32 | be64 \ | |
261 | | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | |
262 | | be32 | be64 \ | |
258 | 263 | | bfin \ |
259 | | c4x | c8051 | clipper \ | |
264 | | c4x | clipper \ | |
260 | 265 | | d10v | d30v | dlx | dsp16xx \ |
261 | 266 | | epiphany \ |
262 | 267 | | fido | fr30 | frv \ |
264 | 269 | | hexagon \ |
265 | 270 | | i370 | i860 | i960 | ia64 \ |
266 | 271 | | ip2k | iq2000 \ |
267 | | k1om \ | |
268 | 272 | | le32 | le64 \ |
269 | 273 | | lm32 \ |
270 | 274 | | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
271 | | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | |
275 | | maxq | mb | microblaze | mcore | mep | metag \ | |
272 | 276 | | mips | mipsbe | mipseb | mipsel | mipsle \ |
273 | 277 | | mips16 \ |
274 | 278 | | mips64 | mips64el \ |
282 | 286 | | mips64vr5900 | mips64vr5900el \ |
283 | 287 | | mipsisa32 | mipsisa32el \ |
284 | 288 | | mipsisa32r2 | mipsisa32r2el \ |
285 | | mipsisa32r6 | mipsisa32r6el \ | |
286 | 289 | | mipsisa64 | mipsisa64el \ |
287 | 290 | | mipsisa64r2 | mipsisa64r2el \ |
288 | | mipsisa64r6 | mipsisa64r6el \ | |
289 | 291 | | mipsisa64sb1 | mipsisa64sb1el \ |
290 | 292 | | mipsisa64sr71k | mipsisa64sr71kel \ |
291 | | mipsr5900 | mipsr5900el \ | |
292 | 293 | | mipstx39 | mipstx39el \ |
293 | 294 | | mn10200 | mn10300 \ |
294 | 295 | | moxie \ |
295 | 296 | | mt \ |
296 | 297 | | msp430 \ |
297 | 298 | | nds32 | nds32le | nds32be \ |
298 | | nios | nios2 | nios2eb | nios2el \ | |
299 | | nios | nios2 \ | |
299 | 300 | | ns16k | ns32k \ |
300 | | open8 | or1k | or1knd | or32 \ | |
301 | | open8 \ | |
302 | | or32 \ | |
301 | 303 | | pdp10 | pdp11 | pj | pjl \ |
302 | 304 | | powerpc | powerpc64 | powerpc64le | powerpcle \ |
303 | 305 | | pyramid \ |
304 | | riscv32 | riscv64 \ | |
305 | 306 | | rl78 | rx \ |
306 | 307 | | score \ |
307 | 308 | | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ |
326 | 327 | c6x) |
327 | 328 | basic_machine=tic6x-unknown |
328 | 329 | ;; |
329 | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) | |
330 | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) | |
330 | 331 | basic_machine=$basic_machine-unknown |
331 | 332 | os=-none |
332 | 333 | ;; |
368 | 369 | | aarch64-* | aarch64_be-* \ |
369 | 370 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
370 | 371 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
371 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ | |
372 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | |
372 | 373 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
373 | 374 | | avr-* | avr32-* \ |
374 | 375 | | be32-* | be64-* \ |
375 | 376 | | bfin-* | bs2000-* \ |
376 | 377 | | c[123]* | c30-* | [cjt]90-* | c4x-* \ |
377 | | c8051-* | clipper-* | craynv-* | cydra-* \ | |
378 | | clipper-* | craynv-* | cydra-* \ | |
378 | 379 | | d10v-* | d30v-* | dlx-* \ |
379 | 380 | | elxsi-* \ |
380 | 381 | | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
383 | 384 | | hexagon-* \ |
384 | 385 | | i*86-* | i860-* | i960-* | ia64-* \ |
385 | 386 | | ip2k-* | iq2000-* \ |
386 | | k1om-* \ | |
387 | 387 | | le32-* | le64-* \ |
388 | 388 | | lm32-* \ |
389 | 389 | | m32c-* | m32r-* | m32rle-* \ |
390 | 390 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
391 | | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | |
392 | | microblaze-* | microblazeel-* \ | |
391 | | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ | |
393 | 392 | | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
394 | 393 | | mips16-* \ |
395 | 394 | | mips64-* | mips64el-* \ |
403 | 402 | | mips64vr5900-* | mips64vr5900el-* \ |
404 | 403 | | mipsisa32-* | mipsisa32el-* \ |
405 | 404 | | mipsisa32r2-* | mipsisa32r2el-* \ |
406 | | mipsisa32r6-* | mipsisa32r6el-* \ | |
407 | 405 | | mipsisa64-* | mipsisa64el-* \ |
408 | 406 | | mipsisa64r2-* | mipsisa64r2el-* \ |
409 | | mipsisa64r6-* | mipsisa64r6el-* \ | |
410 | 407 | | mipsisa64sb1-* | mipsisa64sb1el-* \ |
411 | 408 | | mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
412 | | mipsr5900-* | mipsr5900el-* \ | |
413 | 409 | | mipstx39-* | mipstx39el-* \ |
414 | 410 | | mmix-* \ |
415 | 411 | | mt-* \ |
416 | 412 | | msp430-* \ |
417 | 413 | | nds32-* | nds32le-* | nds32be-* \ |
418 | | nios-* | nios2-* | nios2eb-* | nios2el-* \ | |
414 | | nios-* | nios2-* \ | |
419 | 415 | | none-* | np1-* | ns16k-* | ns32k-* \ |
420 | 416 | | open8-* \ |
421 | | or1k*-* \ | |
422 | 417 | | orion-* \ |
423 | 418 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
424 | 419 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ |
792 | 787 | basic_machine=ns32k-utek |
793 | 788 | os=-sysv |
794 | 789 | ;; |
795 | microblaze*) | |
790 | microblaze) | |
796 | 791 | basic_machine=microblaze-xilinx |
797 | 792 | ;; |
798 | mingw64) | |
799 | basic_machine=x86_64-pc | |
800 | os=-mingw64 | |
801 | ;; | |
802 | 793 | mingw32) |
803 | basic_machine=i686-pc | |
794 | basic_machine=i386-pc | |
804 | 795 | os=-mingw32 |
805 | 796 | ;; |
806 | 797 | mingw32ce) |
828 | 819 | basic_machine=powerpc-unknown |
829 | 820 | os=-morphos |
830 | 821 | ;; |
831 | moxiebox) | |
832 | basic_machine=moxie-unknown | |
833 | os=-moxiebox | |
834 | ;; | |
835 | 822 | msdos) |
836 | 823 | basic_machine=i386-pc |
837 | 824 | os=-msdos |
840 | 827 | basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` |
841 | 828 | ;; |
842 | 829 | msys) |
843 | basic_machine=i686-pc | |
830 | basic_machine=i386-pc | |
844 | 831 | os=-msys |
845 | 832 | ;; |
846 | 833 | mvs) |
1031 | 1018 | basic_machine=i586-unknown |
1032 | 1019 | os=-pw32 |
1033 | 1020 | ;; |
1034 | rdos | rdos64) | |
1035 | basic_machine=x86_64-pc | |
1036 | os=-rdos | |
1037 | ;; | |
1038 | rdos32) | |
1021 | rdos) | |
1039 | 1022 | basic_machine=i386-pc |
1040 | 1023 | os=-rdos |
1041 | 1024 | ;; |
1362 | 1345 | -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
1363 | 1346 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ |
1364 | 1347 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ |
1365 | | -sym* | -kopensolaris* | -plan9* \ | |
1348 | | -sym* | -kopensolaris* \ | |
1366 | 1349 | | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
1367 | 1350 | | -aos* | -aros* \ |
1368 | 1351 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1369 | 1352 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1370 | 1353 | | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
1371 | | -bitrig* | -openbsd* | -solidbsd* \ | |
1354 | | -openbsd* | -solidbsd* \ | |
1372 | 1355 | | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1373 | 1356 | | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1374 | 1357 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1375 | 1358 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1376 | 1359 | | -chorusos* | -chorusrdb* | -cegcc* \ |
1377 | 1360 | | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1378 | | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | |
1379 | | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | |
1380 | | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ | |
1361 | | -mingw32* | -linux-gnu* | -linux-android* \ | |
1362 | | -linux-newlib* | -linux-uclibc* \ | |
1363 | | -uxpv* | -beos* | -mpeix* | -udk* \ | |
1381 | 1364 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1382 | 1365 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1383 | 1366 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1384 | 1367 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1385 | 1368 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1386 | 1369 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
1387 | | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*) | |
1370 | | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) | |
1388 | 1371 | # Remember, each alternative MUST END IN *, to match a version number. |
1389 | 1372 | ;; |
1390 | 1373 | -qnx*) |
1508 | 1491 | -aros*) |
1509 | 1492 | os=-aros |
1510 | 1493 | ;; |
1494 | -kaos*) | |
1495 | os=-kaos | |
1496 | ;; | |
1511 | 1497 | -zvmoe) |
1512 | 1498 | os=-zvmoe |
1513 | 1499 | ;; |
1555 | 1541 | ;; |
1556 | 1542 | c4x-* | tic4x-*) |
1557 | 1543 | os=-coff |
1558 | ;; | |
1559 | c8051-*) | |
1560 | os=-elf | |
1561 | 1544 | ;; |
1562 | 1545 | hexagon-*) |
1563 | 1546 | os=-elf |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for dillo 3.0.4.1. | |
2 | # Generated by GNU Autoconf 2.69 for dillo 3.0.5-rc1. | |
3 | 3 | # |
4 | 4 | # |
5 | 5 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
576 | 576 | # Identity of this package. |
577 | 577 | PACKAGE_NAME='dillo' |
578 | 578 | PACKAGE_TARNAME='dillo' |
579 | PACKAGE_VERSION='3.0.4.1' | |
580 | PACKAGE_STRING='dillo 3.0.4.1' | |
579 | PACKAGE_VERSION='3.0.5-rc1' | |
580 | PACKAGE_STRING='dillo 3.0.5-rc1' | |
581 | 581 | PACKAGE_BUGREPORT='' |
582 | 582 | PACKAGE_URL='' |
583 | 583 | |
636 | 636 | LIBJPEG_CPPFLAGS |
637 | 637 | LIBJPEG_LDFLAGS |
638 | 638 | LIBJPEG_LIBS |
639 | FLTK_CONFIG | |
639 | 640 | EGREP |
640 | 641 | GREP |
641 | 642 | CPP |
663 | 664 | LDFLAGS |
664 | 665 | CFLAGS |
665 | 666 | CC |
666 | AM_BACKSLASH | |
667 | AM_DEFAULT_VERBOSITY | |
668 | AM_DEFAULT_V | |
669 | AM_V | |
670 | 667 | am__untar |
671 | 668 | am__tar |
672 | 669 | AMTAR |
743 | 740 | ac_subst_files='' |
744 | 741 | ac_user_opts=' |
745 | 742 | enable_option_checking |
746 | enable_silent_rules | |
747 | 743 | with_jpeg_lib |
748 | 744 | with_jpeg_inc |
749 | 745 | enable_efence |
1311 | 1307 | # Omit some internal or obsolete options to make the list less imposing. |
1312 | 1308 | # This message is too long to be a string in the A/UX 3.1 sh. |
1313 | 1309 | cat <<_ACEOF |
1314 | \`configure' configures dillo 3.0.4.1 to adapt to many kinds of systems. | |
1310 | \`configure' configures dillo 3.0.5-rc1 to adapt to many kinds of systems. | |
1315 | 1311 | |
1316 | 1312 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1317 | 1313 | |
1382 | 1378 | |
1383 | 1379 | if test -n "$ac_init_help"; then |
1384 | 1380 | case $ac_init_help in |
1385 | short | recursive ) echo "Configuration of dillo 3.0.4.1:";; | |
1381 | short | recursive ) echo "Configuration of dillo 3.0.5-rc1:";; | |
1386 | 1382 | esac |
1387 | 1383 | cat <<\_ACEOF |
1388 | 1384 | |
1390 | 1386 | --disable-option-checking ignore unrecognized --enable/--with options |
1391 | 1387 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1392 | 1388 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1393 | --enable-silent-rules less verbose build output (undo: "make V=1") | |
1394 | --disable-silent-rules verbose build output (undo: "make V=0") | |
1395 | 1389 | --enable-efence Try to compile and run with Electric Fence |
1396 | 1390 | --enable-gprof Try to compile and run with profiling enabled |
1397 | 1391 | --enable-insure Try to compile and run with Insure++ |
1403 | 1397 | --disable-gif Disable support for GIF images |
1404 | 1398 | --disable-threaded-dns Disable the advantage of a reentrant resolver library |
1405 | 1399 | --enable-rtfl Build with rtfl messages (for debugging rendering) |
1406 | --enable-dependency-tracking | |
1407 | do not reject slow dependency extractors | |
1408 | --disable-dependency-tracking | |
1409 | speeds up one-time build | |
1400 | --disable-dependency-tracking speeds up one-time build | |
1401 | --enable-dependency-tracking do not reject slow dependency extractors | |
1410 | 1402 | |
1411 | 1403 | Optional Packages: |
1412 | 1404 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1492 | 1484 | test -n "$ac_init_help" && exit $ac_status |
1493 | 1485 | if $ac_init_version; then |
1494 | 1486 | cat <<\_ACEOF |
1495 | dillo configure 3.0.4.1 | |
1487 | dillo configure 3.0.5-rc1 | |
1496 | 1488 | generated by GNU Autoconf 2.69 |
1497 | 1489 | |
1498 | 1490 | Copyright (C) 2012 Free Software Foundation, Inc. |
2250 | 2242 | This file contains any messages produced by compilers while |
2251 | 2243 | running configure, to aid debugging if configure makes a mistake. |
2252 | 2244 | |
2253 | It was created by dillo $as_me 3.0.4.1, which was | |
2245 | It was created by dillo $as_me 3.0.5-rc1, which was | |
2254 | 2246 | generated by GNU Autoconf 2.69. Invocation command line was |
2255 | 2247 | |
2256 | 2248 | $ $0 $@ |
2739 | 2731 | NONENONEs,x,x, && |
2740 | 2732 | program_prefix=${target_alias}- |
2741 | 2733 | |
2742 | am__api_version='1.14' | |
2734 | am__api_version='1.11' | |
2743 | 2735 | |
2744 | 2736 | # Find a good install program. We prefer a C program (faster), |
2745 | 2737 | # so one script is as good as another. But avoid the broken or |
2836 | 2828 | |
2837 | 2829 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2838 | 2830 | $as_echo_n "checking whether build environment is sane... " >&6; } |
2831 | # Just in case | |
2832 | sleep 1 | |
2833 | echo timestamp > conftest.file | |
2839 | 2834 | # Reject unsafe characters in $srcdir or the absolute working directory |
2840 | 2835 | # name. Accept space and tab only in the latter. |
2841 | 2836 | am_lf=' |
2846 | 2841 | esac |
2847 | 2842 | case $srcdir in |
2848 | 2843 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2849 | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; | |
2844 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
2850 | 2845 | esac |
2851 | 2846 | |
2852 | # Do 'set' in a subshell so we don't clobber the current shell's | |
2847 | # Do `set' in a subshell so we don't clobber the current shell's | |
2853 | 2848 | # arguments. Must try -L first in case configure is actually a |
2854 | 2849 | # symlink; some systems play weird games with the mod time of symlinks |
2855 | 2850 | # (eg FreeBSD returns the mod time of the symlink's containing |
2856 | 2851 | # directory). |
2857 | 2852 | if ( |
2858 | am_has_slept=no | |
2859 | for am_try in 1 2; do | |
2860 | echo "timestamp, slept: $am_has_slept" > conftest.file | |
2861 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
2862 | if test "$*" = "X"; then | |
2863 | # -L didn't work. | |
2864 | set X `ls -t "$srcdir/configure" conftest.file` | |
2865 | fi | |
2866 | if test "$*" != "X $srcdir/configure conftest.file" \ | |
2867 | && test "$*" != "X conftest.file $srcdir/configure"; then | |
2868 | ||
2869 | # If neither matched, then we have a broken ls. This can happen | |
2870 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
2871 | # broken ls alias from the environment. This has actually | |
2872 | # happened. Such a system could not be considered "sane". | |
2873 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | |
2874 | alias in your environment" "$LINENO" 5 | |
2875 | fi | |
2876 | if test "$2" = conftest.file || test $am_try -eq 2; then | |
2877 | break | |
2878 | fi | |
2879 | # Just in case. | |
2880 | sleep 1 | |
2881 | am_has_slept=yes | |
2882 | done | |
2853 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
2854 | if test "$*" = "X"; then | |
2855 | # -L didn't work. | |
2856 | set X `ls -t "$srcdir/configure" conftest.file` | |
2857 | fi | |
2858 | rm -f conftest.file | |
2859 | if test "$*" != "X $srcdir/configure conftest.file" \ | |
2860 | && test "$*" != "X conftest.file $srcdir/configure"; then | |
2861 | ||
2862 | # If neither matched, then we have a broken ls. This can happen | |
2863 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
2864 | # broken ls alias from the environment. This has actually | |
2865 | # happened. Such a system could not be considered "sane". | |
2866 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | |
2867 | alias in your environment" "$LINENO" 5 | |
2868 | fi | |
2869 | ||
2883 | 2870 | test "$2" = conftest.file |
2884 | 2871 | ) |
2885 | 2872 | then |
2891 | 2878 | fi |
2892 | 2879 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2893 | 2880 | $as_echo "yes" >&6; } |
2894 | # If we didn't sleep, we still need to ensure time stamps of config.status and | |
2895 | # generated files are strictly newer. | |
2896 | am_sleep_pid= | |
2897 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then | |
2898 | ( sleep 1 ) & | |
2899 | am_sleep_pid=$! | |
2900 | fi | |
2901 | ||
2902 | rm -f conftest.file | |
2903 | ||
2904 | 2881 | test "$program_prefix" != NONE && |
2905 | 2882 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
2906 | 2883 | # Use a double $ so make ignores it. |
2911 | 2888 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2912 | 2889 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
2913 | 2890 | |
2914 | # Expand $ac_aux_dir to an absolute path. | |
2915 | am_aux_dir=`cd "$ac_aux_dir" && pwd` | |
2891 | # expand $ac_aux_dir to an absolute path | |
2892 | am_aux_dir=`cd $ac_aux_dir && pwd` | |
2916 | 2893 | |
2917 | 2894 | if test x"${MISSING+set}" != xset; then |
2918 | 2895 | case $am_aux_dir in |
2923 | 2900 | esac |
2924 | 2901 | fi |
2925 | 2902 | # Use eval to expand $SHELL |
2926 | if eval "$MISSING --is-lightweight"; then | |
2927 | am_missing_run="$MISSING " | |
2903 | if eval "$MISSING --run true"; then | |
2904 | am_missing_run="$MISSING --run " | |
2928 | 2905 | else |
2929 | 2906 | am_missing_run= |
2930 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 | |
2931 | $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} | |
2907 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 | |
2908 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | |
2932 | 2909 | fi |
2933 | 2910 | |
2934 | 2911 | if test x"${install_sh}" != xset; then |
2940 | 2917 | esac |
2941 | 2918 | fi |
2942 | 2919 | |
2943 | # Installed binaries are usually stripped using 'strip' when the user | |
2944 | # run "make install-strip". However 'strip' might not be the right | |
2920 | # Installed binaries are usually stripped using `strip' when the user | |
2921 | # run `make install-strip'. However `strip' might not be the right | |
2945 | 2922 | # tool to use in cross-compilation environments, therefore Automake |
2946 | # will honor the 'STRIP' environment variable to overrule this program. | |
2923 | # will honor the `STRIP' environment variable to overrule this program. | |
2947 | 2924 | if test "$cross_compiling" != no; then |
2948 | 2925 | if test -n "$ac_tool_prefix"; then |
2949 | 2926 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
3082 | 3059 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
3083 | 3060 | $as_echo "$MKDIR_P" >&6; } |
3084 | 3061 | |
3062 | mkdir_p="$MKDIR_P" | |
3063 | case $mkdir_p in | |
3064 | [\\/$]* | ?:[\\/]*) ;; | |
3065 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
3066 | esac | |
3067 | ||
3085 | 3068 | for ac_prog in gawk mawk nawk awk |
3086 | 3069 | do |
3087 | 3070 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3164 | 3147 | fi |
3165 | 3148 | rmdir .tst 2>/dev/null |
3166 | 3149 | |
3167 | # Check whether --enable-silent-rules was given. | |
3168 | if test "${enable_silent_rules+set}" = set; then : | |
3169 | enableval=$enable_silent_rules; | |
3170 | fi | |
3171 | ||
3172 | case $enable_silent_rules in # ((( | |
3173 | yes) AM_DEFAULT_VERBOSITY=0;; | |
3174 | no) AM_DEFAULT_VERBOSITY=1;; | |
3175 | *) AM_DEFAULT_VERBOSITY=1;; | |
3176 | esac | |
3177 | am_make=${MAKE-make} | |
3178 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 | |
3179 | $as_echo_n "checking whether $am_make supports nested variables... " >&6; } | |
3180 | if ${am_cv_make_support_nested_variables+:} false; then : | |
3181 | $as_echo_n "(cached) " >&6 | |
3182 | else | |
3183 | if $as_echo 'TRUE=$(BAR$(V)) | |
3184 | BAR0=false | |
3185 | BAR1=true | |
3186 | V=1 | |
3187 | am__doit: | |
3188 | @$(TRUE) | |
3189 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then | |
3190 | am_cv_make_support_nested_variables=yes | |
3191 | else | |
3192 | am_cv_make_support_nested_variables=no | |
3193 | fi | |
3194 | fi | |
3195 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 | |
3196 | $as_echo "$am_cv_make_support_nested_variables" >&6; } | |
3197 | if test $am_cv_make_support_nested_variables = yes; then | |
3198 | AM_V='$(V)' | |
3199 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | |
3200 | else | |
3201 | AM_V=$AM_DEFAULT_VERBOSITY | |
3202 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY | |
3203 | fi | |
3204 | AM_BACKSLASH='\' | |
3205 | ||
3206 | 3150 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
3207 | 3151 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
3208 | 3152 | # is not polluted with repeated "-I." |
3225 | 3169 | |
3226 | 3170 | # Define the identity of the package. |
3227 | 3171 | PACKAGE='dillo' |
3228 | VERSION='3.0.4.1' | |
3172 | VERSION='3.0.5-rc1' | |
3229 | 3173 | |
3230 | 3174 | |
3231 | 3175 | cat >>confdefs.h <<_ACEOF |
3252 | 3196 | |
3253 | 3197 | |
3254 | 3198 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
3255 | ||
3256 | # For better backward compatibility. To be removed once Automake 1.9.x | |
3257 | # dies out for good. For more background, see: | |
3258 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
3259 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
3260 | mkdir_p='$(MKDIR_P)' | |
3261 | 3199 | |
3262 | 3200 | # We need awk for the "check" target. The system "awk" is bad on |
3263 | 3201 | # some platforms. |
3265 | 3203 | # in the wild :-( We should find a proper way to deprecate it ... |
3266 | 3204 | AMTAR='$${TAR-tar}' |
3267 | 3205 | |
3268 | ||
3269 | # We'll loop over all known methods to create a tar archive until one works. | |
3270 | _am_tools='gnutar pax cpio none' | |
3271 | ||
3272 | 3206 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
3273 | 3207 | |
3274 | 3208 | |
3275 | 3209 | |
3276 | 3210 | |
3277 | ||
3278 | ||
3279 | # POSIX will say in a future version that running "rm -f" with no argument | |
3280 | # is OK; and we want to be able to make that assumption in our Makefile | |
3281 | # recipes. So use an aggressive probe to check that the usage we want is | |
3282 | # actually supported "in the wild" to an acceptable degree. | |
3283 | # See automake bug#10828. | |
3284 | # To make any issue more visible, cause the running configure to be aborted | |
3285 | # by default if the 'rm' program in use doesn't match our expectations; the | |
3286 | # user can still override this though. | |
3287 | if rm -f && rm -fr && rm -rf; then : OK; else | |
3288 | cat >&2 <<'END' | |
3289 | Oops! | |
3290 | ||
3291 | Your 'rm' program seems unable to run without file operands specified | |
3292 | on the command line, even when the '-f' option is present. This is contrary | |
3293 | to the behaviour of most rm programs out there, and not conforming with | |
3294 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> | |
3295 | ||
3296 | Please tell bug-automake@gnu.org about your system, including the value | |
3297 | of your $PATH and any error possibly output before this message. This | |
3298 | can help us improve future automake versions. | |
3299 | ||
3300 | END | |
3301 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then | |
3302 | echo 'Configuration will proceed anyway, since you have set the' >&2 | |
3303 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 | |
3304 | echo >&2 | |
3305 | else | |
3306 | cat >&2 <<'END' | |
3307 | Aborting the configuration process, to ensure you take notice of the issue. | |
3308 | ||
3309 | You can download and install GNU coreutils to get an 'rm' implementation | |
3310 | that behaves properly: <http://www.gnu.org/software/coreutils/>. | |
3311 | ||
3312 | If you want to complete the configuration process using your problematic | |
3313 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | |
3314 | to "yes", and re-run configure. | |
3315 | ||
3316 | END | |
3317 | as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 | |
3318 | fi | |
3319 | fi | |
3320 | 3211 | |
3321 | 3212 | |
3322 | 3213 | ac_config_headers="$ac_config_headers config.h" |
4199 | 4090 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4200 | 4091 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4201 | 4092 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4202 | ||
4203 | ac_ext=c | |
4204 | ac_cpp='$CPP $CPPFLAGS' | |
4205 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
4206 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
4207 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
4208 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 | |
4209 | $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } | |
4210 | if ${am_cv_prog_cc_c_o+:} false; then : | |
4211 | $as_echo_n "(cached) " >&6 | |
4212 | else | |
4213 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4214 | /* end confdefs.h. */ | |
4215 | ||
4216 | int | |
4217 | main () | |
4218 | { | |
4219 | ||
4220 | ; | |
4221 | return 0; | |
4222 | } | |
4223 | _ACEOF | |
4224 | # Make sure it works both with $CC and with simple cc. | |
4225 | # Following AC_PROG_CC_C_O, we do the test twice because some | |
4226 | # compilers refuse to overwrite an existing .o file with -o, | |
4227 | # though they will create one. | |
4228 | am_cv_prog_cc_c_o=yes | |
4229 | for am_i in 1 2; do | |
4230 | if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 | |
4231 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 | |
4232 | ac_status=$? | |
4233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4234 | (exit $ac_status); } \ | |
4235 | && test -f conftest2.$ac_objext; then | |
4236 | : OK | |
4237 | else | |
4238 | am_cv_prog_cc_c_o=no | |
4239 | break | |
4240 | fi | |
4241 | done | |
4242 | rm -f core conftest* | |
4243 | unset am_i | |
4244 | fi | |
4245 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 | |
4246 | $as_echo "$am_cv_prog_cc_c_o" >&6; } | |
4247 | if test "$am_cv_prog_cc_c_o" != yes; then | |
4248 | # Losing compiler, so override with the script. | |
4249 | # FIXME: It is wrong to rewrite CC. | |
4250 | # But if we don't then we get into trouble of one sort or another. | |
4251 | # A longer-term fix would be to have automake use am__CC in this case, | |
4252 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | |
4253 | CC="$am_aux_dir/compile $CC" | |
4254 | fi | |
4255 | ac_ext=c | |
4256 | ac_cpp='$CPP $CPPFLAGS' | |
4257 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
4258 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
4259 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
4260 | ||
4261 | 4093 | DEPDIR="${am__leading_dot}deps" |
4262 | 4094 | |
4263 | 4095 | ac_config_commands="$ac_config_commands depfiles" |
4277 | 4109 | _am_result=none |
4278 | 4110 | # First try GNU make style include. |
4279 | 4111 | echo "include confinc" > confmf |
4280 | # Ignore all kinds of additional output from 'make'. | |
4112 | # Ignore all kinds of additional output from `make'. | |
4281 | 4113 | case `$am_make -s -f confmf 2> /dev/null` in #( |
4282 | 4114 | *the\ am__doit\ target*) |
4283 | 4115 | am__include=include |
4333 | 4165 | # We make a subdir and do the tests there. Otherwise we can end up |
4334 | 4166 | # making bogus files that we don't know about and never remove. For |
4335 | 4167 | # instance it was reported that on HP-UX the gcc test will end up |
4336 | # making a dummy file named 'D' -- because '-MD' means "put the output | |
4337 | # in D". | |
4168 | # making a dummy file named `D' -- because `-MD' means `put the output | |
4169 | # in D'. | |
4338 | 4170 | rm -rf conftest.dir |
4339 | 4171 | mkdir conftest.dir |
4340 | 4172 | # Copy depcomp to subdir because otherwise we won't find it if we're |
4369 | 4201 | : > sub/conftest.c |
4370 | 4202 | for i in 1 2 3 4 5 6; do |
4371 | 4203 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
4372 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
4373 | # Solaris 10 /bin/sh. | |
4374 | echo '/* dummy */' > sub/conftst$i.h | |
4204 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
4205 | # Solaris 8's {/usr,}/bin/sh. | |
4206 | touch sub/conftst$i.h | |
4375 | 4207 | done |
4376 | 4208 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4377 | 4209 | |
4378 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
4210 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
4379 | 4211 | # mode. It turns out that the SunPro C++ compiler does not properly |
4380 | # handle '-M -o', and we need to detect this. Also, some Intel | |
4381 | # versions had trouble with output in subdirs. | |
4212 | # handle `-M -o', and we need to detect this. Also, some Intel | |
4213 | # versions had trouble with output in subdirs | |
4382 | 4214 | am__obj=sub/conftest.${OBJEXT-o} |
4383 | 4215 | am__minus_obj="-o $am__obj" |
4384 | 4216 | case $depmode in |
4387 | 4219 | test "$am__universal" = false || continue |
4388 | 4220 | ;; |
4389 | 4221 | nosideeffect) |
4390 | # After this tag, mechanisms are not by side-effect, so they'll | |
4391 | # only be used when explicitly requested. | |
4222 | # after this tag, mechanisms are not by side-effect, so they'll | |
4223 | # only be used when explicitly requested | |
4392 | 4224 | if test "x$enable_dependency_tracking" = xyes; then |
4393 | 4225 | continue |
4394 | 4226 | else |
4396 | 4228 | fi |
4397 | 4229 | ;; |
4398 | 4230 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
4399 | # This compiler won't grok '-c -o', but also, the minuso test has | |
4231 | # This compiler won't grok `-c -o', but also, the minuso test has | |
4400 | 4232 | # not run yet. These depmodes are late enough in the game, and |
4401 | 4233 | # so weak that their functioning should not be impacted. |
4402 | 4234 | am__obj=conftest.${OBJEXT-o} |
4718 | 4550 | # We make a subdir and do the tests there. Otherwise we can end up |
4719 | 4551 | # making bogus files that we don't know about and never remove. For |
4720 | 4552 | # instance it was reported that on HP-UX the gcc test will end up |
4721 | # making a dummy file named 'D' -- because '-MD' means "put the output | |
4722 | # in D". | |
4553 | # making a dummy file named `D' -- because `-MD' means `put the output | |
4554 | # in D'. | |
4723 | 4555 | rm -rf conftest.dir |
4724 | 4556 | mkdir conftest.dir |
4725 | 4557 | # Copy depcomp to subdir because otherwise we won't find it if we're |
4754 | 4586 | : > sub/conftest.c |
4755 | 4587 | for i in 1 2 3 4 5 6; do |
4756 | 4588 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
4757 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
4758 | # Solaris 10 /bin/sh. | |
4759 | echo '/* dummy */' > sub/conftst$i.h | |
4589 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
4590 | # Solaris 8's {/usr,}/bin/sh. | |
4591 | touch sub/conftst$i.h | |
4760 | 4592 | done |
4761 | 4593 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4762 | 4594 | |
4763 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
4595 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
4764 | 4596 | # mode. It turns out that the SunPro C++ compiler does not properly |
4765 | # handle '-M -o', and we need to detect this. Also, some Intel | |
4766 | # versions had trouble with output in subdirs. | |
4597 | # handle `-M -o', and we need to detect this. Also, some Intel | |
4598 | # versions had trouble with output in subdirs | |
4767 | 4599 | am__obj=sub/conftest.${OBJEXT-o} |
4768 | 4600 | am__minus_obj="-o $am__obj" |
4769 | 4601 | case $depmode in |
4772 | 4604 | test "$am__universal" = false || continue |
4773 | 4605 | ;; |
4774 | 4606 | nosideeffect) |
4775 | # After this tag, mechanisms are not by side-effect, so they'll | |
4776 | # only be used when explicitly requested. | |
4607 | # after this tag, mechanisms are not by side-effect, so they'll | |
4608 | # only be used when explicitly requested | |
4777 | 4609 | if test "x$enable_dependency_tracking" = xyes; then |
4778 | 4610 | continue |
4779 | 4611 | else |
4781 | 4613 | fi |
4782 | 4614 | ;; |
4783 | 4615 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
4784 | # This compiler won't grok '-c -o', but also, the minuso test has | |
4616 | # This compiler won't grok `-c -o', but also, the minuso test has | |
4785 | 4617 | # not run yet. These depmodes are late enough in the game, and |
4786 | 4618 | # so weak that their functioning should not be impacted. |
4787 | 4619 | am__obj=conftest.${OBJEXT-o} |
5770 | 5602 | |
5771 | 5603 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking FLTK 1.3" >&5 |
5772 | 5604 | $as_echo_n "checking FLTK 1.3... " >&6; } |
5773 | fltk_version="`fltk-config --version 2>/dev/null`" | |
5605 | # Extract the first word of "fltk-config", so it can be a program name with args. | |
5606 | set dummy fltk-config; ac_word=$2 | |
5607 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
5608 | $as_echo_n "checking for $ac_word... " >&6; } | |
5609 | if ${ac_cv_path_FLTK_CONFIG+:} false; then : | |
5610 | $as_echo_n "(cached) " >&6 | |
5611 | else | |
5612 | case $FLTK_CONFIG in | |
5613 | [\\/]* | ?:[\\/]*) | |
5614 | ac_cv_path_FLTK_CONFIG="$FLTK_CONFIG" # Let the user override the test with a path. | |
5615 | ;; | |
5616 | *) | |
5617 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
5618 | for as_dir in $PATH | |
5619 | do | |
5620 | IFS=$as_save_IFS | |
5621 | test -z "$as_dir" && as_dir=. | |
5622 | for ac_exec_ext in '' $ac_executable_extensions; do | |
5623 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
5624 | ac_cv_path_FLTK_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
5625 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
5626 | break 2 | |
5627 | fi | |
5628 | done | |
5629 | done | |
5630 | IFS=$as_save_IFS | |
5631 | ||
5632 | ;; | |
5633 | esac | |
5634 | fi | |
5635 | FLTK_CONFIG=$ac_cv_path_FLTK_CONFIG | |
5636 | if test -n "$FLTK_CONFIG"; then | |
5637 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLTK_CONFIG" >&5 | |
5638 | $as_echo "$FLTK_CONFIG" >&6; } | |
5639 | else | |
5640 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5641 | $as_echo "no" >&6; } | |
5642 | fi | |
5643 | ||
5644 | ||
5645 | fltk_version="`$FLTK_CONFIG --version 2>/dev/null`" | |
5774 | 5646 | case $fltk_version in |
5775 | 5647 | 1.3.*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5776 | 5648 | $as_echo "yes" >&6; } |
5777 | LIBFLTK_CXXFLAGS=`fltk-config --cxxflags` | |
5778 | LIBFLTK_CFLAGS=`fltk-config --cflags` | |
5779 | LIBFLTK_LIBS=`fltk-config --ldflags`;; | |
5649 | LIBFLTK_CXXFLAGS=`$FLTK_CONFIG --cxxflags` | |
5650 | LIBFLTK_CFLAGS=`$FLTK_CONFIG --cflags` | |
5651 | LIBFLTK_LIBS=`$FLTK_CONFIG --ldflags`;; | |
5780 | 5652 | ?*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5781 | 5653 | $as_echo "no" >&6; } |
5782 | 5654 | as_fn_error $? "FLTK 1.3 required; version found: $fltk_version" "$LINENO" 5;; |
5989 | 5861 | $as_echo_n "checking for libpng-config... " >&6; } |
5990 | 5862 | |
5991 | 5863 | if test -z "$PNG_CONFIG"; then |
5992 | PNG_CONFIG=`which libpng14-config` | |
5864 | PNG_CONFIG=`which libpng16-config` | |
5865 | if test -z "$PNG_CONFIG"; then | |
5866 | PNG_CONFIG=`which libpng14-config` | |
5867 | fi | |
5993 | 5868 | if test -z "$PNG_CONFIG"; then |
5994 | 5869 | PNG_CONFIG=`which libpng12-config` |
5995 | 5870 | fi |
6016 | 5891 | $as_echo_n "checking for libpng version... " >&6; } |
6017 | 5892 | png_version=`$PNG_CONFIG --version` |
6018 | 5893 | case $png_version in |
6019 | 1.[024].*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: $png_version" >&5 | |
5894 | 1.[0246].*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: $png_version" >&5 | |
6020 | 5895 | $as_echo "$png_version" >&6; } ;; |
6021 | 5896 | *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: $png_version (unrecognised version)" >&5 |
6022 | 5897 | $as_echo "$png_version (unrecognised version)" >&6; } ;; |
6850 | 6725 | LTLIBOBJS=$ac_ltlibobjs |
6851 | 6726 | |
6852 | 6727 | |
6853 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 | |
6854 | $as_echo_n "checking that generated files are newer than configure... " >&6; } | |
6855 | if test -n "$am_sleep_pid"; then | |
6856 | # Hide warnings about reused PIDs. | |
6857 | wait $am_sleep_pid 2>/dev/null | |
6858 | fi | |
6859 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 | |
6860 | $as_echo "done" >&6; } | |
6861 | 6728 | if test -n "$EXEEXT"; then |
6862 | 6729 | am__EXEEXT_TRUE= |
6863 | 6730 | am__EXEEXT_FALSE='#' |
7275 | 7142 | # report actual input values of CONFIG_FILES etc. instead of their |
7276 | 7143 | # values after options handling. |
7277 | 7144 | ac_log=" |
7278 | This file was extended by dillo $as_me 3.0.4.1, which was | |
7145 | This file was extended by dillo $as_me 3.0.5-rc1, which was | |
7279 | 7146 | generated by GNU Autoconf 2.69. Invocation command line was |
7280 | 7147 | |
7281 | 7148 | CONFIG_FILES = $CONFIG_FILES |
7341 | 7208 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7342 | 7209 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
7343 | 7210 | ac_cs_version="\\ |
7344 | dillo config.status 3.0.4.1 | |
7211 | dillo config.status 3.0.5-rc1 | |
7345 | 7212 | configured by $0, generated by GNU Autoconf 2.69, |
7346 | 7213 | with options \\"\$ac_cs_config\\" |
7347 | 7214 | |
8079 | 7946 | |
8080 | 7947 | case $ac_file$ac_mode in |
8081 | 7948 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
8082 | # Older Autoconf quotes --file arguments for eval, but not when files | |
7949 | # Autoconf 2.62 quotes --file arguments for eval, but not when files | |
8083 | 7950 | # are listed without --file. Let's play safe and only enable the eval |
8084 | 7951 | # if we detect the quoting. |
8085 | 7952 | case $CONFIG_FILES in |
8092 | 7959 | # Strip MF so we end up with the name of the file. |
8093 | 7960 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
8094 | 7961 | # Check whether this is an Automake generated Makefile or not. |
8095 | # We used to match only the files named 'Makefile.in', but | |
7962 | # We used to match only the files named `Makefile.in', but | |
8096 | 7963 | # some people rename them; so instead we look at the file content. |
8097 | 7964 | # Grep'ing the first line is not enough: some people post-process |
8098 | 7965 | # each Makefile.in and add a new line on top of each file to say so. |
8126 | 7993 | continue |
8127 | 7994 | fi |
8128 | 7995 | # Extract the definition of DEPDIR, am__include, and am__quote |
8129 | # from the Makefile without running 'make'. | |
7996 | # from the Makefile without running `make'. | |
8130 | 7997 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
8131 | 7998 | test -z "$DEPDIR" && continue |
8132 | 7999 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
8133 | test -z "$am__include" && continue | |
8000 | test -z "am__include" && continue | |
8134 | 8001 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
8002 | # When using ansi2knr, U may be empty or an underscore; expand it | |
8003 | U=`sed -n 's/^U = //p' < "$mf"` | |
8135 | 8004 | # Find all dependency output files, they are included files with |
8136 | 8005 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
8137 | 8006 | # simplest approach to changing $(DEPDIR) to its actual value in the |
8138 | 8007 | # expansion. |
8139 | 8008 | for file in `sed -n " |
8140 | 8009 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
8141 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
8010 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
8142 | 8011 | # Make sure the directory exists. |
8143 | 8012 | test -f "$dirpart/$file" && continue |
8144 | 8013 | fdir=`$as_dirname -- "$file" || |
0 | 0 | dnl Process this file with aclocal, autoconf and automake. |
1 | 1 | |
2 | AC_INIT([dillo], [3.0.4.1]) | |
2 | AC_INIT([dillo], [3.0.5-rc1]) | |
3 | 3 | |
4 | 4 | dnl Detect the canonical target build environment |
5 | 5 | AC_CANONICAL_TARGET |
111 | 111 | dnl |
112 | 112 | dnl For debugging and to be user friendly |
113 | 113 | AC_MSG_CHECKING([FLTK 1.3]) |
114 | fltk_version="`fltk-config --version 2>/dev/null`" | |
114 | AC_PATH_PROG(FLTK_CONFIG,fltk-config) | |
115 | fltk_version="`$FLTK_CONFIG --version 2>/dev/null`" | |
115 | 116 | case $fltk_version in |
116 | 117 | 1.3.*) AC_MSG_RESULT(yes) |
117 | LIBFLTK_CXXFLAGS=`fltk-config --cxxflags` | |
118 | LIBFLTK_CFLAGS=`fltk-config --cflags` | |
119 | LIBFLTK_LIBS=`fltk-config --ldflags`;; | |
118 | LIBFLTK_CXXFLAGS=`$FLTK_CONFIG --cxxflags` | |
119 | LIBFLTK_CFLAGS=`$FLTK_CONFIG --cflags` | |
120 | LIBFLTK_LIBS=`$FLTK_CONFIG --ldflags`;; | |
120 | 121 | ?*) AC_MSG_RESULT(no) |
121 | 122 | AC_MSG_ERROR(FLTK 1.3 required; version found: $fltk_version);; |
122 | 123 | *) AC_MSG_RESULT(no) |
207 | 208 | |
208 | 209 | dnl Check if the user hasn't set the variable $PNG_CONFIG |
209 | 210 | if test -z "$PNG_CONFIG"; then |
210 | PNG_CONFIG=`which libpng14-config` | |
211 | PNG_CONFIG=`which libpng16-config` | |
212 | if test -z "$PNG_CONFIG"; then | |
213 | PNG_CONFIG=`which libpng14-config` | |
214 | fi | |
211 | 215 | if test -z "$PNG_CONFIG"; then |
212 | 216 | PNG_CONFIG=`which libpng12-config` |
213 | 217 | fi |
233 | 237 | AC_MSG_CHECKING([for libpng version]) |
234 | 238 | png_version=`$PNG_CONFIG --version` |
235 | 239 | case $png_version in |
236 | 1.[[024]].*) AC_MSG_RESULT([$png_version]) ;; | |
240 | 1.[[0246]].*) AC_MSG_RESULT([$png_version]) ;; | |
237 | 241 | *) AC_MSG_RESULT([$png_version (unrecognised version)]) ;; |
238 | 242 | esac |
239 | 243 |
0 | 0 | #! /bin/sh |
1 | 1 | # depcomp - compile a program generating dependencies as side-effects |
2 | 2 | |
3 | scriptversion=2013-05-30.07; # UTC | |
4 | ||
5 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | |
3 | scriptversion=2012-03-27.16; # UTC | |
4 | ||
5 | # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010, | |
6 | # 2011, 2012 Free Software Foundation, Inc. | |
6 | 7 | |
7 | 8 | # This program is free software; you can redistribute it and/or modify |
8 | 9 | # it under the terms of the GNU General Public License as published by |
26 | 27 | |
27 | 28 | case $1 in |
28 | 29 | '') |
29 | echo "$0: No command. Try '$0 --help' for more information." 1>&2 | |
30 | exit 1; | |
31 | ;; | |
30 | echo "$0: No command. Try '$0 --help' for more information." 1>&2 | |
31 | exit 1; | |
32 | ;; | |
32 | 33 | -h | --h*) |
33 | 34 | cat <<\EOF |
34 | 35 | Usage: depcomp [--help] [--version] PROGRAM [ARGS] |
55 | 56 | ;; |
56 | 57 | esac |
57 | 58 | |
58 | # Get the directory component of the given path, and save it in the | |
59 | # global variables '$dir'. Note that this directory component will | |
60 | # be either empty or ending with a '/' character. This is deliberate. | |
61 | set_dir_from () | |
62 | { | |
63 | case $1 in | |
64 | */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; | |
65 | *) dir=;; | |
66 | esac | |
67 | } | |
68 | ||
69 | # Get the suffix-stripped basename of the given path, and save it the | |
70 | # global variable '$base'. | |
71 | set_base_from () | |
72 | { | |
73 | base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` | |
74 | } | |
75 | ||
76 | # If no dependency file was actually created by the compiler invocation, | |
77 | # we still have to create a dummy depfile, to avoid errors with the | |
78 | # Makefile "include basename.Plo" scheme. | |
79 | make_dummy_depfile () | |
80 | { | |
81 | echo "#dummy" > "$depfile" | |
82 | } | |
83 | ||
84 | # Factor out some common post-processing of the generated depfile. | |
85 | # Requires the auxiliary global variable '$tmpdepfile' to be set. | |
86 | aix_post_process_depfile () | |
87 | { | |
88 | # If the compiler actually managed to produce a dependency file, | |
89 | # post-process it. | |
90 | if test -f "$tmpdepfile"; then | |
91 | # Each line is of the form 'foo.o: dependency.h'. | |
92 | # Do two passes, one to just change these to | |
93 | # $object: dependency.h | |
94 | # and one to simply output | |
95 | # dependency.h: | |
96 | # which is needed to avoid the deleted-header problem. | |
97 | { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" | |
98 | sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" | |
99 | } > "$depfile" | |
100 | rm -f "$tmpdepfile" | |
101 | else | |
102 | make_dummy_depfile | |
103 | fi | |
104 | } | |
105 | ||
106 | 59 | # A tabulation character. |
107 | 60 | tab=' ' |
108 | 61 | # A newline character. |
109 | 62 | nl=' |
110 | 63 | ' |
111 | # Character ranges might be problematic outside the C locale. | |
112 | # These definitions help. | |
113 | upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ | |
114 | lower=abcdefghijklmnopqrstuvwxyz | |
115 | digits=0123456789 | |
116 | alpha=${upper}${lower} | |
117 | 64 | |
118 | 65 | if test -z "$depmode" || test -z "$source" || test -z "$object"; then |
119 | 66 | echo "depcomp: Variables source, object and depmode must be set" 1>&2 |
126 | 73 | tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} |
127 | 74 | |
128 | 75 | rm -f "$tmpdepfile" |
129 | ||
130 | # Avoid interferences from the environment. | |
131 | gccflag= dashmflag= | |
132 | 76 | |
133 | 77 | # Some modes work just like other modes, but use different flags. We |
134 | 78 | # parameterize here, but still list the modes in the big case below, |
141 | 85 | fi |
142 | 86 | |
143 | 87 | if test "$depmode" = dashXmstdout; then |
144 | # This is just like dashmstdout with a different argument. | |
145 | dashmflag=-xM | |
146 | depmode=dashmstdout | |
88 | # This is just like dashmstdout with a different argument. | |
89 | dashmflag=-xM | |
90 | depmode=dashmstdout | |
147 | 91 | fi |
148 | 92 | |
149 | 93 | cygpath_u="cygpath -u -f -" |
150 | 94 | if test "$depmode" = msvcmsys; then |
151 | # This is just like msvisualcpp but w/o cygpath translation. | |
152 | # Just convert the backslash-escaped backslashes to single forward | |
153 | # slashes to satisfy depend.m4 | |
154 | cygpath_u='sed s,\\\\,/,g' | |
155 | depmode=msvisualcpp | |
95 | # This is just like msvisualcpp but w/o cygpath translation. | |
96 | # Just convert the backslash-escaped backslashes to single forward | |
97 | # slashes to satisfy depend.m4 | |
98 | cygpath_u='sed s,\\\\,/,g' | |
99 | depmode=msvisualcpp | |
156 | 100 | fi |
157 | 101 | |
158 | 102 | if test "$depmode" = msvc7msys; then |
159 | # This is just like msvc7 but w/o cygpath translation. | |
160 | # Just convert the backslash-escaped backslashes to single forward | |
161 | # slashes to satisfy depend.m4 | |
162 | cygpath_u='sed s,\\\\,/,g' | |
163 | depmode=msvc7 | |
103 | # This is just like msvc7 but w/o cygpath translation. | |
104 | # Just convert the backslash-escaped backslashes to single forward | |
105 | # slashes to satisfy depend.m4 | |
106 | cygpath_u='sed s,\\\\,/,g' | |
107 | depmode=msvc7 | |
164 | 108 | fi |
165 | 109 | |
166 | 110 | if test "$depmode" = xlc; then |
167 | # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. | |
168 | gccflag=-qmakedep=gcc,-MF | |
169 | depmode=gcc | |
111 | # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency informations. | |
112 | gccflag=-qmakedep=gcc,-MF | |
113 | depmode=gcc | |
170 | 114 | fi |
171 | 115 | |
172 | 116 | case "$depmode" in |
189 | 133 | done |
190 | 134 | "$@" |
191 | 135 | stat=$? |
192 | if test $stat -ne 0; then | |
136 | if test $stat -eq 0; then : | |
137 | else | |
193 | 138 | rm -f "$tmpdepfile" |
194 | 139 | exit $stat |
195 | 140 | fi |
197 | 142 | ;; |
198 | 143 | |
199 | 144 | gcc) |
200 | ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. | |
201 | ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. | |
202 | ## (see the conditional assignment to $gccflag above). | |
203 | 145 | ## There are various ways to get dependency output from gcc. Here's |
204 | 146 | ## why we pick this rather obscure method: |
205 | 147 | ## - Don't want to use -MD because we'd like the dependencies to end |
206 | 148 | ## up in a subdir. Having to rename by hand is ugly. |
207 | 149 | ## (We might end up doing this anyway to support other compilers.) |
208 | 150 | ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like |
209 | ## -MM, not -M (despite what the docs say). Also, it might not be | |
210 | ## supported by the other compilers which use the 'gcc' depmode. | |
151 | ## -MM, not -M (despite what the docs say). | |
211 | 152 | ## - Using -M directly means running the compiler twice (even worse |
212 | 153 | ## than renaming). |
213 | 154 | if test -z "$gccflag"; then |
215 | 156 | fi |
216 | 157 | "$@" -Wp,"$gccflag$tmpdepfile" |
217 | 158 | stat=$? |
218 | if test $stat -ne 0; then | |
159 | if test $stat -eq 0; then : | |
160 | else | |
219 | 161 | rm -f "$tmpdepfile" |
220 | 162 | exit $stat |
221 | 163 | fi |
222 | 164 | rm -f "$depfile" |
223 | 165 | echo "$object : \\" > "$depfile" |
224 | # The second -e expression handles DOS-style file names with drive | |
225 | # letters. | |
166 | alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz | |
167 | ## The second -e expression handles DOS-style file names with drive letters. | |
226 | 168 | sed -e 's/^[^:]*: / /' \ |
227 | 169 | -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" |
228 | 170 | ## This next piece of magic avoids the "deleted header file" problem. |
231 | 173 | ## typically no way to rebuild the header). We avoid this by adding |
232 | 174 | ## dummy dependencies for each header file. Too bad gcc doesn't do |
233 | 175 | ## this for us directly. |
176 | tr ' ' "$nl" < "$tmpdepfile" | | |
234 | 177 | ## Some versions of gcc put a space before the ':'. On the theory |
235 | 178 | ## that the space means something, we add a space to the output as |
236 | 179 | ## well. hp depmode also adds that space, but also prefixes the VPATH |
237 | 180 | ## to the object. Take care to not repeat it in the output. |
238 | 181 | ## Some versions of the HPUX 10.20 sed can't process this invocation |
239 | 182 | ## correctly. Breaking it into two sed invocations is a workaround. |
240 | tr ' ' "$nl" < "$tmpdepfile" \ | |
241 | | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | |
242 | | sed -e 's/$/ :/' >> "$depfile" | |
183 | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | |
184 | | sed -e 's/$/ :/' >> "$depfile" | |
243 | 185 | rm -f "$tmpdepfile" |
244 | 186 | ;; |
245 | 187 | |
257 | 199 | "$@" -MDupdate "$tmpdepfile" |
258 | 200 | fi |
259 | 201 | stat=$? |
260 | if test $stat -ne 0; then | |
202 | if test $stat -eq 0; then : | |
203 | else | |
261 | 204 | rm -f "$tmpdepfile" |
262 | 205 | exit $stat |
263 | 206 | fi |
265 | 208 | |
266 | 209 | if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files |
267 | 210 | echo "$object : \\" > "$depfile" |
211 | ||
268 | 212 | # Clip off the initial element (the dependent). Don't try to be |
269 | 213 | # clever and replace this with sed code, as IRIX sed won't handle |
270 | 214 | # lines with more than a fixed number of characters (4096 in |
272 | 216 | # the IRIX cc adds comments like '#:fec' to the end of the |
273 | 217 | # dependency line. |
274 | 218 | tr ' ' "$nl" < "$tmpdepfile" \ |
275 | | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ | |
276 | | tr "$nl" ' ' >> "$depfile" | |
219 | | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ | |
220 | tr "$nl" ' ' >> "$depfile" | |
277 | 221 | echo >> "$depfile" |
222 | ||
278 | 223 | # The second pass generates a dummy entry for each header file. |
279 | 224 | tr ' ' "$nl" < "$tmpdepfile" \ |
280 | | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ | |
281 | >> "$depfile" | |
282 | else | |
283 | make_dummy_depfile | |
225 | | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ | |
226 | >> "$depfile" | |
227 | else | |
228 | # The sourcefile does not contain any dependencies, so just | |
229 | # store a dummy comment line, to avoid errors with the Makefile | |
230 | # "include basename.Plo" scheme. | |
231 | echo "#dummy" > "$depfile" | |
284 | 232 | fi |
285 | 233 | rm -f "$tmpdepfile" |
286 | 234 | ;; |
298 | 246 | # current directory. Also, the AIX compiler puts '$object:' at the |
299 | 247 | # start of each line; $object doesn't have directory information. |
300 | 248 | # Version 6 uses the directory in both cases. |
301 | set_dir_from "$object" | |
302 | set_base_from "$object" | |
249 | dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` | |
250 | test "x$dir" = "x$object" && dir= | |
251 | base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` | |
303 | 252 | if test "$libtool" = yes; then |
304 | 253 | tmpdepfile1=$dir$base.u |
305 | 254 | tmpdepfile2=$base.u |
312 | 261 | "$@" -M |
313 | 262 | fi |
314 | 263 | stat=$? |
315 | if test $stat -ne 0; then | |
264 | ||
265 | if test $stat -eq 0; then : | |
266 | else | |
316 | 267 | rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" |
317 | 268 | exit $stat |
318 | 269 | fi |
321 | 272 | do |
322 | 273 | test -f "$tmpdepfile" && break |
323 | 274 | done |
324 | aix_post_process_depfile | |
325 | ;; | |
326 | ||
327 | tcc) | |
328 | # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 | |
329 | # FIXME: That version still under development at the moment of writing. | |
330 | # Make that this statement remains true also for stable, released | |
331 | # versions. | |
332 | # It will wrap lines (doesn't matter whether long or short) with a | |
333 | # trailing '\', as in: | |
334 | # | |
335 | # foo.o : \ | |
336 | # foo.c \ | |
337 | # foo.h \ | |
338 | # | |
339 | # It will put a trailing '\' even on the last line, and will use leading | |
340 | # spaces rather than leading tabs (at least since its commit 0394caf7 | |
341 | # "Emit spaces for -MD"). | |
342 | "$@" -MD -MF "$tmpdepfile" | |
343 | stat=$? | |
344 | if test $stat -ne 0; then | |
345 | rm -f "$tmpdepfile" | |
346 | exit $stat | |
347 | fi | |
348 | rm -f "$depfile" | |
349 | # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. | |
350 | # We have to change lines of the first kind to '$object: \'. | |
351 | sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" | |
352 | # And for each line of the second kind, we have to emit a 'dep.h:' | |
353 | # dummy dependency, to avoid the deleted-header problem. | |
354 | sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" | |
275 | if test -f "$tmpdepfile"; then | |
276 | # Each line is of the form 'foo.o: dependent.h'. | |
277 | # Do two passes, one to just change these to | |
278 | # '$object: dependent.h' and one to simply 'dependent.h:'. | |
279 | sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" | |
280 | sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" | |
281 | else | |
282 | # The sourcefile does not contain any dependencies, so just | |
283 | # store a dummy comment line, to avoid errors with the Makefile | |
284 | # "include basename.Plo" scheme. | |
285 | echo "#dummy" > "$depfile" | |
286 | fi | |
355 | 287 | rm -f "$tmpdepfile" |
356 | 288 | ;; |
357 | 289 | |
358 | ## The order of this option in the case statement is important, since the | |
359 | ## shell code in configure will try each of these formats in the order | |
360 | ## listed in this file. A plain '-MD' option would be understood by many | |
361 | ## compilers, so we must ensure this comes after the gcc and icc options. | |
362 | pgcc) | |
363 | # Portland's C compiler understands '-MD'. | |
364 | # Will always output deps to 'file.d' where file is the root name of the | |
365 | # source file under compilation, even if file resides in a subdirectory. | |
366 | # The object file name does not affect the name of the '.d' file. | |
367 | # pgcc 10.2 will output | |
290 | icc) | |
291 | # Intel's C compiler anf tcc (Tiny C Compiler) understand '-MD -MF file'. | |
292 | # However on | |
293 | # $CC -MD -MF foo.d -c -o sub/foo.o sub/foo.c | |
294 | # ICC 7.0 will fill foo.d with something like | |
295 | # foo.o: sub/foo.c | |
296 | # foo.o: sub/foo.h | |
297 | # which is wrong. We want | |
298 | # sub/foo.o: sub/foo.c | |
299 | # sub/foo.o: sub/foo.h | |
300 | # sub/foo.c: | |
301 | # sub/foo.h: | |
302 | # ICC 7.1 will output | |
368 | 303 | # foo.o: sub/foo.c sub/foo.h |
369 | # and will wrap long lines using '\' : | |
304 | # and will wrap long lines using '\': | |
370 | 305 | # foo.o: sub/foo.c ... \ |
371 | 306 | # sub/foo.h ... \ |
372 | 307 | # ... |
373 | set_dir_from "$object" | |
374 | # Use the source, not the object, to determine the base name, since | |
375 | # that's sadly what pgcc will do too. | |
376 | set_base_from "$source" | |
377 | tmpdepfile=$base.d | |
378 | ||
379 | # For projects that build the same source file twice into different object | |
380 | # files, the pgcc approach of using the *source* file root name can cause | |
381 | # problems in parallel builds. Use a locking strategy to avoid stomping on | |
382 | # the same $tmpdepfile. | |
383 | lockdir=$base.d-lock | |
384 | trap " | |
385 | echo '$0: caught signal, cleaning up...' >&2 | |
386 | rmdir '$lockdir' | |
387 | exit 1 | |
388 | " 1 2 13 15 | |
389 | numtries=100 | |
390 | i=$numtries | |
391 | while test $i -gt 0; do | |
392 | # mkdir is a portable test-and-set. | |
393 | if mkdir "$lockdir" 2>/dev/null; then | |
394 | # This process acquired the lock. | |
395 | "$@" -MD | |
396 | stat=$? | |
397 | # Release the lock. | |
398 | rmdir "$lockdir" | |
399 | break | |
400 | else | |
401 | # If the lock is being held by a different process, wait | |
402 | # until the winning process is done or we timeout. | |
403 | while test -d "$lockdir" && test $i -gt 0; do | |
404 | sleep 1 | |
405 | i=`expr $i - 1` | |
406 | done | |
407 | fi | |
408 | i=`expr $i - 1` | |
409 | done | |
410 | trap - 1 2 13 15 | |
411 | if test $i -le 0; then | |
412 | echo "$0: failed to acquire lock after $numtries attempts" >&2 | |
413 | echo "$0: check lockdir '$lockdir'" >&2 | |
414 | exit 1 | |
415 | fi | |
416 | ||
417 | if test $stat -ne 0; then | |
308 | # tcc 0.9.26 (FIXME still under development at the moment of writing) | |
309 | # will emit a similar output, but also prepend the continuation lines | |
310 | # with horizontal tabulation characters. | |
311 | "$@" -MD -MF "$tmpdepfile" | |
312 | stat=$? | |
313 | if test $stat -eq 0; then : | |
314 | else | |
418 | 315 | rm -f "$tmpdepfile" |
419 | 316 | exit $stat |
420 | 317 | fi |
421 | 318 | rm -f "$depfile" |
422 | # Each line is of the form `foo.o: dependent.h', | |
423 | # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. | |
319 | # Each line is of the form 'foo.o: dependent.h', | |
320 | # or 'foo.o: dep1.h dep2.h \', or ' dep3.h dep4.h \'. | |
424 | 321 | # Do two passes, one to just change these to |
425 | # `$object: dependent.h' and one to simply `dependent.h:'. | |
426 | sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" | |
427 | # Some versions of the HPUX 10.20 sed can't process this invocation | |
428 | # correctly. Breaking it into two sed invocations is a workaround. | |
429 | sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ | |
430 | | sed -e 's/$/ :/' >> "$depfile" | |
322 | # '$object: dependent.h' and one to simply 'dependent.h:'. | |
323 | sed -e "s/^[ $tab][ $tab]*/ /" -e "s,^[^:]*:,$object :," \ | |
324 | < "$tmpdepfile" > "$depfile" | |
325 | sed ' | |
326 | s/[ '"$tab"'][ '"$tab"']*/ /g | |
327 | s/^ *// | |
328 | s/ *\\*$// | |
329 | s/^[^:]*: *// | |
330 | /^$/d | |
331 | /:$/d | |
332 | s/$/ :/ | |
333 | ' < "$tmpdepfile" >> "$depfile" | |
431 | 334 | rm -f "$tmpdepfile" |
432 | 335 | ;; |
433 | 336 | |
438 | 341 | # 'foo.d', which lands next to the object file, wherever that |
439 | 342 | # happens to be. |
440 | 343 | # Much of this is similar to the tru64 case; see comments there. |
441 | set_dir_from "$object" | |
442 | set_base_from "$object" | |
344 | dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` | |
345 | test "x$dir" = "x$object" && dir= | |
346 | base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` | |
443 | 347 | if test "$libtool" = yes; then |
444 | 348 | tmpdepfile1=$dir$base.d |
445 | 349 | tmpdepfile2=$dir.libs/$base.d |
450 | 354 | "$@" +Maked |
451 | 355 | fi |
452 | 356 | stat=$? |
453 | if test $stat -ne 0; then | |
357 | if test $stat -eq 0; then : | |
358 | else | |
454 | 359 | rm -f "$tmpdepfile1" "$tmpdepfile2" |
455 | 360 | exit $stat |
456 | 361 | fi |
460 | 365 | test -f "$tmpdepfile" && break |
461 | 366 | done |
462 | 367 | if test -f "$tmpdepfile"; then |
463 | sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" | |
368 | sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" | |
464 | 369 | # Add 'dependent.h:' lines. |
465 | 370 | sed -ne '2,${ |
466 | s/^ *// | |
467 | s/ \\*$// | |
468 | s/$/:/ | |
469 | p | |
470 | }' "$tmpdepfile" >> "$depfile" | |
471 | else | |
472 | make_dummy_depfile | |
371 | s/^ *// | |
372 | s/ \\*$// | |
373 | s/$/:/ | |
374 | p | |
375 | }' "$tmpdepfile" >> "$depfile" | |
376 | else | |
377 | echo "#dummy" > "$depfile" | |
473 | 378 | fi |
474 | 379 | rm -f "$tmpdepfile" "$tmpdepfile2" |
475 | 380 | ;; |
476 | 381 | |
477 | 382 | tru64) |
478 | # The Tru64 compiler uses -MD to generate dependencies as a side | |
479 | # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. | |
480 | # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put | |
481 | # dependencies in 'foo.d' instead, so we check for that too. | |
482 | # Subdirectories are respected. | |
483 | set_dir_from "$object" | |
484 | set_base_from "$object" | |
485 | ||
486 | if test "$libtool" = yes; then | |
487 | # Libtool generates 2 separate objects for the 2 libraries. These | |
488 | # two compilations output dependencies in $dir.libs/$base.o.d and | |
489 | # in $dir$base.o.d. We have to check for both files, because | |
490 | # one of the two compilations can be disabled. We should prefer | |
491 | # $dir$base.o.d over $dir.libs/$base.o.d because the latter is | |
492 | # automatically cleaned when .libs/ is deleted, while ignoring | |
493 | # the former would cause a distcleancheck panic. | |
494 | tmpdepfile1=$dir$base.o.d # libtool 1.5 | |
495 | tmpdepfile2=$dir.libs/$base.o.d # Likewise. | |
496 | tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 | |
497 | "$@" -Wc,-MD | |
498 | else | |
499 | tmpdepfile1=$dir$base.d | |
500 | tmpdepfile2=$dir$base.d | |
501 | tmpdepfile3=$dir$base.d | |
502 | "$@" -MD | |
503 | fi | |
504 | ||
505 | stat=$? | |
506 | if test $stat -ne 0; then | |
507 | rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" | |
508 | exit $stat | |
509 | fi | |
510 | ||
511 | for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" | |
512 | do | |
513 | test -f "$tmpdepfile" && break | |
514 | done | |
515 | # Same post-processing that is required for AIX mode. | |
516 | aix_post_process_depfile | |
517 | ;; | |
383 | # The Tru64 compiler uses -MD to generate dependencies as a side | |
384 | # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. | |
385 | # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put | |
386 | # dependencies in 'foo.d' instead, so we check for that too. | |
387 | # Subdirectories are respected. | |
388 | dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` | |
389 | test "x$dir" = "x$object" && dir= | |
390 | base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` | |
391 | ||
392 | if test "$libtool" = yes; then | |
393 | # With Tru64 cc, shared objects can also be used to make a | |
394 | # static library. This mechanism is used in libtool 1.4 series to | |
395 | # handle both shared and static libraries in a single compilation. | |
396 | # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. | |
397 | # | |
398 | # With libtool 1.5 this exception was removed, and libtool now | |
399 | # generates 2 separate objects for the 2 libraries. These two | |
400 | # compilations output dependencies in $dir.libs/$base.o.d and | |
401 | # in $dir$base.o.d. We have to check for both files, because | |
402 | # one of the two compilations can be disabled. We should prefer | |
403 | # $dir$base.o.d over $dir.libs/$base.o.d because the latter is | |
404 | # automatically cleaned when .libs/ is deleted, while ignoring | |
405 | # the former would cause a distcleancheck panic. | |
406 | tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 | |
407 | tmpdepfile2=$dir$base.o.d # libtool 1.5 | |
408 | tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 | |
409 | tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 | |
410 | "$@" -Wc,-MD | |
411 | else | |
412 | tmpdepfile1=$dir$base.o.d | |
413 | tmpdepfile2=$dir$base.d | |
414 | tmpdepfile3=$dir$base.d | |
415 | tmpdepfile4=$dir$base.d | |
416 | "$@" -MD | |
417 | fi | |
418 | ||
419 | stat=$? | |
420 | if test $stat -eq 0; then : | |
421 | else | |
422 | rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" | |
423 | exit $stat | |
424 | fi | |
425 | ||
426 | for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" | |
427 | do | |
428 | test -f "$tmpdepfile" && break | |
429 | done | |
430 | if test -f "$tmpdepfile"; then | |
431 | sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" | |
432 | sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" | |
433 | else | |
434 | echo "#dummy" > "$depfile" | |
435 | fi | |
436 | rm -f "$tmpdepfile" | |
437 | ;; | |
518 | 438 | |
519 | 439 | msvc7) |
520 | 440 | if test "$libtool" = yes; then |
525 | 445 | "$@" $showIncludes > "$tmpdepfile" |
526 | 446 | stat=$? |
527 | 447 | grep -v '^Note: including file: ' "$tmpdepfile" |
528 | if test $stat -ne 0; then | |
448 | if test "$stat" = 0; then : | |
449 | else | |
529 | 450 | rm -f "$tmpdepfile" |
530 | 451 | exit $stat |
531 | 452 | fi |
551 | 472 | G |
552 | 473 | p |
553 | 474 | }' >> "$depfile" |
554 | echo >> "$depfile" # make sure the fragment doesn't end with a backslash | |
555 | 475 | rm -f "$tmpdepfile" |
556 | 476 | ;; |
557 | 477 | |
603 | 523 | # in the target name. This is to cope with DOS-style filenames: |
604 | 524 | # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. |
605 | 525 | "$@" $dashmflag | |
606 | sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" | |
526 | sed 's:^['"$tab"' ]*[^:'"$tab"' ][^:][^:]*\:['"$tab"' ]*:'"$object"'\: :' > "$tmpdepfile" | |
607 | 527 | rm -f "$depfile" |
608 | 528 | cat < "$tmpdepfile" > "$depfile" |
609 | # Some versions of the HPUX 10.20 sed can't process this sed invocation | |
610 | # correctly. Breaking it into two sed invocations is a workaround. | |
611 | tr ' ' "$nl" < "$tmpdepfile" \ | |
612 | | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | |
613 | | sed -e 's/$/ :/' >> "$depfile" | |
529 | tr ' ' "$nl" < "$tmpdepfile" | \ | |
530 | ## Some versions of the HPUX 10.20 sed can't process this invocation | |
531 | ## correctly. Breaking it into two sed invocations is a workaround. | |
532 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" | |
614 | 533 | rm -f "$tmpdepfile" |
615 | 534 | ;; |
616 | 535 | |
663 | 582 | # makedepend may prepend the VPATH from the source file name to the object. |
664 | 583 | # No need to regex-escape $object, excess matching of '.' is harmless. |
665 | 584 | sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" |
666 | # Some versions of the HPUX 10.20 sed can't process the last invocation | |
667 | # correctly. Breaking it into two sed invocations is a workaround. | |
668 | sed '1,2d' "$tmpdepfile" \ | |
669 | | tr ' ' "$nl" \ | |
670 | | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | |
671 | | sed -e 's/$/ :/' >> "$depfile" | |
585 | sed '1,2d' "$tmpdepfile" | tr ' ' "$nl" | \ | |
586 | ## Some versions of the HPUX 10.20 sed can't process this invocation | |
587 | ## correctly. Breaking it into two sed invocations is a workaround. | |
588 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" | |
672 | 589 | rm -f "$tmpdepfile" "$tmpdepfile".bak |
673 | 590 | ;; |
674 | 591 | |
704 | 621 | esac |
705 | 622 | done |
706 | 623 | |
707 | "$@" -E \ | |
708 | | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | |
709 | -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | |
710 | | sed '$ s: \\$::' > "$tmpdepfile" | |
624 | "$@" -E | | |
625 | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | |
626 | -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | | |
627 | sed '$ s: \\$::' > "$tmpdepfile" | |
711 | 628 | rm -f "$depfile" |
712 | 629 | echo "$object : \\" > "$depfile" |
713 | 630 | cat < "$tmpdepfile" >> "$depfile" |
739 | 656 | shift |
740 | 657 | ;; |
741 | 658 | "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") |
742 | set fnord "$@" | |
743 | shift | |
744 | shift | |
745 | ;; | |
659 | set fnord "$@" | |
660 | shift | |
661 | shift | |
662 | ;; | |
746 | 663 | *) |
747 | set fnord "$@" "$arg" | |
748 | shift | |
749 | shift | |
750 | ;; | |
664 | set fnord "$@" "$arg" | |
665 | shift | |
666 | shift | |
667 | ;; | |
751 | 668 | esac |
752 | 669 | done |
753 | 670 | "$@" -E 2>/dev/null | |
20 | 20 | |
21 | 21 | # Change this if you want background images to be loaded initially. |
22 | 22 | # (While browsing, this can be changed from the tools/settings menu.) |
23 | #load_background_images=FALSE | |
23 | #load_background_images=NO | |
24 | 24 | |
25 | 25 | # Change this if you want to disable loading of CSS stylesheets initially. |
26 | 26 | # (While browsing, this can be changed from the tools/settings menu.) |
75 | 75 | # Show tooltip popups for HTML title attributes |
76 | 76 | #show_tooltip=YES |
77 | 77 | |
78 | # Set this to YES if you want to limit the word wrap width to the viewport | |
79 | # width (may be useful for iPAQ) | |
78 | # Set this to YES to limit the word wrap width to the viewport width | |
80 | 79 | #limit_text_width=NO |
81 | 80 | |
82 | 81 | |
157 | 156 | # You can enable multiple search_url strings at once and select from among |
158 | 157 | # them at runtime, with the first being the default. |
159 | 158 | # (the prefix serves to search from the Location Bar. e.g. "dd dillo image") |
160 | search_url="dd DuckDuckGo http://duckduckgo.com/lite/?kp=-1&q=%s" | |
159 | search_url="dd DuckDuckGo (https) https://duckduckgo.com/lite/?kp=-1&q=%s" | |
161 | 160 | search_url="Wikipedia http://www.wikipedia.org/w/index.php?search=%s&go=Go" |
162 | 161 | search_url="Free Dictionary http://www.thefreedictionary.com/%s" |
162 | search_url="Startpage (https) https://www.startpage.com/do/search?query=%s" | |
163 | 163 | search_url="Google http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=%s" |
164 | 164 | |
165 | 165 | # If set, dillo will ask web servers to send pages in this language. |
0 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.11.6 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | |
4 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
5 | 6 | # This Makefile.in is free software; the Free Software Foundation |
6 | 7 | # gives unlimited permission to copy and/or distribute it, |
7 | 8 | # with or without modifications, as long as this notice is preserved. |
14 | 15 | @SET_MAKE@ |
15 | 16 | |
16 | 17 | VPATH = @srcdir@ |
17 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | |
18 | am__make_running_with_option = \ | |
19 | case $${target_option-} in \ | |
20 | ?) ;; \ | |
21 | *) echo "am__make_running_with_option: internal error: invalid" \ | |
22 | "target option '$${target_option-}' specified" >&2; \ | |
23 | exit 1;; \ | |
24 | esac; \ | |
25 | has_opt=no; \ | |
26 | sane_makeflags=$$MAKEFLAGS; \ | |
27 | if $(am__is_gnu_make); then \ | |
28 | sane_makeflags=$$MFLAGS; \ | |
29 | else \ | |
18 | am__make_dryrun = \ | |
19 | { \ | |
20 | am__dry=no; \ | |
30 | 21 | case $$MAKEFLAGS in \ |
31 | 22 | *\\[\ \ ]*) \ |
32 | bs=\\; \ | |
33 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
34 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
23 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
24 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
25 | *) \ | |
26 | for am__flg in $$MAKEFLAGS; do \ | |
27 | case $$am__flg in \ | |
28 | *=*|--*) ;; \ | |
29 | *n*) am__dry=yes; break;; \ | |
30 | esac; \ | |
31 | done;; \ | |
35 | 32 | esac; \ |
36 | fi; \ | |
37 | skip_next=no; \ | |
38 | strip_trailopt () \ | |
39 | { \ | |
40 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
41 | }; \ | |
42 | for flg in $$sane_makeflags; do \ | |
43 | test $$skip_next = yes && { skip_next=no; continue; }; \ | |
44 | case $$flg in \ | |
45 | *=*|--*) continue;; \ | |
46 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
47 | -*I?*) strip_trailopt 'I';; \ | |
48 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
49 | -*O?*) strip_trailopt 'O';; \ | |
50 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
51 | -*l?*) strip_trailopt 'l';; \ | |
52 | -[dEDm]) skip_next=yes;; \ | |
53 | -[JT]) skip_next=yes;; \ | |
54 | esac; \ | |
55 | case $$flg in \ | |
56 | *$$target_option*) has_opt=yes; break;; \ | |
57 | esac; \ | |
58 | done; \ | |
59 | test $$has_opt = yes | |
60 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
61 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
33 | test $$am__dry = yes; \ | |
34 | } | |
62 | 35 | pkgdatadir = $(datadir)/@PACKAGE@ |
63 | 36 | pkgincludedir = $(includedir)/@PACKAGE@ |
64 | 37 | pkglibdir = $(libdir)/@PACKAGE@ |
79 | 52 | host_triplet = @host@ |
80 | 53 | target_triplet = @target@ |
81 | 54 | subdir = dlib |
82 | DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ | |
83 | $(top_srcdir)/depcomp | |
55 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | |
84 | 56 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
85 | 57 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
86 | 58 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
92 | 64 | LIBRARIES = $(noinst_LIBRARIES) |
93 | 65 | AR = ar |
94 | 66 | ARFLAGS = cru |
95 | AM_V_AR = $(am__v_AR_@AM_V@) | |
96 | am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) | |
97 | am__v_AR_0 = @echo " AR " $@; | |
98 | am__v_AR_1 = | |
99 | 67 | libDlib_a_AR = $(AR) $(ARFLAGS) |
100 | 68 | libDlib_a_LIBADD = |
101 | 69 | am_libDlib_a_OBJECTS = dlib.$(OBJEXT) |
102 | 70 | libDlib_a_OBJECTS = $(am_libDlib_a_OBJECTS) |
103 | AM_V_P = $(am__v_P_@AM_V@) | |
104 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
105 | am__v_P_0 = false | |
106 | am__v_P_1 = : | |
107 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
108 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
109 | am__v_GEN_0 = @echo " GEN " $@; | |
110 | am__v_GEN_1 = | |
111 | AM_V_at = $(am__v_at_@AM_V@) | |
112 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
113 | am__v_at_0 = @ | |
114 | am__v_at_1 = | |
115 | 71 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
116 | 72 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
117 | 73 | am__depfiles_maybe = depfiles |
118 | 74 | am__mv = mv -f |
119 | 75 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
120 | 76 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
121 | AM_V_CC = $(am__v_CC_@AM_V@) | |
122 | am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) | |
123 | am__v_CC_0 = @echo " CC " $@; | |
124 | am__v_CC_1 = | |
125 | 77 | CCLD = $(CC) |
126 | 78 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
127 | AM_V_CCLD = $(am__v_CCLD_@AM_V@) | |
128 | am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) | |
129 | am__v_CCLD_0 = @echo " CCLD " $@; | |
130 | am__v_CCLD_1 = | |
131 | 79 | SOURCES = $(libDlib_a_SOURCES) |
132 | 80 | DIST_SOURCES = $(libDlib_a_SOURCES) |
133 | 81 | am__can_run_installinfo = \ |
135 | 83 | n|no|NO) false;; \ |
136 | 84 | *) (install-info --version) >/dev/null 2>&1;; \ |
137 | 85 | esac |
138 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | |
139 | # Read a list of newline-separated strings from the standard input, | |
140 | # and print each of them once, without duplicates. Input order is | |
141 | # *not* preserved. | |
142 | am__uniquify_input = $(AWK) '\ | |
143 | BEGIN { nonempty = 0; } \ | |
144 | { items[$$0] = 1; nonempty = 1; } \ | |
145 | END { if (nonempty) { for (i in items) print i; }; } \ | |
146 | ' | |
147 | # Make sure the list of sources is unique. This is necessary because, | |
148 | # e.g., the same source file might be shared among _SOURCES variables | |
149 | # for different programs/libraries. | |
150 | am__define_uniq_tagged_files = \ | |
151 | list='$(am__tagged_files)'; \ | |
152 | unique=`for i in $$list; do \ | |
153 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
154 | done | $(am__uniquify_input)` | |
155 | 86 | ETAGS = etags |
156 | 87 | CTAGS = ctags |
157 | 88 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
158 | 89 | ACLOCAL = @ACLOCAL@ |
159 | 90 | AMTAR = @AMTAR@ |
160 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
161 | 91 | AUTOCONF = @AUTOCONF@ |
162 | 92 | AUTOHEADER = @AUTOHEADER@ |
163 | 93 | AUTOMAKE = @AUTOMAKE@ |
178 | 108 | ECHO_T = @ECHO_T@ |
179 | 109 | EGREP = @EGREP@ |
180 | 110 | EXEEXT = @EXEEXT@ |
111 | FLTK_CONFIG = @FLTK_CONFIG@ | |
181 | 112 | GREP = @GREP@ |
182 | 113 | INSTALL = @INSTALL@ |
183 | 114 | INSTALL_DATA = @INSTALL_DATA@ |
318 | 249 | |
319 | 250 | clean-noinstLIBRARIES: |
320 | 251 | -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) |
321 | ||
322 | 252 | libDlib.a: $(libDlib_a_OBJECTS) $(libDlib_a_DEPENDENCIES) $(EXTRA_libDlib_a_DEPENDENCIES) |
323 | $(AM_V_at)-rm -f libDlib.a | |
324 | $(AM_V_AR)$(libDlib_a_AR) libDlib.a $(libDlib_a_OBJECTS) $(libDlib_a_LIBADD) | |
325 | $(AM_V_at)$(RANLIB) libDlib.a | |
253 | -rm -f libDlib.a | |
254 | $(libDlib_a_AR) libDlib.a $(libDlib_a_OBJECTS) $(libDlib_a_LIBADD) | |
255 | $(RANLIB) libDlib.a | |
326 | 256 | |
327 | 257 | mostlyclean-compile: |
328 | 258 | -rm -f *.$(OBJEXT) |
333 | 263 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlib.Po@am__quote@ |
334 | 264 | |
335 | 265 | .c.o: |
336 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
337 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
338 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
266 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
267 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
268 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
339 | 269 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
340 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< | |
270 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | |
341 | 271 | |
342 | 272 | .c.obj: |
343 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
344 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
345 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
273 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
274 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
275 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
346 | 276 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
347 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
348 | ||
349 | ID: $(am__tagged_files) | |
350 | $(am__define_uniq_tagged_files); mkid -fID $$unique | |
351 | tags: tags-am | |
352 | TAGS: tags | |
353 | ||
354 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
277 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | |
278 | ||
279 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
280 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
281 | unique=`for i in $$list; do \ | |
282 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
283 | done | \ | |
284 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
285 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
286 | mkid -fID $$unique | |
287 | tags: TAGS | |
288 | ||
289 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
290 | $(TAGS_FILES) $(LISP) | |
355 | 291 | set x; \ |
356 | 292 | here=`pwd`; \ |
357 | $(am__define_uniq_tagged_files); \ | |
293 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
294 | unique=`for i in $$list; do \ | |
295 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
296 | done | \ | |
297 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
298 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
358 | 299 | shift; \ |
359 | 300 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
360 | 301 | test -n "$$unique" || unique=$$empty_fix; \ |
366 | 307 | $$unique; \ |
367 | 308 | fi; \ |
368 | 309 | fi |
369 | ctags: ctags-am | |
370 | ||
371 | CTAGS: ctags | |
372 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
373 | $(am__define_uniq_tagged_files); \ | |
310 | ctags: CTAGS | |
311 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
312 | $(TAGS_FILES) $(LISP) | |
313 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
314 | unique=`for i in $$list; do \ | |
315 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
316 | done | \ | |
317 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
318 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
374 | 319 | test -z "$(CTAGS_ARGS)$$unique" \ |
375 | 320 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
376 | 321 | $$unique |
379 | 324 | here=`$(am__cd) $(top_builddir) && pwd` \ |
380 | 325 | && $(am__cd) $(top_srcdir) \ |
381 | 326 | && gtags -i $(GTAGS_ARGS) "$$here" |
382 | cscopelist: cscopelist-am | |
383 | ||
384 | cscopelist-am: $(am__tagged_files) | |
385 | list='$(am__tagged_files)'; \ | |
386 | case "$(srcdir)" in \ | |
387 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
388 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
389 | esac; \ | |
390 | for i in $$list; do \ | |
391 | if test -f "$$i"; then \ | |
392 | echo "$(subdir)/$$i"; \ | |
393 | else \ | |
394 | echo "$$sdir/$$i"; \ | |
395 | fi; \ | |
396 | done >> $(top_builddir)/cscope.files | |
397 | 327 | |
398 | 328 | distclean-tags: |
399 | 329 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
533 | 463 | |
534 | 464 | .MAKE: install-am install-strip |
535 | 465 | |
536 | .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ | |
537 | clean-noinstLIBRARIES cscopelist-am ctags ctags-am distclean \ | |
538 | distclean-compile distclean-generic distclean-tags distdir dvi \ | |
539 | dvi-am html html-am info info-am install install-am \ | |
540 | install-data install-data-am install-dvi install-dvi-am \ | |
541 | install-exec install-exec-am install-html install-html-am \ | |
542 | install-info install-info-am install-man install-pdf \ | |
543 | install-pdf-am install-ps install-ps-am install-strip \ | |
544 | installcheck installcheck-am installdirs maintainer-clean \ | |
466 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | |
467 | clean-noinstLIBRARIES ctags distclean distclean-compile \ | |
468 | distclean-generic distclean-tags distdir dvi dvi-am html \ | |
469 | html-am info info-am install install-am install-data \ | |
470 | install-data-am install-dvi install-dvi-am install-exec \ | |
471 | install-exec-am install-html install-html-am install-info \ | |
472 | install-info-am install-man install-pdf install-pdf-am \ | |
473 | install-ps install-ps-am install-strip installcheck \ | |
474 | installcheck-am installdirs maintainer-clean \ | |
545 | 475 | maintainer-clean-generic mostlyclean mostlyclean-compile \ |
546 | mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ | |
476 | mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ | |
547 | 477 | uninstall-am |
548 | 478 | |
549 | 479 |
405 | 405 | va_copy(argp2, argp); |
406 | 406 | n = vsnprintf(ds->str + ds->len, ds->sz - ds->len, format, argp2); |
407 | 407 | va_end(argp2); |
408 | #if defined(__sgi) | |
409 | /* IRIX does not conform to C99; if the entire argument did not fit | |
410 | * into the buffer, n = buffer space used (minus 1 for terminator) | |
411 | */ | |
412 | if (n > -1 && n + 1 < ds->sz - ds->len) { | |
413 | ds->len += n; /* Success! */ | |
414 | break; | |
415 | } else { | |
416 | n_sz = ds->sz * 2; | |
417 | } | |
418 | #else | |
408 | 419 | if (n > -1 && n < ds->sz - ds->len) { |
409 | 420 | ds->len += n; /* Success! */ |
410 | 421 | break; |
413 | 424 | } else { /* old glibc */ |
414 | 425 | n_sz = ds->sz * 2; |
415 | 426 | } |
427 | #endif | |
416 | 428 | dStr_resize(ds, n_sz, (ds->len > 0) ? 1 : 0); |
417 | 429 | } |
418 | 430 | } |
284 | 284 | Debugging a dpi |
285 | 285 | --------------- |
286 | 286 | |
287 | The simplest way is to add printf() feedback using the MSG* | |
287 | The simplest way is to add printf-like feedback using the MSG* | |
288 | 288 | macros. You can start the dpid by hand on a terminal to force |
289 | messages to go there. | |
289 | messages to go there. Filter dpis use sdterr and server dpis | |
290 | stdout. | |
290 | 291 | |
291 | 292 | Sometimes more complex dpis need more than MSG*. In this case |
292 | 293 | you can use gdb like this. |
0 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.11.6 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | |
4 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
5 | 6 | # This Makefile.in is free software; the Free Software Foundation |
6 | 7 | # gives unlimited permission to copy and/or distribute it, |
7 | 8 | # with or without modifications, as long as this notice is preserved. |
14 | 15 | @SET_MAKE@ |
15 | 16 | |
16 | 17 | VPATH = @srcdir@ |
17 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | |
18 | am__make_running_with_option = \ | |
19 | case $${target_option-} in \ | |
20 | ?) ;; \ | |
21 | *) echo "am__make_running_with_option: internal error: invalid" \ | |
22 | "target option '$${target_option-}' specified" >&2; \ | |
23 | exit 1;; \ | |
24 | esac; \ | |
25 | has_opt=no; \ | |
26 | sane_makeflags=$$MAKEFLAGS; \ | |
27 | if $(am__is_gnu_make); then \ | |
28 | sane_makeflags=$$MFLAGS; \ | |
29 | else \ | |
18 | am__make_dryrun = \ | |
19 | { \ | |
20 | am__dry=no; \ | |
30 | 21 | case $$MAKEFLAGS in \ |
31 | 22 | *\\[\ \ ]*) \ |
32 | bs=\\; \ | |
33 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
34 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
23 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
24 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
25 | *) \ | |
26 | for am__flg in $$MAKEFLAGS; do \ | |
27 | case $$am__flg in \ | |
28 | *=*|--*) ;; \ | |
29 | *n*) am__dry=yes; break;; \ | |
30 | esac; \ | |
31 | done;; \ | |
35 | 32 | esac; \ |
36 | fi; \ | |
37 | skip_next=no; \ | |
38 | strip_trailopt () \ | |
39 | { \ | |
40 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
41 | }; \ | |
42 | for flg in $$sane_makeflags; do \ | |
43 | test $$skip_next = yes && { skip_next=no; continue; }; \ | |
44 | case $$flg in \ | |
45 | *=*|--*) continue;; \ | |
46 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
47 | -*I?*) strip_trailopt 'I';; \ | |
48 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
49 | -*O?*) strip_trailopt 'O';; \ | |
50 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
51 | -*l?*) strip_trailopt 'l';; \ | |
52 | -[dEDm]) skip_next=yes;; \ | |
53 | -[JT]) skip_next=yes;; \ | |
54 | esac; \ | |
55 | case $$flg in \ | |
56 | *$$target_option*) has_opt=yes; break;; \ | |
57 | esac; \ | |
58 | done; \ | |
59 | test $$has_opt = yes | |
60 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
61 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
33 | test $$am__dry = yes; \ | |
34 | } | |
62 | 35 | pkgdatadir = $(datadir)/@PACKAGE@ |
63 | 36 | pkgincludedir = $(includedir)/@PACKAGE@ |
64 | 37 | pkglibdir = $(libdir)/@PACKAGE@ |
79 | 52 | host_triplet = @host@ |
80 | 53 | target_triplet = @target@ |
81 | 54 | subdir = doc |
82 | DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ | |
83 | $(dist_doc_DATA) README | |
55 | DIST_COMMON = README $(dist_doc_DATA) $(srcdir)/Makefile.am \ | |
56 | $(srcdir)/Makefile.in | |
84 | 57 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
85 | 58 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
86 | 59 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
89 | 62 | CONFIG_HEADER = $(top_builddir)/config.h |
90 | 63 | CONFIG_CLEAN_FILES = |
91 | 64 | CONFIG_CLEAN_VPATH_FILES = |
92 | AM_V_P = $(am__v_P_@AM_V@) | |
93 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
94 | am__v_P_0 = false | |
95 | am__v_P_1 = : | |
96 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
97 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
98 | am__v_GEN_0 = @echo " GEN " $@; | |
99 | am__v_GEN_1 = | |
100 | AM_V_at = $(am__v_at_@AM_V@) | |
101 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
102 | am__v_at_0 = @ | |
103 | am__v_at_1 = | |
104 | 65 | SOURCES = |
105 | 66 | DIST_SOURCES = |
106 | 67 | am__can_run_installinfo = \ |
140 | 101 | NROFF = nroff |
141 | 102 | MANS = $(man_MANS) |
142 | 103 | DATA = $(dist_doc_DATA) |
143 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | |
144 | 104 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
145 | 105 | ACLOCAL = @ACLOCAL@ |
146 | 106 | AMTAR = @AMTAR@ |
147 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
148 | 107 | AUTOCONF = @AUTOCONF@ |
149 | 108 | AUTOHEADER = @AUTOHEADER@ |
150 | 109 | AUTOMAKE = @AUTOMAKE@ |
165 | 124 | ECHO_T = @ECHO_T@ |
166 | 125 | EGREP = @EGREP@ |
167 | 126 | EXEEXT = @EXEEXT@ |
127 | FLTK_CONFIG = @FLTK_CONFIG@ | |
168 | 128 | GREP = @GREP@ |
169 | 129 | INSTALL = @INSTALL@ |
170 | 130 | INSTALL_DATA = @INSTALL_DATA@ |
402 | 362 | @list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \ |
403 | 363 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ |
404 | 364 | dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir) |
405 | tags TAGS: | |
406 | ||
407 | ctags CTAGS: | |
408 | ||
409 | cscope cscopelist: | |
365 | tags: TAGS | |
366 | TAGS: | |
367 | ||
368 | ctags: CTAGS | |
369 | CTAGS: | |
410 | 370 | |
411 | 371 | |
412 | 372 | distdir: $(DISTFILES) |
373 | @list='$(MANS)'; if test -n "$$list"; then \ | |
374 | list=`for p in $$list; do \ | |
375 | if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ | |
376 | if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ | |
377 | if test -n "$$list" && \ | |
378 | grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ | |
379 | echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \ | |
380 | grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ | |
381 | echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ | |
382 | echo " typically \`make maintainer-clean' will remove them" >&2; \ | |
383 | exit 1; \ | |
384 | else :; fi; \ | |
385 | else :; fi | |
413 | 386 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
414 | 387 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
415 | 388 | list='$(DISTFILES)'; \ |
546 | 519 | |
547 | 520 | .MAKE: install-am install-strip |
548 | 521 | |
549 | .PHONY: all all-am check check-am clean clean-generic cscopelist-am \ | |
550 | ctags-am distclean distclean-generic distdir dvi dvi-am html \ | |
551 | html-am info info-am install install-am install-data \ | |
552 | install-data-am install-dist_docDATA install-dvi \ | |
553 | install-dvi-am install-exec install-exec-am install-html \ | |
554 | install-html-am install-info install-info-am install-man \ | |
555 | install-man1 install-pdf install-pdf-am install-ps \ | |
556 | install-ps-am install-strip installcheck installcheck-am \ | |
557 | installdirs maintainer-clean maintainer-clean-generic \ | |
558 | mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \ | |
559 | uninstall uninstall-am uninstall-dist_docDATA uninstall-man \ | |
560 | uninstall-man1 | |
522 | .PHONY: all all-am check check-am clean clean-generic distclean \ | |
523 | distclean-generic distdir dvi dvi-am html html-am info info-am \ | |
524 | install install-am install-data install-data-am \ | |
525 | install-dist_docDATA install-dvi install-dvi-am install-exec \ | |
526 | install-exec-am install-html install-html-am install-info \ | |
527 | install-info-am install-man install-man1 install-pdf \ | |
528 | install-pdf-am install-ps install-ps-am install-strip \ | |
529 | installcheck installcheck-am installdirs maintainer-clean \ | |
530 | maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ | |
531 | pdf-am ps ps-am uninstall uninstall-am uninstall-dist_docDATA \ | |
532 | uninstall-man uninstall-man1 | |
561 | 533 | |
562 | 534 | |
563 | 535 | dillo.1: $(srcdir)/dillo.1.in Makefile |
313 | 313 | <p> |
314 | 314 | Example, in dillorc:<br> |
315 | 315 | <blockquote> |
316 | <code>search_url="dd Duckduckgo http://duckduckgo.com/lite/?kp=-1&q=%s"</code> | |
316 | <code>search_url="dd Duckduckgo http://duckduckgo.com/lite/?kp=-1&q=%s"</code> | |
317 | 317 | </blockquote> |
318 | 318 | means you can reach the location bar (CTRL+L), then type: |
319 | 319 | <blockquote> |
0 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.11.6 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | |
4 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
5 | 6 | # This Makefile.in is free software; the Free Software Foundation |
6 | 7 | # gives unlimited permission to copy and/or distribute it, |
7 | 8 | # with or without modifications, as long as this notice is preserved. |
14 | 15 | @SET_MAKE@ |
15 | 16 | |
16 | 17 | VPATH = @srcdir@ |
17 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | |
18 | am__make_running_with_option = \ | |
19 | case $${target_option-} in \ | |
20 | ?) ;; \ | |
21 | *) echo "am__make_running_with_option: internal error: invalid" \ | |
22 | "target option '$${target_option-}' specified" >&2; \ | |
23 | exit 1;; \ | |
24 | esac; \ | |
25 | has_opt=no; \ | |
26 | sane_makeflags=$$MAKEFLAGS; \ | |
27 | if $(am__is_gnu_make); then \ | |
28 | sane_makeflags=$$MFLAGS; \ | |
29 | else \ | |
18 | am__make_dryrun = \ | |
19 | { \ | |
20 | am__dry=no; \ | |
30 | 21 | case $$MAKEFLAGS in \ |
31 | 22 | *\\[\ \ ]*) \ |
32 | bs=\\; \ | |
33 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
34 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
23 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
24 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
25 | *) \ | |
26 | for am__flg in $$MAKEFLAGS; do \ | |
27 | case $$am__flg in \ | |
28 | *=*|--*) ;; \ | |
29 | *n*) am__dry=yes; break;; \ | |
30 | esac; \ | |
31 | done;; \ | |
35 | 32 | esac; \ |
36 | fi; \ | |
37 | skip_next=no; \ | |
38 | strip_trailopt () \ | |
39 | { \ | |
40 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
41 | }; \ | |
42 | for flg in $$sane_makeflags; do \ | |
43 | test $$skip_next = yes && { skip_next=no; continue; }; \ | |
44 | case $$flg in \ | |
45 | *=*|--*) continue;; \ | |
46 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
47 | -*I?*) strip_trailopt 'I';; \ | |
48 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
49 | -*O?*) strip_trailopt 'O';; \ | |
50 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
51 | -*l?*) strip_trailopt 'l';; \ | |
52 | -[dEDm]) skip_next=yes;; \ | |
53 | -[JT]) skip_next=yes;; \ | |
54 | esac; \ | |
55 | case $$flg in \ | |
56 | *$$target_option*) has_opt=yes; break;; \ | |
57 | esac; \ | |
58 | done; \ | |
59 | test $$has_opt = yes | |
60 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
61 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
33 | test $$am__dry = yes; \ | |
34 | } | |
62 | 35 | pkgdatadir = $(datadir)/@PACKAGE@ |
63 | 36 | pkgincludedir = $(includedir)/@PACKAGE@ |
64 | 37 | pkglibdir = $(libdir)/@PACKAGE@ |
88 | 61 | cookies_PROGRAMS = cookies.dpi$(EXEEXT) |
89 | 62 | datauri_PROGRAMS = datauri.filter.dpi$(EXEEXT) |
90 | 63 | subdir = dpi |
91 | DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ | |
92 | $(top_srcdir)/depcomp | |
64 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | |
93 | 65 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
94 | 66 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
95 | 67 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
146 | 118 | vsource_filter_dpi_OBJECTS = $(am_vsource_filter_dpi_OBJECTS) |
147 | 119 | vsource_filter_dpi_DEPENDENCIES = $(top_builddir)/dpip/libDpip.a \ |
148 | 120 | $(top_builddir)/dlib/libDlib.a |
149 | AM_V_P = $(am__v_P_@AM_V@) | |
150 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
151 | am__v_P_0 = false | |
152 | am__v_P_1 = : | |
153 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
154 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
155 | am__v_GEN_0 = @echo " GEN " $@; | |
156 | am__v_GEN_1 = | |
157 | AM_V_at = $(am__v_at_@AM_V@) | |
158 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
159 | am__v_at_0 = @ | |
160 | am__v_at_1 = | |
161 | 121 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
162 | 122 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
163 | 123 | am__depfiles_maybe = depfiles |
164 | 124 | am__mv = mv -f |
165 | 125 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
166 | 126 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
167 | AM_V_CC = $(am__v_CC_@AM_V@) | |
168 | am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) | |
169 | am__v_CC_0 = @echo " CC " $@; | |
170 | am__v_CC_1 = | |
171 | 127 | CCLD = $(CC) |
172 | 128 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
173 | AM_V_CCLD = $(am__v_CCLD_@AM_V@) | |
174 | am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) | |
175 | am__v_CCLD_0 = @echo " CCLD " $@; | |
176 | am__v_CCLD_1 = | |
177 | AM_V_lt = $(am__v_lt_@AM_V@) | |
178 | am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) | |
179 | am__v_lt_0 = --silent | |
180 | am__v_lt_1 = | |
181 | 129 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
182 | 130 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) |
183 | AM_V_CXX = $(am__v_CXX_@AM_V@) | |
184 | am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) | |
185 | am__v_CXX_0 = @echo " CXX " $@; | |
186 | am__v_CXX_1 = | |
187 | 131 | CXXLD = $(CXX) |
188 | 132 | CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ |
189 | 133 | -o $@ |
190 | AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) | |
191 | am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) | |
192 | am__v_CXXLD_0 = @echo " CXXLD " $@; | |
193 | am__v_CXXLD_1 = | |
194 | 134 | SOURCES = $(bookmarks_dpi_SOURCES) $(cookies_dpi_SOURCES) \ |
195 | 135 | $(datauri_filter_dpi_SOURCES) $(downloads_dpi_SOURCES) \ |
196 | 136 | $(file_dpi_SOURCES) $(ftp_filter_dpi_SOURCES) \ |
206 | 146 | n|no|NO) false;; \ |
207 | 147 | *) (install-info --version) >/dev/null 2>&1;; \ |
208 | 148 | esac |
209 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | |
210 | # Read a list of newline-separated strings from the standard input, | |
211 | # and print each of them once, without duplicates. Input order is | |
212 | # *not* preserved. | |
213 | am__uniquify_input = $(AWK) '\ | |
214 | BEGIN { nonempty = 0; } \ | |
215 | { items[$$0] = 1; nonempty = 1; } \ | |
216 | END { if (nonempty) { for (i in items) print i; }; } \ | |
217 | ' | |
218 | # Make sure the list of sources is unique. This is necessary because, | |
219 | # e.g., the same source file might be shared among _SOURCES variables | |
220 | # for different programs/libraries. | |
221 | am__define_uniq_tagged_files = \ | |
222 | list='$(am__tagged_files)'; \ | |
223 | unique=`for i in $$list; do \ | |
224 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
225 | done | $(am__uniquify_input)` | |
226 | 149 | ETAGS = etags |
227 | 150 | CTAGS = ctags |
228 | 151 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
229 | 152 | ACLOCAL = @ACLOCAL@ |
230 | 153 | AMTAR = @AMTAR@ |
231 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
232 | 154 | AUTOCONF = @AUTOCONF@ |
233 | 155 | AUTOHEADER = @AUTOHEADER@ |
234 | 156 | AUTOMAKE = @AUTOMAKE@ |
249 | 171 | ECHO_T = @ECHO_T@ |
250 | 172 | EGREP = @EGREP@ |
251 | 173 | EXEEXT = @EXEEXT@ |
174 | FLTK_CONFIG = @FLTK_CONFIG@ | |
252 | 175 | GREP = @GREP@ |
253 | 176 | INSTALL = @INSTALL@ |
254 | 177 | INSTALL_DATA = @INSTALL_DATA@ |
445 | 368 | fi; \ |
446 | 369 | for p in $$list; do echo "$$p $$p"; done | \ |
447 | 370 | sed 's/$(EXEEXT)$$//' | \ |
448 | while read p p1; do if test -f $$p \ | |
449 | ; then echo "$$p"; echo "$$p"; else :; fi; \ | |
371 | while read p p1; do if test -f $$p; \ | |
372 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
450 | 373 | done | \ |
451 | sed -e 'p;s,.*/,,;n;h' \ | |
452 | -e 's|.*|.|' \ | |
374 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
453 | 375 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ |
454 | 376 | sed 'N;N;N;s,\n, ,g' | \ |
455 | 377 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ |
470 | 392 | @list='$(bookmarks_PROGRAMS)'; test -n "$(bookmarksdir)" || list=; \ |
471 | 393 | files=`for p in $$list; do echo "$$p"; done | \ |
472 | 394 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ |
473 | -e 's/$$/$(EXEEXT)/' \ | |
474 | `; \ | |
395 | -e 's/$$/$(EXEEXT)/' `; \ | |
475 | 396 | test -n "$$list" || exit 0; \ |
476 | 397 | echo " ( cd '$(DESTDIR)$(bookmarksdir)' && rm -f" $$files ")"; \ |
477 | 398 | cd "$(DESTDIR)$(bookmarksdir)" && rm -f $$files |
487 | 408 | fi; \ |
488 | 409 | for p in $$list; do echo "$$p $$p"; done | \ |
489 | 410 | sed 's/$(EXEEXT)$$//' | \ |
490 | while read p p1; do if test -f $$p \ | |
491 | ; then echo "$$p"; echo "$$p"; else :; fi; \ | |
411 | while read p p1; do if test -f $$p; \ | |
412 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
492 | 413 | done | \ |
493 | sed -e 'p;s,.*/,,;n;h' \ | |
494 | -e 's|.*|.|' \ | |
414 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
495 | 415 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ |
496 | 416 | sed 'N;N;N;s,\n, ,g' | \ |
497 | 417 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ |
512 | 432 | @list='$(cookies_PROGRAMS)'; test -n "$(cookiesdir)" || list=; \ |
513 | 433 | files=`for p in $$list; do echo "$$p"; done | \ |
514 | 434 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ |
515 | -e 's/$$/$(EXEEXT)/' \ | |
516 | `; \ | |
435 | -e 's/$$/$(EXEEXT)/' `; \ | |
517 | 436 | test -n "$$list" || exit 0; \ |
518 | 437 | echo " ( cd '$(DESTDIR)$(cookiesdir)' && rm -f" $$files ")"; \ |
519 | 438 | cd "$(DESTDIR)$(cookiesdir)" && rm -f $$files |
529 | 448 | fi; \ |
530 | 449 | for p in $$list; do echo "$$p $$p"; done | \ |
531 | 450 | sed 's/$(EXEEXT)$$//' | \ |
532 | while read p p1; do if test -f $$p \ | |
533 | ; then echo "$$p"; echo "$$p"; else :; fi; \ | |
451 | while read p p1; do if test -f $$p; \ | |
452 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
534 | 453 | done | \ |
535 | sed -e 'p;s,.*/,,;n;h' \ | |
536 | -e 's|.*|.|' \ | |
454 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
537 | 455 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ |
538 | 456 | sed 'N;N;N;s,\n, ,g' | \ |
539 | 457 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ |
554 | 472 | @list='$(datauri_PROGRAMS)'; test -n "$(datauridir)" || list=; \ |
555 | 473 | files=`for p in $$list; do echo "$$p"; done | \ |
556 | 474 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ |
557 | -e 's/$$/$(EXEEXT)/' \ | |
558 | `; \ | |
475 | -e 's/$$/$(EXEEXT)/' `; \ | |
559 | 476 | test -n "$$list" || exit 0; \ |
560 | 477 | echo " ( cd '$(DESTDIR)$(datauridir)' && rm -f" $$files ")"; \ |
561 | 478 | cd "$(DESTDIR)$(datauridir)" && rm -f $$files |
571 | 488 | fi; \ |
572 | 489 | for p in $$list; do echo "$$p $$p"; done | \ |
573 | 490 | sed 's/$(EXEEXT)$$//' | \ |
574 | while read p p1; do if test -f $$p \ | |
575 | ; then echo "$$p"; echo "$$p"; else :; fi; \ | |
491 | while read p p1; do if test -f $$p; \ | |
492 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
576 | 493 | done | \ |
577 | sed -e 'p;s,.*/,,;n;h' \ | |
578 | -e 's|.*|.|' \ | |
494 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
579 | 495 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ |
580 | 496 | sed 'N;N;N;s,\n, ,g' | \ |
581 | 497 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ |
596 | 512 | @list='$(downloads_PROGRAMS)'; test -n "$(downloadsdir)" || list=; \ |
597 | 513 | files=`for p in $$list; do echo "$$p"; done | \ |
598 | 514 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ |
599 | -e 's/$$/$(EXEEXT)/' \ | |
600 | `; \ | |
515 | -e 's/$$/$(EXEEXT)/' `; \ | |
601 | 516 | test -n "$$list" || exit 0; \ |
602 | 517 | echo " ( cd '$(DESTDIR)$(downloadsdir)' && rm -f" $$files ")"; \ |
603 | 518 | cd "$(DESTDIR)$(downloadsdir)" && rm -f $$files |
613 | 528 | fi; \ |
614 | 529 | for p in $$list; do echo "$$p $$p"; done | \ |
615 | 530 | sed 's/$(EXEEXT)$$//' | \ |
616 | while read p p1; do if test -f $$p \ | |
617 | ; then echo "$$p"; echo "$$p"; else :; fi; \ | |
531 | while read p p1; do if test -f $$p; \ | |
532 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
618 | 533 | done | \ |
619 | sed -e 'p;s,.*/,,;n;h' \ | |
620 | -e 's|.*|.|' \ | |
534 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
621 | 535 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ |
622 | 536 | sed 'N;N;N;s,\n, ,g' | \ |
623 | 537 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ |
638 | 552 | @list='$(file_PROGRAMS)'; test -n "$(filedir)" || list=; \ |
639 | 553 | files=`for p in $$list; do echo "$$p"; done | \ |
640 | 554 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ |
641 | -e 's/$$/$(EXEEXT)/' \ | |
642 | `; \ | |
555 | -e 's/$$/$(EXEEXT)/' `; \ | |
643 | 556 | test -n "$$list" || exit 0; \ |
644 | 557 | echo " ( cd '$(DESTDIR)$(filedir)' && rm -f" $$files ")"; \ |
645 | 558 | cd "$(DESTDIR)$(filedir)" && rm -f $$files |
655 | 568 | fi; \ |
656 | 569 | for p in $$list; do echo "$$p $$p"; done | \ |
657 | 570 | sed 's/$(EXEEXT)$$//' | \ |
658 | while read p p1; do if test -f $$p \ | |
659 | ; then echo "$$p"; echo "$$p"; else :; fi; \ | |
571 | while read p p1; do if test -f $$p; \ | |
572 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
660 | 573 | done | \ |
661 | sed -e 'p;s,.*/,,;n;h' \ | |
662 | -e 's|.*|.|' \ | |
574 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
663 | 575 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ |
664 | 576 | sed 'N;N;N;s,\n, ,g' | \ |
665 | 577 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ |
680 | 592 | @list='$(ftp_PROGRAMS)'; test -n "$(ftpdir)" || list=; \ |
681 | 593 | files=`for p in $$list; do echo "$$p"; done | \ |
682 | 594 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ |
683 | -e 's/$$/$(EXEEXT)/' \ | |
684 | `; \ | |
595 | -e 's/$$/$(EXEEXT)/' `; \ | |
685 | 596 | test -n "$$list" || exit 0; \ |
686 | 597 | echo " ( cd '$(DESTDIR)$(ftpdir)' && rm -f" $$files ")"; \ |
687 | 598 | cd "$(DESTDIR)$(ftpdir)" && rm -f $$files |
697 | 608 | fi; \ |
698 | 609 | for p in $$list; do echo "$$p $$p"; done | \ |
699 | 610 | sed 's/$(EXEEXT)$$//' | \ |
700 | while read p p1; do if test -f $$p \ | |
701 | ; then echo "$$p"; echo "$$p"; else :; fi; \ | |
611 | while read p p1; do if test -f $$p; \ | |
612 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
702 | 613 | done | \ |
703 | sed -e 'p;s,.*/,,;n;h' \ | |
704 | -e 's|.*|.|' \ | |
614 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
705 | 615 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ |
706 | 616 | sed 'N;N;N;s,\n, ,g' | \ |
707 | 617 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ |
722 | 632 | @list='$(hello_PROGRAMS)'; test -n "$(hellodir)" || list=; \ |
723 | 633 | files=`for p in $$list; do echo "$$p"; done | \ |
724 | 634 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ |
725 | -e 's/$$/$(EXEEXT)/' \ | |
726 | `; \ | |
635 | -e 's/$$/$(EXEEXT)/' `; \ | |
727 | 636 | test -n "$$list" || exit 0; \ |
728 | 637 | echo " ( cd '$(DESTDIR)$(hellodir)' && rm -f" $$files ")"; \ |
729 | 638 | cd "$(DESTDIR)$(hellodir)" && rm -f $$files |
739 | 648 | fi; \ |
740 | 649 | for p in $$list; do echo "$$p $$p"; done | \ |
741 | 650 | sed 's/$(EXEEXT)$$//' | \ |
742 | while read p p1; do if test -f $$p \ | |
743 | ; then echo "$$p"; echo "$$p"; else :; fi; \ | |
651 | while read p p1; do if test -f $$p; \ | |
652 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
744 | 653 | done | \ |
745 | sed -e 'p;s,.*/,,;n;h' \ | |
746 | -e 's|.*|.|' \ | |
654 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
747 | 655 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ |
748 | 656 | sed 'N;N;N;s,\n, ,g' | \ |
749 | 657 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ |
764 | 672 | @list='$(https_PROGRAMS)'; test -n "$(httpsdir)" || list=; \ |
765 | 673 | files=`for p in $$list; do echo "$$p"; done | \ |
766 | 674 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ |
767 | -e 's/$$/$(EXEEXT)/' \ | |
768 | `; \ | |
675 | -e 's/$$/$(EXEEXT)/' `; \ | |
769 | 676 | test -n "$$list" || exit 0; \ |
770 | 677 | echo " ( cd '$(DESTDIR)$(httpsdir)' && rm -f" $$files ")"; \ |
771 | 678 | cd "$(DESTDIR)$(httpsdir)" && rm -f $$files |
781 | 688 | fi; \ |
782 | 689 | for p in $$list; do echo "$$p $$p"; done | \ |
783 | 690 | sed 's/$(EXEEXT)$$//' | \ |
784 | while read p p1; do if test -f $$p \ | |
785 | ; then echo "$$p"; echo "$$p"; else :; fi; \ | |
691 | while read p p1; do if test -f $$p; \ | |
692 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
786 | 693 | done | \ |
787 | sed -e 'p;s,.*/,,;n;h' \ | |
788 | -e 's|.*|.|' \ | |
694 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
789 | 695 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ |
790 | 696 | sed 'N;N;N;s,\n, ,g' | \ |
791 | 697 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ |
806 | 712 | @list='$(vsource_PROGRAMS)'; test -n "$(vsourcedir)" || list=; \ |
807 | 713 | files=`for p in $$list; do echo "$$p"; done | \ |
808 | 714 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ |
809 | -e 's/$$/$(EXEEXT)/' \ | |
810 | `; \ | |
715 | -e 's/$$/$(EXEEXT)/' `; \ | |
811 | 716 | test -n "$$list" || exit 0; \ |
812 | 717 | echo " ( cd '$(DESTDIR)$(vsourcedir)' && rm -f" $$files ")"; \ |
813 | 718 | cd "$(DESTDIR)$(vsourcedir)" && rm -f $$files |
814 | 719 | |
815 | 720 | clean-vsourcePROGRAMS: |
816 | 721 | -test -z "$(vsource_PROGRAMS)" || rm -f $(vsource_PROGRAMS) |
817 | ||
818 | 722 | bookmarks.dpi$(EXEEXT): $(bookmarks_dpi_OBJECTS) $(bookmarks_dpi_DEPENDENCIES) $(EXTRA_bookmarks_dpi_DEPENDENCIES) |
819 | 723 | @rm -f bookmarks.dpi$(EXEEXT) |
820 | $(AM_V_CCLD)$(LINK) $(bookmarks_dpi_OBJECTS) $(bookmarks_dpi_LDADD) $(LIBS) | |
821 | ||
724 | $(LINK) $(bookmarks_dpi_OBJECTS) $(bookmarks_dpi_LDADD) $(LIBS) | |
822 | 725 | cookies.dpi$(EXEEXT): $(cookies_dpi_OBJECTS) $(cookies_dpi_DEPENDENCIES) $(EXTRA_cookies_dpi_DEPENDENCIES) |
823 | 726 | @rm -f cookies.dpi$(EXEEXT) |
824 | $(AM_V_CCLD)$(LINK) $(cookies_dpi_OBJECTS) $(cookies_dpi_LDADD) $(LIBS) | |
825 | ||
727 | $(LINK) $(cookies_dpi_OBJECTS) $(cookies_dpi_LDADD) $(LIBS) | |
826 | 728 | datauri.filter.dpi$(EXEEXT): $(datauri_filter_dpi_OBJECTS) $(datauri_filter_dpi_DEPENDENCIES) $(EXTRA_datauri_filter_dpi_DEPENDENCIES) |
827 | 729 | @rm -f datauri.filter.dpi$(EXEEXT) |
828 | $(AM_V_CCLD)$(LINK) $(datauri_filter_dpi_OBJECTS) $(datauri_filter_dpi_LDADD) $(LIBS) | |
829 | ||
730 | $(LINK) $(datauri_filter_dpi_OBJECTS) $(datauri_filter_dpi_LDADD) $(LIBS) | |
830 | 731 | downloads.dpi$(EXEEXT): $(downloads_dpi_OBJECTS) $(downloads_dpi_DEPENDENCIES) $(EXTRA_downloads_dpi_DEPENDENCIES) |
831 | 732 | @rm -f downloads.dpi$(EXEEXT) |
832 | $(AM_V_CXXLD)$(downloads_dpi_LINK) $(downloads_dpi_OBJECTS) $(downloads_dpi_LDADD) $(LIBS) | |
833 | ||
733 | $(downloads_dpi_LINK) $(downloads_dpi_OBJECTS) $(downloads_dpi_LDADD) $(LIBS) | |
834 | 734 | file.dpi$(EXEEXT): $(file_dpi_OBJECTS) $(file_dpi_DEPENDENCIES) $(EXTRA_file_dpi_DEPENDENCIES) |
835 | 735 | @rm -f file.dpi$(EXEEXT) |
836 | $(AM_V_CCLD)$(LINK) $(file_dpi_OBJECTS) $(file_dpi_LDADD) $(LIBS) | |
837 | ||
736 | $(LINK) $(file_dpi_OBJECTS) $(file_dpi_LDADD) $(LIBS) | |
838 | 737 | ftp.filter.dpi$(EXEEXT): $(ftp_filter_dpi_OBJECTS) $(ftp_filter_dpi_DEPENDENCIES) $(EXTRA_ftp_filter_dpi_DEPENDENCIES) |
839 | 738 | @rm -f ftp.filter.dpi$(EXEEXT) |
840 | $(AM_V_CCLD)$(LINK) $(ftp_filter_dpi_OBJECTS) $(ftp_filter_dpi_LDADD) $(LIBS) | |
841 | ||
739 | $(LINK) $(ftp_filter_dpi_OBJECTS) $(ftp_filter_dpi_LDADD) $(LIBS) | |
842 | 740 | hello.filter.dpi$(EXEEXT): $(hello_filter_dpi_OBJECTS) $(hello_filter_dpi_DEPENDENCIES) $(EXTRA_hello_filter_dpi_DEPENDENCIES) |
843 | 741 | @rm -f hello.filter.dpi$(EXEEXT) |
844 | $(AM_V_CCLD)$(LINK) $(hello_filter_dpi_OBJECTS) $(hello_filter_dpi_LDADD) $(LIBS) | |
845 | ||
742 | $(LINK) $(hello_filter_dpi_OBJECTS) $(hello_filter_dpi_LDADD) $(LIBS) | |
846 | 743 | https.filter.dpi$(EXEEXT): $(https_filter_dpi_OBJECTS) $(https_filter_dpi_DEPENDENCIES) $(EXTRA_https_filter_dpi_DEPENDENCIES) |
847 | 744 | @rm -f https.filter.dpi$(EXEEXT) |
848 | $(AM_V_CCLD)$(LINK) $(https_filter_dpi_OBJECTS) $(https_filter_dpi_LDADD) $(LIBS) | |
849 | ||
745 | $(LINK) $(https_filter_dpi_OBJECTS) $(https_filter_dpi_LDADD) $(LIBS) | |
850 | 746 | vsource.filter.dpi$(EXEEXT): $(vsource_filter_dpi_OBJECTS) $(vsource_filter_dpi_DEPENDENCIES) $(EXTRA_vsource_filter_dpi_DEPENDENCIES) |
851 | 747 | @rm -f vsource.filter.dpi$(EXEEXT) |
852 | $(AM_V_CCLD)$(LINK) $(vsource_filter_dpi_OBJECTS) $(vsource_filter_dpi_LDADD) $(LIBS) | |
748 | $(LINK) $(vsource_filter_dpi_OBJECTS) $(vsource_filter_dpi_LDADD) $(LIBS) | |
853 | 749 | |
854 | 750 | mostlyclean-compile: |
855 | 751 | -rm -f *.$(OBJEXT) |
869 | 765 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vsource.Po@am__quote@ |
870 | 766 | |
871 | 767 | .c.o: |
872 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
873 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
874 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
768 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
769 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
770 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
875 | 771 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
876 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< | |
772 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | |
877 | 773 | |
878 | 774 | .c.obj: |
879 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
880 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
881 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
775 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
776 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
777 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
882 | 778 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
883 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
779 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | |
884 | 780 | |
885 | 781 | .cc.o: |
886 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
887 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
888 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
782 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
783 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
784 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
889 | 785 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
890 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< | |
786 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< | |
891 | 787 | |
892 | 788 | .cc.obj: |
893 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
894 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
895 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
789 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
790 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
791 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
896 | 792 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
897 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
793 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
898 | 794 | |
899 | 795 | downloads_dpi-downloads.o: downloads.cc |
900 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(downloads_dpi_CXXFLAGS) $(CXXFLAGS) -MT downloads_dpi-downloads.o -MD -MP -MF $(DEPDIR)/downloads_dpi-downloads.Tpo -c -o downloads_dpi-downloads.o `test -f 'downloads.cc' || echo '$(srcdir)/'`downloads.cc | |
901 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/downloads_dpi-downloads.Tpo $(DEPDIR)/downloads_dpi-downloads.Po | |
902 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='downloads.cc' object='downloads_dpi-downloads.o' libtool=no @AMDEPBACKSLASH@ | |
796 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(downloads_dpi_CXXFLAGS) $(CXXFLAGS) -MT downloads_dpi-downloads.o -MD -MP -MF $(DEPDIR)/downloads_dpi-downloads.Tpo -c -o downloads_dpi-downloads.o `test -f 'downloads.cc' || echo '$(srcdir)/'`downloads.cc | |
797 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/downloads_dpi-downloads.Tpo $(DEPDIR)/downloads_dpi-downloads.Po | |
798 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='downloads.cc' object='downloads_dpi-downloads.o' libtool=no @AMDEPBACKSLASH@ | |
903 | 799 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
904 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(downloads_dpi_CXXFLAGS) $(CXXFLAGS) -c -o downloads_dpi-downloads.o `test -f 'downloads.cc' || echo '$(srcdir)/'`downloads.cc | |
800 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(downloads_dpi_CXXFLAGS) $(CXXFLAGS) -c -o downloads_dpi-downloads.o `test -f 'downloads.cc' || echo '$(srcdir)/'`downloads.cc | |
905 | 801 | |
906 | 802 | downloads_dpi-downloads.obj: downloads.cc |
907 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(downloads_dpi_CXXFLAGS) $(CXXFLAGS) -MT downloads_dpi-downloads.obj -MD -MP -MF $(DEPDIR)/downloads_dpi-downloads.Tpo -c -o downloads_dpi-downloads.obj `if test -f 'downloads.cc'; then $(CYGPATH_W) 'downloads.cc'; else $(CYGPATH_W) '$(srcdir)/downloads.cc'; fi` | |
908 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/downloads_dpi-downloads.Tpo $(DEPDIR)/downloads_dpi-downloads.Po | |
909 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='downloads.cc' object='downloads_dpi-downloads.obj' libtool=no @AMDEPBACKSLASH@ | |
803 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(downloads_dpi_CXXFLAGS) $(CXXFLAGS) -MT downloads_dpi-downloads.obj -MD -MP -MF $(DEPDIR)/downloads_dpi-downloads.Tpo -c -o downloads_dpi-downloads.obj `if test -f 'downloads.cc'; then $(CYGPATH_W) 'downloads.cc'; else $(CYGPATH_W) '$(srcdir)/downloads.cc'; fi` | |
804 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/downloads_dpi-downloads.Tpo $(DEPDIR)/downloads_dpi-downloads.Po | |
805 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='downloads.cc' object='downloads_dpi-downloads.obj' libtool=no @AMDEPBACKSLASH@ | |
910 | 806 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
911 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(downloads_dpi_CXXFLAGS) $(CXXFLAGS) -c -o downloads_dpi-downloads.obj `if test -f 'downloads.cc'; then $(CYGPATH_W) 'downloads.cc'; else $(CYGPATH_W) '$(srcdir)/downloads.cc'; fi` | |
912 | ||
913 | ID: $(am__tagged_files) | |
914 | $(am__define_uniq_tagged_files); mkid -fID $$unique | |
915 | tags: tags-am | |
916 | TAGS: tags | |
917 | ||
918 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
807 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(downloads_dpi_CXXFLAGS) $(CXXFLAGS) -c -o downloads_dpi-downloads.obj `if test -f 'downloads.cc'; then $(CYGPATH_W) 'downloads.cc'; else $(CYGPATH_W) '$(srcdir)/downloads.cc'; fi` | |
808 | ||
809 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
810 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
811 | unique=`for i in $$list; do \ | |
812 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
813 | done | \ | |
814 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
815 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
816 | mkid -fID $$unique | |
817 | tags: TAGS | |
818 | ||
819 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
820 | $(TAGS_FILES) $(LISP) | |
919 | 821 | set x; \ |
920 | 822 | here=`pwd`; \ |
921 | $(am__define_uniq_tagged_files); \ | |
823 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
824 | unique=`for i in $$list; do \ | |
825 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
826 | done | \ | |
827 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
828 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
922 | 829 | shift; \ |
923 | 830 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
924 | 831 | test -n "$$unique" || unique=$$empty_fix; \ |
930 | 837 | $$unique; \ |
931 | 838 | fi; \ |
932 | 839 | fi |
933 | ctags: ctags-am | |
934 | ||
935 | CTAGS: ctags | |
936 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
937 | $(am__define_uniq_tagged_files); \ | |
840 | ctags: CTAGS | |
841 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
842 | $(TAGS_FILES) $(LISP) | |
843 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
844 | unique=`for i in $$list; do \ | |
845 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
846 | done | \ | |
847 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
848 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
938 | 849 | test -z "$(CTAGS_ARGS)$$unique" \ |
939 | 850 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
940 | 851 | $$unique |
943 | 854 | here=`$(am__cd) $(top_builddir) && pwd` \ |
944 | 855 | && $(am__cd) $(top_srcdir) \ |
945 | 856 | && gtags -i $(GTAGS_ARGS) "$$here" |
946 | cscopelist: cscopelist-am | |
947 | ||
948 | cscopelist-am: $(am__tagged_files) | |
949 | list='$(am__tagged_files)'; \ | |
950 | case "$(srcdir)" in \ | |
951 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
952 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
953 | esac; \ | |
954 | for i in $$list; do \ | |
955 | if test -f "$$i"; then \ | |
956 | echo "$(subdir)/$$i"; \ | |
957 | else \ | |
958 | echo "$$sdir/$$i"; \ | |
959 | fi; \ | |
960 | done >> $(top_builddir)/cscope.files | |
961 | 857 | |
962 | 858 | distclean-tags: |
963 | 859 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
1111 | 1007 | |
1112 | 1008 | .MAKE: install-am install-strip |
1113 | 1009 | |
1114 | .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ | |
1010 | .PHONY: CTAGS GTAGS all all-am check check-am clean \ | |
1115 | 1011 | clean-bookmarksPROGRAMS clean-cookiesPROGRAMS \ |
1116 | 1012 | clean-datauriPROGRAMS clean-downloadsPROGRAMS \ |
1117 | 1013 | clean-filePROGRAMS clean-ftpPROGRAMS clean-generic \ |
1118 | 1014 | clean-helloPROGRAMS clean-httpsPROGRAMS clean-vsourcePROGRAMS \ |
1119 | cscopelist-am ctags ctags-am distclean distclean-compile \ | |
1120 | distclean-generic distclean-tags distdir dvi dvi-am html \ | |
1121 | html-am info info-am install install-am \ | |
1122 | install-bookmarksPROGRAMS install-cookiesPROGRAMS install-data \ | |
1123 | install-data-am install-datauriPROGRAMS \ | |
1124 | install-downloadsPROGRAMS install-dvi install-dvi-am \ | |
1125 | install-exec install-exec-am install-filePROGRAMS \ | |
1126 | install-ftpPROGRAMS install-helloPROGRAMS install-html \ | |
1127 | install-html-am install-httpsPROGRAMS install-info \ | |
1128 | install-info-am install-man install-pdf install-pdf-am \ | |
1129 | install-ps install-ps-am install-strip install-vsourcePROGRAMS \ | |
1130 | installcheck installcheck-am installdirs maintainer-clean \ | |
1131 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | |
1132 | mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ | |
1133 | uninstall-am uninstall-bookmarksPROGRAMS \ | |
1134 | uninstall-cookiesPROGRAMS uninstall-datauriPROGRAMS \ | |
1135 | uninstall-downloadsPROGRAMS uninstall-filePROGRAMS \ | |
1136 | uninstall-ftpPROGRAMS uninstall-helloPROGRAMS \ | |
1137 | uninstall-httpsPROGRAMS uninstall-vsourcePROGRAMS | |
1015 | ctags distclean distclean-compile distclean-generic \ | |
1016 | distclean-tags distdir dvi dvi-am html html-am info info-am \ | |
1017 | install install-am install-bookmarksPROGRAMS \ | |
1018 | install-cookiesPROGRAMS install-data install-data-am \ | |
1019 | install-datauriPROGRAMS install-downloadsPROGRAMS install-dvi \ | |
1020 | install-dvi-am install-exec install-exec-am \ | |
1021 | install-filePROGRAMS install-ftpPROGRAMS install-helloPROGRAMS \ | |
1022 | install-html install-html-am install-httpsPROGRAMS \ | |
1023 | install-info install-info-am install-man install-pdf \ | |
1024 | install-pdf-am install-ps install-ps-am install-strip \ | |
1025 | install-vsourcePROGRAMS installcheck installcheck-am \ | |
1026 | installdirs maintainer-clean maintainer-clean-generic \ | |
1027 | mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ | |
1028 | ps ps-am tags uninstall uninstall-am \ | |
1029 | uninstall-bookmarksPROGRAMS uninstall-cookiesPROGRAMS \ | |
1030 | uninstall-datauriPROGRAMS uninstall-downloadsPROGRAMS \ | |
1031 | uninstall-filePROGRAMS uninstall-ftpPROGRAMS \ | |
1032 | uninstall-helloPROGRAMS uninstall-httpsPROGRAMS \ | |
1033 | uninstall-vsourcePROGRAMS | |
1138 | 1034 | |
1139 | 1035 | |
1140 | 1036 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
1041 | 1041 | |
1042 | 1042 | if (tld_len > 0) { |
1043 | 1043 | /* These TLDs were chosen by examining the current publicsuffix list |
1044 | * in February 2014 and picking out those where it was simplest for | |
1044 | * in October 2014 and picking out those where it was simplest for | |
1045 | 1045 | * them to describe the situation by beginning with a "*.[tld]" rule |
1046 | 1046 | * or every rule was "[something].[tld]". |
1047 | 1047 | */ |
1048 | const char *const tlds[] = {"bd","bn","ck","cy","er","et","fj","fk", | |
1048 | const char *const tlds[] = {"bd","bn","ck","cy","er","fj","fk", | |
1049 | 1049 | "gu","il","jm","ke","kh","kw","mm","mz", |
1050 | "ni","np","nz","pg","tr","uk","ye","za", | |
1051 | "zm","zw"}; | |
1050 | "ni","np","pg","ye","za","zm","zw"}; | |
1052 | 1051 | uint_t i, tld_num = sizeof(tlds) / sizeof(tlds[0]); |
1053 | 1052 | |
1054 | 1053 | for (i = 0; i < tld_num; i++) { |
345 | 345 | sizeunits = "bytes"; |
346 | 346 | } else if (finfo->size / 1024 <= 9999) { |
347 | 347 | size = finfo->size / 1024 + (finfo->size % 1024 >= 1024 / 2); |
348 | sizeunits = "Kb"; | |
348 | sizeunits = "KB"; | |
349 | 349 | } else { |
350 | 350 | size = finfo->size / 1048576 + (finfo->size % 1048576 >= 1048576 / 2); |
351 | sizeunits = "Mb"; | |
351 | sizeunits = "MB"; | |
352 | 352 | } |
353 | 353 | |
354 | 354 | /* we could note if it's a symlink... */ |
21 | 21 | * (at your option) any later version. |
22 | 22 | * |
23 | 23 | * As a special exception permission is granted to link the code of |
24 | * the https dillo plugin with the OpenSSL project's "OpenSSL" | |
25 | * library, and distribute the linked executables, without including | |
26 | * the source code for OpenSSL in the source distribution. You must | |
27 | * obey the GNU General Public License, version 3, in all respects | |
28 | * for all of the code used other than "OpenSSL". | |
24 | * the https dillo plugin with the OpenSSL project's OpenSSL library | |
25 | * (or a modified version of that library), and distribute the linked | |
26 | * executables, without including the source code for the SSL library | |
27 | * in the source distribution. You must obey the GNU General Public | |
28 | * License, version 3, in all respects for all of the code used other | |
29 | * than the SSL library. | |
29 | 30 | * |
30 | 31 | */ |
31 | 32 | |
155 | 156 | } |
156 | 157 | } |
157 | 158 | |
158 | /* Do not use the SSLv2 protocol. */ | |
159 | if (exit_error == 0){ | |
160 | SSL_CTX_set_options(ssl_context, SSL_OP_NO_SSLv2); | |
159 | /* SSL2 has been known to be insecure forever, disabling SSL3 is in response | |
160 | * to POODLE, and disabling compression is in response to CRIME. | |
161 | */ | |
162 | if (exit_error == 0){ | |
163 | SSL_CTX_set_options(ssl_context, | |
164 | SSL_OP_NO_SSLv2|SSL_OP_NO_SSLv3|SSL_OP_NO_COMPRESSION); | |
161 | 165 | } |
162 | 166 | |
163 | 167 | /*Set directory to load certificates from*/ |
187 | 191 | } |
188 | 192 | |
189 | 193 | if (exit_error == 0){ |
190 | /* Need to do the following if we want to deal with all | |
191 | * possible ciphers | |
194 | /* Don't want: eNULL, which has no encryption; aNULL, which has no | |
195 | * authentication; LOW, which as of 2014 use 64 or 56-bit encryption; | |
196 | * EXPORT40, which uses 40-bit encryption; RC4, for which methods were | |
197 | * found in 2013 to defeat it somewhat too easily. | |
192 | 198 | */ |
193 | SSL_set_cipher_list(ssl_connection, "ALL"); | |
199 | SSL_CTX_set_cipher_list(ssl_context, | |
200 | "ALL:!aNULL:!eNULL:!LOW:!EXPORT40:!RC4"); | |
194 | 201 | |
195 | 202 | /* Need to do this if we want to have the option of dealing |
196 | 203 | * with self-signed certs |
2 | 2 | * |
3 | 3 | * This server is an example. Play with it and modify to your taste. |
4 | 4 | * |
5 | * Copyright 2010 Jorge Arellano Cid <jcid@dillo.org> | |
5 | * Copyright 2010-2015 Jorge Arellano Cid <jcid@dillo.org> | |
6 | 6 | * |
7 | 7 | * This program is free software; you can redistribute it and/or modify |
8 | 8 | * it under the terms of the GNU General Public License as published by |
24 | 24 | * Debugging macros |
25 | 25 | */ |
26 | 26 | #define _MSG(...) |
27 | #define MSG(...) printf("[vsource dpi]: " __VA_ARGS__) | |
27 | #define MSG(...) fprintf(stderr, "[vsource dpi]: " __VA_ARGS__) | |
28 | 28 | |
29 | 29 | /*---------------------------------------------------------------------------*/ |
30 | 30 | |
41 | 41 | |
42 | 42 | /* |
43 | 43 | * Send source as plain text |
44 | * (handles embedded null chars correctly). | |
44 | 45 | */ |
45 | 46 | void send_plain_text(Dsh *sh, int data_size) |
46 | 47 | { |
47 | int bytes_read = 0; | |
48 | char *src_str; | |
48 | char *token; | |
49 | int bytes_read = 0, token_size; | |
49 | 50 | |
50 | 51 | /* Send HTTP header for plain text MIME type */ |
51 | 52 | a_Dpip_dsh_write_str(sh, 0, "Content-type: text/plain\n\n"); |
52 | 53 | |
53 | 54 | while (bytes_read < data_size && |
54 | (src_str = a_Dpip_dsh_read_token(sh, 1))) { | |
55 | bytes_read += strlen(src_str); | |
56 | a_Dpip_dsh_write_str(sh, 1, src_str); | |
57 | dFree(src_str); | |
55 | (token = a_Dpip_dsh_read_token2(sh, 1, &token_size))) { | |
56 | bytes_read += token_size; | |
57 | _MSG("data_size=%d bytes_read=%d\n", data_size, bytes_read); | |
58 | a_Dpip_dsh_write(sh, 1, token, token_size); | |
59 | dFree(token); | |
58 | 60 | } |
59 | 61 | } |
60 | 62 | |
61 | 63 | /* |
62 | 64 | * Send source as plain text with line numbers |
65 | * (handles embedded null chars correctly). | |
63 | 66 | */ |
64 | 67 | void send_numbered_text(Dsh *sh, int data_size) |
65 | 68 | { |
66 | int bytes_read = 0, line = 1; | |
67 | char *p, *q, *src_str, line_str[32]; | |
69 | int bytes_read = 0, line = 1, token_size = 0; | |
70 | char *p, *q, *token, line_str[32]; | |
68 | 71 | |
69 | 72 | /* Send HTTP header for plain text MIME type */ |
70 | 73 | a_Dpip_dsh_write_str(sh, 0, "Content-type: text/plain\n\n"); |
71 | 74 | |
72 | 75 | while (bytes_read < data_size && |
73 | (src_str = a_Dpip_dsh_read_token(sh, 1))) { | |
74 | bytes_read += strlen(src_str); | |
75 | p = q = src_str; | |
76 | (token = a_Dpip_dsh_read_token2(sh, 1, &token_size))) { | |
77 | bytes_read += token_size; | |
78 | p = q = token; | |
76 | 79 | |
77 | 80 | while (*p) { |
78 | 81 | snprintf(line_str, 32, "%2d: ", line); |
83 | 86 | ++p; |
84 | 87 | ++line; |
85 | 88 | } else { |
86 | a_Dpip_dsh_write_str(sh, 1, q); | |
89 | /* send all the rest */ | |
90 | a_Dpip_dsh_write(sh, 1, q, token_size - (q - token)); | |
87 | 91 | break; |
88 | 92 | } |
89 | 93 | q = ++p; |
90 | 94 | } |
91 | dFree(src_str); | |
95 | dFree(token); | |
92 | 96 | } |
93 | 97 | } |
94 | 98 | |
95 | 99 | /* |
96 | 100 | * Send source as html text with line numbers |
101 | * (handles embedded null chars correctly). | |
97 | 102 | */ |
98 | 103 | void send_html_text(Dsh *sh, const char *url, int data_size) |
99 | 104 | { |
100 | int bytes_read = 0, old_line = 0, line = 1; | |
101 | char *p, *q, *src_str, line_str[128]; | |
105 | int bytes_read = 0, old_line = 0, line = 1, token_size = 0; | |
106 | char *p, *q, *token, line_str[128]; | |
102 | 107 | |
103 | 108 | if (dStrnAsciiCasecmp(url, "dpi:", 4) == 0 && |
104 | 109 | strncmp(url+4, "/vsource/:", 10) == 0) |
105 | 110 | url += 14; |
106 | 111 | |
107 | /* Send HTTP header for plain text MIME type */ | |
112 | /* Send HTTP header for html text MIME type */ | |
108 | 113 | a_Dpip_dsh_write_str(sh, 0, "Content-type: text/html\n\n"); |
109 | 114 | |
110 | 115 | a_Dpip_dsh_write_str(sh, 0, DOCTYPE); |
112 | 117 | "\n" |
113 | 118 | "<html><head>\n" |
114 | 119 | "<title>Source for %s</title>\n" |
115 | "<style type=\"text/css\">PRE {white-space: pre-wrap}\n" | |
120 | "<style type=\"text/css\">\n" | |
121 | " body {white-space: pre-wrap; font-family: monospace}\n" | |
122 | " td.r1 {background-color:#B87333}\n" | |
123 | " td.r2 {background-color:#DD7F32}\n" | |
116 | 124 | "</style>\n" |
117 | 125 | "</head>\n" |
118 | 126 | "<body id=\"dillo_vs\">\n<table cellpadding='0'>\n", url); |
119 | 127 | |
120 | 128 | while (bytes_read < data_size && |
121 | (src_str = a_Dpip_dsh_read_token(sh, 1))) { | |
122 | bytes_read += strlen(src_str); | |
123 | p = q = src_str; | |
129 | (token = a_Dpip_dsh_read_token2(sh, 1, &token_size))) { | |
130 | bytes_read += token_size; | |
131 | p = q = token; | |
124 | 132 | |
125 | 133 | while (*p) { |
126 | 134 | if (line > old_line) { |
127 | 135 | snprintf(line_str, 128, |
128 | "%s<tr><td bgcolor='%s'>%d%s<td><pre>", | |
129 | (line > 1) ? "</pre>" : "", | |
130 | (line & 1) ? "#B87333" : "#DD7F32", line, | |
131 | (line == 1 || (line % 10) == 0) ? " " : ""); | |
136 | "<tr><td class='%s'>%d%s<td>", | |
137 | (line & 1) ? "r1" : "r2", line, | |
138 | (line == 1 || (line % 10) == 0) ? " " : ""); | |
132 | 139 | a_Dpip_dsh_write_str(sh, 0, line_str); |
133 | 140 | old_line = line; |
134 | 141 | } |
142 | 149 | a_Dpip_dsh_write(sh, 0, q, p - q); |
143 | 150 | a_Dpip_dsh_write_str(sh, 0, (*p == '<') ? "<" : "&"); |
144 | 151 | } |
145 | } else { | |
146 | a_Dpip_dsh_write_str(sh, 1, q); | |
152 | } else { | |
153 | /* send all the rest */ | |
154 | a_Dpip_dsh_write(sh, 1, q, token_size - (q - token)); | |
147 | 155 | break; |
148 | 156 | } |
149 | 157 | q = ++p; |
150 | 158 | } |
151 | dFree(src_str); | |
152 | } | |
153 | ||
154 | if (data_size > 0) | |
155 | a_Dpip_dsh_write_str(sh, 0, "</pre>"); | |
159 | dFree(token); | |
160 | } | |
161 | ||
156 | 162 | a_Dpip_dsh_write_str(sh, 1, "</table></body></html>"); |
157 | 163 | } |
158 | 164 | |
193 | 199 | * asking from us. a_Dpip_dsh_read_token() will block and return |
194 | 200 | * a full dpip token or null on error (it's commented in dpip.c) */ |
195 | 201 | dpip_tag = a_Dpip_dsh_read_token(sh, 1); |
196 | MSG("tag = [%s]\n", dpip_tag); | |
202 | _MSG("tag = [%s]\n", dpip_tag); | |
197 | 203 | |
198 | 204 | /* Now that we have the dpip_tag, let's isolate the command and url */ |
199 | 205 | cmd = a_Dpip_get_attr(dpip_tag, "cmd"); |
0 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.11.6 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | |
4 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
5 | 6 | # This Makefile.in is free software; the Free Software Foundation |
6 | 7 | # gives unlimited permission to copy and/or distribute it, |
7 | 8 | # with or without modifications, as long as this notice is preserved. |
15 | 16 | |
16 | 17 | |
17 | 18 | VPATH = @srcdir@ |
18 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | |
19 | am__make_running_with_option = \ | |
20 | case $${target_option-} in \ | |
21 | ?) ;; \ | |
22 | *) echo "am__make_running_with_option: internal error: invalid" \ | |
23 | "target option '$${target_option-}' specified" >&2; \ | |
24 | exit 1;; \ | |
25 | esac; \ | |
26 | has_opt=no; \ | |
27 | sane_makeflags=$$MAKEFLAGS; \ | |
28 | if $(am__is_gnu_make); then \ | |
29 | sane_makeflags=$$MFLAGS; \ | |
30 | else \ | |
19 | am__make_dryrun = \ | |
20 | { \ | |
21 | am__dry=no; \ | |
31 | 22 | case $$MAKEFLAGS in \ |
32 | 23 | *\\[\ \ ]*) \ |
33 | bs=\\; \ | |
34 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
35 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
24 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
25 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
26 | *) \ | |
27 | for am__flg in $$MAKEFLAGS; do \ | |
28 | case $$am__flg in \ | |
29 | *=*|--*) ;; \ | |
30 | *n*) am__dry=yes; break;; \ | |
31 | esac; \ | |
32 | done;; \ | |
36 | 33 | esac; \ |
37 | fi; \ | |
38 | skip_next=no; \ | |
39 | strip_trailopt () \ | |
40 | { \ | |
41 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
42 | }; \ | |
43 | for flg in $$sane_makeflags; do \ | |
44 | test $$skip_next = yes && { skip_next=no; continue; }; \ | |
45 | case $$flg in \ | |
46 | *=*|--*) continue;; \ | |
47 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
48 | -*I?*) strip_trailopt 'I';; \ | |
49 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
50 | -*O?*) strip_trailopt 'O';; \ | |
51 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
52 | -*l?*) strip_trailopt 'l';; \ | |
53 | -[dEDm]) skip_next=yes;; \ | |
54 | -[JT]) skip_next=yes;; \ | |
55 | esac; \ | |
56 | case $$flg in \ | |
57 | *$$target_option*) has_opt=yes; break;; \ | |
58 | esac; \ | |
59 | done; \ | |
60 | test $$has_opt = yes | |
61 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
62 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
34 | test $$am__dry = yes; \ | |
35 | } | |
63 | 36 | pkgdatadir = $(datadir)/@PACKAGE@ |
64 | 37 | pkgincludedir = $(includedir)/@PACKAGE@ |
65 | 38 | pkglibdir = $(libdir)/@PACKAGE@ |
81 | 54 | target_triplet = @target@ |
82 | 55 | bin_PROGRAMS = dpid$(EXEEXT) dpidc$(EXEEXT) |
83 | 56 | subdir = dpid |
84 | DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ | |
85 | $(top_srcdir)/depcomp TODO | |
57 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in TODO | |
86 | 58 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
87 | 59 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
88 | 60 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
103 | 75 | dpidc_OBJECTS = $(am_dpidc_OBJECTS) |
104 | 76 | dpidc_DEPENDENCIES = $(top_builddir)/dpip/libDpip.a \ |
105 | 77 | $(top_builddir)/dlib/libDlib.a |
106 | AM_V_P = $(am__v_P_@AM_V@) | |
107 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
108 | am__v_P_0 = false | |
109 | am__v_P_1 = : | |
110 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
111 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
112 | am__v_GEN_0 = @echo " GEN " $@; | |
113 | am__v_GEN_1 = | |
114 | AM_V_at = $(am__v_at_@AM_V@) | |
115 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
116 | am__v_at_0 = @ | |
117 | am__v_at_1 = | |
118 | 78 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
119 | 79 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
120 | 80 | am__depfiles_maybe = depfiles |
121 | 81 | am__mv = mv -f |
122 | 82 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
123 | 83 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
124 | AM_V_CC = $(am__v_CC_@AM_V@) | |
125 | am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) | |
126 | am__v_CC_0 = @echo " CC " $@; | |
127 | am__v_CC_1 = | |
128 | 84 | CCLD = $(CC) |
129 | 85 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
130 | AM_V_CCLD = $(am__v_CCLD_@AM_V@) | |
131 | am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) | |
132 | am__v_CCLD_0 = @echo " CCLD " $@; | |
133 | am__v_CCLD_1 = | |
134 | 86 | SOURCES = $(dpid_SOURCES) $(dpidc_SOURCES) |
135 | 87 | DIST_SOURCES = $(dpid_SOURCES) $(dpidc_SOURCES) |
136 | 88 | am__can_run_installinfo = \ |
166 | 118 | $(am__cd) "$$dir" && rm -f $$files; }; \ |
167 | 119 | } |
168 | 120 | DATA = $(sysconf_DATA) |
169 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | |
170 | # Read a list of newline-separated strings from the standard input, | |
171 | # and print each of them once, without duplicates. Input order is | |
172 | # *not* preserved. | |
173 | am__uniquify_input = $(AWK) '\ | |
174 | BEGIN { nonempty = 0; } \ | |
175 | { items[$$0] = 1; nonempty = 1; } \ | |
176 | END { if (nonempty) { for (i in items) print i; }; } \ | |
177 | ' | |
178 | # Make sure the list of sources is unique. This is necessary because, | |
179 | # e.g., the same source file might be shared among _SOURCES variables | |
180 | # for different programs/libraries. | |
181 | am__define_uniq_tagged_files = \ | |
182 | list='$(am__tagged_files)'; \ | |
183 | unique=`for i in $$list; do \ | |
184 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
185 | done | $(am__uniquify_input)` | |
186 | 121 | ETAGS = etags |
187 | 122 | CTAGS = ctags |
188 | 123 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
189 | 124 | ACLOCAL = @ACLOCAL@ |
190 | 125 | AMTAR = @AMTAR@ |
191 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
192 | 126 | AUTOCONF = @AUTOCONF@ |
193 | 127 | AUTOHEADER = @AUTOHEADER@ |
194 | 128 | AUTOMAKE = @AUTOMAKE@ |
209 | 143 | ECHO_T = @ECHO_T@ |
210 | 144 | EGREP = @EGREP@ |
211 | 145 | EXEEXT = @EXEEXT@ |
146 | FLTK_CONFIG = @FLTK_CONFIG@ | |
212 | 147 | GREP = @GREP@ |
213 | 148 | INSTALL = @INSTALL@ |
214 | 149 | INSTALL_DATA = @INSTALL_DATA@ |
376 | 311 | fi; \ |
377 | 312 | for p in $$list; do echo "$$p $$p"; done | \ |
378 | 313 | sed 's/$(EXEEXT)$$//' | \ |
379 | while read p p1; do if test -f $$p \ | |
380 | ; then echo "$$p"; echo "$$p"; else :; fi; \ | |
314 | while read p p1; do if test -f $$p; \ | |
315 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
381 | 316 | done | \ |
382 | sed -e 'p;s,.*/,,;n;h' \ | |
383 | -e 's|.*|.|' \ | |
317 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
384 | 318 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ |
385 | 319 | sed 'N;N;N;s,\n, ,g' | \ |
386 | 320 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ |
401 | 335 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ |
402 | 336 | files=`for p in $$list; do echo "$$p"; done | \ |
403 | 337 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ |
404 | -e 's/$$/$(EXEEXT)/' \ | |
405 | `; \ | |
338 | -e 's/$$/$(EXEEXT)/' `; \ | |
406 | 339 | test -n "$$list" || exit 0; \ |
407 | 340 | echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ |
408 | 341 | cd "$(DESTDIR)$(bindir)" && rm -f $$files |
409 | 342 | |
410 | 343 | clean-binPROGRAMS: |
411 | 344 | -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) |
412 | ||
413 | 345 | dpid$(EXEEXT): $(dpid_OBJECTS) $(dpid_DEPENDENCIES) $(EXTRA_dpid_DEPENDENCIES) |
414 | 346 | @rm -f dpid$(EXEEXT) |
415 | $(AM_V_CCLD)$(LINK) $(dpid_OBJECTS) $(dpid_LDADD) $(LIBS) | |
416 | ||
347 | $(LINK) $(dpid_OBJECTS) $(dpid_LDADD) $(LIBS) | |
417 | 348 | dpidc$(EXEEXT): $(dpidc_OBJECTS) $(dpidc_DEPENDENCIES) $(EXTRA_dpidc_DEPENDENCIES) |
418 | 349 | @rm -f dpidc$(EXEEXT) |
419 | $(AM_V_CCLD)$(LINK) $(dpidc_OBJECTS) $(dpidc_LDADD) $(LIBS) | |
350 | $(LINK) $(dpidc_OBJECTS) $(dpidc_LDADD) $(LIBS) | |
420 | 351 | |
421 | 352 | mostlyclean-compile: |
422 | 353 | -rm -f *.$(OBJEXT) |
433 | 364 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc_new.Po@am__quote@ |
434 | 365 | |
435 | 366 | .c.o: |
436 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
437 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
438 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
367 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
368 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
369 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
439 | 370 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
440 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< | |
371 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | |
441 | 372 | |
442 | 373 | .c.obj: |
443 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
444 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
445 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
374 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
375 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
376 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
446 | 377 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
447 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
378 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | |
448 | 379 | install-sysconfDATA: $(sysconf_DATA) |
449 | 380 | @$(NORMAL_INSTALL) |
450 | 381 | @list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \ |
467 | 398 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ |
468 | 399 | dir='$(DESTDIR)$(sysconfdir)'; $(am__uninstall_files_from_dir) |
469 | 400 | |
470 | ID: $(am__tagged_files) | |
471 | $(am__define_uniq_tagged_files); mkid -fID $$unique | |
472 | tags: tags-am | |
473 | TAGS: tags | |
474 | ||
475 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
401 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
402 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
403 | unique=`for i in $$list; do \ | |
404 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
405 | done | \ | |
406 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
407 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
408 | mkid -fID $$unique | |
409 | tags: TAGS | |
410 | ||
411 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
412 | $(TAGS_FILES) $(LISP) | |
476 | 413 | set x; \ |
477 | 414 | here=`pwd`; \ |
478 | $(am__define_uniq_tagged_files); \ | |
415 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
416 | unique=`for i in $$list; do \ | |
417 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
418 | done | \ | |
419 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
420 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
479 | 421 | shift; \ |
480 | 422 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
481 | 423 | test -n "$$unique" || unique=$$empty_fix; \ |
487 | 429 | $$unique; \ |
488 | 430 | fi; \ |
489 | 431 | fi |
490 | ctags: ctags-am | |
491 | ||
492 | CTAGS: ctags | |
493 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
494 | $(am__define_uniq_tagged_files); \ | |
432 | ctags: CTAGS | |
433 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
434 | $(TAGS_FILES) $(LISP) | |
435 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
436 | unique=`for i in $$list; do \ | |
437 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
438 | done | \ | |
439 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
440 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
495 | 441 | test -z "$(CTAGS_ARGS)$$unique" \ |
496 | 442 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
497 | 443 | $$unique |
500 | 446 | here=`$(am__cd) $(top_builddir) && pwd` \ |
501 | 447 | && $(am__cd) $(top_srcdir) \ |
502 | 448 | && gtags -i $(GTAGS_ARGS) "$$here" |
503 | cscopelist: cscopelist-am | |
504 | ||
505 | cscopelist-am: $(am__tagged_files) | |
506 | list='$(am__tagged_files)'; \ | |
507 | case "$(srcdir)" in \ | |
508 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
509 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
510 | esac; \ | |
511 | for i in $$list; do \ | |
512 | if test -f "$$i"; then \ | |
513 | echo "$(subdir)/$$i"; \ | |
514 | else \ | |
515 | echo "$$sdir/$$i"; \ | |
516 | fi; \ | |
517 | done >> $(top_builddir)/cscope.files | |
518 | 449 | |
519 | 450 | distclean-tags: |
520 | 451 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
658 | 589 | |
659 | 590 | .MAKE: install-am install-strip |
660 | 591 | |
661 | .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ | |
662 | clean-binPROGRAMS clean-generic cscopelist-am ctags ctags-am \ | |
663 | distclean distclean-compile distclean-generic distclean-tags \ | |
664 | distdir dvi dvi-am html html-am info info-am install \ | |
665 | install-am install-binPROGRAMS install-data install-data-am \ | |
666 | install-dvi install-dvi-am install-exec install-exec-am \ | |
667 | install-html install-html-am install-info install-info-am \ | |
668 | install-man install-pdf install-pdf-am install-ps \ | |
669 | install-ps-am install-strip install-sysconfDATA installcheck \ | |
670 | installcheck-am installdirs maintainer-clean \ | |
671 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | |
672 | mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ | |
673 | uninstall-am uninstall-binPROGRAMS uninstall-sysconfDATA | |
592 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ | |
593 | clean-generic ctags distclean distclean-compile \ | |
594 | distclean-generic distclean-tags distdir dvi dvi-am html \ | |
595 | html-am info info-am install install-am install-binPROGRAMS \ | |
596 | install-data install-data-am install-dvi install-dvi-am \ | |
597 | install-exec install-exec-am install-html install-html-am \ | |
598 | install-info install-info-am install-man install-pdf \ | |
599 | install-pdf-am install-ps install-ps-am install-strip \ | |
600 | install-sysconfDATA installcheck installcheck-am installdirs \ | |
601 | maintainer-clean maintainer-clean-generic mostlyclean \ | |
602 | mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ | |
603 | tags uninstall uninstall-am uninstall-binPROGRAMS \ | |
604 | uninstall-sysconfDATA | |
674 | 605 | |
675 | 606 | |
676 | 607 | dpidrc: $(srcdir)/dpidrc.in Makefile |
0 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.11.6 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | |
4 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
5 | 6 | # This Makefile.in is free software; the Free Software Foundation |
6 | 7 | # gives unlimited permission to copy and/or distribute it, |
7 | 8 | # with or without modifications, as long as this notice is preserved. |
14 | 15 | @SET_MAKE@ |
15 | 16 | |
16 | 17 | VPATH = @srcdir@ |
17 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | |
18 | am__make_running_with_option = \ | |
19 | case $${target_option-} in \ | |
20 | ?) ;; \ | |
21 | *) echo "am__make_running_with_option: internal error: invalid" \ | |
22 | "target option '$${target_option-}' specified" >&2; \ | |
23 | exit 1;; \ | |
24 | esac; \ | |
25 | has_opt=no; \ | |
26 | sane_makeflags=$$MAKEFLAGS; \ | |
27 | if $(am__is_gnu_make); then \ | |
28 | sane_makeflags=$$MFLAGS; \ | |
29 | else \ | |
18 | am__make_dryrun = \ | |
19 | { \ | |
20 | am__dry=no; \ | |
30 | 21 | case $$MAKEFLAGS in \ |
31 | 22 | *\\[\ \ ]*) \ |
32 | bs=\\; \ | |
33 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
34 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
23 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
24 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
25 | *) \ | |
26 | for am__flg in $$MAKEFLAGS; do \ | |
27 | case $$am__flg in \ | |
28 | *=*|--*) ;; \ | |
29 | *n*) am__dry=yes; break;; \ | |
30 | esac; \ | |
31 | done;; \ | |
35 | 32 | esac; \ |
36 | fi; \ | |
37 | skip_next=no; \ | |
38 | strip_trailopt () \ | |
39 | { \ | |
40 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
41 | }; \ | |
42 | for flg in $$sane_makeflags; do \ | |
43 | test $$skip_next = yes && { skip_next=no; continue; }; \ | |
44 | case $$flg in \ | |
45 | *=*|--*) continue;; \ | |
46 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
47 | -*I?*) strip_trailopt 'I';; \ | |
48 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
49 | -*O?*) strip_trailopt 'O';; \ | |
50 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
51 | -*l?*) strip_trailopt 'l';; \ | |
52 | -[dEDm]) skip_next=yes;; \ | |
53 | -[JT]) skip_next=yes;; \ | |
54 | esac; \ | |
55 | case $$flg in \ | |
56 | *$$target_option*) has_opt=yes; break;; \ | |
57 | esac; \ | |
58 | done; \ | |
59 | test $$has_opt = yes | |
60 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
61 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
33 | test $$am__dry = yes; \ | |
34 | } | |
62 | 35 | pkgdatadir = $(datadir)/@PACKAGE@ |
63 | 36 | pkgincludedir = $(includedir)/@PACKAGE@ |
64 | 37 | pkglibdir = $(libdir)/@PACKAGE@ |
79 | 52 | host_triplet = @host@ |
80 | 53 | target_triplet = @target@ |
81 | 54 | subdir = dpip |
82 | DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ | |
83 | $(top_srcdir)/depcomp | |
55 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | |
84 | 56 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
85 | 57 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
86 | 58 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
92 | 64 | LIBRARIES = $(noinst_LIBRARIES) |
93 | 65 | AR = ar |
94 | 66 | ARFLAGS = cru |
95 | AM_V_AR = $(am__v_AR_@AM_V@) | |
96 | am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) | |
97 | am__v_AR_0 = @echo " AR " $@; | |
98 | am__v_AR_1 = | |
99 | 67 | libDpip_a_AR = $(AR) $(ARFLAGS) |
100 | 68 | libDpip_a_LIBADD = |
101 | 69 | am_libDpip_a_OBJECTS = dpip.$(OBJEXT) |
102 | 70 | libDpip_a_OBJECTS = $(am_libDpip_a_OBJECTS) |
103 | AM_V_P = $(am__v_P_@AM_V@) | |
104 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
105 | am__v_P_0 = false | |
106 | am__v_P_1 = : | |
107 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
108 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
109 | am__v_GEN_0 = @echo " GEN " $@; | |
110 | am__v_GEN_1 = | |
111 | AM_V_at = $(am__v_at_@AM_V@) | |
112 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
113 | am__v_at_0 = @ | |
114 | am__v_at_1 = | |
115 | 71 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
116 | 72 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
117 | 73 | am__depfiles_maybe = depfiles |
118 | 74 | am__mv = mv -f |
119 | 75 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
120 | 76 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
121 | AM_V_CC = $(am__v_CC_@AM_V@) | |
122 | am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) | |
123 | am__v_CC_0 = @echo " CC " $@; | |
124 | am__v_CC_1 = | |
125 | 77 | CCLD = $(CC) |
126 | 78 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
127 | AM_V_CCLD = $(am__v_CCLD_@AM_V@) | |
128 | am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) | |
129 | am__v_CCLD_0 = @echo " CCLD " $@; | |
130 | am__v_CCLD_1 = | |
131 | 79 | SOURCES = $(libDpip_a_SOURCES) |
132 | 80 | DIST_SOURCES = $(libDpip_a_SOURCES) |
133 | 81 | am__can_run_installinfo = \ |
135 | 83 | n|no|NO) false;; \ |
136 | 84 | *) (install-info --version) >/dev/null 2>&1;; \ |
137 | 85 | esac |
138 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | |
139 | # Read a list of newline-separated strings from the standard input, | |
140 | # and print each of them once, without duplicates. Input order is | |
141 | # *not* preserved. | |
142 | am__uniquify_input = $(AWK) '\ | |
143 | BEGIN { nonempty = 0; } \ | |
144 | { items[$$0] = 1; nonempty = 1; } \ | |
145 | END { if (nonempty) { for (i in items) print i; }; } \ | |
146 | ' | |
147 | # Make sure the list of sources is unique. This is necessary because, | |
148 | # e.g., the same source file might be shared among _SOURCES variables | |
149 | # for different programs/libraries. | |
150 | am__define_uniq_tagged_files = \ | |
151 | list='$(am__tagged_files)'; \ | |
152 | unique=`for i in $$list; do \ | |
153 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
154 | done | $(am__uniquify_input)` | |
155 | 86 | ETAGS = etags |
156 | 87 | CTAGS = ctags |
157 | 88 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
158 | 89 | ACLOCAL = @ACLOCAL@ |
159 | 90 | AMTAR = @AMTAR@ |
160 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
161 | 91 | AUTOCONF = @AUTOCONF@ |
162 | 92 | AUTOHEADER = @AUTOHEADER@ |
163 | 93 | AUTOMAKE = @AUTOMAKE@ |
178 | 108 | ECHO_T = @ECHO_T@ |
179 | 109 | EGREP = @EGREP@ |
180 | 110 | EXEEXT = @EXEEXT@ |
111 | FLTK_CONFIG = @FLTK_CONFIG@ | |
181 | 112 | GREP = @GREP@ |
182 | 113 | INSTALL = @INSTALL@ |
183 | 114 | INSTALL_DATA = @INSTALL_DATA@ |
318 | 249 | |
319 | 250 | clean-noinstLIBRARIES: |
320 | 251 | -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) |
321 | ||
322 | 252 | libDpip.a: $(libDpip_a_OBJECTS) $(libDpip_a_DEPENDENCIES) $(EXTRA_libDpip_a_DEPENDENCIES) |
323 | $(AM_V_at)-rm -f libDpip.a | |
324 | $(AM_V_AR)$(libDpip_a_AR) libDpip.a $(libDpip_a_OBJECTS) $(libDpip_a_LIBADD) | |
325 | $(AM_V_at)$(RANLIB) libDpip.a | |
253 | -rm -f libDpip.a | |
254 | $(libDpip_a_AR) libDpip.a $(libDpip_a_OBJECTS) $(libDpip_a_LIBADD) | |
255 | $(RANLIB) libDpip.a | |
326 | 256 | |
327 | 257 | mostlyclean-compile: |
328 | 258 | -rm -f *.$(OBJEXT) |
333 | 263 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dpip.Po@am__quote@ |
334 | 264 | |
335 | 265 | .c.o: |
336 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
337 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
338 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
266 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
267 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
268 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
339 | 269 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
340 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< | |
270 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | |
341 | 271 | |
342 | 272 | .c.obj: |
343 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
344 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
345 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
273 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
274 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
275 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
346 | 276 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
347 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
348 | ||
349 | ID: $(am__tagged_files) | |
350 | $(am__define_uniq_tagged_files); mkid -fID $$unique | |
351 | tags: tags-am | |
352 | TAGS: tags | |
353 | ||
354 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
277 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | |
278 | ||
279 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
280 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
281 | unique=`for i in $$list; do \ | |
282 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
283 | done | \ | |
284 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
285 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
286 | mkid -fID $$unique | |
287 | tags: TAGS | |
288 | ||
289 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
290 | $(TAGS_FILES) $(LISP) | |
355 | 291 | set x; \ |
356 | 292 | here=`pwd`; \ |
357 | $(am__define_uniq_tagged_files); \ | |
293 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
294 | unique=`for i in $$list; do \ | |
295 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
296 | done | \ | |
297 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
298 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
358 | 299 | shift; \ |
359 | 300 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
360 | 301 | test -n "$$unique" || unique=$$empty_fix; \ |
366 | 307 | $$unique; \ |
367 | 308 | fi; \ |
368 | 309 | fi |
369 | ctags: ctags-am | |
370 | ||
371 | CTAGS: ctags | |
372 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
373 | $(am__define_uniq_tagged_files); \ | |
310 | ctags: CTAGS | |
311 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
312 | $(TAGS_FILES) $(LISP) | |
313 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
314 | unique=`for i in $$list; do \ | |
315 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
316 | done | \ | |
317 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
318 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
374 | 319 | test -z "$(CTAGS_ARGS)$$unique" \ |
375 | 320 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
376 | 321 | $$unique |
379 | 324 | here=`$(am__cd) $(top_builddir) && pwd` \ |
380 | 325 | && $(am__cd) $(top_srcdir) \ |
381 | 326 | && gtags -i $(GTAGS_ARGS) "$$here" |
382 | cscopelist: cscopelist-am | |
383 | ||
384 | cscopelist-am: $(am__tagged_files) | |
385 | list='$(am__tagged_files)'; \ | |
386 | case "$(srcdir)" in \ | |
387 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
388 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
389 | esac; \ | |
390 | for i in $$list; do \ | |
391 | if test -f "$$i"; then \ | |
392 | echo "$(subdir)/$$i"; \ | |
393 | else \ | |
394 | echo "$$sdir/$$i"; \ | |
395 | fi; \ | |
396 | done >> $(top_builddir)/cscope.files | |
397 | 327 | |
398 | 328 | distclean-tags: |
399 | 329 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
533 | 463 | |
534 | 464 | .MAKE: install-am install-strip |
535 | 465 | |
536 | .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ | |
537 | clean-noinstLIBRARIES cscopelist-am ctags ctags-am distclean \ | |
538 | distclean-compile distclean-generic distclean-tags distdir dvi \ | |
539 | dvi-am html html-am info info-am install install-am \ | |
540 | install-data install-data-am install-dvi install-dvi-am \ | |
541 | install-exec install-exec-am install-html install-html-am \ | |
542 | install-info install-info-am install-man install-pdf \ | |
543 | install-pdf-am install-ps install-ps-am install-strip \ | |
544 | installcheck installcheck-am installdirs maintainer-clean \ | |
466 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | |
467 | clean-noinstLIBRARIES ctags distclean distclean-compile \ | |
468 | distclean-generic distclean-tags distdir dvi dvi-am html \ | |
469 | html-am info info-am install install-am install-data \ | |
470 | install-data-am install-dvi install-dvi-am install-exec \ | |
471 | install-exec-am install-html install-html-am install-info \ | |
472 | install-info-am install-man install-pdf install-pdf-am \ | |
473 | install-ps install-ps-am install-strip installcheck \ | |
474 | installcheck-am installdirs maintainer-clean \ | |
545 | 475 | maintainer-clean-generic mostlyclean mostlyclean-compile \ |
546 | mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ | |
476 | mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ | |
547 | 477 | uninstall-am |
548 | 478 | |
549 | 479 |
0 | 0 | /* |
1 | 1 | * File: dpip.c |
2 | 2 | * |
3 | * Copyright 2005-2007 Jorge Arellano Cid <jcid@dillo.org> | |
3 | * Copyright 2005-2015 Jorge Arellano Cid <jcid@dillo.org> | |
4 | 4 | * |
5 | 5 | * This program is free software; you can redistribute it and/or modify |
6 | 6 | * it under the terms of the GNU General Public License as published by |
426 | 426 | |
427 | 427 | /* |
428 | 428 | * Return a newlly allocated string with the next dpip token in the socket. |
429 | * Return value: token string on success, NULL otherwise | |
430 | */ | |
431 | char *a_Dpip_dsh_read_token(Dsh *dsh, int blocking) | |
429 | * Return value: token string and length on success, NULL otherwise. | |
430 | * (useful for handling null characters in the data stream) | |
431 | */ | |
432 | char *a_Dpip_dsh_read_token2(Dsh *dsh, int blocking, int *DataSize) | |
432 | 433 | { |
433 | 434 | char *p, *ret = NULL; |
435 | *DataSize = 0; | |
434 | 436 | |
435 | 437 | /* Read all available data without blocking */ |
436 | 438 | Dpip_dsh_read(dsh, 0); |
461 | 463 | /* return a full tag */ |
462 | 464 | if ((p = strstr(dsh->rdbuf->str, DPIP_TAG_END))) { |
463 | 465 | ret = dStrndup(dsh->rdbuf->str, p - dsh->rdbuf->str + 3); |
466 | *DataSize = p - dsh->rdbuf->str + 3; | |
464 | 467 | dStr_erase(dsh->rdbuf, 0, p - dsh->rdbuf->str + 3); |
465 | 468 | if (strstr(ret, DPIP_MODE_SWITCH_TAG)) |
466 | 469 | dsh->mode |= DPIP_LAST_TAG; |
469 | 472 | /* raw mode, return what we have "as is" */ |
470 | 473 | if (dsh->rdbuf->len > 0) { |
471 | 474 | ret = dStrndup(dsh->rdbuf->str, dsh->rdbuf->len); |
475 | *DataSize = dsh->rdbuf->len; | |
472 | 476 | dStr_truncate(dsh->rdbuf, 0); |
473 | 477 | } |
474 | 478 | } |
475 | 479 | |
476 | 480 | return ret; |
481 | } | |
482 | ||
483 | /* | |
484 | * Return a newlly allocated string with the next dpip token in the socket. | |
485 | * Return value: token string on success, NULL otherwise | |
486 | */ | |
487 | char *a_Dpip_dsh_read_token(Dsh *dsh, int blocking) | |
488 | { | |
489 | int token_size; | |
490 | ||
491 | return a_Dpip_dsh_read_token2(dsh, blocking, &token_size); | |
477 | 492 | } |
478 | 493 | |
479 | 494 | /* |
69 | 69 | int a_Dpip_dsh_tryflush(Dsh *dsh); |
70 | 70 | int a_Dpip_dsh_trywrite(Dsh *dsh, const char *Data, int DataSize); |
71 | 71 | char *a_Dpip_dsh_read_token(Dsh *dsh, int blocking); |
72 | char *a_Dpip_dsh_read_token2(Dsh *dsh, int blocking, int *DataSize); | |
72 | 73 | void a_Dpip_dsh_close(Dsh *dsh); |
73 | 74 | void a_Dpip_dsh_free(Dsh *dsh); |
74 | 75 |
0 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.11.6 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | |
4 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
5 | 6 | # This Makefile.in is free software; the Free Software Foundation |
6 | 7 | # gives unlimited permission to copy and/or distribute it, |
7 | 8 | # with or without modifications, as long as this notice is preserved. |
14 | 15 | @SET_MAKE@ |
15 | 16 | |
16 | 17 | VPATH = @srcdir@ |
17 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | |
18 | am__make_running_with_option = \ | |
19 | case $${target_option-} in \ | |
20 | ?) ;; \ | |
21 | *) echo "am__make_running_with_option: internal error: invalid" \ | |
22 | "target option '$${target_option-}' specified" >&2; \ | |
23 | exit 1;; \ | |
24 | esac; \ | |
25 | has_opt=no; \ | |
26 | sane_makeflags=$$MAKEFLAGS; \ | |
27 | if $(am__is_gnu_make); then \ | |
28 | sane_makeflags=$$MFLAGS; \ | |
29 | else \ | |
18 | am__make_dryrun = \ | |
19 | { \ | |
20 | am__dry=no; \ | |
30 | 21 | case $$MAKEFLAGS in \ |
31 | 22 | *\\[\ \ ]*) \ |
32 | bs=\\; \ | |
33 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
34 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
23 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
24 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
25 | *) \ | |
26 | for am__flg in $$MAKEFLAGS; do \ | |
27 | case $$am__flg in \ | |
28 | *=*|--*) ;; \ | |
29 | *n*) am__dry=yes; break;; \ | |
30 | esac; \ | |
31 | done;; \ | |
35 | 32 | esac; \ |
36 | fi; \ | |
37 | skip_next=no; \ | |
38 | strip_trailopt () \ | |
39 | { \ | |
40 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
41 | }; \ | |
42 | for flg in $$sane_makeflags; do \ | |
43 | test $$skip_next = yes && { skip_next=no; continue; }; \ | |
44 | case $$flg in \ | |
45 | *=*|--*) continue;; \ | |
46 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
47 | -*I?*) strip_trailopt 'I';; \ | |
48 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
49 | -*O?*) strip_trailopt 'O';; \ | |
50 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
51 | -*l?*) strip_trailopt 'l';; \ | |
52 | -[dEDm]) skip_next=yes;; \ | |
53 | -[JT]) skip_next=yes;; \ | |
54 | esac; \ | |
55 | case $$flg in \ | |
56 | *$$target_option*) has_opt=yes; break;; \ | |
57 | esac; \ | |
58 | done; \ | |
59 | test $$has_opt = yes | |
60 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
61 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
33 | test $$am__dry = yes; \ | |
34 | } | |
62 | 35 | pkgdatadir = $(datadir)/@PACKAGE@ |
63 | 36 | pkgincludedir = $(includedir)/@PACKAGE@ |
64 | 37 | pkglibdir = $(libdir)/@PACKAGE@ |
79 | 52 | host_triplet = @host@ |
80 | 53 | target_triplet = @target@ |
81 | 54 | subdir = dw |
82 | DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ | |
83 | $(top_srcdir)/depcomp | |
55 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | |
84 | 56 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
85 | 57 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
86 | 58 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
92 | 64 | LIBRARIES = $(noinst_LIBRARIES) |
93 | 65 | AR = ar |
94 | 66 | ARFLAGS = cru |
95 | AM_V_AR = $(am__v_AR_@AM_V@) | |
96 | am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) | |
97 | am__v_AR_0 = @echo " AR " $@; | |
98 | am__v_AR_1 = | |
99 | 67 | libDw_core_a_AR = $(AR) $(ARFLAGS) |
100 | 68 | libDw_core_a_LIBADD = |
101 | 69 | am_libDw_core_a_OBJECTS = findtext.$(OBJEXT) imgrenderer.$(OBJEXT) \ |
122 | 90 | tablecell.$(OBJEXT) textblock.$(OBJEXT) \ |
123 | 91 | textblock_iterator.$(OBJEXT) textblock_linebreaking.$(OBJEXT) |
124 | 92 | libDw_widgets_a_OBJECTS = $(am_libDw_widgets_a_OBJECTS) |
125 | AM_V_P = $(am__v_P_@AM_V@) | |
126 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
127 | am__v_P_0 = false | |
128 | am__v_P_1 = : | |
129 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
130 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
131 | am__v_GEN_0 = @echo " GEN " $@; | |
132 | am__v_GEN_1 = | |
133 | AM_V_at = $(am__v_at_@AM_V@) | |
134 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
135 | am__v_at_0 = @ | |
136 | am__v_at_1 = | |
137 | 93 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
138 | 94 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
139 | 95 | am__depfiles_maybe = depfiles |
140 | 96 | am__mv = mv -f |
141 | AM_V_lt = $(am__v_lt_@AM_V@) | |
142 | am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) | |
143 | am__v_lt_0 = --silent | |
144 | am__v_lt_1 = | |
145 | 97 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
146 | 98 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) |
147 | AM_V_CXX = $(am__v_CXX_@AM_V@) | |
148 | am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) | |
149 | am__v_CXX_0 = @echo " CXX " $@; | |
150 | am__v_CXX_1 = | |
151 | 99 | CXXLD = $(CXX) |
152 | 100 | CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ |
153 | 101 | -o $@ |
154 | AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) | |
155 | am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) | |
156 | am__v_CXXLD_0 = @echo " CXXLD " $@; | |
157 | am__v_CXXLD_1 = | |
158 | 102 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
159 | 103 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
160 | AM_V_CC = $(am__v_CC_@AM_V@) | |
161 | am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) | |
162 | am__v_CC_0 = @echo " CC " $@; | |
163 | am__v_CC_1 = | |
164 | 104 | CCLD = $(CC) |
165 | 105 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
166 | AM_V_CCLD = $(am__v_CCLD_@AM_V@) | |
167 | am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) | |
168 | am__v_CCLD_0 = @echo " CCLD " $@; | |
169 | am__v_CCLD_1 = | |
170 | 106 | SOURCES = $(libDw_core_a_SOURCES) $(libDw_fltk_a_SOURCES) \ |
171 | 107 | $(libDw_widgets_a_SOURCES) |
172 | 108 | DIST_SOURCES = $(libDw_core_a_SOURCES) $(libDw_fltk_a_SOURCES) \ |
176 | 112 | n|no|NO) false;; \ |
177 | 113 | *) (install-info --version) >/dev/null 2>&1;; \ |
178 | 114 | esac |
179 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | |
180 | # Read a list of newline-separated strings from the standard input, | |
181 | # and print each of them once, without duplicates. Input order is | |
182 | # *not* preserved. | |
183 | am__uniquify_input = $(AWK) '\ | |
184 | BEGIN { nonempty = 0; } \ | |
185 | { items[$$0] = 1; nonempty = 1; } \ | |
186 | END { if (nonempty) { for (i in items) print i; }; } \ | |
187 | ' | |
188 | # Make sure the list of sources is unique. This is necessary because, | |
189 | # e.g., the same source file might be shared among _SOURCES variables | |
190 | # for different programs/libraries. | |
191 | am__define_uniq_tagged_files = \ | |
192 | list='$(am__tagged_files)'; \ | |
193 | unique=`for i in $$list; do \ | |
194 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
195 | done | $(am__uniquify_input)` | |
196 | 115 | ETAGS = etags |
197 | 116 | CTAGS = ctags |
198 | 117 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
199 | 118 | ACLOCAL = @ACLOCAL@ |
200 | 119 | AMTAR = @AMTAR@ |
201 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
202 | 120 | AUTOCONF = @AUTOCONF@ |
203 | 121 | AUTOHEADER = @AUTOHEADER@ |
204 | 122 | AUTOMAKE = @AUTOMAKE@ |
219 | 137 | ECHO_T = @ECHO_T@ |
220 | 138 | EGREP = @EGREP@ |
221 | 139 | EXEEXT = @EXEEXT@ |
140 | FLTK_CONFIG = @FLTK_CONFIG@ | |
222 | 141 | GREP = @GREP@ |
223 | 142 | INSTALL = @INSTALL@ |
224 | 143 | INSTALL_DATA = @INSTALL_DATA@ |
430 | 349 | |
431 | 350 | clean-noinstLIBRARIES: |
432 | 351 | -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) |
433 | ||
434 | 352 | libDw-core.a: $(libDw_core_a_OBJECTS) $(libDw_core_a_DEPENDENCIES) $(EXTRA_libDw_core_a_DEPENDENCIES) |
435 | $(AM_V_at)-rm -f libDw-core.a | |
436 | $(AM_V_AR)$(libDw_core_a_AR) libDw-core.a $(libDw_core_a_OBJECTS) $(libDw_core_a_LIBADD) | |
437 | $(AM_V_at)$(RANLIB) libDw-core.a | |
438 | ||
353 | -rm -f libDw-core.a | |
354 | $(libDw_core_a_AR) libDw-core.a $(libDw_core_a_OBJECTS) $(libDw_core_a_LIBADD) | |
355 | $(RANLIB) libDw-core.a | |
439 | 356 | libDw-fltk.a: $(libDw_fltk_a_OBJECTS) $(libDw_fltk_a_DEPENDENCIES) $(EXTRA_libDw_fltk_a_DEPENDENCIES) |
440 | $(AM_V_at)-rm -f libDw-fltk.a | |
441 | $(AM_V_AR)$(libDw_fltk_a_AR) libDw-fltk.a $(libDw_fltk_a_OBJECTS) $(libDw_fltk_a_LIBADD) | |
442 | $(AM_V_at)$(RANLIB) libDw-fltk.a | |
443 | ||
357 | -rm -f libDw-fltk.a | |
358 | $(libDw_fltk_a_AR) libDw-fltk.a $(libDw_fltk_a_OBJECTS) $(libDw_fltk_a_LIBADD) | |
359 | $(RANLIB) libDw-fltk.a | |
444 | 360 | libDw-widgets.a: $(libDw_widgets_a_OBJECTS) $(libDw_widgets_a_DEPENDENCIES) $(EXTRA_libDw_widgets_a_DEPENDENCIES) |
445 | $(AM_V_at)-rm -f libDw-widgets.a | |
446 | $(AM_V_AR)$(libDw_widgets_a_AR) libDw-widgets.a $(libDw_widgets_a_OBJECTS) $(libDw_widgets_a_LIBADD) | |
447 | $(AM_V_at)$(RANLIB) libDw-widgets.a | |
361 | -rm -f libDw-widgets.a | |
362 | $(libDw_widgets_a_AR) libDw-widgets.a $(libDw_widgets_a_OBJECTS) $(libDw_widgets_a_LIBADD) | |
363 | $(RANLIB) libDw-widgets.a | |
448 | 364 | |
449 | 365 | mostlyclean-compile: |
450 | 366 | -rm -f *.$(OBJEXT) |
483 | 399 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/widget.Po@am__quote@ |
484 | 400 | |
485 | 401 | .cc.o: |
486 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
487 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
488 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
489 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
490 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< | |
402 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
403 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
404 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
405 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
406 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< | |
491 | 407 | |
492 | 408 | .cc.obj: |
493 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
494 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
495 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
496 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
497 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
409 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
410 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
411 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
412 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
413 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
498 | 414 | |
499 | 415 | libDw_fltk_a-fltkcomplexbutton.o: fltkcomplexbutton.cc |
500 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkcomplexbutton.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkcomplexbutton.Tpo -c -o libDw_fltk_a-fltkcomplexbutton.o `test -f 'fltkcomplexbutton.cc' || echo '$(srcdir)/'`fltkcomplexbutton.cc | |
501 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libDw_fltk_a-fltkcomplexbutton.Tpo $(DEPDIR)/libDw_fltk_a-fltkcomplexbutton.Po | |
502 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='fltkcomplexbutton.cc' object='libDw_fltk_a-fltkcomplexbutton.o' libtool=no @AMDEPBACKSLASH@ | |
503 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
504 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkcomplexbutton.o `test -f 'fltkcomplexbutton.cc' || echo '$(srcdir)/'`fltkcomplexbutton.cc | |
416 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkcomplexbutton.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkcomplexbutton.Tpo -c -o libDw_fltk_a-fltkcomplexbutton.o `test -f 'fltkcomplexbutton.cc' || echo '$(srcdir)/'`fltkcomplexbutton.cc | |
417 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkcomplexbutton.Tpo $(DEPDIR)/libDw_fltk_a-fltkcomplexbutton.Po | |
418 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkcomplexbutton.cc' object='libDw_fltk_a-fltkcomplexbutton.o' libtool=no @AMDEPBACKSLASH@ | |
419 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
420 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkcomplexbutton.o `test -f 'fltkcomplexbutton.cc' || echo '$(srcdir)/'`fltkcomplexbutton.cc | |
505 | 421 | |
506 | 422 | libDw_fltk_a-fltkcomplexbutton.obj: fltkcomplexbutton.cc |
507 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkcomplexbutton.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkcomplexbutton.Tpo -c -o libDw_fltk_a-fltkcomplexbutton.obj `if test -f 'fltkcomplexbutton.cc'; then $(CYGPATH_W) 'fltkcomplexbutton.cc'; else $(CYGPATH_W) '$(srcdir)/fltkcomplexbutton.cc'; fi` | |
508 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libDw_fltk_a-fltkcomplexbutton.Tpo $(DEPDIR)/libDw_fltk_a-fltkcomplexbutton.Po | |
509 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='fltkcomplexbutton.cc' object='libDw_fltk_a-fltkcomplexbutton.obj' libtool=no @AMDEPBACKSLASH@ | |
510 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
511 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkcomplexbutton.obj `if test -f 'fltkcomplexbutton.cc'; then $(CYGPATH_W) 'fltkcomplexbutton.cc'; else $(CYGPATH_W) '$(srcdir)/fltkcomplexbutton.cc'; fi` | |
423 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkcomplexbutton.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkcomplexbutton.Tpo -c -o libDw_fltk_a-fltkcomplexbutton.obj `if test -f 'fltkcomplexbutton.cc'; then $(CYGPATH_W) 'fltkcomplexbutton.cc'; else $(CYGPATH_W) '$(srcdir)/fltkcomplexbutton.cc'; fi` | |
424 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkcomplexbutton.Tpo $(DEPDIR)/libDw_fltk_a-fltkcomplexbutton.Po | |
425 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkcomplexbutton.cc' object='libDw_fltk_a-fltkcomplexbutton.obj' libtool=no @AMDEPBACKSLASH@ | |
426 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
427 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkcomplexbutton.obj `if test -f 'fltkcomplexbutton.cc'; then $(CYGPATH_W) 'fltkcomplexbutton.cc'; else $(CYGPATH_W) '$(srcdir)/fltkcomplexbutton.cc'; fi` | |
512 | 428 | |
513 | 429 | libDw_fltk_a-fltkflatview.o: fltkflatview.cc |
514 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkflatview.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkflatview.Tpo -c -o libDw_fltk_a-fltkflatview.o `test -f 'fltkflatview.cc' || echo '$(srcdir)/'`fltkflatview.cc | |
515 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libDw_fltk_a-fltkflatview.Tpo $(DEPDIR)/libDw_fltk_a-fltkflatview.Po | |
516 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='fltkflatview.cc' object='libDw_fltk_a-fltkflatview.o' libtool=no @AMDEPBACKSLASH@ | |
517 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
518 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkflatview.o `test -f 'fltkflatview.cc' || echo '$(srcdir)/'`fltkflatview.cc | |
430 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkflatview.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkflatview.Tpo -c -o libDw_fltk_a-fltkflatview.o `test -f 'fltkflatview.cc' || echo '$(srcdir)/'`fltkflatview.cc | |
431 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkflatview.Tpo $(DEPDIR)/libDw_fltk_a-fltkflatview.Po | |
432 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkflatview.cc' object='libDw_fltk_a-fltkflatview.o' libtool=no @AMDEPBACKSLASH@ | |
433 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
434 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkflatview.o `test -f 'fltkflatview.cc' || echo '$(srcdir)/'`fltkflatview.cc | |
519 | 435 | |
520 | 436 | libDw_fltk_a-fltkflatview.obj: fltkflatview.cc |
521 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkflatview.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkflatview.Tpo -c -o libDw_fltk_a-fltkflatview.obj `if test -f 'fltkflatview.cc'; then $(CYGPATH_W) 'fltkflatview.cc'; else $(CYGPATH_W) '$(srcdir)/fltkflatview.cc'; fi` | |
522 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libDw_fltk_a-fltkflatview.Tpo $(DEPDIR)/libDw_fltk_a-fltkflatview.Po | |
523 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='fltkflatview.cc' object='libDw_fltk_a-fltkflatview.obj' libtool=no @AMDEPBACKSLASH@ | |
524 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
525 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkflatview.obj `if test -f 'fltkflatview.cc'; then $(CYGPATH_W) 'fltkflatview.cc'; else $(CYGPATH_W) '$(srcdir)/fltkflatview.cc'; fi` | |
437 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkflatview.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkflatview.Tpo -c -o libDw_fltk_a-fltkflatview.obj `if test -f 'fltkflatview.cc'; then $(CYGPATH_W) 'fltkflatview.cc'; else $(CYGPATH_W) '$(srcdir)/fltkflatview.cc'; fi` | |
438 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkflatview.Tpo $(DEPDIR)/libDw_fltk_a-fltkflatview.Po | |
439 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkflatview.cc' object='libDw_fltk_a-fltkflatview.obj' libtool=no @AMDEPBACKSLASH@ | |
440 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
441 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkflatview.obj `if test -f 'fltkflatview.cc'; then $(CYGPATH_W) 'fltkflatview.cc'; else $(CYGPATH_W) '$(srcdir)/fltkflatview.cc'; fi` | |
526 | 442 | |
527 | 443 | libDw_fltk_a-fltkimgbuf.o: fltkimgbuf.cc |
528 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkimgbuf.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkimgbuf.Tpo -c -o libDw_fltk_a-fltkimgbuf.o `test -f 'fltkimgbuf.cc' || echo '$(srcdir)/'`fltkimgbuf.cc | |
529 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libDw_fltk_a-fltkimgbuf.Tpo $(DEPDIR)/libDw_fltk_a-fltkimgbuf.Po | |
530 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='fltkimgbuf.cc' object='libDw_fltk_a-fltkimgbuf.o' libtool=no @AMDEPBACKSLASH@ | |
531 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
532 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkimgbuf.o `test -f 'fltkimgbuf.cc' || echo '$(srcdir)/'`fltkimgbuf.cc | |
444 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkimgbuf.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkimgbuf.Tpo -c -o libDw_fltk_a-fltkimgbuf.o `test -f 'fltkimgbuf.cc' || echo '$(srcdir)/'`fltkimgbuf.cc | |
445 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkimgbuf.Tpo $(DEPDIR)/libDw_fltk_a-fltkimgbuf.Po | |
446 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkimgbuf.cc' object='libDw_fltk_a-fltkimgbuf.o' libtool=no @AMDEPBACKSLASH@ | |
447 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
448 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkimgbuf.o `test -f 'fltkimgbuf.cc' || echo '$(srcdir)/'`fltkimgbuf.cc | |
533 | 449 | |
534 | 450 | libDw_fltk_a-fltkimgbuf.obj: fltkimgbuf.cc |
535 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkimgbuf.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkimgbuf.Tpo -c -o libDw_fltk_a-fltkimgbuf.obj `if test -f 'fltkimgbuf.cc'; then $(CYGPATH_W) 'fltkimgbuf.cc'; else $(CYGPATH_W) '$(srcdir)/fltkimgbuf.cc'; fi` | |
536 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libDw_fltk_a-fltkimgbuf.Tpo $(DEPDIR)/libDw_fltk_a-fltkimgbuf.Po | |
537 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='fltkimgbuf.cc' object='libDw_fltk_a-fltkimgbuf.obj' libtool=no @AMDEPBACKSLASH@ | |
538 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
539 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkimgbuf.obj `if test -f 'fltkimgbuf.cc'; then $(CYGPATH_W) 'fltkimgbuf.cc'; else $(CYGPATH_W) '$(srcdir)/fltkimgbuf.cc'; fi` | |
451 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkimgbuf.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkimgbuf.Tpo -c -o libDw_fltk_a-fltkimgbuf.obj `if test -f 'fltkimgbuf.cc'; then $(CYGPATH_W) 'fltkimgbuf.cc'; else $(CYGPATH_W) '$(srcdir)/fltkimgbuf.cc'; fi` | |
452 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkimgbuf.Tpo $(DEPDIR)/libDw_fltk_a-fltkimgbuf.Po | |
453 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkimgbuf.cc' object='libDw_fltk_a-fltkimgbuf.obj' libtool=no @AMDEPBACKSLASH@ | |
454 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
455 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkimgbuf.obj `if test -f 'fltkimgbuf.cc'; then $(CYGPATH_W) 'fltkimgbuf.cc'; else $(CYGPATH_W) '$(srcdir)/fltkimgbuf.cc'; fi` | |
540 | 456 | |
541 | 457 | libDw_fltk_a-fltkmisc.o: fltkmisc.cc |
542 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkmisc.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkmisc.Tpo -c -o libDw_fltk_a-fltkmisc.o `test -f 'fltkmisc.cc' || echo '$(srcdir)/'`fltkmisc.cc | |
543 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libDw_fltk_a-fltkmisc.Tpo $(DEPDIR)/libDw_fltk_a-fltkmisc.Po | |
544 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='fltkmisc.cc' object='libDw_fltk_a-fltkmisc.o' libtool=no @AMDEPBACKSLASH@ | |
545 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
546 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkmisc.o `test -f 'fltkmisc.cc' || echo '$(srcdir)/'`fltkmisc.cc | |
458 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkmisc.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkmisc.Tpo -c -o libDw_fltk_a-fltkmisc.o `test -f 'fltkmisc.cc' || echo '$(srcdir)/'`fltkmisc.cc | |
459 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkmisc.Tpo $(DEPDIR)/libDw_fltk_a-fltkmisc.Po | |
460 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkmisc.cc' object='libDw_fltk_a-fltkmisc.o' libtool=no @AMDEPBACKSLASH@ | |
461 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
462 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkmisc.o `test -f 'fltkmisc.cc' || echo '$(srcdir)/'`fltkmisc.cc | |
547 | 463 | |
548 | 464 | libDw_fltk_a-fltkmisc.obj: fltkmisc.cc |
549 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkmisc.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkmisc.Tpo -c -o libDw_fltk_a-fltkmisc.obj `if test -f 'fltkmisc.cc'; then $(CYGPATH_W) 'fltkmisc.cc'; else $(CYGPATH_W) '$(srcdir)/fltkmisc.cc'; fi` | |
550 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libDw_fltk_a-fltkmisc.Tpo $(DEPDIR)/libDw_fltk_a-fltkmisc.Po | |
551 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='fltkmisc.cc' object='libDw_fltk_a-fltkmisc.obj' libtool=no @AMDEPBACKSLASH@ | |
552 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
553 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkmisc.obj `if test -f 'fltkmisc.cc'; then $(CYGPATH_W) 'fltkmisc.cc'; else $(CYGPATH_W) '$(srcdir)/fltkmisc.cc'; fi` | |
465 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkmisc.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkmisc.Tpo -c -o libDw_fltk_a-fltkmisc.obj `if test -f 'fltkmisc.cc'; then $(CYGPATH_W) 'fltkmisc.cc'; else $(CYGPATH_W) '$(srcdir)/fltkmisc.cc'; fi` | |
466 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkmisc.Tpo $(DEPDIR)/libDw_fltk_a-fltkmisc.Po | |
467 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkmisc.cc' object='libDw_fltk_a-fltkmisc.obj' libtool=no @AMDEPBACKSLASH@ | |
468 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
469 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkmisc.obj `if test -f 'fltkmisc.cc'; then $(CYGPATH_W) 'fltkmisc.cc'; else $(CYGPATH_W) '$(srcdir)/fltkmisc.cc'; fi` | |
554 | 470 | |
555 | 471 | libDw_fltk_a-fltkplatform.o: fltkplatform.cc |
556 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkplatform.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkplatform.Tpo -c -o libDw_fltk_a-fltkplatform.o `test -f 'fltkplatform.cc' || echo '$(srcdir)/'`fltkplatform.cc | |
557 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libDw_fltk_a-fltkplatform.Tpo $(DEPDIR)/libDw_fltk_a-fltkplatform.Po | |
558 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='fltkplatform.cc' object='libDw_fltk_a-fltkplatform.o' libtool=no @AMDEPBACKSLASH@ | |
559 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
560 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkplatform.o `test -f 'fltkplatform.cc' || echo '$(srcdir)/'`fltkplatform.cc | |
472 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkplatform.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkplatform.Tpo -c -o libDw_fltk_a-fltkplatform.o `test -f 'fltkplatform.cc' || echo '$(srcdir)/'`fltkplatform.cc | |
473 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkplatform.Tpo $(DEPDIR)/libDw_fltk_a-fltkplatform.Po | |
474 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkplatform.cc' object='libDw_fltk_a-fltkplatform.o' libtool=no @AMDEPBACKSLASH@ | |
475 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
476 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkplatform.o `test -f 'fltkplatform.cc' || echo '$(srcdir)/'`fltkplatform.cc | |
561 | 477 | |
562 | 478 | libDw_fltk_a-fltkplatform.obj: fltkplatform.cc |
563 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkplatform.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkplatform.Tpo -c -o libDw_fltk_a-fltkplatform.obj `if test -f 'fltkplatform.cc'; then $(CYGPATH_W) 'fltkplatform.cc'; else $(CYGPATH_W) '$(srcdir)/fltkplatform.cc'; fi` | |
564 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libDw_fltk_a-fltkplatform.Tpo $(DEPDIR)/libDw_fltk_a-fltkplatform.Po | |
565 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='fltkplatform.cc' object='libDw_fltk_a-fltkplatform.obj' libtool=no @AMDEPBACKSLASH@ | |
566 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
567 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkplatform.obj `if test -f 'fltkplatform.cc'; then $(CYGPATH_W) 'fltkplatform.cc'; else $(CYGPATH_W) '$(srcdir)/fltkplatform.cc'; fi` | |
479 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkplatform.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkplatform.Tpo -c -o libDw_fltk_a-fltkplatform.obj `if test -f 'fltkplatform.cc'; then $(CYGPATH_W) 'fltkplatform.cc'; else $(CYGPATH_W) '$(srcdir)/fltkplatform.cc'; fi` | |
480 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkplatform.Tpo $(DEPDIR)/libDw_fltk_a-fltkplatform.Po | |
481 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkplatform.cc' object='libDw_fltk_a-fltkplatform.obj' libtool=no @AMDEPBACKSLASH@ | |
482 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
483 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkplatform.obj `if test -f 'fltkplatform.cc'; then $(CYGPATH_W) 'fltkplatform.cc'; else $(CYGPATH_W) '$(srcdir)/fltkplatform.cc'; fi` | |
568 | 484 | |
569 | 485 | libDw_fltk_a-fltkpreview.o: fltkpreview.cc |
570 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkpreview.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkpreview.Tpo -c -o libDw_fltk_a-fltkpreview.o `test -f 'fltkpreview.cc' || echo '$(srcdir)/'`fltkpreview.cc | |
571 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libDw_fltk_a-fltkpreview.Tpo $(DEPDIR)/libDw_fltk_a-fltkpreview.Po | |
572 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='fltkpreview.cc' object='libDw_fltk_a-fltkpreview.o' libtool=no @AMDEPBACKSLASH@ | |
573 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
574 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkpreview.o `test -f 'fltkpreview.cc' || echo '$(srcdir)/'`fltkpreview.cc | |
486 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkpreview.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkpreview.Tpo -c -o libDw_fltk_a-fltkpreview.o `test -f 'fltkpreview.cc' || echo '$(srcdir)/'`fltkpreview.cc | |
487 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkpreview.Tpo $(DEPDIR)/libDw_fltk_a-fltkpreview.Po | |
488 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkpreview.cc' object='libDw_fltk_a-fltkpreview.o' libtool=no @AMDEPBACKSLASH@ | |
489 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
490 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkpreview.o `test -f 'fltkpreview.cc' || echo '$(srcdir)/'`fltkpreview.cc | |
575 | 491 | |
576 | 492 | libDw_fltk_a-fltkpreview.obj: fltkpreview.cc |
577 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkpreview.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkpreview.Tpo -c -o libDw_fltk_a-fltkpreview.obj `if test -f 'fltkpreview.cc'; then $(CYGPATH_W) 'fltkpreview.cc'; else $(CYGPATH_W) '$(srcdir)/fltkpreview.cc'; fi` | |
578 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libDw_fltk_a-fltkpreview.Tpo $(DEPDIR)/libDw_fltk_a-fltkpreview.Po | |
579 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='fltkpreview.cc' object='libDw_fltk_a-fltkpreview.obj' libtool=no @AMDEPBACKSLASH@ | |
580 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
581 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkpreview.obj `if test -f 'fltkpreview.cc'; then $(CYGPATH_W) 'fltkpreview.cc'; else $(CYGPATH_W) '$(srcdir)/fltkpreview.cc'; fi` | |
493 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkpreview.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkpreview.Tpo -c -o libDw_fltk_a-fltkpreview.obj `if test -f 'fltkpreview.cc'; then $(CYGPATH_W) 'fltkpreview.cc'; else $(CYGPATH_W) '$(srcdir)/fltkpreview.cc'; fi` | |
494 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkpreview.Tpo $(DEPDIR)/libDw_fltk_a-fltkpreview.Po | |
495 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkpreview.cc' object='libDw_fltk_a-fltkpreview.obj' libtool=no @AMDEPBACKSLASH@ | |
496 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
497 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkpreview.obj `if test -f 'fltkpreview.cc'; then $(CYGPATH_W) 'fltkpreview.cc'; else $(CYGPATH_W) '$(srcdir)/fltkpreview.cc'; fi` | |
582 | 498 | |
583 | 499 | libDw_fltk_a-fltkui.o: fltkui.cc |
584 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkui.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkui.Tpo -c -o libDw_fltk_a-fltkui.o `test -f 'fltkui.cc' || echo '$(srcdir)/'`fltkui.cc | |
585 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libDw_fltk_a-fltkui.Tpo $(DEPDIR)/libDw_fltk_a-fltkui.Po | |
586 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='fltkui.cc' object='libDw_fltk_a-fltkui.o' libtool=no @AMDEPBACKSLASH@ | |
587 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
588 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkui.o `test -f 'fltkui.cc' || echo '$(srcdir)/'`fltkui.cc | |
500 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkui.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkui.Tpo -c -o libDw_fltk_a-fltkui.o `test -f 'fltkui.cc' || echo '$(srcdir)/'`fltkui.cc | |
501 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkui.Tpo $(DEPDIR)/libDw_fltk_a-fltkui.Po | |
502 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkui.cc' object='libDw_fltk_a-fltkui.o' libtool=no @AMDEPBACKSLASH@ | |
503 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
504 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkui.o `test -f 'fltkui.cc' || echo '$(srcdir)/'`fltkui.cc | |
589 | 505 | |
590 | 506 | libDw_fltk_a-fltkui.obj: fltkui.cc |
591 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkui.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkui.Tpo -c -o libDw_fltk_a-fltkui.obj `if test -f 'fltkui.cc'; then $(CYGPATH_W) 'fltkui.cc'; else $(CYGPATH_W) '$(srcdir)/fltkui.cc'; fi` | |
592 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libDw_fltk_a-fltkui.Tpo $(DEPDIR)/libDw_fltk_a-fltkui.Po | |
593 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='fltkui.cc' object='libDw_fltk_a-fltkui.obj' libtool=no @AMDEPBACKSLASH@ | |
594 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
595 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkui.obj `if test -f 'fltkui.cc'; then $(CYGPATH_W) 'fltkui.cc'; else $(CYGPATH_W) '$(srcdir)/fltkui.cc'; fi` | |
507 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkui.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkui.Tpo -c -o libDw_fltk_a-fltkui.obj `if test -f 'fltkui.cc'; then $(CYGPATH_W) 'fltkui.cc'; else $(CYGPATH_W) '$(srcdir)/fltkui.cc'; fi` | |
508 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkui.Tpo $(DEPDIR)/libDw_fltk_a-fltkui.Po | |
509 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkui.cc' object='libDw_fltk_a-fltkui.obj' libtool=no @AMDEPBACKSLASH@ | |
510 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
511 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkui.obj `if test -f 'fltkui.cc'; then $(CYGPATH_W) 'fltkui.cc'; else $(CYGPATH_W) '$(srcdir)/fltkui.cc'; fi` | |
596 | 512 | |
597 | 513 | libDw_fltk_a-fltkviewbase.o: fltkviewbase.cc |
598 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkviewbase.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkviewbase.Tpo -c -o libDw_fltk_a-fltkviewbase.o `test -f 'fltkviewbase.cc' || echo '$(srcdir)/'`fltkviewbase.cc | |
599 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libDw_fltk_a-fltkviewbase.Tpo $(DEPDIR)/libDw_fltk_a-fltkviewbase.Po | |
600 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='fltkviewbase.cc' object='libDw_fltk_a-fltkviewbase.o' libtool=no @AMDEPBACKSLASH@ | |
601 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
602 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkviewbase.o `test -f 'fltkviewbase.cc' || echo '$(srcdir)/'`fltkviewbase.cc | |
514 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkviewbase.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkviewbase.Tpo -c -o libDw_fltk_a-fltkviewbase.o `test -f 'fltkviewbase.cc' || echo '$(srcdir)/'`fltkviewbase.cc | |
515 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkviewbase.Tpo $(DEPDIR)/libDw_fltk_a-fltkviewbase.Po | |
516 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkviewbase.cc' object='libDw_fltk_a-fltkviewbase.o' libtool=no @AMDEPBACKSLASH@ | |
517 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
518 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkviewbase.o `test -f 'fltkviewbase.cc' || echo '$(srcdir)/'`fltkviewbase.cc | |
603 | 519 | |
604 | 520 | libDw_fltk_a-fltkviewbase.obj: fltkviewbase.cc |
605 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkviewbase.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkviewbase.Tpo -c -o libDw_fltk_a-fltkviewbase.obj `if test -f 'fltkviewbase.cc'; then $(CYGPATH_W) 'fltkviewbase.cc'; else $(CYGPATH_W) '$(srcdir)/fltkviewbase.cc'; fi` | |
606 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libDw_fltk_a-fltkviewbase.Tpo $(DEPDIR)/libDw_fltk_a-fltkviewbase.Po | |
607 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='fltkviewbase.cc' object='libDw_fltk_a-fltkviewbase.obj' libtool=no @AMDEPBACKSLASH@ | |
608 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
609 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkviewbase.obj `if test -f 'fltkviewbase.cc'; then $(CYGPATH_W) 'fltkviewbase.cc'; else $(CYGPATH_W) '$(srcdir)/fltkviewbase.cc'; fi` | |
521 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkviewbase.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkviewbase.Tpo -c -o libDw_fltk_a-fltkviewbase.obj `if test -f 'fltkviewbase.cc'; then $(CYGPATH_W) 'fltkviewbase.cc'; else $(CYGPATH_W) '$(srcdir)/fltkviewbase.cc'; fi` | |
522 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkviewbase.Tpo $(DEPDIR)/libDw_fltk_a-fltkviewbase.Po | |
523 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkviewbase.cc' object='libDw_fltk_a-fltkviewbase.obj' libtool=no @AMDEPBACKSLASH@ | |
524 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
525 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkviewbase.obj `if test -f 'fltkviewbase.cc'; then $(CYGPATH_W) 'fltkviewbase.cc'; else $(CYGPATH_W) '$(srcdir)/fltkviewbase.cc'; fi` | |
610 | 526 | |
611 | 527 | libDw_fltk_a-fltkviewport.o: fltkviewport.cc |
612 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkviewport.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkviewport.Tpo -c -o libDw_fltk_a-fltkviewport.o `test -f 'fltkviewport.cc' || echo '$(srcdir)/'`fltkviewport.cc | |
613 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libDw_fltk_a-fltkviewport.Tpo $(DEPDIR)/libDw_fltk_a-fltkviewport.Po | |
614 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='fltkviewport.cc' object='libDw_fltk_a-fltkviewport.o' libtool=no @AMDEPBACKSLASH@ | |
615 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
616 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkviewport.o `test -f 'fltkviewport.cc' || echo '$(srcdir)/'`fltkviewport.cc | |
528 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkviewport.o -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkviewport.Tpo -c -o libDw_fltk_a-fltkviewport.o `test -f 'fltkviewport.cc' || echo '$(srcdir)/'`fltkviewport.cc | |
529 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkviewport.Tpo $(DEPDIR)/libDw_fltk_a-fltkviewport.Po | |
530 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkviewport.cc' object='libDw_fltk_a-fltkviewport.o' libtool=no @AMDEPBACKSLASH@ | |
531 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
532 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkviewport.o `test -f 'fltkviewport.cc' || echo '$(srcdir)/'`fltkviewport.cc | |
617 | 533 | |
618 | 534 | libDw_fltk_a-fltkviewport.obj: fltkviewport.cc |
619 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkviewport.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkviewport.Tpo -c -o libDw_fltk_a-fltkviewport.obj `if test -f 'fltkviewport.cc'; then $(CYGPATH_W) 'fltkviewport.cc'; else $(CYGPATH_W) '$(srcdir)/fltkviewport.cc'; fi` | |
620 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libDw_fltk_a-fltkviewport.Tpo $(DEPDIR)/libDw_fltk_a-fltkviewport.Po | |
621 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='fltkviewport.cc' object='libDw_fltk_a-fltkviewport.obj' libtool=no @AMDEPBACKSLASH@ | |
622 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
623 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkviewport.obj `if test -f 'fltkviewport.cc'; then $(CYGPATH_W) 'fltkviewport.cc'; else $(CYGPATH_W) '$(srcdir)/fltkviewport.cc'; fi` | |
624 | ||
625 | ID: $(am__tagged_files) | |
626 | $(am__define_uniq_tagged_files); mkid -fID $$unique | |
627 | tags: tags-am | |
628 | TAGS: tags | |
629 | ||
630 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
535 | @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -MT libDw_fltk_a-fltkviewport.obj -MD -MP -MF $(DEPDIR)/libDw_fltk_a-fltkviewport.Tpo -c -o libDw_fltk_a-fltkviewport.obj `if test -f 'fltkviewport.cc'; then $(CYGPATH_W) 'fltkviewport.cc'; else $(CYGPATH_W) '$(srcdir)/fltkviewport.cc'; fi` | |
536 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libDw_fltk_a-fltkviewport.Tpo $(DEPDIR)/libDw_fltk_a-fltkviewport.Po | |
537 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='fltkviewport.cc' object='libDw_fltk_a-fltkviewport.obj' libtool=no @AMDEPBACKSLASH@ | |
538 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
539 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libDw_fltk_a_CXXFLAGS) $(CXXFLAGS) -c -o libDw_fltk_a-fltkviewport.obj `if test -f 'fltkviewport.cc'; then $(CYGPATH_W) 'fltkviewport.cc'; else $(CYGPATH_W) '$(srcdir)/fltkviewport.cc'; fi` | |
540 | ||
541 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
542 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
543 | unique=`for i in $$list; do \ | |
544 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
545 | done | \ | |
546 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
547 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
548 | mkid -fID $$unique | |
549 | tags: TAGS | |
550 | ||
551 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
552 | $(TAGS_FILES) $(LISP) | |
631 | 553 | set x; \ |
632 | 554 | here=`pwd`; \ |
633 | $(am__define_uniq_tagged_files); \ | |
555 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
556 | unique=`for i in $$list; do \ | |
557 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
558 | done | \ | |
559 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
560 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
634 | 561 | shift; \ |
635 | 562 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
636 | 563 | test -n "$$unique" || unique=$$empty_fix; \ |
642 | 569 | $$unique; \ |
643 | 570 | fi; \ |
644 | 571 | fi |
645 | ctags: ctags-am | |
646 | ||
647 | CTAGS: ctags | |
648 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
649 | $(am__define_uniq_tagged_files); \ | |
572 | ctags: CTAGS | |
573 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
574 | $(TAGS_FILES) $(LISP) | |
575 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
576 | unique=`for i in $$list; do \ | |
577 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
578 | done | \ | |
579 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
580 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
650 | 581 | test -z "$(CTAGS_ARGS)$$unique" \ |
651 | 582 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
652 | 583 | $$unique |
655 | 586 | here=`$(am__cd) $(top_builddir) && pwd` \ |
656 | 587 | && $(am__cd) $(top_srcdir) \ |
657 | 588 | && gtags -i $(GTAGS_ARGS) "$$here" |
658 | cscopelist: cscopelist-am | |
659 | ||
660 | cscopelist-am: $(am__tagged_files) | |
661 | list='$(am__tagged_files)'; \ | |
662 | case "$(srcdir)" in \ | |
663 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
664 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
665 | esac; \ | |
666 | for i in $$list; do \ | |
667 | if test -f "$$i"; then \ | |
668 | echo "$(subdir)/$$i"; \ | |
669 | else \ | |
670 | echo "$$sdir/$$i"; \ | |
671 | fi; \ | |
672 | done >> $(top_builddir)/cscope.files | |
673 | 589 | |
674 | 590 | distclean-tags: |
675 | 591 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
809 | 725 | |
810 | 726 | .MAKE: install-am install-strip |
811 | 727 | |
812 | .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ | |
813 | clean-noinstLIBRARIES cscopelist-am ctags ctags-am distclean \ | |
814 | distclean-compile distclean-generic distclean-tags distdir dvi \ | |
815 | dvi-am html html-am info info-am install install-am \ | |
816 | install-data install-data-am install-dvi install-dvi-am \ | |
817 | install-exec install-exec-am install-html install-html-am \ | |
818 | install-info install-info-am install-man install-pdf \ | |
819 | install-pdf-am install-ps install-ps-am install-strip \ | |
820 | installcheck installcheck-am installdirs maintainer-clean \ | |
728 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | |
729 | clean-noinstLIBRARIES ctags distclean distclean-compile \ | |
730 | distclean-generic distclean-tags distdir dvi dvi-am html \ | |
731 | html-am info info-am install install-am install-data \ | |
732 | install-data-am install-dvi install-dvi-am install-exec \ | |
733 | install-exec-am install-html install-html-am install-info \ | |
734 | install-info-am install-man install-pdf install-pdf-am \ | |
735 | install-ps install-ps-am install-strip installcheck \ | |
736 | installcheck-am installdirs maintainer-clean \ | |
821 | 737 | maintainer-clean-generic mostlyclean mostlyclean-compile \ |
822 | mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ | |
738 | mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ | |
823 | 739 | uninstall-am |
824 | 740 | |
825 | 741 |
79 | 79 | { |
80 | 80 | DBG_OBJ_CREATE ("dw::fltk::FltkImgbuf"); |
81 | 81 | |
82 | _MSG("FltkImgbuf: new root %p\n", this); | |
82 | _MSG ("FltkImgbuf::FltkImgbuf: new root %p\n", this); | |
83 | 83 | init (type, width, height, gamma, NULL); |
84 | 84 | } |
85 | 85 | |
88 | 88 | { |
89 | 89 | DBG_OBJ_CREATE ("dw::fltk::FltkImgbuf"); |
90 | 90 | |
91 | _MSG("FltkImgbuf: new scaled %p, root is %p\n", this, root); | |
91 | _MSG ("FltkImgbuf::FltkImgbuf: new scaled %p, root is %p\n", this, root); | |
92 | 92 | init (type, width, height, gamma, root); |
93 | 93 | } |
94 | 94 | |
134 | 134 | case RGB: bpp = 3; break; |
135 | 135 | default: bpp = 1; break; |
136 | 136 | } |
137 | _MSG("FltkImgbuf::init width=%d height=%d bpp=%d gamma=%g\n", | |
138 | width, height, bpp, gamma); | |
137 | _MSG("FltkImgbuf::init this=%p width=%d height=%d bpp=%d gamma=%g\n", | |
138 | this, width, height, bpp, gamma); | |
139 | 139 | rawdata = new uchar[bpp * width * height]; |
140 | 140 | // Set light-gray as interim background color. |
141 | 141 | memset(rawdata, 222, width*height*bpp); |
162 | 162 | |
163 | 163 | FltkImgbuf::~FltkImgbuf () |
164 | 164 | { |
165 | _MSG ("FltkImgbuf::~FltkImgbuf\n"); | |
166 | ||
165 | 167 | if (!isRoot()) |
166 | 168 | root->detachScaledBuf (this); |
167 | 169 |
412 | 412 | core::ui::EntryResource * |
413 | 413 | FltkPlatform::FltkResourceFactory::createEntryResource (int size, |
414 | 414 | bool password, |
415 | const char *label) | |
416 | { | |
417 | return new ui::FltkEntryResource (platform, size, password, label); | |
415 | const char *label, | |
416 | const char *placeholder) | |
417 | { | |
418 | return new ui::FltkEntryResource (platform, size, password, label, | |
419 | placeholder); | |
418 | 420 | } |
419 | 421 | |
420 | 422 | core::ui::MultiLineTextResource * |
421 | 423 | FltkPlatform::FltkResourceFactory::createMultiLineTextResource (int cols, |
422 | int rows) | |
423 | { | |
424 | return new ui::FltkMultiLineTextResource (platform, cols, rows); | |
424 | int rows, | |
425 | const char *placeholder) | |
426 | { | |
427 | return new ui::FltkMultiLineTextResource (platform, cols, rows,placeholder); | |
425 | 428 | } |
426 | 429 | |
427 | 430 | core::ui::CheckButtonResource * |
109 | 109 | int rows); |
110 | 110 | core::ui::OptionMenuResource *createOptionMenuResource (); |
111 | 111 | core::ui::EntryResource *createEntryResource (int size, bool password, |
112 | const char *label); | |
112 | const char *label, | |
113 | const char *placeholder); | |
113 | 114 | core::ui::MultiLineTextResource *createMultiLineTextResource (int cols, |
114 | int rows); | |
115 | int rows, | |
116 | const char *placeholder); | |
115 | 117 | core::ui::CheckButtonResource *createCheckButtonResource (bool |
116 | 118 | activated); |
117 | 119 | core::ui::RadioButtonResource * |
36 | 36 | #include <stdio.h> |
37 | 37 | |
38 | 38 | //---------------------------------------------------------------------------- |
39 | ||
40 | static Fl_Color fltkui_dimmed(Fl_Color c, Fl_Color bg) | |
41 | { | |
42 | return fl_color_average(c, bg, .33f); | |
43 | }; | |
44 | ||
45 | //---------------------------------------------------------------------------- | |
39 | 46 | /* |
40 | 47 | * Local sub classes |
41 | 48 | */ |
42 | 49 | |
43 | 50 | /* |
44 | * Used to enable CTRL+{a,e,d,k} in form inputs (for start,end,del,cut) | |
51 | * Used to show optional placeholder text and to enable CTRL+{a,e,d,k} in | |
52 | * form inputs (for start,end,del,cut) | |
45 | 53 | */ |
46 | 54 | class CustInput2 : public Fl_Input { |
47 | 55 | public: |
48 | CustInput2 (int x, int y, int w, int h, const char* l=0) : | |
49 | Fl_Input(x,y,w,h,l) {}; | |
56 | CustInput2 (int x, int y, int w, int h, const char* l=0); | |
57 | ~CustInput2 () { if (placeholder) free(placeholder); }; | |
58 | void set_placeholder(const char *str); | |
59 | int show_placeholder(); | |
60 | int show_normal(const char *str); | |
61 | void textcolor(Fl_Color c); | |
62 | void input_type(int t); | |
63 | int value(const char* str); | |
64 | const char* value(); | |
50 | 65 | int handle(int e); |
66 | private: | |
67 | char *placeholder; | |
68 | bool showing_placeholder; | |
69 | Fl_Color usual_color; | |
70 | int usual_type; | |
51 | 71 | }; |
52 | 72 | |
73 | CustInput2::CustInput2 (int x, int y, int w, int h, const char* l) : | |
74 | Fl_Input(x,y,w,h,l) | |
75 | { | |
76 | placeholder = NULL; | |
77 | showing_placeholder = false; | |
78 | usual_color = FL_BLACK; /* just init until widget style is set */ | |
79 | }; | |
80 | ||
81 | /* | |
82 | * Show normal text. | |
83 | */ | |
84 | int CustInput2::show_normal(const char *str) | |
85 | { | |
86 | showing_placeholder = false; | |
87 | Fl_Input::textcolor(usual_color); | |
88 | Fl_Input::input_type(usual_type); | |
89 | return Fl_Input::value(str); | |
90 | } | |
91 | ||
92 | /* | |
93 | * Show the placeholder text. | |
94 | */ | |
95 | int CustInput2::show_placeholder() | |
96 | { | |
97 | int ret; | |
98 | ||
99 | showing_placeholder = true; | |
100 | Fl_Input::textcolor(fltkui_dimmed(usual_color, color())); | |
101 | Fl_Input::input_type(FL_NORMAL_INPUT); | |
102 | ret = Fl_Input::value(placeholder); | |
103 | position(0); | |
104 | return ret; | |
105 | } | |
106 | ||
107 | /* | |
108 | * Set the placeholder text. | |
109 | */ | |
110 | void CustInput2::set_placeholder(const char *str) | |
111 | { | |
112 | if (placeholder) | |
113 | free(placeholder); | |
114 | placeholder = strdup(str); | |
115 | ||
116 | if ((Fl::focus() != this) && !*value()) { | |
117 | show_placeholder(); | |
118 | } | |
119 | } | |
120 | ||
121 | /* | |
122 | * Set the text color. | |
123 | */ | |
124 | void CustInput2::textcolor(Fl_Color c) | |
125 | { | |
126 | usual_color = c; | |
127 | if (showing_placeholder) | |
128 | c = fltkui_dimmed(c, color()); | |
129 | Fl_Input::textcolor(c); | |
130 | } | |
131 | ||
132 | /* | |
133 | * Set the input type (normal, password, etc.) | |
134 | */ | |
135 | void CustInput2::input_type(int t) | |
136 | { | |
137 | usual_type = t; | |
138 | Fl_Input::input_type(t); | |
139 | } | |
140 | ||
141 | /* | |
142 | * Set the value of the input. | |
143 | * NOTE that we're not being very careful with the return value, which is | |
144 | * supposed to be nonzero iff the value was changed. | |
145 | */ | |
146 | int CustInput2::value(const char *str) | |
147 | { | |
148 | return (placeholder && (!str || !*str) && Fl::focus() != this) | |
149 | ? show_placeholder() : show_normal(str); | |
150 | } | |
151 | ||
152 | /* | |
153 | * Return the value (text) of the input. | |
154 | */ | |
155 | const char* CustInput2::value() | |
156 | { | |
157 | return showing_placeholder ? "" : Fl_Input::value(); | |
158 | } | |
159 | ||
53 | 160 | int CustInput2::handle(int e) |
54 | 161 | { |
55 | int k = Fl::event_key(); | |
162 | int rc, k = Fl::event_key(); | |
56 | 163 | |
57 | 164 | _MSG("CustInput2::handle event=%d\n", e); |
58 | 165 | |
81 | 188 | return 0; |
82 | 189 | } |
83 | 190 | } |
84 | } | |
85 | return Fl_Input::handle(e); | |
191 | } else if (e == FL_UNFOCUS) { | |
192 | if (placeholder && !value()[0]) { | |
193 | show_placeholder(); | |
194 | } | |
195 | } | |
196 | ||
197 | rc = Fl_Input::handle(e); | |
198 | ||
199 | if (rc && e == FL_FOCUS) { | |
200 | // Nonzero return from handle() should mean that focus was accepted. | |
201 | if (showing_placeholder) | |
202 | show_normal(""); | |
203 | } | |
204 | return rc; | |
205 | } | |
206 | ||
207 | /* | |
208 | * Used to show optional placeholder text. | |
209 | */ | |
210 | class CustTextEditor : public Fl_Text_Editor { | |
211 | public: | |
212 | CustTextEditor (int x, int y, int w, int h, const char* l=0); | |
213 | ~CustTextEditor (); | |
214 | void set_placeholder(const char *str); | |
215 | void show_placeholder(); | |
216 | void show_normal(const char *str); | |
217 | void textcolor(Fl_Color c); | |
218 | void value(const char* str); | |
219 | char* value(); | |
220 | int handle(int e); | |
221 | private: | |
222 | char *placeholder; | |
223 | bool showing_placeholder; | |
224 | Fl_Color usual_color; | |
225 | char *text_copy; | |
226 | }; | |
227 | ||
228 | CustTextEditor::CustTextEditor (int x, int y, int w, int h, const char* l) : | |
229 | Fl_Text_Editor(x,y,w,h,l) | |
230 | { | |
231 | placeholder = NULL; | |
232 | showing_placeholder = false; | |
233 | buffer(new Fl_Text_Buffer()); | |
234 | usual_color = FL_BLACK; /* just init until widget style is set */ | |
235 | text_copy = NULL; | |
236 | }; | |
237 | ||
238 | CustTextEditor::~CustTextEditor () | |
239 | { | |
240 | Fl_Text_Buffer *buf = buffer(); | |
241 | ||
242 | buffer(NULL); | |
243 | delete buf; | |
244 | ||
245 | if (placeholder) | |
246 | free(placeholder); | |
247 | if (text_copy) | |
248 | free(text_copy); | |
249 | } | |
250 | ||
251 | /* | |
252 | * Show normal text. | |
253 | */ | |
254 | void CustTextEditor::show_normal(const char *str) | |
255 | { | |
256 | showing_placeholder = false; | |
257 | Fl_Text_Editor::textcolor(usual_color); | |
258 | buffer()->text(str); | |
259 | } | |
260 | ||
261 | /* | |
262 | * Show the placeholder text. | |
263 | */ | |
264 | void CustTextEditor::show_placeholder() | |
265 | { | |
266 | showing_placeholder = true; | |
267 | Fl_Text_Editor::textcolor(fltkui_dimmed(usual_color, color())); | |
268 | buffer()->text(placeholder); | |
269 | } | |
270 | ||
271 | /* | |
272 | * Set the placeholder text. | |
273 | */ | |
274 | void CustTextEditor::set_placeholder(const char *str) | |
275 | { | |
276 | if (placeholder) | |
277 | free(placeholder); | |
278 | placeholder = strdup(str); | |
279 | ||
280 | if ((Fl::focus() != this) && buffer()->length() == 0) { | |
281 | show_placeholder(); | |
282 | } | |
283 | } | |
284 | ||
285 | /* | |
286 | * Set the text color. | |
287 | */ | |
288 | void CustTextEditor::textcolor(Fl_Color c) | |
289 | { | |
290 | usual_color = c; | |
291 | if (showing_placeholder) | |
292 | c = fltkui_dimmed(c, color()); | |
293 | Fl_Text_Editor::textcolor(c); | |
294 | } | |
295 | ||
296 | /* | |
297 | * Set the value of the input. | |
298 | */ | |
299 | void CustTextEditor::value(const char *str) | |
300 | { | |
301 | if (placeholder && (!str || !*str) && Fl::focus() != this) | |
302 | show_placeholder(); | |
303 | else | |
304 | show_normal(str); | |
305 | } | |
306 | ||
307 | /* | |
308 | * Return the value (text) of the input. | |
309 | */ | |
310 | char* CustTextEditor::value() | |
311 | { | |
312 | /* FLTK-1.3 insists upon returning a new copy of the buffer text, so | |
313 | * we have to keep track of it. | |
314 | */ | |
315 | if (text_copy) | |
316 | free(text_copy); | |
317 | text_copy = showing_placeholder ? strdup("") : buffer()->text(); | |
318 | return text_copy; | |
319 | } | |
320 | ||
321 | int CustTextEditor::handle(int e) | |
322 | { | |
323 | int rc; | |
324 | ||
325 | if (e == FL_UNFOCUS) { | |
326 | if (placeholder && buffer()->length() == 0) { | |
327 | show_placeholder(); | |
328 | } | |
329 | } | |
330 | ||
331 | rc = Fl_Text_Editor::handle(e); | |
332 | ||
333 | if (rc && e == FL_FOCUS) { | |
334 | // Nonzero return from handle() should mean that focus was accepted. | |
335 | if (showing_placeholder) | |
336 | show_normal(""); | |
337 | } | |
338 | return rc; | |
86 | 339 | } |
87 | 340 | |
88 | 341 | |
562 | 815 | // ---------------------------------------------------------------------- |
563 | 816 | |
564 | 817 | FltkEntryResource::FltkEntryResource (FltkPlatform *platform, int size, |
565 | bool password, const char *label): | |
818 | bool password, const char *label, | |
819 | const char *placeholder): | |
566 | 820 | FltkSpecificResource <dw::core::ui::EntryResource> (platform) |
567 | 821 | { |
568 | 822 | this->size = size; |
569 | 823 | this->password = password; |
570 | 824 | this->label = label ? strdup(label) : NULL; |
571 | 825 | this->label_w = 0; |
826 | this->placeholder = placeholder ? strdup(placeholder) : NULL; | |
572 | 827 | |
573 | 828 | initText = NULL; |
574 | 829 | editable = false; |
582 | 837 | free((char *)initText); |
583 | 838 | if (label) |
584 | 839 | free(label); |
840 | if (placeholder) | |
841 | free(placeholder); | |
585 | 842 | } |
586 | 843 | |
587 | 844 | Fl_Widget *FltkEntryResource::createNewWidget (core::Allocation |
588 | 845 | *allocation) |
589 | 846 | { |
590 | Fl_Input *input = | |
847 | CustInput2 *input = | |
591 | 848 | new CustInput2(allocation->x, allocation->y, allocation->width, |
592 | 849 | allocation->ascent + allocation->descent); |
593 | if (password) | |
594 | input->type(FL_SECRET_INPUT); | |
850 | input->input_type(password ? FL_SECRET_INPUT : FL_NORMAL_INPUT); | |
595 | 851 | input->callback (widgetCallback, this); |
596 | 852 | input->when (FL_WHEN_ENTER_KEY_ALWAYS); |
597 | 853 | |
601 | 857 | } |
602 | 858 | if (initText) |
603 | 859 | input->value (initText); |
860 | if (placeholder) | |
861 | input->set_placeholder(placeholder); | |
604 | 862 | |
605 | 863 | return input; |
606 | 864 | } |
608 | 866 | void FltkEntryResource::setWidgetStyle (Fl_Widget *widget, |
609 | 867 | core::style::Style *style) |
610 | 868 | { |
611 | Fl_Input *in = (Fl_Input *)widget; | |
869 | CustInput2 *in = (CustInput2 *)widget; | |
612 | 870 | |
613 | 871 | FltkResource::setWidgetStyle(widget, style); |
614 | 872 | |
615 | 873 | in->textcolor(widget->labelcolor()); |
616 | in->cursor_color(in->textcolor()); | |
874 | in->cursor_color(widget->labelcolor()); | |
617 | 875 | in->textsize(in->labelsize()); |
618 | 876 | in->textfont(in->labelfont()); |
619 | 877 | |
673 | 931 | |
674 | 932 | const char *FltkEntryResource::getText () |
675 | 933 | { |
676 | return ((Fl_Input*)widget)->value (); | |
934 | return ((CustInput2*)widget)->value (); | |
677 | 935 | } |
678 | 936 | |
679 | 937 | void FltkEntryResource::setText (const char *text) |
682 | 940 | free((char *)initText); |
683 | 941 | initText = strdup (text); |
684 | 942 | |
685 | ((Fl_Input*)widget)->value (initText); | |
943 | ((CustInput2*)widget)->value (initText); | |
686 | 944 | } |
687 | 945 | |
688 | 946 | bool FltkEntryResource::isEditable () |
717 | 975 | } |
718 | 976 | |
719 | 977 | FltkMultiLineTextResource::FltkMultiLineTextResource (FltkPlatform *platform, |
720 | int cols, int rows): | |
978 | int cols, int rows, | |
979 | const char *placeholder): | |
721 | 980 | FltkSpecificResource <dw::core::ui::MultiLineTextResource> (platform) |
722 | 981 | { |
723 | buffer = new Fl_Text_Buffer; | |
724 | text_copy = NULL; | |
725 | 982 | editable = false; |
726 | 983 | |
727 | 984 | numCols = cols; |
736 | 993 | MSG_WARN("numRows = %d is set to 1.\n", numRows); |
737 | 994 | numRows = 1; |
738 | 995 | } |
996 | this->placeholder = placeholder ? strdup(placeholder) : NULL; | |
739 | 997 | |
740 | 998 | init (platform); |
741 | 999 | } |
742 | 1000 | |
743 | 1001 | FltkMultiLineTextResource::~FltkMultiLineTextResource () |
744 | 1002 | { |
745 | /* Free memory avoiding a double-free of text buffers */ | |
746 | ((Fl_Text_Editor *) widget)->buffer (0); | |
747 | delete buffer; | |
748 | if (text_copy) | |
749 | free(text_copy); | |
1003 | if (placeholder) | |
1004 | free(placeholder); | |
750 | 1005 | } |
751 | 1006 | |
752 | 1007 | Fl_Widget *FltkMultiLineTextResource::createNewWidget (core::Allocation |
753 | 1008 | *allocation) |
754 | 1009 | { |
755 | Fl_Text_Editor *text = | |
756 | new Fl_Text_Editor (allocation->x, allocation->y, allocation->width, | |
1010 | CustTextEditor *text = | |
1011 | new CustTextEditor (allocation->x, allocation->y, allocation->width, | |
757 | 1012 | allocation->ascent + allocation->descent); |
758 | 1013 | text->wrap_mode(Fl_Text_Display::WRAP_AT_BOUNDS, 0); |
759 | text->buffer (buffer); | |
760 | 1014 | text->remove_key_binding(FL_BackSpace, FL_TEXT_EDITOR_ANY_STATE); |
761 | 1015 | text->add_key_binding(FL_BackSpace, 0, Fl_Text_Editor::kf_backspace); |
762 | 1016 | text->add_key_binding(FL_BackSpace, FL_CTRL, kf_backspace_word); |
1017 | if (placeholder) | |
1018 | text->set_placeholder(placeholder); | |
763 | 1019 | return text; |
764 | 1020 | } |
765 | 1021 | |
766 | 1022 | void FltkMultiLineTextResource::setWidgetStyle (Fl_Widget *widget, |
767 | 1023 | core::style::Style *style) |
768 | 1024 | { |
769 | Fl_Text_Editor *ed = (Fl_Text_Editor *)widget; | |
1025 | CustTextEditor *ed = (CustTextEditor *)widget; | |
770 | 1026 | |
771 | 1027 | FltkResource::setWidgetStyle(widget, style); |
772 | 1028 | |
773 | 1029 | ed->textcolor(widget->labelcolor()); |
774 | ed->cursor_color(ed->textcolor()); | |
1030 | ed->cursor_color(widget->labelcolor()); | |
775 | 1031 | ed->textsize(ed->labelsize()); |
776 | 1032 | ed->textfont(ed->labelfont()); |
777 | 1033 | } |
800 | 1056 | |
801 | 1057 | const char *FltkMultiLineTextResource::getText () |
802 | 1058 | { |
803 | /* FLTK-1.3 insists upon returning a new copy of the buffer text, so | |
804 | * we have to keep track of it. | |
805 | */ | |
806 | if (text_copy) | |
807 | free(text_copy); | |
808 | text_copy = buffer->text(); | |
809 | return text_copy; | |
1059 | return ((CustTextEditor*)widget)->value (); | |
810 | 1060 | } |
811 | 1061 | |
812 | 1062 | void FltkMultiLineTextResource::setText (const char *text) |
813 | 1063 | { |
814 | buffer->text (text); | |
1064 | ((CustTextEditor*)widget)->value (text); | |
815 | 1065 | } |
816 | 1066 | |
817 | 1067 | bool FltkMultiLineTextResource::isEditable () |
300 | 300 | const char *initText; |
301 | 301 | char *label; |
302 | 302 | int label_w; |
303 | char *placeholder; | |
303 | 304 | bool editable; |
304 | 305 | |
305 | 306 | static void widgetCallback (Fl_Widget *widget, void *data); |
311 | 312 | |
312 | 313 | public: |
313 | 314 | FltkEntryResource (FltkPlatform *platform, int size, bool password, |
314 | const char *label); | |
315 | const char *label, const char *placeholder); | |
315 | 316 | ~FltkEntryResource (); |
316 | 317 | |
317 | 318 | void sizeRequest (core::Requisition *requisition); |
329 | 330 | public FltkSpecificResource <dw::core::ui::MultiLineTextResource> |
330 | 331 | { |
331 | 332 | private: |
332 | Fl_Text_Buffer *buffer; | |
333 | char *text_copy; | |
334 | 333 | bool editable; |
335 | 334 | int numCols, numRows; |
336 | ||
335 | char *placeholder; | |
337 | 336 | protected: |
338 | 337 | Fl_Widget *createNewWidget (core::Allocation *allocation); |
339 | 338 | void setWidgetStyle (Fl_Widget *widget, core::style::Style *style); |
340 | 339 | |
341 | 340 | public: |
342 | FltkMultiLineTextResource (FltkPlatform *platform, int cols, int rows); | |
341 | FltkMultiLineTextResource (FltkPlatform *platform, int cols, int rows, | |
342 | const char *placeholder); | |
343 | 343 | ~FltkMultiLineTextResource (); |
344 | 344 | |
345 | 345 | void sizeRequest (core::Requisition *requisition); |
424 | 424 | { |
425 | 425 | core::Imgbuf *oldBuf = this->buffer; |
426 | 426 | |
427 | if (resize) | |
428 | queueResize (0, true); | |
429 | ||
430 | if (wasAllocated () && getContentWidth () > 0 && getContentHeight () > 0) { | |
431 | // Only scale when both dimensions are known. | |
427 | if (wasAllocated () && needsResize () && | |
428 | getContentWidth () > 0 && getContentHeight () > 0) { | |
429 | // Don't create a new buffer for the transition from alt text to img, | |
430 | // and only scale when both dimensions are known. | |
432 | 431 | this->buffer = |
433 | 432 | buffer->getScaledBuf (getContentWidth (), getContentHeight ()); |
434 | 433 | } else { |
435 | 434 | this->buffer = buffer; |
436 | 435 | buffer->ref (); |
437 | 436 | } |
437 | queueResize (0, true); | |
438 | 438 | |
439 | 439 | DBG_OBJ_ASSOC_CHILD (this->buffer); |
440 | 440 |
543 | 543 | selectionMode, int rows) = 0; |
544 | 544 | virtual OptionMenuResource *createOptionMenuResource () = 0; |
545 | 545 | virtual EntryResource *createEntryResource (int size, bool password, |
546 | const char *label) = 0; | |
546 | const char *label, | |
547 | const char *placeholder) = 0; | |
547 | 548 | virtual MultiLineTextResource *createMultiLineTextResource (int cols, |
548 | int rows) = 0; | |
549 | int rows, | |
550 | const char *placeholder) = 0; | |
549 | 551 | virtual CheckButtonResource *createCheckButtonResource (bool activated) = 0; |
550 | 552 | virtual RadioButtonResource *createRadioButtonResource (RadioButtonResource |
551 | 553 | *groupedWith, |
158 | 158 | { |
159 | 159 | /** \todo Maybe only the intersection? */ |
160 | 160 | layout->queueDraw (x + allocation.x, y + allocation.y, width, height); |
161 | _MSG("Widget::queueDrawArea x=%d y=%d w=%d h=%d\n", x, y, width, height); | |
161 | _MSG("Widget::queueDrawArea alloc(%d %d %d %d) wid(%d %d %d %d)\n", | |
162 | allocation.x, allocation.y, | |
163 | allocation.width, allocation.ascent + allocation.descent, | |
164 | x, y, width, height); | |
162 | 165 | } |
163 | 166 | |
164 | 167 | /** |
0 | 0 | #!/bin/sh |
1 | 1 | # install - install a program, script, or datafile |
2 | 2 | |
3 | scriptversion=2011-11-20.07; # UTC | |
3 | scriptversion=2011-01-19.21; # UTC | |
4 | 4 | |
5 | 5 | # This originates from X11R5 (mit/util/scripts/install.sh), which was |
6 | 6 | # later released in X11R6 (xc/config/util/install.sh) with the |
34 | 34 | # FSF changes to this file are in the public domain. |
35 | 35 | # |
36 | 36 | # Calling this script install-sh is preferred over install.sh, to prevent |
37 | # 'make' implicit rules from creating a file called install from it | |
37 | # `make' implicit rules from creating a file called install from it | |
38 | 38 | # when there is no Makefile. |
39 | 39 | # |
40 | 40 | # This script is compatible with the BSD install script, but was written |
155 | 155 | -s) stripcmd=$stripprog;; |
156 | 156 | |
157 | 157 | -t) dst_arg=$2 |
158 | # Protect names problematic for 'test' and other utilities. | |
158 | # Protect names problematic for `test' and other utilities. | |
159 | 159 | case $dst_arg in |
160 | 160 | -* | [=\(\)!]) dst_arg=./$dst_arg;; |
161 | 161 | esac |
189 | 189 | fi |
190 | 190 | shift # arg |
191 | 191 | dst_arg=$arg |
192 | # Protect names problematic for 'test' and other utilities. | |
192 | # Protect names problematic for `test' and other utilities. | |
193 | 193 | case $dst_arg in |
194 | 194 | -* | [=\(\)!]) dst_arg=./$dst_arg;; |
195 | 195 | esac |
201 | 201 | echo "$0: no input file specified." >&2 |
202 | 202 | exit 1 |
203 | 203 | fi |
204 | # It's OK to call 'install-sh -d' without argument. | |
204 | # It's OK to call `install-sh -d' without argument. | |
205 | 205 | # This can happen when creating conditional directories. |
206 | 206 | exit 0 |
207 | 207 | fi |
239 | 239 | |
240 | 240 | for src |
241 | 241 | do |
242 | # Protect names problematic for 'test' and other utilities. | |
242 | # Protect names problematic for `test' and other utilities. | |
243 | 243 | case $src in |
244 | 244 | -* | [=\(\)!]) src=./$src;; |
245 | 245 | esac |
353 | 353 | if test -z "$dir_arg" || { |
354 | 354 | # Check for POSIX incompatibilities with -m. |
355 | 355 | # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or |
356 | # other-writable bit of parent directory when it shouldn't. | |
356 | # other-writeable bit of parent directory when it shouldn't. | |
357 | 357 | # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. |
358 | 358 | ls_ld_tmpdir=`ls -ld "$tmpdir"` |
359 | 359 | case $ls_ld_tmpdir in |
0 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.11.6 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | |
4 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
5 | 6 | # This Makefile.in is free software; the Free Software Foundation |
6 | 7 | # gives unlimited permission to copy and/or distribute it, |
7 | 8 | # with or without modifications, as long as this notice is preserved. |
14 | 15 | @SET_MAKE@ |
15 | 16 | |
16 | 17 | VPATH = @srcdir@ |
17 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | |
18 | am__make_running_with_option = \ | |
19 | case $${target_option-} in \ | |
20 | ?) ;; \ | |
21 | *) echo "am__make_running_with_option: internal error: invalid" \ | |
22 | "target option '$${target_option-}' specified" >&2; \ | |
23 | exit 1;; \ | |
24 | esac; \ | |
25 | has_opt=no; \ | |
26 | sane_makeflags=$$MAKEFLAGS; \ | |
27 | if $(am__is_gnu_make); then \ | |
28 | sane_makeflags=$$MFLAGS; \ | |
29 | else \ | |
18 | am__make_dryrun = \ | |
19 | { \ | |
20 | am__dry=no; \ | |
30 | 21 | case $$MAKEFLAGS in \ |
31 | 22 | *\\[\ \ ]*) \ |
32 | bs=\\; \ | |
33 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
34 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
23 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
24 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
25 | *) \ | |
26 | for am__flg in $$MAKEFLAGS; do \ | |
27 | case $$am__flg in \ | |
28 | *=*|--*) ;; \ | |
29 | *n*) am__dry=yes; break;; \ | |
30 | esac; \ | |
31 | done;; \ | |
35 | 32 | esac; \ |
36 | fi; \ | |
37 | skip_next=no; \ | |
38 | strip_trailopt () \ | |
39 | { \ | |
40 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
41 | }; \ | |
42 | for flg in $$sane_makeflags; do \ | |
43 | test $$skip_next = yes && { skip_next=no; continue; }; \ | |
44 | case $$flg in \ | |
45 | *=*|--*) continue;; \ | |
46 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
47 | -*I?*) strip_trailopt 'I';; \ | |
48 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
49 | -*O?*) strip_trailopt 'O';; \ | |
50 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
51 | -*l?*) strip_trailopt 'l';; \ | |
52 | -[dEDm]) skip_next=yes;; \ | |
53 | -[JT]) skip_next=yes;; \ | |
54 | esac; \ | |
55 | case $$flg in \ | |
56 | *$$target_option*) has_opt=yes; break;; \ | |
57 | esac; \ | |
58 | done; \ | |
59 | test $$has_opt = yes | |
60 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
61 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
33 | test $$am__dry = yes; \ | |
34 | } | |
62 | 35 | pkgdatadir = $(datadir)/@PACKAGE@ |
63 | 36 | pkgincludedir = $(includedir)/@PACKAGE@ |
64 | 37 | pkglibdir = $(libdir)/@PACKAGE@ |
79 | 52 | host_triplet = @host@ |
80 | 53 | target_triplet = @target@ |
81 | 54 | subdir = lout |
82 | DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ | |
83 | $(top_srcdir)/depcomp | |
55 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | |
84 | 56 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
85 | 57 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
86 | 58 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
92 | 64 | LIBRARIES = $(noinst_LIBRARIES) |
93 | 65 | AR = ar |
94 | 66 | ARFLAGS = cru |
95 | AM_V_AR = $(am__v_AR_@AM_V@) | |
96 | am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) | |
97 | am__v_AR_0 = @echo " AR " $@; | |
98 | am__v_AR_1 = | |
99 | 67 | liblout_a_AR = $(AR) $(ARFLAGS) |
100 | 68 | liblout_a_LIBADD = |
101 | 69 | am_liblout_a_OBJECTS = container.$(OBJEXT) identity.$(OBJEXT) \ |
102 | 70 | misc.$(OBJEXT) object.$(OBJEXT) signal.$(OBJEXT) \ |
103 | 71 | unicode.$(OBJEXT) |
104 | 72 | liblout_a_OBJECTS = $(am_liblout_a_OBJECTS) |
105 | AM_V_P = $(am__v_P_@AM_V@) | |
106 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
107 | am__v_P_0 = false | |
108 | am__v_P_1 = : | |
109 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
110 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
111 | am__v_GEN_0 = @echo " GEN " $@; | |
112 | am__v_GEN_1 = | |
113 | AM_V_at = $(am__v_at_@AM_V@) | |
114 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
115 | am__v_at_0 = @ | |
116 | am__v_at_1 = | |
117 | 73 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
118 | 74 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
119 | 75 | am__depfiles_maybe = depfiles |
120 | 76 | am__mv = mv -f |
121 | 77 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
122 | 78 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) |
123 | AM_V_CXX = $(am__v_CXX_@AM_V@) | |
124 | am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) | |
125 | am__v_CXX_0 = @echo " CXX " $@; | |
126 | am__v_CXX_1 = | |
127 | 79 | CXXLD = $(CXX) |
128 | 80 | CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ |
129 | 81 | -o $@ |
130 | AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) | |
131 | am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) | |
132 | am__v_CXXLD_0 = @echo " CXXLD " $@; | |
133 | am__v_CXXLD_1 = | |
134 | 82 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
135 | 83 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
136 | AM_V_CC = $(am__v_CC_@AM_V@) | |
137 | am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) | |
138 | am__v_CC_0 = @echo " CC " $@; | |
139 | am__v_CC_1 = | |
140 | 84 | CCLD = $(CC) |
141 | 85 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
142 | AM_V_CCLD = $(am__v_CCLD_@AM_V@) | |
143 | am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) | |
144 | am__v_CCLD_0 = @echo " CCLD " $@; | |
145 | am__v_CCLD_1 = | |
146 | 86 | SOURCES = $(liblout_a_SOURCES) |
147 | 87 | DIST_SOURCES = $(liblout_a_SOURCES) |
148 | 88 | am__can_run_installinfo = \ |
150 | 90 | n|no|NO) false;; \ |
151 | 91 | *) (install-info --version) >/dev/null 2>&1;; \ |
152 | 92 | esac |
153 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | |
154 | # Read a list of newline-separated strings from the standard input, | |
155 | # and print each of them once, without duplicates. Input order is | |
156 | # *not* preserved. | |
157 | am__uniquify_input = $(AWK) '\ | |
158 | BEGIN { nonempty = 0; } \ | |
159 | { items[$$0] = 1; nonempty = 1; } \ | |
160 | END { if (nonempty) { for (i in items) print i; }; } \ | |
161 | ' | |
162 | # Make sure the list of sources is unique. This is necessary because, | |
163 | # e.g., the same source file might be shared among _SOURCES variables | |
164 | # for different programs/libraries. | |
165 | am__define_uniq_tagged_files = \ | |
166 | list='$(am__tagged_files)'; \ | |
167 | unique=`for i in $$list; do \ | |
168 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
169 | done | $(am__uniquify_input)` | |
170 | 93 | ETAGS = etags |
171 | 94 | CTAGS = ctags |
172 | 95 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
173 | 96 | ACLOCAL = @ACLOCAL@ |
174 | 97 | AMTAR = @AMTAR@ |
175 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
176 | 98 | AUTOCONF = @AUTOCONF@ |
177 | 99 | AUTOHEADER = @AUTOHEADER@ |
178 | 100 | AUTOMAKE = @AUTOMAKE@ |
193 | 115 | ECHO_T = @ECHO_T@ |
194 | 116 | EGREP = @EGREP@ |
195 | 117 | EXEEXT = @EXEEXT@ |
118 | FLTK_CONFIG = @FLTK_CONFIG@ | |
196 | 119 | GREP = @GREP@ |
197 | 120 | INSTALL = @INSTALL@ |
198 | 121 | INSTALL_DATA = @INSTALL_DATA@ |
345 | 268 | |
346 | 269 | clean-noinstLIBRARIES: |
347 | 270 | -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) |
348 | ||
349 | 271 | liblout.a: $(liblout_a_OBJECTS) $(liblout_a_DEPENDENCIES) $(EXTRA_liblout_a_DEPENDENCIES) |
350 | $(AM_V_at)-rm -f liblout.a | |
351 | $(AM_V_AR)$(liblout_a_AR) liblout.a $(liblout_a_OBJECTS) $(liblout_a_LIBADD) | |
352 | $(AM_V_at)$(RANLIB) liblout.a | |
272 | -rm -f liblout.a | |
273 | $(liblout_a_AR) liblout.a $(liblout_a_OBJECTS) $(liblout_a_LIBADD) | |
274 | $(RANLIB) liblout.a | |
353 | 275 | |
354 | 276 | mostlyclean-compile: |
355 | 277 | -rm -f *.$(OBJEXT) |
365 | 287 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unicode.Po@am__quote@ |
366 | 288 | |
367 | 289 | .cc.o: |
368 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
369 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
370 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
290 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
291 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
292 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
371 | 293 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
372 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< | |
294 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< | |
373 | 295 | |
374 | 296 | .cc.obj: |
375 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
376 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
377 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
297 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
298 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
299 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
378 | 300 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
379 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
380 | ||
381 | ID: $(am__tagged_files) | |
382 | $(am__define_uniq_tagged_files); mkid -fID $$unique | |
383 | tags: tags-am | |
384 | TAGS: tags | |
385 | ||
386 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
301 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
302 | ||
303 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
304 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
305 | unique=`for i in $$list; do \ | |
306 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
307 | done | \ | |
308 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
309 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
310 | mkid -fID $$unique | |
311 | tags: TAGS | |
312 | ||
313 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
314 | $(TAGS_FILES) $(LISP) | |
387 | 315 | set x; \ |
388 | 316 | here=`pwd`; \ |
389 | $(am__define_uniq_tagged_files); \ | |
317 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
318 | unique=`for i in $$list; do \ | |
319 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
320 | done | \ | |
321 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
322 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
390 | 323 | shift; \ |
391 | 324 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
392 | 325 | test -n "$$unique" || unique=$$empty_fix; \ |
398 | 331 | $$unique; \ |
399 | 332 | fi; \ |
400 | 333 | fi |
401 | ctags: ctags-am | |
402 | ||
403 | CTAGS: ctags | |
404 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
405 | $(am__define_uniq_tagged_files); \ | |
334 | ctags: CTAGS | |
335 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
336 | $(TAGS_FILES) $(LISP) | |
337 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
338 | unique=`for i in $$list; do \ | |
339 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
340 | done | \ | |
341 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
342 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
406 | 343 | test -z "$(CTAGS_ARGS)$$unique" \ |
407 | 344 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
408 | 345 | $$unique |
411 | 348 | here=`$(am__cd) $(top_builddir) && pwd` \ |
412 | 349 | && $(am__cd) $(top_srcdir) \ |
413 | 350 | && gtags -i $(GTAGS_ARGS) "$$here" |
414 | cscopelist: cscopelist-am | |
415 | ||
416 | cscopelist-am: $(am__tagged_files) | |
417 | list='$(am__tagged_files)'; \ | |
418 | case "$(srcdir)" in \ | |
419 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
420 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
421 | esac; \ | |
422 | for i in $$list; do \ | |
423 | if test -f "$$i"; then \ | |
424 | echo "$(subdir)/$$i"; \ | |
425 | else \ | |
426 | echo "$$sdir/$$i"; \ | |
427 | fi; \ | |
428 | done >> $(top_builddir)/cscope.files | |
429 | 351 | |
430 | 352 | distclean-tags: |
431 | 353 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
565 | 487 | |
566 | 488 | .MAKE: install-am install-strip |
567 | 489 | |
568 | .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ | |
569 | clean-noinstLIBRARIES cscopelist-am ctags ctags-am distclean \ | |
570 | distclean-compile distclean-generic distclean-tags distdir dvi \ | |
571 | dvi-am html html-am info info-am install install-am \ | |
572 | install-data install-data-am install-dvi install-dvi-am \ | |
573 | install-exec install-exec-am install-html install-html-am \ | |
574 | install-info install-info-am install-man install-pdf \ | |
575 | install-pdf-am install-ps install-ps-am install-strip \ | |
576 | installcheck installcheck-am installdirs maintainer-clean \ | |
490 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | |
491 | clean-noinstLIBRARIES ctags distclean distclean-compile \ | |
492 | distclean-generic distclean-tags distdir dvi dvi-am html \ | |
493 | html-am info info-am install install-am install-data \ | |
494 | install-data-am install-dvi install-dvi-am install-exec \ | |
495 | install-exec-am install-html install-html-am install-info \ | |
496 | install-info-am install-man install-pdf install-pdf-am \ | |
497 | install-ps install-ps-am install-strip installcheck \ | |
498 | installcheck-am installdirs maintainer-clean \ | |
577 | 499 | maintainer-clean-generic mostlyclean mostlyclean-compile \ |
578 | mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ | |
500 | mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ | |
579 | 501 | uninstall-am |
580 | 502 | |
581 | 503 |
0 | 0 | #! /bin/sh |
1 | # Common wrapper for a few potentially missing GNU programs. | |
2 | ||
3 | scriptversion=2013-10-28.13; # UTC | |
4 | ||
5 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. | |
6 | # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. | |
1 | # Common stub for a few missing GNU programs while installing. | |
2 | ||
3 | scriptversion=2012-01-06.13; # UTC | |
4 | ||
5 | # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, | |
6 | # 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. | |
7 | # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. | |
7 | 8 | |
8 | 9 | # This program is free software; you can redistribute it and/or modify |
9 | 10 | # it under the terms of the GNU General Public License as published by |
24 | 25 | # the same distribution terms that you use for the rest of that program. |
25 | 26 | |
26 | 27 | if test $# -eq 0; then |
27 | echo 1>&2 "Try '$0 --help' for more information" | |
28 | echo 1>&2 "Try \`$0 --help' for more information" | |
28 | 29 | exit 1 |
29 | 30 | fi |
30 | 31 | |
32 | run=: | |
33 | sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' | |
34 | sed_minuso='s/.* -o \([^ ]*\).*/\1/p' | |
35 | ||
36 | # In the cases where this matters, `missing' is being run in the | |
37 | # srcdir already. | |
38 | if test -f configure.ac; then | |
39 | configure_ac=configure.ac | |
40 | else | |
41 | configure_ac=configure.in | |
42 | fi | |
43 | ||
44 | msg="missing on your system" | |
45 | ||
31 | 46 | case $1 in |
32 | ||
33 | --is-lightweight) | |
34 | # Used by our autoconf macros to check whether the available missing | |
35 | # script is modern enough. | |
36 | exit 0 | |
37 | ;; | |
38 | ||
39 | --run) | |
40 | # Back-compat with the calling convention used by older automake. | |
41 | shift | |
42 | ;; | |
47 | --run) | |
48 | # Try to run requested program, and just exit if it succeeds. | |
49 | run= | |
50 | shift | |
51 | "$@" && exit 0 | |
52 | # Exit code 63 means version mismatch. This often happens | |
53 | # when the user try to use an ancient version of a tool on | |
54 | # a file that requires a minimum version. In this case we | |
55 | # we should proceed has if the program had been absent, or | |
56 | # if --run hadn't been passed. | |
57 | if test $? = 63; then | |
58 | run=: | |
59 | msg="probably too old" | |
60 | fi | |
61 | ;; | |
43 | 62 | |
44 | 63 | -h|--h|--he|--hel|--help) |
45 | 64 | echo "\ |
46 | 65 | $0 [OPTION]... PROGRAM [ARGUMENT]... |
47 | 66 | |
48 | Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due | |
49 | to PROGRAM being missing or too old. | |
67 | Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an | |
68 | error status if there is no known handling for PROGRAM. | |
50 | 69 | |
51 | 70 | Options: |
52 | 71 | -h, --help display this help and exit |
53 | 72 | -v, --version output version information and exit |
73 | --run try to run the given command, and emulate it if it fails | |
54 | 74 | |
55 | 75 | Supported PROGRAM values: |
56 | aclocal autoconf autoheader autom4te automake makeinfo | |
57 | bison yacc flex lex help2man | |
58 | ||
59 | Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and | |
60 | 'g' are ignored when checking the name. | |
76 | aclocal touch file \`aclocal.m4' | |
77 | autoconf touch file \`configure' | |
78 | autoheader touch file \`config.h.in' | |
79 | autom4te touch the output file, or create a stub one | |
80 | automake touch all \`Makefile.in' files | |
81 | bison create \`y.tab.[ch]', if possible, from existing .[ch] | |
82 | flex create \`lex.yy.c', if possible, from existing .c | |
83 | help2man touch the output file | |
84 | lex create \`lex.yy.c', if possible, from existing .c | |
85 | makeinfo touch the output file | |
86 | yacc create \`y.tab.[ch]', if possible, from existing .[ch] | |
87 | ||
88 | Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and | |
89 | \`g' are ignored when checking the name. | |
61 | 90 | |
62 | 91 | Send bug reports to <bug-automake@gnu.org>." |
63 | 92 | exit $? |
69 | 98 | ;; |
70 | 99 | |
71 | 100 | -*) |
72 | echo 1>&2 "$0: unknown '$1' option" | |
73 | echo 1>&2 "Try '$0 --help' for more information" | |
101 | echo 1>&2 "$0: Unknown \`$1' option" | |
102 | echo 1>&2 "Try \`$0 --help' for more information" | |
74 | 103 | exit 1 |
75 | 104 | ;; |
76 | 105 | |
77 | 106 | esac |
78 | 107 | |
79 | # Run the given program, remember its exit status. | |
80 | "$@"; st=$? | |
81 | ||
82 | # If it succeeded, we are done. | |
83 | test $st -eq 0 && exit 0 | |
84 | ||
85 | # Also exit now if we it failed (or wasn't found), and '--version' was | |
86 | # passed; such an option is passed most likely to detect whether the | |
87 | # program is present and works. | |
88 | case $2 in --version|--help) exit $st;; esac | |
89 | ||
90 | # Exit code 63 means version mismatch. This often happens when the user | |
91 | # tries to use an ancient version of a tool on a file that requires a | |
92 | # minimum version. | |
93 | if test $st -eq 63; then | |
94 | msg="probably too old" | |
95 | elif test $st -eq 127; then | |
96 | # Program was missing. | |
97 | msg="missing on your system" | |
98 | else | |
99 | # Program was found and executed, but failed. Give up. | |
100 | exit $st | |
101 | fi | |
102 | ||
103 | perl_URL=http://www.perl.org/ | |
104 | flex_URL=http://flex.sourceforge.net/ | |
105 | gnu_software_URL=http://www.gnu.org/software | |
106 | ||
107 | program_details () | |
108 | { | |
109 | case $1 in | |
110 | aclocal|automake) | |
111 | echo "The '$1' program is part of the GNU Automake package:" | |
112 | echo "<$gnu_software_URL/automake>" | |
113 | echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" | |
114 | echo "<$gnu_software_URL/autoconf>" | |
115 | echo "<$gnu_software_URL/m4/>" | |
116 | echo "<$perl_URL>" | |
117 | ;; | |
118 | autoconf|autom4te|autoheader) | |
119 | echo "The '$1' program is part of the GNU Autoconf package:" | |
120 | echo "<$gnu_software_URL/autoconf/>" | |
121 | echo "It also requires GNU m4 and Perl in order to run:" | |
122 | echo "<$gnu_software_URL/m4/>" | |
123 | echo "<$perl_URL>" | |
124 | ;; | |
125 | esac | |
126 | } | |
127 | ||
128 | give_advice () | |
129 | { | |
130 | # Normalize program name to check for. | |
131 | normalized_program=`echo "$1" | sed ' | |
132 | s/^gnu-//; t | |
133 | s/^gnu//; t | |
134 | s/^g//; t'` | |
135 | ||
136 | printf '%s\n' "'$1' is $msg." | |
137 | ||
138 | configure_deps="'configure.ac' or m4 files included by 'configure.ac'" | |
139 | case $normalized_program in | |
140 | autoconf*) | |
141 | echo "You should only need it if you modified 'configure.ac'," | |
142 | echo "or m4 files included by it." | |
143 | program_details 'autoconf' | |
144 | ;; | |
145 | autoheader*) | |
146 | echo "You should only need it if you modified 'acconfig.h' or" | |
147 | echo "$configure_deps." | |
148 | program_details 'autoheader' | |
149 | ;; | |
150 | automake*) | |
151 | echo "You should only need it if you modified 'Makefile.am' or" | |
152 | echo "$configure_deps." | |
153 | program_details 'automake' | |
154 | ;; | |
155 | aclocal*) | |
156 | echo "You should only need it if you modified 'acinclude.m4' or" | |
157 | echo "$configure_deps." | |
158 | program_details 'aclocal' | |
159 | ;; | |
160 | autom4te*) | |
161 | echo "You might have modified some maintainer files that require" | |
162 | echo "the 'autom4te' program to be rebuilt." | |
163 | program_details 'autom4te' | |
164 | ;; | |
165 | bison*|yacc*) | |
166 | echo "You should only need it if you modified a '.y' file." | |
167 | echo "You may want to install the GNU Bison package:" | |
168 | echo "<$gnu_software_URL/bison/>" | |
169 | ;; | |
170 | lex*|flex*) | |
171 | echo "You should only need it if you modified a '.l' file." | |
172 | echo "You may want to install the Fast Lexical Analyzer package:" | |
173 | echo "<$flex_URL>" | |
174 | ;; | |
175 | help2man*) | |
176 | echo "You should only need it if you modified a dependency" \ | |
177 | "of a man page." | |
178 | echo "You may want to install the GNU Help2man package:" | |
179 | echo "<$gnu_software_URL/help2man/>" | |
180 | ;; | |
181 | makeinfo*) | |
182 | echo "You should only need it if you modified a '.texi' file, or" | |
183 | echo "any other file indirectly affecting the aspect of the manual." | |
184 | echo "You might want to install the Texinfo package:" | |
185 | echo "<$gnu_software_URL/texinfo/>" | |
186 | echo "The spurious makeinfo call might also be the consequence of" | |
187 | echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" | |
188 | echo "want to install GNU make:" | |
189 | echo "<$gnu_software_URL/make/>" | |
190 | ;; | |
191 | *) | |
192 | echo "You might have modified some files without having the proper" | |
193 | echo "tools for further handling them. Check the 'README' file, it" | |
194 | echo "often tells you about the needed prerequisites for installing" | |
195 | echo "this package. You may also peek at any GNU archive site, in" | |
196 | echo "case some other package contains this missing '$1' program." | |
197 | ;; | |
198 | esac | |
199 | } | |
200 | ||
201 | give_advice "$1" | sed -e '1s/^/WARNING: /' \ | |
202 | -e '2,$s/^/ /' >&2 | |
203 | ||
204 | # Propagate the correct exit status (expected to be 127 for a program | |
205 | # not found, 63 for a program that failed due to version mismatch). | |
206 | exit $st | |
108 | # normalize program name to check for. | |
109 | program=`echo "$1" | sed ' | |
110 | s/^gnu-//; t | |
111 | s/^gnu//; t | |
112 | s/^g//; t'` | |
113 | ||
114 | # Now exit if we have it, but it failed. Also exit now if we | |
115 | # don't have it and --version was passed (most likely to detect | |
116 | # the program). This is about non-GNU programs, so use $1 not | |
117 | # $program. | |
118 | case $1 in | |
119 | lex*|yacc*) | |
120 | # Not GNU programs, they don't have --version. | |
121 | ;; | |
122 | ||
123 | *) | |
124 | if test -z "$run" && ($1 --version) > /dev/null 2>&1; then | |
125 | # We have it, but it failed. | |
126 | exit 1 | |
127 | elif test "x$2" = "x--version" || test "x$2" = "x--help"; then | |
128 | # Could not run --version or --help. This is probably someone | |
129 | # running `$TOOL --version' or `$TOOL --help' to check whether | |
130 | # $TOOL exists and not knowing $TOOL uses missing. | |
131 | exit 1 | |
132 | fi | |
133 | ;; | |
134 | esac | |
135 | ||
136 | # If it does not exist, or fails to run (possibly an outdated version), | |
137 | # try to emulate it. | |
138 | case $program in | |
139 | aclocal*) | |
140 | echo 1>&2 "\ | |
141 | WARNING: \`$1' is $msg. You should only need it if | |
142 | you modified \`acinclude.m4' or \`${configure_ac}'. You might want | |
143 | to install the \`Automake' and \`Perl' packages. Grab them from | |
144 | any GNU archive site." | |
145 | touch aclocal.m4 | |
146 | ;; | |
147 | ||
148 | autoconf*) | |
149 | echo 1>&2 "\ | |
150 | WARNING: \`$1' is $msg. You should only need it if | |
151 | you modified \`${configure_ac}'. You might want to install the | |
152 | \`Autoconf' and \`GNU m4' packages. Grab them from any GNU | |
153 | archive site." | |
154 | touch configure | |
155 | ;; | |
156 | ||
157 | autoheader*) | |
158 | echo 1>&2 "\ | |
159 | WARNING: \`$1' is $msg. You should only need it if | |
160 | you modified \`acconfig.h' or \`${configure_ac}'. You might want | |
161 | to install the \`Autoconf' and \`GNU m4' packages. Grab them | |
162 | from any GNU archive site." | |
163 | files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` | |
164 | test -z "$files" && files="config.h" | |
165 | touch_files= | |
166 | for f in $files; do | |
167 | case $f in | |
168 | *:*) touch_files="$touch_files "`echo "$f" | | |
169 | sed -e 's/^[^:]*://' -e 's/:.*//'`;; | |
170 | *) touch_files="$touch_files $f.in";; | |
171 | esac | |
172 | done | |
173 | touch $touch_files | |
174 | ;; | |
175 | ||
176 | automake*) | |
177 | echo 1>&2 "\ | |
178 | WARNING: \`$1' is $msg. You should only need it if | |
179 | you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. | |
180 | You might want to install the \`Automake' and \`Perl' packages. | |
181 | Grab them from any GNU archive site." | |
182 | find . -type f -name Makefile.am -print | | |
183 | sed 's/\.am$/.in/' | | |
184 | while read f; do touch "$f"; done | |
185 | ;; | |
186 | ||
187 | autom4te*) | |
188 | echo 1>&2 "\ | |
189 | WARNING: \`$1' is needed, but is $msg. | |
190 | You might have modified some files without having the | |
191 | proper tools for further handling them. | |
192 | You can get \`$1' as part of \`Autoconf' from any GNU | |
193 | archive site." | |
194 | ||
195 | file=`echo "$*" | sed -n "$sed_output"` | |
196 | test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` | |
197 | if test -f "$file"; then | |
198 | touch $file | |
199 | else | |
200 | test -z "$file" || exec >$file | |
201 | echo "#! /bin/sh" | |
202 | echo "# Created by GNU Automake missing as a replacement of" | |
203 | echo "# $ $@" | |
204 | echo "exit 0" | |
205 | chmod +x $file | |
206 | exit 1 | |
207 | fi | |
208 | ;; | |
209 | ||
210 | bison*|yacc*) | |
211 | echo 1>&2 "\ | |
212 | WARNING: \`$1' $msg. You should only need it if | |
213 | you modified a \`.y' file. You may need the \`Bison' package | |
214 | in order for those modifications to take effect. You can get | |
215 | \`Bison' from any GNU archive site." | |
216 | rm -f y.tab.c y.tab.h | |
217 | if test $# -ne 1; then | |
218 | eval LASTARG=\${$#} | |
219 | case $LASTARG in | |
220 | *.y) | |
221 | SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` | |
222 | if test -f "$SRCFILE"; then | |
223 | cp "$SRCFILE" y.tab.c | |
224 | fi | |
225 | SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` | |
226 | if test -f "$SRCFILE"; then | |
227 | cp "$SRCFILE" y.tab.h | |
228 | fi | |
229 | ;; | |
230 | esac | |
231 | fi | |
232 | if test ! -f y.tab.h; then | |
233 | echo >y.tab.h | |
234 | fi | |
235 | if test ! -f y.tab.c; then | |
236 | echo 'main() { return 0; }' >y.tab.c | |
237 | fi | |
238 | ;; | |
239 | ||
240 | lex*|flex*) | |
241 | echo 1>&2 "\ | |
242 | WARNING: \`$1' is $msg. You should only need it if | |
243 | you modified a \`.l' file. You may need the \`Flex' package | |
244 | in order for those modifications to take effect. You can get | |
245 | \`Flex' from any GNU archive site." | |
246 | rm -f lex.yy.c | |
247 | if test $# -ne 1; then | |
248 | eval LASTARG=\${$#} | |
249 | case $LASTARG in | |
250 | *.l) | |
251 | SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` | |
252 | if test -f "$SRCFILE"; then | |
253 | cp "$SRCFILE" lex.yy.c | |
254 | fi | |
255 | ;; | |
256 | esac | |
257 | fi | |
258 | if test ! -f lex.yy.c; then | |
259 | echo 'main() { return 0; }' >lex.yy.c | |
260 | fi | |
261 | ;; | |
262 | ||
263 | help2man*) | |
264 | echo 1>&2 "\ | |
265 | WARNING: \`$1' is $msg. You should only need it if | |
266 | you modified a dependency of a manual page. You may need the | |
267 | \`Help2man' package in order for those modifications to take | |
268 | effect. You can get \`Help2man' from any GNU archive site." | |
269 | ||
270 | file=`echo "$*" | sed -n "$sed_output"` | |
271 | test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` | |
272 | if test -f "$file"; then | |
273 | touch $file | |
274 | else | |
275 | test -z "$file" || exec >$file | |
276 | echo ".ab help2man is required to generate this page" | |
277 | exit $? | |
278 | fi | |
279 | ;; | |
280 | ||
281 | makeinfo*) | |
282 | echo 1>&2 "\ | |
283 | WARNING: \`$1' is $msg. You should only need it if | |
284 | you modified a \`.texi' or \`.texinfo' file, or any other file | |
285 | indirectly affecting the aspect of the manual. The spurious | |
286 | call might also be the consequence of using a buggy \`make' (AIX, | |
287 | DU, IRIX). You might want to install the \`Texinfo' package or | |
288 | the \`GNU make' package. Grab either from any GNU archive site." | |
289 | # The file to touch is that specified with -o ... | |
290 | file=`echo "$*" | sed -n "$sed_output"` | |
291 | test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` | |
292 | if test -z "$file"; then | |
293 | # ... or it is the one specified with @setfilename ... | |
294 | infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` | |
295 | file=`sed -n ' | |
296 | /^@setfilename/{ | |
297 | s/.* \([^ ]*\) *$/\1/ | |
298 | p | |
299 | q | |
300 | }' $infile` | |
301 | # ... or it is derived from the source name (dir/f.texi becomes f.info) | |
302 | test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info | |
303 | fi | |
304 | # If the file does not exist, the user really needs makeinfo; | |
305 | # let's fail without touching anything. | |
306 | test -f $file || exit 1 | |
307 | touch $file | |
308 | ;; | |
309 | ||
310 | *) | |
311 | echo 1>&2 "\ | |
312 | WARNING: \`$1' is needed, and is $msg. | |
313 | You might have modified some files without having the | |
314 | proper tools for further handling them. Check the \`README' file, | |
315 | it often tells you about the needed prerequisites for installing | |
316 | this package. You may also peek at any GNU archive site, in case | |
317 | some other package would contain this missing \`$1' program." | |
318 | exit 1 | |
319 | ;; | |
320 | esac | |
321 | ||
322 | exit 0 | |
207 | 323 | |
208 | 324 | # Local variables: |
209 | 325 | # eval: (add-hook 'write-file-hooks 'time-stamp) |
0 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.11.6 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | |
4 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
5 | 6 | # This Makefile.in is free software; the Free Software Foundation |
6 | 7 | # gives unlimited permission to copy and/or distribute it, |
7 | 8 | # with or without modifications, as long as this notice is preserved. |
14 | 15 | @SET_MAKE@ |
15 | 16 | |
16 | 17 | VPATH = @srcdir@ |
17 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | |
18 | am__make_running_with_option = \ | |
19 | case $${target_option-} in \ | |
20 | ?) ;; \ | |
21 | *) echo "am__make_running_with_option: internal error: invalid" \ | |
22 | "target option '$${target_option-}' specified" >&2; \ | |
23 | exit 1;; \ | |
24 | esac; \ | |
25 | has_opt=no; \ | |
26 | sane_makeflags=$$MAKEFLAGS; \ | |
27 | if $(am__is_gnu_make); then \ | |
28 | sane_makeflags=$$MFLAGS; \ | |
29 | else \ | |
18 | am__make_dryrun = \ | |
19 | { \ | |
20 | am__dry=no; \ | |
30 | 21 | case $$MAKEFLAGS in \ |
31 | 22 | *\\[\ \ ]*) \ |
32 | bs=\\; \ | |
33 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
34 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
23 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
24 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
25 | *) \ | |
26 | for am__flg in $$MAKEFLAGS; do \ | |
27 | case $$am__flg in \ | |
28 | *=*|--*) ;; \ | |
29 | *n*) am__dry=yes; break;; \ | |
30 | esac; \ | |
31 | done;; \ | |
35 | 32 | esac; \ |
36 | fi; \ | |
37 | skip_next=no; \ | |
38 | strip_trailopt () \ | |
39 | { \ | |
40 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
41 | }; \ | |
42 | for flg in $$sane_makeflags; do \ | |
43 | test $$skip_next = yes && { skip_next=no; continue; }; \ | |
44 | case $$flg in \ | |
45 | *=*|--*) continue;; \ | |
46 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
47 | -*I?*) strip_trailopt 'I';; \ | |
48 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
49 | -*O?*) strip_trailopt 'O';; \ | |
50 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
51 | -*l?*) strip_trailopt 'l';; \ | |
52 | -[dEDm]) skip_next=yes;; \ | |
53 | -[JT]) skip_next=yes;; \ | |
54 | esac; \ | |
55 | case $$flg in \ | |
56 | *$$target_option*) has_opt=yes; break;; \ | |
57 | esac; \ | |
58 | done; \ | |
59 | test $$has_opt = yes | |
60 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
61 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
33 | test $$am__dry = yes; \ | |
34 | } | |
62 | 35 | pkgdatadir = $(datadir)/@PACKAGE@ |
63 | 36 | pkgincludedir = $(includedir)/@PACKAGE@ |
64 | 37 | pkglibdir = $(libdir)/@PACKAGE@ |
79 | 52 | host_triplet = @host@ |
80 | 53 | target_triplet = @target@ |
81 | 54 | subdir = src/IO |
82 | DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ | |
83 | $(top_srcdir)/depcomp | |
55 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | |
84 | 56 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
85 | 57 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
86 | 58 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
92 | 64 | LIBRARIES = $(noinst_LIBRARIES) |
93 | 65 | AR = ar |
94 | 66 | ARFLAGS = cru |
95 | AM_V_AR = $(am__v_AR_@AM_V@) | |
96 | am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) | |
97 | am__v_AR_0 = @echo " AR " $@; | |
98 | am__v_AR_1 = | |
99 | 67 | libDiof_a_AR = $(AR) $(ARFLAGS) |
100 | 68 | libDiof_a_LIBADD = |
101 | 69 | am_libDiof_a_OBJECTS = mime.$(OBJEXT) about.$(OBJEXT) http.$(OBJEXT) \ |
102 | 70 | dpi.$(OBJEXT) IO.$(OBJEXT) iowatch.$(OBJEXT) |
103 | 71 | libDiof_a_OBJECTS = $(am_libDiof_a_OBJECTS) |
104 | AM_V_P = $(am__v_P_@AM_V@) | |
105 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
106 | am__v_P_0 = false | |
107 | am__v_P_1 = : | |
108 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
109 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
110 | am__v_GEN_0 = @echo " GEN " $@; | |
111 | am__v_GEN_1 = | |
112 | AM_V_at = $(am__v_at_@AM_V@) | |
113 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
114 | am__v_at_0 = @ | |
115 | am__v_at_1 = | |
116 | 72 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
117 | 73 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
118 | 74 | am__depfiles_maybe = depfiles |
119 | 75 | am__mv = mv -f |
120 | 76 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
121 | 77 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
122 | AM_V_CC = $(am__v_CC_@AM_V@) | |
123 | am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) | |
124 | am__v_CC_0 = @echo " CC " $@; | |
125 | am__v_CC_1 = | |
126 | 78 | CCLD = $(CC) |
127 | 79 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
128 | AM_V_CCLD = $(am__v_CCLD_@AM_V@) | |
129 | am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) | |
130 | am__v_CCLD_0 = @echo " CCLD " $@; | |
131 | am__v_CCLD_1 = | |
132 | 80 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
133 | 81 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) |
134 | AM_V_CXX = $(am__v_CXX_@AM_V@) | |
135 | am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) | |
136 | am__v_CXX_0 = @echo " CXX " $@; | |
137 | am__v_CXX_1 = | |
138 | 82 | CXXLD = $(CXX) |
139 | 83 | CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ |
140 | 84 | -o $@ |
141 | AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) | |
142 | am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) | |
143 | am__v_CXXLD_0 = @echo " CXXLD " $@; | |
144 | am__v_CXXLD_1 = | |
145 | 85 | SOURCES = $(libDiof_a_SOURCES) |
146 | 86 | DIST_SOURCES = $(libDiof_a_SOURCES) |
147 | 87 | am__can_run_installinfo = \ |
149 | 89 | n|no|NO) false;; \ |
150 | 90 | *) (install-info --version) >/dev/null 2>&1;; \ |
151 | 91 | esac |
152 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | |
153 | # Read a list of newline-separated strings from the standard input, | |
154 | # and print each of them once, without duplicates. Input order is | |
155 | # *not* preserved. | |
156 | am__uniquify_input = $(AWK) '\ | |
157 | BEGIN { nonempty = 0; } \ | |
158 | { items[$$0] = 1; nonempty = 1; } \ | |
159 | END { if (nonempty) { for (i in items) print i; }; } \ | |
160 | ' | |
161 | # Make sure the list of sources is unique. This is necessary because, | |
162 | # e.g., the same source file might be shared among _SOURCES variables | |
163 | # for different programs/libraries. | |
164 | am__define_uniq_tagged_files = \ | |
165 | list='$(am__tagged_files)'; \ | |
166 | unique=`for i in $$list; do \ | |
167 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
168 | done | $(am__uniquify_input)` | |
169 | 92 | ETAGS = etags |
170 | 93 | CTAGS = ctags |
171 | 94 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
172 | 95 | ACLOCAL = @ACLOCAL@ |
173 | 96 | AMTAR = @AMTAR@ |
174 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
175 | 97 | AUTOCONF = @AUTOCONF@ |
176 | 98 | AUTOHEADER = @AUTOHEADER@ |
177 | 99 | AUTOMAKE = @AUTOMAKE@ |
192 | 114 | ECHO_T = @ECHO_T@ |
193 | 115 | EGREP = @EGREP@ |
194 | 116 | EXEEXT = @EXEEXT@ |
117 | FLTK_CONFIG = @FLTK_CONFIG@ | |
195 | 118 | GREP = @GREP@ |
196 | 119 | INSTALL = @INSTALL@ |
197 | 120 | INSTALL_DATA = @INSTALL_DATA@ |
343 | 266 | |
344 | 267 | clean-noinstLIBRARIES: |
345 | 268 | -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) |
346 | ||
347 | 269 | libDiof.a: $(libDiof_a_OBJECTS) $(libDiof_a_DEPENDENCIES) $(EXTRA_libDiof_a_DEPENDENCIES) |
348 | $(AM_V_at)-rm -f libDiof.a | |
349 | $(AM_V_AR)$(libDiof_a_AR) libDiof.a $(libDiof_a_OBJECTS) $(libDiof_a_LIBADD) | |
350 | $(AM_V_at)$(RANLIB) libDiof.a | |
270 | -rm -f libDiof.a | |
271 | $(libDiof_a_AR) libDiof.a $(libDiof_a_OBJECTS) $(libDiof_a_LIBADD) | |
272 | $(RANLIB) libDiof.a | |
351 | 273 | |
352 | 274 | mostlyclean-compile: |
353 | 275 | -rm -f *.$(OBJEXT) |
363 | 285 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mime.Po@am__quote@ |
364 | 286 | |
365 | 287 | .c.o: |
366 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
367 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
368 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
288 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
289 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
290 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
369 | 291 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
370 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< | |
292 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | |
371 | 293 | |
372 | 294 | .c.obj: |
373 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
374 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
375 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
295 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
296 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
297 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
376 | 298 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
377 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
299 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | |
378 | 300 | |
379 | 301 | .cc.o: |
380 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
381 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
382 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
302 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
303 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
304 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
383 | 305 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
384 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< | |
306 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< | |
385 | 307 | |
386 | 308 | .cc.obj: |
387 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
388 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
389 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
309 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
310 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
311 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
390 | 312 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
391 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
392 | ||
393 | ID: $(am__tagged_files) | |
394 | $(am__define_uniq_tagged_files); mkid -fID $$unique | |
395 | tags: tags-am | |
396 | TAGS: tags | |
397 | ||
398 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
313 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
314 | ||
315 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
316 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
317 | unique=`for i in $$list; do \ | |
318 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
319 | done | \ | |
320 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
321 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
322 | mkid -fID $$unique | |
323 | tags: TAGS | |
324 | ||
325 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
326 | $(TAGS_FILES) $(LISP) | |
399 | 327 | set x; \ |
400 | 328 | here=`pwd`; \ |
401 | $(am__define_uniq_tagged_files); \ | |
329 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
330 | unique=`for i in $$list; do \ | |
331 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
332 | done | \ | |
333 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
334 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
402 | 335 | shift; \ |
403 | 336 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
404 | 337 | test -n "$$unique" || unique=$$empty_fix; \ |
410 | 343 | $$unique; \ |
411 | 344 | fi; \ |
412 | 345 | fi |
413 | ctags: ctags-am | |
414 | ||
415 | CTAGS: ctags | |
416 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
417 | $(am__define_uniq_tagged_files); \ | |
346 | ctags: CTAGS | |
347 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
348 | $(TAGS_FILES) $(LISP) | |
349 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
350 | unique=`for i in $$list; do \ | |
351 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
352 | done | \ | |
353 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
354 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
418 | 355 | test -z "$(CTAGS_ARGS)$$unique" \ |
419 | 356 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
420 | 357 | $$unique |
423 | 360 | here=`$(am__cd) $(top_builddir) && pwd` \ |
424 | 361 | && $(am__cd) $(top_srcdir) \ |
425 | 362 | && gtags -i $(GTAGS_ARGS) "$$here" |
426 | cscopelist: cscopelist-am | |
427 | ||
428 | cscopelist-am: $(am__tagged_files) | |
429 | list='$(am__tagged_files)'; \ | |
430 | case "$(srcdir)" in \ | |
431 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
432 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
433 | esac; \ | |
434 | for i in $$list; do \ | |
435 | if test -f "$$i"; then \ | |
436 | echo "$(subdir)/$$i"; \ | |
437 | else \ | |
438 | echo "$$sdir/$$i"; \ | |
439 | fi; \ | |
440 | done >> $(top_builddir)/cscope.files | |
441 | 363 | |
442 | 364 | distclean-tags: |
443 | 365 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
577 | 499 | |
578 | 500 | .MAKE: install-am install-strip |
579 | 501 | |
580 | .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ | |
581 | clean-noinstLIBRARIES cscopelist-am ctags ctags-am distclean \ | |
582 | distclean-compile distclean-generic distclean-tags distdir dvi \ | |
583 | dvi-am html html-am info info-am install install-am \ | |
584 | install-data install-data-am install-dvi install-dvi-am \ | |
585 | install-exec install-exec-am install-html install-html-am \ | |
586 | install-info install-info-am install-man install-pdf \ | |
587 | install-pdf-am install-ps install-ps-am install-strip \ | |
588 | installcheck installcheck-am installdirs maintainer-clean \ | |
502 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | |
503 | clean-noinstLIBRARIES ctags distclean distclean-compile \ | |
504 | distclean-generic distclean-tags distdir dvi dvi-am html \ | |
505 | html-am info info-am install install-am install-data \ | |
506 | install-data-am install-dvi install-dvi-am install-exec \ | |
507 | install-exec-am install-html install-html-am install-info \ | |
508 | install-info-am install-man install-pdf install-pdf-am \ | |
509 | install-ps install-ps-am install-strip installcheck \ | |
510 | installcheck-am installdirs maintainer-clean \ | |
589 | 511 | maintainer-clean-generic mostlyclean mostlyclean-compile \ |
590 | mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ | |
512 | mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ | |
591 | 513 | uninstall-am |
592 | 514 | |
593 | 515 |
228 | 228 | "<table border='0' cellpadding='5' cellspacing='1' width='100%'>\n" |
229 | 229 | "<tr>\n" |
230 | 230 | " <td bgcolor='#CCCCCC'>\n" |
231 | " <h4>Release overview</h4>\n" | |
232 | " December 24, 2014\n" | |
231 | " <h4>Notes</h4>\n" | |
233 | 232 | "<tr>\n" |
234 | 233 | " <td bgcolor='#FFFFFF'>\n" |
235 | 234 | " <table border='0' cellspacing='0' cellpadding='5'>\n" |
236 | 235 | " <tr>\n" |
237 | 236 | " <td>\n" |
237 | "<ul>\n" | |
238 | " <li> Read the <a href='http://www.dillo.org/dillo3-help.html'>help</a>,\n" | |
239 | " it's short.\n" | |
240 | " <li> There's a\n" | |
241 | " <a href='http://www.dillo.org/dillorc'>dillorc</a>\n" | |
242 | " (readable config) file inside the tarball. It is well-commented\n" | |
243 | " and has plenty of options to customize dillo, so <STRONG>copy\n" | |
244 | " it</STRONG> to your <STRONG>~/.dillo/</STRONG> directory, and\n" | |
245 | " modify it to your taste.\n" | |
246 | " <li> The right mouse button brings up a context-sensitive menu\n" | |
247 | " (available on pages, links, images, forms, the Back and Forward buttons,\n" | |
248 | " and the bug meter).\n" | |
249 | " <li> Cookies are disabled by default for privacy. To log into certain\n" | |
250 | " sites, you may need to <a href='http://www.dillo.org/Cookies.txt'>enable\n" | |
251 | " cookies selectively</a>.\n" | |
252 | " <li> To stop third-party ads and tracking, you can use a\n" | |
253 | " ~/.dillo/<a href='http://www.dillo.org/domainrc'>domainrc</a>/ file.\n" | |
254 | " <li> Frames, Java and Javascript are not supported.\n" | |
255 | " <li> This release is mainly intended for <strong>developers</strong>\n" | |
256 | " and <strong>advanced users</strong>.\n" | |
257 | " <li> Documentation for developers is in the <CODE>/doc</CODE>\n" | |
258 | " dir inside the tarball; you can find directions on everything\n" | |
259 | " else at the home page.\n" | |
260 | "</ul>\n" | |
261 | " </table>\n" | |
262 | "</table>\n" | |
263 | "</table>\n" | |
264 | "\n" | |
265 | "<br>\n" | |
266 | "\n" | |
267 | "<table border='0' cellpadding='0' cellspacing='0' align='center' bgcolor='#000000' width='100%'><tr><td>\n" | |
268 | "<table border='0' cellpadding='5' cellspacing='1' width='100%'>\n" | |
269 | "<tr>\n" | |
270 | " <td bgcolor='#CCCCCC'>\n" | |
271 | " <h4>Release overview</h4>\n" | |
272 | " ---- --, 2015\n" | |
273 | "<tr>\n" | |
274 | " <td bgcolor='#FFFFFF'>\n" | |
275 | " <table border='0' cellspacing='0' cellpadding='5'>\n" | |
276 | " <tr>\n" | |
277 | " <td>\n" | |
238 | 278 | "<p>\n" |
239 | "The dillo-3.0.4.1 release brings you fixes:\n" | |
279 | "Among the changes in dillo-3.0.5 are:\n" | |
240 | 280 | "<ul>\n" |
241 | "<li> for linking with the recently-released fltk-1.3.3\n" | |
242 | " (we don't use <tt>fl_oldfocus</tt> anymore).\n" | |
243 | "<li> to make sure that windows are resizable with fltk-1.3.3.\n" | |
244 | "<li> not to load background images, or follow redirections or meta refresh,\n" | |
245 | " in <tt>--local</tt> mode (security).\n" | |
246 | "<li> to permit linking on OS X (remove our <tt>Fl_Printer</tt> stub).\n" | |
247 | "<li> for a crash when searching from the address bar and no search urls are\n" | |
248 | " found in dillorc.\n" | |
281 | "<li>Image buffer/cache improvements.\n" | |
282 | "<li>Fix for segfault when there's no dpid and view source is requested.\n" | |
283 | "<li>Fix view-source dpi to handle null characters correctly.\n" | |
284 | "<li>Made view-source dpi use CSS formatting (it's shorter and cleaner).\n" | |
285 | "<li>Crosscompile/buildroot-friendly fltk-config test.\n" | |
286 | "<li>Fix X11 icon name.\n" | |
287 | "<li>In location bar, tend toward showing beginning of URL instead of end.\n" | |
288 | "<li>Handle irix's version of vsnprintf().\n" | |
289 | "<li>INPUT, TEXTAREA placeholder attribute.\n" | |
290 | "<li>Better notification when user's domainrc settings block page\n" | |
291 | " redirection.\n" | |
292 | "<li>Fix bug with font_factor preference and CSS font-size:(larger|smaller).\n" | |
293 | "<li>Recognize Menu key in keysrc.\n" | |
294 | "<li>HTTPS: change cipher list to \"ALL:!aNULL:!eNULL:!LOW:!EXPORT40:!RC4\",\n" | |
295 | " disable SSL3, disable TLS compression.\n" | |
296 | "<li>Avoid requesting background images if an ancestor has display:none.\n" | |
297 | "<li>Ignore built-in search url if any are specified in dillorc.\n" | |
249 | 298 | "</ul>\n" |
250 | 299 | "<p>\n" |
251 | 300 | "...that shouldn't have to wait until dillo-3.1 is ready with its floating\n" |
254 | 303 | " </table>\n" |
255 | 304 | "</table>\n" |
256 | 305 | "</table>\n" |
257 | "\n" | |
258 | "<br>\n" | |
259 | "\n" | |
260 | "<table border='0' cellpadding='0' cellspacing='0' align='center' bgcolor='#000000' width='100%'><tr><td>\n" | |
261 | "<table border='0' cellpadding='5' cellspacing='1' width='100%'>\n" | |
262 | "<tr>\n" | |
263 | " <td bgcolor='#CCCCCC'>\n" | |
264 | " <h4>Notes</h4>\n" | |
265 | "<tr>\n" | |
266 | " <td bgcolor='#FFFFFF'>\n" | |
267 | " <table border='0' cellspacing='0' cellpadding='5'>\n" | |
268 | " <tr>\n" | |
269 | " <td>\n" | |
270 | "<ul>\n" | |
271 | " <li> There's a\n" | |
272 | " <a href='http://www.dillo.org/dillorc'>dillorc</a>\n" | |
273 | " (readable config) file inside the tarball. It is well-commented\n" | |
274 | " and has plenty of options to customize dillo, so <STRONG>copy\n" | |
275 | " it</STRONG> to your <STRONG>~/.dillo/</STRONG> directory, and\n" | |
276 | " modify it to your taste.\n" | |
277 | " <li> Documentation for developers is in the <CODE>/doc</CODE>\n" | |
278 | " dir inside the tarball; you can find directions on everything\n" | |
279 | " else at the home page.\n" | |
280 | " <li> The right mouse button brings up a context-sensitive menu\n" | |
281 | " (available on pages, links, images, forms, the Back and Forward buttons,\n" | |
282 | " and the bug meter).\n" | |
283 | " <li> Dillo behaves very nicely when browsing local files, images, and HTML.\n" | |
284 | " It's also very good for Internet searching.\n" | |
285 | " <li> This release is mainly intended for <strong>developers</strong>\n" | |
286 | " and <strong>advanced users</strong>.\n" | |
287 | " <li> Frames, Java and Javascript are not supported.\n" | |
288 | "</ul>\n" | |
289 | "<br>\n" | |
290 | " </table>\n" | |
291 | "</table>\n" | |
292 | "</table>\n" | |
293 | "\n" | |
294 | "<table border='0' width='100%' cellpadding='0' cellspacing='0'><tr><td height='10'></table>\n" | |
295 | 306 | "\n" |
296 | 307 | "\n" |
297 | 308 | "<!-- the main layout table, a small vertical spacer -->\n" |
0 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.11.6 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | |
4 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
5 | 6 | # This Makefile.in is free software; the Free Software Foundation |
6 | 7 | # gives unlimited permission to copy and/or distribute it, |
7 | 8 | # with or without modifications, as long as this notice is preserved. |
15 | 16 | |
16 | 17 | |
17 | 18 | VPATH = @srcdir@ |
18 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | |
19 | am__make_running_with_option = \ | |
20 | case $${target_option-} in \ | |
21 | ?) ;; \ | |
22 | *) echo "am__make_running_with_option: internal error: invalid" \ | |
23 | "target option '$${target_option-}' specified" >&2; \ | |
24 | exit 1;; \ | |
25 | esac; \ | |
26 | has_opt=no; \ | |
27 | sane_makeflags=$$MAKEFLAGS; \ | |
28 | if $(am__is_gnu_make); then \ | |
29 | sane_makeflags=$$MFLAGS; \ | |
30 | else \ | |
19 | am__make_dryrun = \ | |
20 | { \ | |
21 | am__dry=no; \ | |
31 | 22 | case $$MAKEFLAGS in \ |
32 | 23 | *\\[\ \ ]*) \ |
33 | bs=\\; \ | |
34 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
35 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
24 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
25 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
26 | *) \ | |
27 | for am__flg in $$MAKEFLAGS; do \ | |
28 | case $$am__flg in \ | |
29 | *=*|--*) ;; \ | |
30 | *n*) am__dry=yes; break;; \ | |
31 | esac; \ | |
32 | done;; \ | |
36 | 33 | esac; \ |
37 | fi; \ | |
38 | skip_next=no; \ | |
39 | strip_trailopt () \ | |
40 | { \ | |
41 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
42 | }; \ | |
43 | for flg in $$sane_makeflags; do \ | |
44 | test $$skip_next = yes && { skip_next=no; continue; }; \ | |
45 | case $$flg in \ | |
46 | *=*|--*) continue;; \ | |
47 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
48 | -*I?*) strip_trailopt 'I';; \ | |
49 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
50 | -*O?*) strip_trailopt 'O';; \ | |
51 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
52 | -*l?*) strip_trailopt 'l';; \ | |
53 | -[dEDm]) skip_next=yes;; \ | |
54 | -[JT]) skip_next=yes;; \ | |
55 | esac; \ | |
56 | case $$flg in \ | |
57 | *$$target_option*) has_opt=yes; break;; \ | |
58 | esac; \ | |
59 | done; \ | |
60 | test $$has_opt = yes | |
61 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
62 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
34 | test $$am__dry = yes; \ | |
35 | } | |
63 | 36 | pkgdatadir = $(datadir)/@PACKAGE@ |
64 | 37 | pkgincludedir = $(includedir)/@PACKAGE@ |
65 | 38 | pkglibdir = $(libdir)/@PACKAGE@ |
81 | 54 | target_triplet = @target@ |
82 | 55 | bin_PROGRAMS = dillo$(EXEEXT) |
83 | 56 | subdir = src |
84 | DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ | |
85 | $(top_srcdir)/depcomp $(dist_sysconf_DATA) | |
57 | DIST_COMMON = $(dist_sysconf_DATA) $(srcdir)/Makefile.am \ | |
58 | $(srcdir)/Makefile.in | |
86 | 59 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
87 | 60 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
88 | 61 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
113 | 86 | $(top_builddir)/dw/libDw-widgets.a \ |
114 | 87 | $(top_builddir)/dw/libDw-fltk.a \ |
115 | 88 | $(top_builddir)/dw/libDw-core.a $(top_builddir)/lout/liblout.a |
116 | AM_V_P = $(am__v_P_@AM_V@) | |
117 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
118 | am__v_P_0 = false | |
119 | am__v_P_1 = : | |
120 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
121 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
122 | am__v_GEN_0 = @echo " GEN " $@; | |
123 | am__v_GEN_1 = | |
124 | AM_V_at = $(am__v_at_@AM_V@) | |
125 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
126 | am__v_at_0 = @ | |
127 | am__v_at_1 = | |
128 | 89 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
129 | 90 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
130 | 91 | am__depfiles_maybe = depfiles |
131 | 92 | am__mv = mv -f |
132 | 93 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
133 | 94 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
134 | AM_V_CC = $(am__v_CC_@AM_V@) | |
135 | am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) | |
136 | am__v_CC_0 = @echo " CC " $@; | |
137 | am__v_CC_1 = | |
138 | 95 | CCLD = $(CC) |
139 | 96 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
140 | AM_V_CCLD = $(am__v_CCLD_@AM_V@) | |
141 | am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) | |
142 | am__v_CCLD_0 = @echo " CCLD " $@; | |
143 | am__v_CCLD_1 = | |
144 | 97 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
145 | 98 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) |
146 | AM_V_CXX = $(am__v_CXX_@AM_V@) | |
147 | am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) | |
148 | am__v_CXX_0 = @echo " CXX " $@; | |
149 | am__v_CXX_1 = | |
150 | 99 | CXXLD = $(CXX) |
151 | 100 | CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ |
152 | 101 | -o $@ |
153 | AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) | |
154 | am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) | |
155 | am__v_CXXLD_0 = @echo " CXXLD " $@; | |
156 | am__v_CXXLD_1 = | |
157 | 102 | SOURCES = $(dillo_SOURCES) |
158 | 103 | DIST_SOURCES = $(dillo_SOURCES) |
159 | RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ | |
160 | ctags-recursive dvi-recursive html-recursive info-recursive \ | |
161 | install-data-recursive install-dvi-recursive \ | |
162 | install-exec-recursive install-html-recursive \ | |
163 | install-info-recursive install-pdf-recursive \ | |
164 | install-ps-recursive install-recursive installcheck-recursive \ | |
165 | installdirs-recursive pdf-recursive ps-recursive \ | |
166 | tags-recursive uninstall-recursive | |
104 | RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ | |
105 | html-recursive info-recursive install-data-recursive \ | |
106 | install-dvi-recursive install-exec-recursive \ | |
107 | install-html-recursive install-info-recursive \ | |
108 | install-pdf-recursive install-ps-recursive install-recursive \ | |
109 | installcheck-recursive installdirs-recursive pdf-recursive \ | |
110 | ps-recursive uninstall-recursive | |
167 | 111 | am__can_run_installinfo = \ |
168 | 112 | case $$AM_UPDATE_INFO_DIR in \ |
169 | 113 | n|no|NO) false;; \ |
199 | 143 | DATA = $(dist_sysconf_DATA) |
200 | 144 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
201 | 145 | distclean-recursive maintainer-clean-recursive |
202 | am__recursive_targets = \ | |
203 | $(RECURSIVE_TARGETS) \ | |
204 | $(RECURSIVE_CLEAN_TARGETS) \ | |
205 | $(am__extra_recursive_targets) | |
206 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ | |
146 | AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ | |
147 | $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ | |
207 | 148 | distdir |
208 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | |
209 | # Read a list of newline-separated strings from the standard input, | |
210 | # and print each of them once, without duplicates. Input order is | |
211 | # *not* preserved. | |
212 | am__uniquify_input = $(AWK) '\ | |
213 | BEGIN { nonempty = 0; } \ | |
214 | { items[$$0] = 1; nonempty = 1; } \ | |
215 | END { if (nonempty) { for (i in items) print i; }; } \ | |
216 | ' | |
217 | # Make sure the list of sources is unique. This is necessary because, | |
218 | # e.g., the same source file might be shared among _SOURCES variables | |
219 | # for different programs/libraries. | |
220 | am__define_uniq_tagged_files = \ | |
221 | list='$(am__tagged_files)'; \ | |
222 | unique=`for i in $$list; do \ | |
223 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
224 | done | $(am__uniquify_input)` | |
225 | 149 | ETAGS = etags |
226 | 150 | CTAGS = ctags |
227 | 151 | DIST_SUBDIRS = $(SUBDIRS) |
253 | 177 | reldir="$$dir2" |
254 | 178 | ACLOCAL = @ACLOCAL@ |
255 | 179 | AMTAR = @AMTAR@ |
256 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
257 | 180 | AUTOCONF = @AUTOCONF@ |
258 | 181 | AUTOHEADER = @AUTOHEADER@ |
259 | 182 | AUTOMAKE = @AUTOMAKE@ |
274 | 197 | ECHO_T = @ECHO_T@ |
275 | 198 | EGREP = @EGREP@ |
276 | 199 | EXEEXT = @EXEEXT@ |
200 | FLTK_CONFIG = @FLTK_CONFIG@ | |
277 | 201 | GREP = @GREP@ |
278 | 202 | INSTALL = @INSTALL@ |
279 | 203 | INSTALL_DATA = @INSTALL_DATA@ |
538 | 462 | fi; \ |
539 | 463 | for p in $$list; do echo "$$p $$p"; done | \ |
540 | 464 | sed 's/$(EXEEXT)$$//' | \ |
541 | while read p p1; do if test -f $$p \ | |
542 | ; then echo "$$p"; echo "$$p"; else :; fi; \ | |
465 | while read p p1; do if test -f $$p; \ | |
466 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
543 | 467 | done | \ |
544 | sed -e 'p;s,.*/,,;n;h' \ | |
545 | -e 's|.*|.|' \ | |
468 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
546 | 469 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ |
547 | 470 | sed 'N;N;N;s,\n, ,g' | \ |
548 | 471 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ |
563 | 486 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ |
564 | 487 | files=`for p in $$list; do echo "$$p"; done | \ |
565 | 488 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ |
566 | -e 's/$$/$(EXEEXT)/' \ | |
567 | `; \ | |
489 | -e 's/$$/$(EXEEXT)/' `; \ | |
568 | 490 | test -n "$$list" || exit 0; \ |
569 | 491 | echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ |
570 | 492 | cd "$(DESTDIR)$(bindir)" && rm -f $$files |
571 | 493 | |
572 | 494 | clean-binPROGRAMS: |
573 | 495 | -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) |
574 | ||
575 | 496 | dillo$(EXEEXT): $(dillo_OBJECTS) $(dillo_DEPENDENCIES) $(EXTRA_dillo_DEPENDENCIES) |
576 | 497 | @rm -f dillo$(EXEEXT) |
577 | $(AM_V_CXXLD)$(CXXLINK) $(dillo_OBJECTS) $(dillo_LDADD) $(LIBS) | |
498 | $(CXXLINK) $(dillo_OBJECTS) $(dillo_LDADD) $(LIBS) | |
578 | 499 | |
579 | 500 | mostlyclean-compile: |
580 | 501 | -rm -f *.$(OBJEXT) |
632 | 553 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xembed.Po@am__quote@ |
633 | 554 | |
634 | 555 | .c.o: |
635 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
636 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
637 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
556 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
557 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
558 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
638 | 559 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
639 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< | |
560 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | |
640 | 561 | |
641 | 562 | .c.obj: |
642 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
643 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
644 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
563 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
564 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
565 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
645 | 566 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
646 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
567 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | |
647 | 568 | |
648 | 569 | .cc.o: |
649 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
650 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
651 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
570 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
571 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
572 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
652 | 573 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
653 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< | |
574 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< | |
654 | 575 | |
655 | 576 | .cc.obj: |
656 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
657 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
658 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
577 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
578 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
579 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
659 | 580 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
660 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
581 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
661 | 582 | install-dist_sysconfDATA: $(dist_sysconf_DATA) |
662 | 583 | @$(NORMAL_INSTALL) |
663 | 584 | @list='$(dist_sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \ |
681 | 602 | dir='$(DESTDIR)$(sysconfdir)'; $(am__uninstall_files_from_dir) |
682 | 603 | |
683 | 604 | # This directory's subdirectories are mostly independent; you can cd |
684 | # into them and run 'make' without going through this Makefile. | |
685 | # To change the values of 'make' variables: instead of editing Makefiles, | |
686 | # (1) if the variable is set in 'config.status', edit 'config.status' | |
687 | # (which will cause the Makefiles to be regenerated when you run 'make'); | |
688 | # (2) otherwise, pass the desired values on the 'make' command line. | |
689 | $(am__recursive_targets): | |
690 | @fail=; \ | |
691 | if $(am__make_keepgoing); then \ | |
692 | failcom='fail=yes'; \ | |
693 | else \ | |
694 | failcom='exit 1'; \ | |
695 | fi; \ | |
605 | # into them and run `make' without going through this Makefile. | |
606 | # To change the values of `make' variables: instead of editing Makefiles, | |
607 | # (1) if the variable is set in `config.status', edit `config.status' | |
608 | # (which will cause the Makefiles to be regenerated when you run `make'); | |
609 | # (2) otherwise, pass the desired values on the `make' command line. | |
610 | $(RECURSIVE_TARGETS): | |
611 | @fail= failcom='exit 1'; \ | |
612 | for f in x $$MAKEFLAGS; do \ | |
613 | case $$f in \ | |
614 | *=* | --[!k]*);; \ | |
615 | *k*) failcom='fail=yes';; \ | |
616 | esac; \ | |
617 | done; \ | |
696 | 618 | dot_seen=no; \ |
697 | 619 | target=`echo $@ | sed s/-recursive//`; \ |
698 | case "$@" in \ | |
699 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | |
700 | *) list='$(SUBDIRS)' ;; \ | |
701 | esac; \ | |
702 | for subdir in $$list; do \ | |
620 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
703 | 621 | echo "Making $$target in $$subdir"; \ |
704 | 622 | if test "$$subdir" = "."; then \ |
705 | 623 | dot_seen=yes; \ |
714 | 632 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
715 | 633 | fi; test -z "$$fail" |
716 | 634 | |
717 | ID: $(am__tagged_files) | |
718 | $(am__define_uniq_tagged_files); mkid -fID $$unique | |
719 | tags: tags-recursive | |
720 | TAGS: tags | |
721 | ||
722 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
635 | $(RECURSIVE_CLEAN_TARGETS): | |
636 | @fail= failcom='exit 1'; \ | |
637 | for f in x $$MAKEFLAGS; do \ | |
638 | case $$f in \ | |
639 | *=* | --[!k]*);; \ | |
640 | *k*) failcom='fail=yes';; \ | |
641 | esac; \ | |
642 | done; \ | |
643 | dot_seen=no; \ | |
644 | case "$@" in \ | |
645 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | |
646 | *) list='$(SUBDIRS)' ;; \ | |
647 | esac; \ | |
648 | rev=''; for subdir in $$list; do \ | |
649 | if test "$$subdir" = "."; then :; else \ | |
650 | rev="$$subdir $$rev"; \ | |
651 | fi; \ | |
652 | done; \ | |
653 | rev="$$rev ."; \ | |
654 | target=`echo $@ | sed s/-recursive//`; \ | |
655 | for subdir in $$rev; do \ | |
656 | echo "Making $$target in $$subdir"; \ | |
657 | if test "$$subdir" = "."; then \ | |
658 | local_target="$$target-am"; \ | |
659 | else \ | |
660 | local_target="$$target"; \ | |
661 | fi; \ | |
662 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
663 | || eval $$failcom; \ | |
664 | done && test -z "$$fail" | |
665 | tags-recursive: | |
666 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
667 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ | |
668 | done | |
669 | ctags-recursive: | |
670 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
671 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ | |
672 | done | |
673 | ||
674 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
675 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
676 | unique=`for i in $$list; do \ | |
677 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
678 | done | \ | |
679 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
680 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
681 | mkid -fID $$unique | |
682 | tags: TAGS | |
683 | ||
684 | TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
685 | $(TAGS_FILES) $(LISP) | |
723 | 686 | set x; \ |
724 | 687 | here=`pwd`; \ |
725 | 688 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
735 | 698 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
736 | 699 | fi; \ |
737 | 700 | done; \ |
738 | $(am__define_uniq_tagged_files); \ | |
701 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
702 | unique=`for i in $$list; do \ | |
703 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
704 | done | \ | |
705 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
706 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
739 | 707 | shift; \ |
740 | 708 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
741 | 709 | test -n "$$unique" || unique=$$empty_fix; \ |
747 | 715 | $$unique; \ |
748 | 716 | fi; \ |
749 | 717 | fi |
750 | ctags: ctags-recursive | |
751 | ||
752 | CTAGS: ctags | |
753 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
754 | $(am__define_uniq_tagged_files); \ | |
718 | ctags: CTAGS | |
719 | CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
720 | $(TAGS_FILES) $(LISP) | |
721 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
722 | unique=`for i in $$list; do \ | |
723 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
724 | done | \ | |
725 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
726 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
755 | 727 | test -z "$(CTAGS_ARGS)$$unique" \ |
756 | 728 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
757 | 729 | $$unique |
760 | 732 | here=`$(am__cd) $(top_builddir) && pwd` \ |
761 | 733 | && $(am__cd) $(top_srcdir) \ |
762 | 734 | && gtags -i $(GTAGS_ARGS) "$$here" |
763 | cscopelist: cscopelist-recursive | |
764 | ||
765 | cscopelist-am: $(am__tagged_files) | |
766 | list='$(am__tagged_files)'; \ | |
767 | case "$(srcdir)" in \ | |
768 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
769 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
770 | esac; \ | |
771 | for i in $$list; do \ | |
772 | if test -f "$$i"; then \ | |
773 | echo "$(subdir)/$$i"; \ | |
774 | else \ | |
775 | echo "$$sdir/$$i"; \ | |
776 | fi; \ | |
777 | done >> $(top_builddir)/cscope.files | |
778 | 735 | |
779 | 736 | distclean-tags: |
780 | 737 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
941 | 898 | |
942 | 899 | uninstall-am: uninstall-binPROGRAMS uninstall-dist_sysconfDATA |
943 | 900 | |
944 | .MAKE: $(am__recursive_targets) install-am install-strip | |
945 | ||
946 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ | |
947 | check-am clean clean-binPROGRAMS clean-generic cscopelist-am \ | |
948 | ctags ctags-am distclean distclean-compile distclean-generic \ | |
949 | distclean-tags distdir dvi dvi-am html html-am info info-am \ | |
950 | install install-am install-binPROGRAMS install-data \ | |
951 | install-data-am install-dist_sysconfDATA install-dvi \ | |
952 | install-dvi-am install-exec install-exec-am install-html \ | |
953 | install-html-am install-info install-info-am install-man \ | |
954 | install-pdf install-pdf-am install-ps install-ps-am \ | |
955 | install-strip installcheck installcheck-am installdirs \ | |
956 | installdirs-am maintainer-clean maintainer-clean-generic \ | |
957 | mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ | |
958 | ps ps-am tags tags-am uninstall uninstall-am \ | |
901 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ | |
902 | install-am install-strip tags-recursive | |
903 | ||
904 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ | |
905 | all all-am check check-am clean clean-binPROGRAMS \ | |
906 | clean-generic ctags ctags-recursive distclean \ | |
907 | distclean-compile distclean-generic distclean-tags distdir dvi \ | |
908 | dvi-am html html-am info info-am install install-am \ | |
909 | install-binPROGRAMS install-data install-data-am \ | |
910 | install-dist_sysconfDATA install-dvi install-dvi-am \ | |
911 | install-exec install-exec-am install-html install-html-am \ | |
912 | install-info install-info-am install-man install-pdf \ | |
913 | install-pdf-am install-ps install-ps-am install-strip \ | |
914 | installcheck installcheck-am installdirs installdirs-am \ | |
915 | maintainer-clean maintainer-clean-generic mostlyclean \ | |
916 | mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ | |
917 | tags tags-recursive uninstall uninstall-am \ | |
959 | 918 | uninstall-binPROGRAMS uninstall-dist_sysconfDATA |
960 | 919 | |
961 | 920 |
109 | 109 | } |
110 | 110 | |
111 | 111 | /* |
112 | * Initialize dicache data | |
112 | * Initialize cache data | |
113 | 113 | */ |
114 | 114 | void a_Cache_init(void) |
115 | 115 | { |
673 | 673 | if (header[9] == '3' && header[10] == '0' && |
674 | 674 | (location_str = Cache_parse_field(header, "Location"))) { |
675 | 675 | /* 30x: URL redirection */ |
676 | DilloUrl *location_url = a_Url_new(location_str,URL_STR_(entry->Url)); | |
677 | ||
678 | if (!a_Domain_permit(entry->Url, location_url)) { | |
679 | /* don't redirect; just show body like usual (if any) */ | |
676 | entry->Location = a_Url_new(location_str, URL_STR_(entry->Url)); | |
677 | ||
678 | if (!a_Domain_permit(entry->Url, entry->Location) || | |
679 | (URL_FLAGS(entry->Location) & (URL_Post + URL_Get) && | |
680 | dStrAsciiCasecmp(URL_SCHEME(entry->Location), "dpi") == 0 && | |
681 | dStrAsciiCasecmp(URL_SCHEME(entry->Url), "dpi") != 0)) { | |
682 | /* Domain test, and forbid dpi GET and POST from non dpi-generated | |
683 | * urls. | |
684 | */ | |
680 | 685 | MSG("Redirection not followed from %s to %s\n", |
681 | URL_HOST(entry->Url), URL_STR(location_url)); | |
682 | a_Url_free(location_url); | |
686 | URL_HOST(entry->Url), URL_STR(entry->Location)); | |
683 | 687 | } else { |
684 | 688 | entry->Flags |= CA_Redirect; |
685 | 689 | if (header[11] == '1') |
686 | 690 | entry->Flags |= CA_ForceRedirect; /* 301 Moved Permanently */ |
687 | 691 | else if (header[11] == '2') |
688 | 692 | entry->Flags |= CA_TempRedirect; /* 302 Temporary Redirect */ |
689 | ||
690 | if (URL_FLAGS(location_url) & (URL_Post + URL_Get) && | |
691 | dStrAsciiCasecmp(URL_SCHEME(location_url), "dpi") == 0 && | |
692 | dStrAsciiCasecmp(URL_SCHEME(entry->Url), "dpi") != 0) { | |
693 | /* Forbid dpi GET and POST from non dpi-generated urls */ | |
694 | MSG("Redirection Denied! '%s' -> '%s'\n", | |
695 | URL_STR(entry->Url), URL_STR(location_url)); | |
696 | a_Url_free(location_url); | |
697 | } else { | |
698 | entry->Location = location_url; | |
699 | } | |
700 | 693 | } |
701 | 694 | dFree(location_str); |
702 | 695 | } else if (strncmp(header + 9, "401", 3) == 0) { |
750 | 743 | |
751 | 744 | if (!web->requester || |
752 | 745 | a_Url_same_organization(entry->Url, web->requester)) { |
746 | /* If cookies are third party, don't even consider them. */ | |
753 | 747 | char *server_date = Cache_parse_field(header, "Date"); |
754 | 748 | |
755 | 749 | a_Cookies_set(Cookies, entry->Url, server_date); |
758 | 752 | } |
759 | 753 | } |
760 | 754 | } |
761 | if (i >= dList_length(ClientQueue)) { | |
762 | MSG("Cache: cookies not accepted from '%s'\n", URL_STR(entry->Url)); | |
763 | } | |
764 | ||
765 | 755 | for (i = 0; (data = dList_nth_data(Cookies, i)); ++i) |
766 | 756 | dFree(data); |
767 | 757 | dList_free(Cookies); |
1090 | 1080 | a_UIcmd_save_link(data->bw, data->url); |
1091 | 1081 | a_Url_free(data->url); |
1092 | 1082 | dFree(data); |
1083 | } | |
1084 | ||
1085 | /* | |
1086 | * Let the client know that we're not following a redirection. | |
1087 | */ | |
1088 | static void Cache_provide_redirection_blocked_page(CacheEntry_t *entry, | |
1089 | CacheClient_t *client) | |
1090 | { | |
1091 | DilloWeb *clientWeb = client->Web; | |
1092 | ||
1093 | a_Web_dispatch_by_type("text/html", clientWeb, &client->Callback, | |
1094 | &client->CbData); | |
1095 | client->Buf = dStrconcat("<!doctype html><html><body>" | |
1096 | "Dillo blocked a redirection attempt from <a href=\"", | |
1097 | URL_STR(entry->Url), "\">", URL_STR(entry->Url), | |
1098 | "</a> to <a href=\"", URL_STR(entry->Location), "\">", | |
1099 | URL_STR(entry->Location), "</a> based on your domainrc " | |
1100 | "settings.</body></html>", NULL); | |
1101 | client->BufSize = strlen(client->Buf); | |
1102 | (client->Callback)(CA_Send, client); | |
1103 | dFree(client->Buf); | |
1093 | 1104 | } |
1094 | 1105 | |
1095 | 1106 | /* |
1177 | 1188 | /* Set the client function */ |
1178 | 1189 | if (!Client->Callback) { |
1179 | 1190 | Client->Callback = Cache_null_client; |
1180 | if (TypeMismatch) { | |
1181 | AbortEntry = TRUE; | |
1191 | ||
1192 | if (entry->Location && !(entry->Flags & CA_Redirect)) { | |
1193 | /* Not following redirection, so don't display page body. */ | |
1182 | 1194 | } else { |
1183 | const char *curr_type = Cache_current_content_type(entry); | |
1184 | st = a_Web_dispatch_by_type(curr_type, ClientWeb, | |
1185 | &Client->Callback, &Client->CbData); | |
1186 | if (st == -1) { | |
1187 | /* MIME type is not viewable */ | |
1188 | if (ClientWeb->flags & WEB_RootUrl) { | |
1189 | MSG("Content-Type '%s' not viewable.\n", curr_type); | |
1190 | /* prepare a download offer... */ | |
1191 | AbortEntry = OfferDownload = TRUE; | |
1192 | } else { | |
1193 | /* TODO: Resource Type not handled. | |
1194 | * Not aborted to avoid multiple connections on the same | |
1195 | * resource. A better idea is to abort the connection and | |
1196 | * to keep a failed-resource flag in the cache entry. */ | |
1195 | if (TypeMismatch) { | |
1196 | AbortEntry = TRUE; | |
1197 | } else { | |
1198 | const char *curr_type = Cache_current_content_type(entry); | |
1199 | st = a_Web_dispatch_by_type(curr_type, ClientWeb, | |
1200 | &Client->Callback, | |
1201 | &Client->CbData); | |
1202 | if (st == -1) { | |
1203 | /* MIME type is not viewable */ | |
1204 | if (ClientWeb->flags & WEB_RootUrl) { | |
1205 | MSG("Content-Type '%s' not viewable.\n", curr_type); | |
1206 | /* prepare a download offer... */ | |
1207 | AbortEntry = OfferDownload = TRUE; | |
1208 | } else { | |
1209 | /* TODO: Resource Type not handled. | |
1210 | * Not aborted to avoid multiple connections on the | |
1211 | * same resource. A better idea is to abort the | |
1212 | * connection and to keep a failed-resource flag in | |
1213 | * the cache entry. */ | |
1214 | } | |
1197 | 1215 | } |
1198 | 1216 | } |
1199 | } | |
1200 | if (AbortEntry) { | |
1201 | if (ClientWeb->flags & WEB_RootUrl) | |
1202 | a_Nav_cancel_expect_if_eq(Client_bw, Client->Url); | |
1203 | a_Bw_remove_client(Client_bw, Client->Key); | |
1204 | Cache_client_dequeue(Client); | |
1205 | --i; /* Keep the index value in the next iteration */ | |
1206 | continue; | |
1217 | if (AbortEntry) { | |
1218 | if (ClientWeb->flags & WEB_RootUrl) | |
1219 | a_Nav_cancel_expect_if_eq(Client_bw, Client->Url); | |
1220 | a_Bw_remove_client(Client_bw, Client->Key); | |
1221 | Cache_client_dequeue(Client); | |
1222 | --i; /* Keep the index value in the next iteration */ | |
1223 | continue; | |
1224 | } | |
1207 | 1225 | } |
1208 | 1226 | } |
1209 | 1227 | |
1227 | 1245 | if (entry->Flags & CA_GotData) { |
1228 | 1246 | /* Copy flags to a local var */ |
1229 | 1247 | int flags = ClientWeb->flags; |
1248 | ||
1249 | if (ClientWeb->flags & WEB_RootUrl && entry->Location && | |
1250 | !(entry->Flags & CA_Redirect)) { | |
1251 | Cache_provide_redirection_blocked_page(entry, Client); | |
1252 | } | |
1230 | 1253 | /* We finished sending data, let the client know */ |
1231 | 1254 | (Client->Callback)(CA_Close, Client); |
1232 | 1255 | if (ClientWeb->flags & WEB_RootUrl) |
1263 | 1286 | |
1264 | 1287 | /* Trigger cleanup when there are no cache clients */ |
1265 | 1288 | if (dList_length(ClientQueue) == 0) { |
1266 | _MSG(" a_Dicache_cleanup()\n"); | |
1267 | 1289 | a_Dicache_cleanup(); |
1268 | 1290 | } |
1269 | 1291 |
570 | 570 | } else { |
571 | 571 | /* Re-use an open connection */ |
572 | 572 | conn = Capi_conn_find(server); |
573 | if (conn) { | |
574 | /* found */ | |
573 | if (conn && conn->InfoSend) { | |
574 | /* found & active */ | |
575 | 575 | dbuf = a_Chain_dbuf_new(data, data_sz, 0); |
576 | 576 | a_Capi_ccc(OpSend, 1, BCK, conn->InfoSend, dbuf, NULL); |
577 | 577 | dFree(dbuf); |
61 | 61 | { "darkgoldenrod", 0xb8860b}, |
62 | 62 | { "darkgray", 0xa9a9a9}, |
63 | 63 | { "darkgreen", 0x006400}, |
64 | { "darkgrey", 0xa9a9a9}, | |
64 | 65 | { "darkkhaki", 0xbdb76b}, |
65 | 66 | { "darkmagenta", 0x8b008b}, |
66 | 67 | { "darkolivegreen", 0x556b2f}, |
71 | 72 | { "darkseagreen", 0x8fbc8f}, |
72 | 73 | { "darkslateblue", 0x483d8b}, |
73 | 74 | { "darkslategray", 0x2f4f4f}, |
75 | { "darkslategrey", 0x2f4f4f}, | |
74 | 76 | { "darkturquoise", 0x00ced1}, |
75 | 77 | { "darkviolet", 0x9400d3}, |
76 | 78 | { "deeppink", 0xff1493}, |
77 | 79 | { "deepskyblue", 0x00bfff}, |
78 | 80 | { "dimgray", 0x696969}, |
81 | { "dimgrey", 0x696969}, | |
79 | 82 | { "dodgerblue", 0x1e90ff}, |
80 | 83 | { "firebrick", 0xb22222}, |
81 | 84 | { "floralwhite", 0xfffaf0}, |
92 | 95 | { "green", 0x008000}, |
93 | 96 | #ifdef EXTENDED_COLOR |
94 | 97 | { "greenyellow", 0xadff2f}, |
98 | { "grey", 0x808080}, | |
95 | 99 | { "honeydew", 0xf0fff0}, |
96 | 100 | { "hotpink", 0xff69b4}, |
97 | 101 | { "indianred", 0xcd5c5c}, |
106 | 110 | { "lightcoral", 0xf08080}, |
107 | 111 | { "lightcyan", 0xe0ffff}, |
108 | 112 | { "lightgoldenrodyellow", 0xfafad2}, |
113 | { "lightgray", 0xd3d3d3}, | |
109 | 114 | { "lightgreen", 0x90ee90}, |
110 | 115 | { "lightgrey", 0xd3d3d3}, |
111 | 116 | { "lightpink", 0xffb6c1}, |
113 | 118 | { "lightseagreen", 0x20b2aa}, |
114 | 119 | { "lightskyblue", 0x87cefa}, |
115 | 120 | { "lightslategray", 0x778899}, |
121 | { "lightslategrey", 0x778899}, | |
116 | 122 | { "lightsteelblue", 0xb0c4de}, |
117 | 123 | { "lightyellow", 0xffffe0}, |
118 | 124 | #endif |
177 | 183 | { "skyblue", 0x87ceeb}, |
178 | 184 | { "slateblue", 0x6a5acd}, |
179 | 185 | { "slategray", 0x708090}, |
186 | { "slategrey", 0x708090}, | |
180 | 187 | { "snow", 0xfffafa}, |
181 | 188 | { "springgreen", 0x00ff7f}, |
182 | 189 | { "steelblue", 0x4682b4}, |
27 | 27 | DIC_Jpeg |
28 | 28 | }; |
29 | 29 | |
30 | typedef struct { | |
31 | int valid; /* flag */ | |
32 | DilloUrl *url; /* primary "Key" for this dicache entry */ | |
33 | DICacheEntry *first; /* pointer to the first dicache entry in this list */ | |
34 | } DICacheNode; | |
35 | ||
36 | /* | |
37 | * List of DICacheNode. One node per URL. Each node may have several | |
38 | * versions of the same image in a linked list. | |
30 | ||
31 | /* | |
32 | * List of DICacheEntry. May hold several versions of the same image, | |
33 | * although most of the time it holds just one. | |
39 | 34 | */ |
40 | 35 | static Dlist *CachedIMGs = NULL; |
41 | 36 | |
44 | 39 | * of all the images in the dicache. */ |
45 | 40 | |
46 | 41 | /* |
47 | * Compare two dicache nodes | |
48 | */ | |
49 | static int Dicache_node_cmp(const void *v1, const void *v2) | |
50 | { | |
51 | const DICacheNode *n1 = v1, *n2 = v2; | |
52 | ||
53 | return a_Url_cmp(n1->url, n2->url); | |
54 | } | |
55 | ||
56 | /* | |
57 | * Compare function for searching a node by Url | |
58 | */ | |
59 | static int Dicache_node_by_url_cmp(const void *v1, const void *v2) | |
60 | { | |
61 | const DICacheNode *node = v1; | |
62 | const DilloUrl *url = v2; | |
63 | ||
64 | return a_Url_cmp(node->url, url); | |
42 | * Compare function for image entries | |
43 | */ | |
44 | static int Dicache_entry_cmp(const void *v1, const void *v2) | |
45 | { | |
46 | const DICacheEntry *e1 = v1, *e2 = v2; | |
47 | ||
48 | int st = a_Url_cmp(e1->url, e2->url); | |
49 | if (st == 0) { | |
50 | if (e2->version == DIC_Last) | |
51 | st = (e1->Flags & DIF_Last ? 0 : -1); | |
52 | else | |
53 | st = (e1->version - e2->version); | |
54 | } | |
55 | return st; | |
65 | 56 | } |
66 | 57 | |
67 | 58 | /* |
82 | 73 | |
83 | 74 | entry->width = 0; |
84 | 75 | entry->height = 0; |
76 | entry->Flags = DIF_Valid; | |
77 | entry->SurvCleanup = 0; | |
85 | 78 | entry->type = DILLO_IMG_TYPE_NOTSET; |
86 | 79 | entry->cmap = NULL; |
87 | 80 | entry->v_imgbuf = NULL; |
96 | 89 | entry->DecoderData = NULL; |
97 | 90 | entry->DecodedSize = 0; |
98 | 91 | |
99 | entry->next = NULL; | |
100 | ||
101 | 92 | return entry; |
102 | 93 | } |
103 | 94 | |
104 | 95 | /* |
105 | 96 | * Add a new entry in the dicache |
106 | * (a single node (URL) may have several entries) | |
97 | * (a single URL may have several entries) | |
107 | 98 | */ |
108 | 99 | static DICacheEntry *Dicache_add_entry(const DilloUrl *Url) |
109 | 100 | { |
110 | DICacheEntry *entry; | |
111 | DICacheNode *node; | |
101 | DICacheEntry e, *entry, *last; | |
112 | 102 | |
113 | 103 | entry = Dicache_entry_new(); |
114 | ||
115 | if ((node = dList_find_sorted(CachedIMGs, Url, Dicache_node_by_url_cmp))) { | |
116 | /* this URL is already in CachedIMGs, add entry at the END of the list */ | |
117 | DICacheEntry *ptr = node->first; | |
118 | ||
119 | node->valid = 1; | |
120 | for ( ; ptr->next; ptr = ptr->next); | |
121 | ptr->next = entry; | |
122 | entry->version = ptr->version+1; | |
123 | entry->url = node->url; | |
124 | ||
125 | } else { /* no node yet, so create one */ | |
126 | DICacheNode *node = dNew(DICacheNode, 1); | |
127 | ||
128 | node->url = a_Url_dup(Url); | |
129 | entry->url = node->url; | |
130 | node->first = entry; | |
131 | node->valid = 1; | |
132 | dList_insert_sorted(CachedIMGs, node, Dicache_node_cmp); | |
133 | } | |
104 | e.url = (DilloUrl*)Url; | |
105 | e.version = DIC_Last; | |
106 | last = dList_find_sorted(CachedIMGs, &e, Dicache_entry_cmp); | |
107 | if (last) { | |
108 | /* URL is already in CachedIMGs, make a new version */ | |
109 | last->Flags &= ~DIF_Last; | |
110 | entry->version = last->version + 1; | |
111 | } | |
112 | entry->url = a_Url_dup(Url); | |
113 | entry->Flags |= DIF_Last; | |
114 | dList_insert_sorted(CachedIMGs, entry, Dicache_entry_cmp); | |
134 | 115 | |
135 | 116 | return entry; |
136 | 117 | } |
144 | 125 | */ |
145 | 126 | DICacheEntry *a_Dicache_get_entry(const DilloUrl *Url, int version) |
146 | 127 | { |
147 | DICacheNode *node; | |
128 | DICacheEntry e; | |
148 | 129 | DICacheEntry *entry = NULL; |
149 | 130 | |
150 | 131 | dReturn_val_if_fail(version != 0, NULL); |
151 | ||
152 | node = dList_find_sorted(CachedIMGs, Url, Dicache_node_by_url_cmp); | |
153 | if (node) { | |
154 | if (version == DIC_Last) { | |
155 | if (node->valid) { | |
156 | entry = node->first; | |
157 | for ( ; (entry && entry->next); entry = entry->next); | |
158 | } | |
159 | } else { | |
160 | entry = node->first; | |
161 | for ( ; entry && entry->version != version; entry = entry->next) ; | |
162 | } | |
163 | } | |
132 | e.url = (DilloUrl*)Url; | |
133 | e.version = version; | |
134 | entry = dList_find_sorted(CachedIMGs, &e, Dicache_entry_cmp); | |
135 | if (entry && !(entry->Flags & DIF_Valid) && version == DIC_Last) | |
136 | entry = NULL; | |
164 | 137 | return entry; |
165 | 138 | } |
166 | 139 | |
169 | 142 | */ |
170 | 143 | static void Dicache_remove(const DilloUrl *Url, int version) |
171 | 144 | { |
172 | DICacheNode *node; | |
173 | DICacheEntry *entry, *prev; | |
145 | DICacheEntry e, *entry; | |
146 | ||
174 | 147 | _MSG("Dicache_remove url=%s\n", URL_STR(Url)); |
175 | node = dList_find_sorted(CachedIMGs, Url, Dicache_node_by_url_cmp); | |
176 | prev = entry = (node) ? node->first : NULL; | |
177 | ||
178 | while (entry && (entry->version != version) ) { | |
179 | prev = entry; | |
180 | entry = entry->next; | |
181 | } | |
182 | ||
183 | if (entry) { | |
184 | _MSG("Dicache_remove Decoder=%p DecoderData=%p\n", | |
185 | entry->Decoder, entry->DecoderData); | |
186 | /* Eliminate this dicache entry */ | |
187 | dFree(entry->cmap); | |
188 | a_Bitvec_free(entry->BitVec); | |
189 | a_Imgbuf_unref(entry->v_imgbuf); | |
190 | if (entry->Decoder) { | |
191 | entry->Decoder(CA_Abort, entry->DecoderData); | |
192 | } | |
193 | dicache_size_total -= entry->TotalSize; | |
194 | ||
195 | if (node->first == entry) { | |
196 | if (!entry->next) { | |
197 | /* last entry with this URL. Remove the node as well */ | |
198 | dList_remove(CachedIMGs, node); | |
199 | a_Url_free(node->url); | |
200 | dFree(node); | |
201 | } else | |
202 | node->first = entry->next; | |
203 | } else { | |
204 | prev->next = entry->next; | |
205 | } | |
206 | dFree(entry); | |
207 | } | |
208 | } | |
209 | ||
210 | /* | |
211 | * Unrefs the counter of a dicache entry, and _if_ no DwImage is acessing | |
212 | * this buffer, then we call Dicache_remove() to do the job. | |
148 | e.url = (DilloUrl*)Url; | |
149 | e.version = version; | |
150 | entry = dList_find_sorted(CachedIMGs, &e, Dicache_entry_cmp); | |
151 | dReturn_if (entry == NULL); | |
152 | ||
153 | _MSG("Dicache_remove Imgbuf=%p Decoder=%p DecoderData=%p\n", | |
154 | entry->v_imgbuf, entry->Decoder, entry->DecoderData); | |
155 | /* Eliminate this dicache entry */ | |
156 | dList_remove(CachedIMGs, entry); | |
157 | dicache_size_total -= entry->TotalSize; | |
158 | ||
159 | /* entry cleanup */ | |
160 | a_Url_free(entry->url); | |
161 | dFree(entry->cmap); | |
162 | a_Bitvec_free(entry->BitVec); | |
163 | a_Imgbuf_unref(entry->v_imgbuf); | |
164 | if (entry->Decoder) { | |
165 | entry->Decoder(CA_Abort, entry->DecoderData); | |
166 | } | |
167 | dFree(entry); | |
168 | } | |
169 | ||
170 | /* | |
171 | * Unrefs the counter of a dicache entry (it counts cache clients). | |
172 | * If there're no clients and no imgbuf, remove the entry. | |
173 | * Otherwise, let a_Dicache_cleanup() do the job later | |
174 | * (keeping it cached meanwhile for e.g. reload, repush, back/fwd). | |
213 | 175 | */ |
214 | 176 | void a_Dicache_unref(const DilloUrl *Url, int version) |
215 | 177 | { |
216 | 178 | DICacheEntry *entry; |
217 | 179 | |
218 | _MSG("a_Dicache_unref\n"); | |
219 | 180 | if ((entry = a_Dicache_get_entry(Url, version))) { |
220 | if (--entry->RefCount == 0) { | |
181 | _MSG("a_Dicache_unref: RefCount=%d State=%d ImgbufLastRef=%d\n", | |
182 | entry->RefCount, entry->State, | |
183 | entry->v_imgbuf ? a_Imgbuf_last_reference(entry->v_imgbuf) : -1); | |
184 | if (entry->RefCount > 0) --entry->RefCount; | |
185 | if (entry->RefCount == 0 && entry->v_imgbuf == NULL) | |
221 | 186 | Dicache_remove(Url, version); |
222 | } | |
223 | 187 | } |
224 | 188 | } |
225 | 189 | |
243 | 207 | */ |
244 | 208 | void a_Dicache_invalidate_entry(const DilloUrl *Url) |
245 | 209 | { |
246 | DICacheNode *node; | |
247 | ||
248 | node = dList_find_sorted(CachedIMGs, Url, Dicache_node_by_url_cmp); | |
249 | if (node) | |
250 | node->valid = 0; | |
210 | DICacheEntry *entry = a_Dicache_get_entry(Url, DIC_Last); | |
211 | if (entry) | |
212 | entry->Flags &= ~DIF_Valid; | |
251 | 213 | } |
252 | 214 | |
253 | 215 | |
255 | 217 | |
256 | 218 | /* |
257 | 219 | * Set image's width, height & type |
258 | * (By now, we'll use the image information despite the html tags --Jcid) | |
220 | * - 'width' and 'height' come from the image data. | |
221 | * - HTML width and height attrs are handled with setNonCssHint. | |
222 | * - CSS sizing is handled by the CSS engine. | |
259 | 223 | */ |
260 | 224 | void a_Dicache_set_parms(DilloUrl *url, int version, DilloImage *Image, |
261 | 225 | uint_t width, uint_t height, DilloImgType type, |
268 | 232 | /* Find the DicEntry for this Image */ |
269 | 233 | DicEntry = a_Dicache_get_entry(url, version); |
270 | 234 | dReturn_if_fail ( DicEntry != NULL ); |
271 | /* Parameters already set? */ | |
235 | /* Parameters already set? Don't do it twice. */ | |
272 | 236 | dReturn_if_fail ( DicEntry->State < DIC_SetParms ); |
273 | 237 | |
274 | 238 | _MSG(" RefCount=%d version=%d\n", DicEntry->RefCount, DicEntry->version); |
291 | 255 | /* |
292 | 256 | * Implement the set_cmap method for the Image |
293 | 257 | */ |
294 | void a_Dicache_set_cmap(DilloUrl *url, int version, DilloImage *Image, | |
258 | void a_Dicache_set_cmap(DilloUrl *url, int version, int bg_color, | |
295 | 259 | const uchar_t *cmap, uint_t num_colors, |
296 | 260 | int num_colors_max, int bg_index) |
297 | 261 | { |
304 | 268 | DicEntry->cmap = dNew0(uchar_t, 3 * num_colors_max); |
305 | 269 | memcpy(DicEntry->cmap, cmap, 3 * num_colors); |
306 | 270 | if (bg_index >= 0 && (uint_t)bg_index < num_colors) { |
307 | DicEntry->cmap[bg_index * 3] = (Image->bg_color >> 16) & 0xff; | |
308 | DicEntry->cmap[bg_index * 3 + 1] = (Image->bg_color >> 8) & 0xff; | |
309 | DicEntry->cmap[bg_index * 3 + 2] = (Image->bg_color) & 0xff; | |
271 | DicEntry->cmap[bg_index * 3] = (bg_color >> 16) & 0xff; | |
272 | DicEntry->cmap[bg_index * 3 + 1] = (bg_color >> 8) & 0xff; | |
273 | DicEntry->cmap[bg_index * 3 + 2] = (bg_color) & 0xff; | |
310 | 274 | } |
311 | 275 | |
312 | 276 | DicEntry->State = DIC_SetCmap; |
367 | 331 | |
368 | 332 | /* a_Dicache_unref() may free DicEntry */ |
369 | 333 | _MSG("a_Dicache_close RefCount=%d\n", DicEntry->RefCount - 1); |
334 | _MSG("a_Dicache_close DIC_Close=%d State=%d\n", DIC_Close, DicEntry->State); | |
335 | _MSG(" a_Dicache_close imgbuf=%p Decoder=%p DecoderData=%p\n", | |
336 | DicEntry->v_imgbuf, DicEntry->Decoder, DicEntry->DecoderData); | |
370 | 337 | |
371 | 338 | if (DicEntry->State < DIC_Close) { |
372 | 339 | DicEntry->State = DIC_Close; |
409 | 376 | |
410 | 377 | DicEntry = a_Dicache_get_entry(web->url, DIC_Last); |
411 | 378 | if (!DicEntry) { |
412 | /* Let's create an entry for this image... */ | |
379 | /* Create an entry for this image... */ | |
413 | 380 | DicEntry = Dicache_add_entry(web->url); |
414 | DicEntry->DecoderData = | |
415 | (ImgType == DIC_Png) ? | |
416 | a_Png_new(web->Image, DicEntry->url, DicEntry->version) : | |
417 | (ImgType == DIC_Gif) ? | |
418 | a_Gif_new(web->Image, DicEntry->url, DicEntry->version) : | |
419 | (ImgType == DIC_Jpeg) ? | |
420 | a_Jpeg_new(web->Image, DicEntry->url, DicEntry->version) : | |
421 | NULL; | |
381 | /* Attach a decoder */ | |
382 | if (ImgType == DIC_Jpeg) { | |
383 | DicEntry->Decoder = (CA_Callback_t)a_Jpeg_callback; | |
384 | DicEntry->DecoderData = | |
385 | a_Jpeg_new(web->Image, DicEntry->url, DicEntry->version); | |
386 | } else if (ImgType == DIC_Gif) { | |
387 | DicEntry->Decoder = (CA_Callback_t)a_Gif_callback; | |
388 | DicEntry->DecoderData = | |
389 | a_Gif_new(web->Image, DicEntry->url, DicEntry->version); | |
390 | } else if (ImgType == DIC_Png) { | |
391 | DicEntry->Decoder = (CA_Callback_t)a_Png_callback; | |
392 | DicEntry->DecoderData = | |
393 | a_Png_new(web->Image, DicEntry->url, DicEntry->version); | |
394 | } | |
422 | 395 | } else { |
423 | 396 | /* Repeated image */ |
424 | 397 | a_Dicache_ref(DicEntry->url, DicEntry->version); |
425 | 398 | } |
426 | DicEntry->Decoder = (ImgType == DIC_Png) ? (CA_Callback_t)a_Png_callback : | |
427 | (ImgType == DIC_Gif) ? (CA_Callback_t)a_Gif_callback : | |
428 | (ImgType == DIC_Jpeg) ? (CA_Callback_t)a_Jpeg_callback: | |
429 | NULL; | |
399 | /* Survive three cleanup passes (set to zero = old behaviour). */ | |
400 | DicEntry->SurvCleanup = 3; | |
401 | ||
430 | 402 | *Data = DicEntry->DecoderData; |
431 | 403 | *Call = (CA_Callback_t) a_Dicache_callback; |
432 | 404 | |
534 | 506 | void a_Dicache_cleanup(void) |
535 | 507 | { |
536 | 508 | int i; |
537 | DICacheNode *node; | |
538 | 509 | DICacheEntry *entry; |
539 | 510 | |
540 | _MSG("a_Dicache_cleanup\n"); | |
541 | for (i = 0; i < dList_length(CachedIMGs); ++i) { | |
542 | node = dList_nth_data(CachedIMGs, i); | |
543 | /* iterate each entry of this node */ | |
544 | for (entry = node->first; entry; entry = entry->next) { | |
545 | if (entry->v_imgbuf && | |
546 | a_Imgbuf_last_reference(entry->v_imgbuf)) { | |
547 | /* free this unused entry */ | |
548 | if (entry->next) { | |
549 | Dicache_remove(node->url, entry->version); | |
550 | } else { | |
551 | Dicache_remove(node->url, entry->version); | |
552 | --i; | |
553 | break; | |
554 | } | |
555 | } | |
511 | for (i = 0; (entry = dList_nth_data(CachedIMGs, i)); ++i) { | |
512 | _MSG(" SurvCleanup = %d\n", entry->SurvCleanup); | |
513 | if (entry->RefCount == 0 && | |
514 | (!entry->v_imgbuf || a_Imgbuf_last_reference(entry->v_imgbuf))) { | |
515 | if (--entry->SurvCleanup >= 0) | |
516 | continue; /* keep the entry one more pass */ | |
517 | ||
518 | /* free this unused entry */ | |
519 | Dicache_remove(entry->url, entry->version); | |
520 | --i; /* adjust counter */ | |
556 | 521 | } |
557 | 522 | } |
523 | MSG("a_Dicache_cleanup: length = %d\n", dList_length(CachedIMGs)); | |
558 | 524 | } |
559 | 525 | |
560 | 526 | /* ------------------------------------------------------------------------- */ |
561 | 527 | |
562 | 528 | /* |
563 | 529 | * Deallocate memory used by dicache module |
564 | * (Call this one at exit time) | |
530 | * (Call this one at exit time, with no cache clients queued) | |
565 | 531 | */ |
566 | 532 | void a_Dicache_freeall(void) |
567 | 533 | { |
568 | DICacheNode *node; | |
569 | 534 | DICacheEntry *entry; |
570 | 535 | |
571 | /* Remove every dicache node and its entries */ | |
572 | while ((node = dList_nth_data(CachedIMGs, 0))) { | |
573 | while ((entry = node->first)) { | |
574 | node->first = entry->next; | |
575 | dFree(entry->cmap); | |
576 | a_Bitvec_free(entry->BitVec); | |
577 | a_Imgbuf_unref(entry->v_imgbuf); | |
578 | dicache_size_total -= entry->TotalSize; | |
579 | } | |
580 | dList_remove_fast(CachedIMGs, node); | |
581 | a_Url_free(node->url); | |
582 | dFree(node); | |
536 | /* Remove all the dicache entries */ | |
537 | while ((entry = dList_nth_data(CachedIMGs, dList_length(CachedIMGs)-1))) { | |
538 | dList_remove_fast(CachedIMGs, entry); | |
539 | a_Url_free(entry->url); | |
540 | dFree(entry->cmap); | |
541 | a_Bitvec_free(entry->BitVec); | |
542 | a_Imgbuf_unref(entry->v_imgbuf); | |
543 | dicache_size_total -= entry->TotalSize; | |
544 | dFree(entry); | |
583 | 545 | } |
584 | 546 | dList_free(CachedIMGs); |
585 | 547 | } |
11 | 11 | |
12 | 12 | /* Symbolic name to request the last version of an image */ |
13 | 13 | #define DIC_Last -1 |
14 | /* Flags: Last version, Valid entry */ | |
15 | #define DIF_Last 1 | |
16 | #define DIF_Valid 2 | |
14 | 17 | |
15 | 18 | |
16 | 19 | /* These will reflect the entry's "state" */ |
25 | 28 | |
26 | 29 | typedef struct DICacheEntry { |
27 | 30 | DilloUrl *url; /* Image URL for this entry */ |
31 | DilloImgType type; /* Image type */ | |
28 | 32 | uint_t width, height; /* As taken from image data */ |
29 | DilloImgType type; /* Image type */ | |
33 | short Flags; /* See Flags */ | |
34 | short SurvCleanup; /* Cleanup-pass survival for unused images */ | |
30 | 35 | uchar_t *cmap; /* Color map */ |
31 | 36 | void *v_imgbuf; /* Void pointer to an Imgbuf object */ |
32 | 37 | uint_t TotalSize; /* Amount of memory the image takes up */ |
37 | 42 | int version; /* Version number, used for different |
38 | 43 | versions of the same URL image */ |
39 | 44 | |
45 | uint_t DecodedSize; /* Size of already decoded data */ | |
40 | 46 | CA_Callback_t Decoder; /* Client function */ |
41 | 47 | void *DecoderData; /* Client function data */ |
42 | uint_t DecodedSize; /* Size of already decoded data */ | |
43 | ||
44 | struct DICacheEntry *next; /* Link to the next "newer" version */ | |
45 | 48 | } DICacheEntry; |
46 | 49 | |
47 | 50 | |
60 | 63 | void a_Dicache_set_parms(DilloUrl *url, int version, DilloImage *Image, |
61 | 64 | uint_t width, uint_t height, DilloImgType type, |
62 | 65 | double gamma); |
63 | void a_Dicache_set_cmap(DilloUrl *url, int version, DilloImage *Image, | |
66 | void a_Dicache_set_cmap(DilloUrl *url, int version, int bg_color, | |
64 | 67 | const uchar_t *cmap, uint_t num_colors, |
65 | 68 | int num_colors_max, int bg_index); |
66 | 69 | void a_Dicache_new_scan(const DilloUrl *url, int version); |
495 | 495 | Fl_Window::default_xclass("dillo"); |
496 | 496 | |
497 | 497 | Fl::scheme(prefs.theme); |
498 | ||
499 | // Disable drag and drop as it crashes on MacOSX | |
500 | Fl::dnd_text_ops(0); | |
501 | ||
498 | 502 | setColors(); |
499 | 503 | |
500 | 504 | if (!prefs.show_ui_tooltip) { |
128 | 128 | ret = source_host[0] == '\0' || |
129 | 129 | !dStrAsciiCasecmp(URL_SCHEME(dest), "data"); |
130 | 130 | if (ret == FALSE) |
131 | MSG("Domain: DENIED from %s to %s.\n", source_host, URL_STR(dest)); | |
131 | MSG("Domain: DENIED %s -> %s.\n", source_host, URL_STR(dest)); | |
132 | 132 | return ret; |
133 | 133 | } |
134 | 134 | |
150 | 150 | if (ret == FALSE) { |
151 | 151 | const char *src = source_host[0] ? source_host : URL_STR(source); |
152 | 152 | |
153 | MSG("Domain: DENIED from %s to %s.\n", src, dest_host); | |
153 | MSG("Domain: DENIED %s -> %s.\n", src, dest_host); | |
154 | 154 | } |
155 | 155 | return ret; |
156 | 156 | } |
342 | 342 | HT2TB(html)->addParbreak (9, html->wordStyle ()); |
343 | 343 | |
344 | 344 | if (html->InFlags & IN_FORM) { |
345 | BUG_MSG("nested forms\n"); | |
345 | BUG_MSG("Nested <form>."); | |
346 | 346 | return; |
347 | 347 | } |
348 | 348 | html->InFlags |= IN_FORM; |
355 | 355 | if (!dStrAsciiCasecmp(attrbuf, "post")) { |
356 | 356 | method = DILLO_HTML_METHOD_POST; |
357 | 357 | } else if (dStrAsciiCasecmp(attrbuf, "get")) { |
358 | BUG_MSG("Unknown form submission method \"%s\"\n", attrbuf); | |
358 | BUG_MSG("<form> submission method unknown: '%s'.", attrbuf); | |
359 | 359 | } |
360 | 360 | } |
361 | 361 | if ((attrbuf = a_Html_get_attr(html, tag, tagsize, "action"))) |
362 | 362 | action = a_Html_url_new(html, attrbuf, NULL, 0); |
363 | 363 | else { |
364 | 364 | if (html->DocType != DT_HTML || html->DocTypeVersion <= 4.01f) |
365 | BUG_MSG("action attribute is required for <form>\n"); | |
365 | BUG_MSG("<form> requires action attribute."); | |
366 | 366 | action = a_Url_dup(html->base_url); |
367 | 367 | } |
368 | 368 | content_type = DILLO_HTML_ENC_URLENCODED; |
416 | 416 | if (size < 1 || size > MAX_SIZE) { |
417 | 417 | int badSize = size; |
418 | 418 | size = (size < 1 ? 20 : MAX_SIZE); |
419 | BUG_MSG("input size=%d, using size=%d instead\n", badSize, size); | |
419 | BUG_MSG("<input> size=%d, using size=%d instead.", badSize, size); | |
420 | 420 | } |
421 | 421 | } |
422 | 422 | return size; |
430 | 430 | DilloHtmlInputType inp_type; |
431 | 431 | Resource *resource = NULL; |
432 | 432 | Embed *embed = NULL; |
433 | char *value, *name, *type, *init_str; | |
433 | char *value, *name, *type, *init_str, *placeholder = NULL; | |
434 | 434 | const char *attrbuf, *label; |
435 | 435 | bool init_val = false; |
436 | 436 | ResourceFactory *factory; |
437 | 437 | |
438 | 438 | if (html->InFlags & IN_SELECT) { |
439 | BUG_MSG("<input> element inside <select>\n"); | |
439 | BUG_MSG("<input> inside <select>."); | |
440 | 440 | return; |
441 | 441 | } |
442 | 442 | if (html->InFlags & IN_BUTTON) { |
443 | BUG_MSG("<input> element inside <button>\n"); | |
443 | BUG_MSG("<input> inside <button>."); | |
444 | 444 | return; |
445 | 445 | } |
446 | 446 | |
455 | 455 | inp_type = DILLO_HTML_INPUT_UNKNOWN; |
456 | 456 | if (!dStrAsciiCasecmp(type, "password")) { |
457 | 457 | inp_type = DILLO_HTML_INPUT_PASSWORD; |
458 | placeholder = a_Html_get_attr_wdef(html, tag,tagsize,"placeholder",NULL); | |
458 | 459 | attrbuf = a_Html_get_attr(html, tag, tagsize, "size"); |
459 | 460 | int size = Html_input_get_size(html, attrbuf); |
460 | resource = factory->createEntryResource (size, true, NULL); | |
461 | resource = factory->createEntryResource (size, true, NULL, placeholder); | |
461 | 462 | init_str = value; |
462 | 463 | } else if (!dStrAsciiCasecmp(type, "checkbox")) { |
463 | 464 | inp_type = DILLO_HTML_INPUT_CHECKBOX; |
477 | 478 | inp_type = DILLO_HTML_INPUT_HIDDEN; |
478 | 479 | init_str = value; |
479 | 480 | int size = Html_input_get_size(html, NULL); |
480 | resource = factory->createEntryResource(size, false, name); | |
481 | resource = factory->createEntryResource(size, false, name, NULL); | |
481 | 482 | } else if (!dStrAsciiCasecmp(type, "submit")) { |
482 | 483 | inp_type = DILLO_HTML_INPUT_SUBMIT; |
483 | 484 | init_str = (value) ? value : dStrdup("submit"); |
506 | 507 | DilloHtmlForm *form = html->getCurrentForm(); |
507 | 508 | if (form->method != DILLO_HTML_METHOD_POST) { |
508 | 509 | valid = false; |
509 | BUG_MSG("Forms with file input MUST use HTTP POST method\n"); | |
510 | BUG_MSG("<form> with file input MUST use HTTP POST method."); | |
510 | 511 | MSG("File input ignored in form not using HTTP POST method\n"); |
511 | 512 | } else if (form->content_type != DILLO_HTML_ENC_MULTIPART) { |
512 | 513 | valid = false; |
513 | BUG_MSG("Forms with file input MUST use multipart/form-data" | |
514 | " encoding\n"); | |
514 | BUG_MSG("<form> with file input MUST use multipart/form-data" | |
515 | " encoding."); | |
515 | 516 | MSG("File input ignored in form not using multipart/form-data" |
516 | 517 | " encoding\n"); |
517 | 518 | } |
530 | 531 | } else { |
531 | 532 | /* Text input, which also is the default */ |
532 | 533 | inp_type = DILLO_HTML_INPUT_TEXT; |
534 | placeholder = a_Html_get_attr_wdef(html, tag,tagsize,"placeholder",NULL); | |
533 | 535 | attrbuf = a_Html_get_attr(html, tag, tagsize, "size"); |
534 | 536 | int size = Html_input_get_size(html, attrbuf); |
535 | resource = factory->createEntryResource(size, false, NULL); | |
537 | resource = factory->createEntryResource(size, false, NULL, placeholder); | |
536 | 538 | init_str = value; |
537 | 539 | } |
538 | 540 | if (resource) |
572 | 574 | dFree(name); |
573 | 575 | if (init_str != value) |
574 | 576 | dFree(init_str); |
577 | dFree(placeholder); | |
575 | 578 | dFree(value); |
576 | 579 | } |
577 | 580 | |
605 | 608 | HT2TB(html)->addText(attrbuf, html->wordStyle ()); |
606 | 609 | |
607 | 610 | ResourceFactory *factory = HT2LT(html)->getResourceFactory(); |
608 | EntryResource *entryResource = factory->createEntryResource (20,false,NULL); | |
611 | EntryResource *entryResource = factory->createEntryResource (20, false, | |
612 | NULL, NULL); | |
609 | 613 | embed = new Embed (entryResource); |
610 | 614 | Html_add_input(html, DILLO_HTML_INPUT_INDEX, embed, NULL, NULL, FALSE); |
611 | 615 | |
640 | 644 | cols = strtol(attrbuf, NULL, 10); |
641 | 645 | } else { |
642 | 646 | if (html->DocType != DT_HTML || html->DocTypeVersion <= 4.01f) |
643 | BUG_MSG("cols attribute is required for <textarea>\n"); | |
647 | BUG_MSG("<textarea> requires cols attribute."); | |
644 | 648 | cols = 20; |
645 | 649 | } |
646 | 650 | if (cols < 1 || cols > MAX_COLS) { |
647 | 651 | int badCols = cols; |
648 | 652 | cols = (cols < 1 ? 20 : MAX_COLS); |
649 | BUG_MSG("textarea cols=%d, using cols=%d instead\n", badCols, cols); | |
653 | BUG_MSG("<textarea> cols=%d, using cols=%d instead.", badCols, cols); | |
650 | 654 | } |
651 | 655 | if ((attrbuf = a_Html_get_attr(html, tag, tagsize, "rows"))) { |
652 | 656 | rows = strtol(attrbuf, NULL, 10); |
653 | 657 | } else { |
654 | 658 | if (html->DocType != DT_HTML || html->DocTypeVersion <= 4.01f) |
655 | BUG_MSG("rows attribute is required for <textarea>\n"); | |
659 | BUG_MSG("<textarea> requires rows attribute."); | |
656 | 660 | rows = 10; |
657 | 661 | } |
658 | 662 | if (rows < 1 || rows > MAX_ROWS) { |
659 | 663 | int badRows = rows; |
660 | 664 | rows = (rows < 1 ? 2 : MAX_ROWS); |
661 | BUG_MSG("textarea rows=%d, using rows=%d instead\n", badRows, rows); | |
665 | BUG_MSG("<textarea> rows=%d, using rows=%d instead.", badRows, rows); | |
662 | 666 | } |
663 | 667 | name = NULL; |
664 | 668 | if ((attrbuf = a_Html_get_attr(html, tag, tagsize, "name"))) |
665 | 669 | name = dStrdup(attrbuf); |
666 | 670 | |
671 | attrbuf = a_Html_get_attr(html, tag, tagsize, "placeholder"); | |
672 | ||
667 | 673 | ResourceFactory *factory = HT2LT(html)->getResourceFactory(); |
668 | 674 | MultiLineTextResource *textres = |
669 | factory->createMultiLineTextResource (cols, rows); | |
675 | factory->createMultiLineTextResource (cols, rows, attrbuf); | |
670 | 676 | |
671 | 677 | Embed *embed = new Embed(textres); |
672 | 678 | /* Readonly or not? */ |
798 | 804 | void Html_tag_open_optgroup(DilloHtml *html, const char *tag, int tagsize) |
799 | 805 | { |
800 | 806 | if (!(html->InFlags & IN_SELECT)) { |
801 | BUG_MSG("<optgroup> element outside <select>\n"); | |
807 | BUG_MSG("<optgroup> outside <select>."); | |
802 | 808 | return; |
803 | 809 | } |
804 | 810 | if (html->InFlags & IN_OPTGROUP) { |
805 | BUG_MSG("nested <optgroup>\n"); | |
811 | BUG_MSG("Nested <optgroup>."); | |
806 | 812 | return; |
807 | 813 | } |
808 | 814 | if (html->InFlags & IN_OPTION) { |
820 | 826 | bool enabled = (a_Html_get_attr(html, tag, tagsize, "disabled") == NULL); |
821 | 827 | |
822 | 828 | if (!label) { |
823 | BUG_MSG("label attribute is required for <optgroup>\n"); | |
829 | BUG_MSG("<optgroup> requires label attribute."); | |
824 | 830 | label = strdup(""); |
825 | 831 | } |
826 | 832 | |
858 | 864 | void Html_tag_open_option(DilloHtml *html, const char *tag, int tagsize) |
859 | 865 | { |
860 | 866 | if (!(html->InFlags & IN_SELECT)) { |
861 | BUG_MSG("<option> element outside <select>\n"); | |
867 | BUG_MSG("<option> outside <select>."); | |
862 | 868 | return; |
863 | 869 | } |
864 | 870 | if (html->InFlags & IN_OPTION) |
917 | 923 | inp_type = DILLO_HTML_INPUT_BUTTON_SUBMIT; |
918 | 924 | } else { |
919 | 925 | inp_type = DILLO_HTML_INPUT_UNKNOWN; |
920 | BUG_MSG("Unknown button type: \"%s\"\n", type); | |
926 | BUG_MSG("<button> type unknown: '%s'.", type); | |
921 | 927 | } |
922 | 928 | |
923 | 929 | if (inp_type != DILLO_HTML_INPUT_UNKNOWN) { |
102 | 102 | size_t ColorMap_ofs; |
103 | 103 | uint_t ColorResolution; |
104 | 104 | uint_t NumColors; |
105 | #if 0 | |
106 | int Background; | |
107 | #endif | |
105 | int Background; | |
108 | 106 | uint_t spill_line_index; |
109 | 107 | #if 0 |
110 | 108 | uint_t AspectRatio; /* AspectRatio (not used) */ |
164 | 162 | gif->state = 0; |
165 | 163 | gif->Start_Ofs = 0; |
166 | 164 | gif->linebuf = NULL; |
167 | #if 0 | |
168 | gif->Background = -1; | |
169 | #endif | |
165 | gif->Background = Image->bg_color; | |
170 | 166 | gif->transparent = -1; |
171 | 167 | gif->num_spill_lines_max = 0; |
172 | 168 | gif->spill_lines = NULL; |
221 | 217 | int bufsize, bytes_consumed; |
222 | 218 | |
223 | 219 | /* Sanity checks */ |
224 | if (!Buf || !gif->Image || BufSize == 0) | |
220 | if (!Buf || BufSize == 0) | |
225 | 221 | return; |
226 | 222 | |
227 | 223 | buf = ((uchar_t *) Buf) + gif->Start_Ofs; |
819 | 815 | a_Dicache_set_parms(gif->url, gif->version, gif->Image, |
820 | 816 | gif->Width, gif->Height, DILLO_IMG_TYPE_INDEXED, |
821 | 817 | 1 / 2.2); |
818 | gif->Image = NULL; /* safeguard: hereafter it may be freed by its owner */ | |
822 | 819 | |
823 | 820 | Flags = buf[8]; |
824 | 821 | |
849 | 846 | gif->spill_line_index = 0; |
850 | 847 | gif->linebuf = dMalloc(gif->Width); |
851 | 848 | gif->state = 3; /*Process the lzw data next */ |
852 | if (gif->Image && gif->ColorMap_ofs) { | |
853 | a_Dicache_set_cmap(gif->url, gif->version, gif->Image, | |
849 | if (gif->ColorMap_ofs) { | |
850 | a_Dicache_set_cmap(gif->url, gif->version, gif->Background, | |
854 | 851 | (uchar_t *) Buf + gif->ColorMap_ofs, |
855 | 852 | gif->NumColors, 256, gif->transparent); |
856 | 853 | } |
131 | 131 | { |
132 | 132 | va_list argp; |
133 | 133 | |
134 | if (bw->num_page_bugs) | |
135 | dStr_append_c(bw->page_bugs, '\n'); | |
134 | 136 | dStr_sprintfa(bw->page_bugs, |
135 | 137 | "HTML warning: line %d, ", |
136 | getCurTagLineNumber()); | |
138 | getCurrLineNumber()); | |
137 | 139 | va_start(argp, format); |
138 | 140 | dStr_vsprintfa(bw->page_bugs, format, argp); |
139 | 141 | va_end(argp); |
157 | 159 | const char *suffix = (n_ic) > 1 ? "s" : ""; |
158 | 160 | n_ic_spc = URL_ILLEGAL_CHARS_SPC(url); |
159 | 161 | if (n_ic == n_ic_spc) { |
160 | BUG_MSG("URL has %d illegal space%s\n", n_ic, suffix); | |
162 | BUG_MSG("URL has %d illegal space%s ('%s').", n_ic, suffix, url_str); | |
161 | 163 | } else if (n_ic_spc == 0) { |
162 | BUG_MSG("URL has %d illegal character%s in {00-1F, 7F} range\n", | |
163 | n_ic, suffix); | |
164 | BUG_MSG("URL has %d illegal byte%s in {00-1F, 7F-FF} range ('%s').", | |
165 | n_ic, suffix, url_str); | |
164 | 166 | } else { |
165 | BUG_MSG("URL has %d illegal character%s: " | |
166 | "%d space%s, and %d in {00-1F, 7F} range\n", | |
167 | BUG_MSG("URL has %d illegal byte%s: " | |
168 | "%d space%s and %d in {00-1F, 7F-FF} range ('%s').", | |
167 | 169 | n_ic, suffix, |
168 | n_ic_spc, n_ic_spc > 1 ? "s" : "", n_ic-n_ic_spc); | |
170 | n_ic_spc, n_ic_spc > 1 ? "s" : "", n_ic-n_ic_spc, url_str); | |
169 | 171 | } |
170 | 172 | } |
171 | 173 | return url; |
289 | 291 | TextAlignType textAlignType = TEXT_ALIGN_LEFT; |
290 | 292 | |
291 | 293 | if (html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f) |
292 | BUG_MSG("The align attribute is obsolete in HTML5.\n"); | |
294 | BUG_MSG("The align attribute is obsolete in HTML5."); | |
293 | 295 | |
294 | 296 | if (dStrAsciiCasecmp (align, "left") == 0) |
295 | 297 | textAlignType = TEXT_ALIGN_LEFT; |
333 | 335 | |
334 | 336 | if ((attr = a_Html_get_attr(html, tag, tagsize, "valign"))) { |
335 | 337 | if (html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f) |
336 | BUG_MSG("The valign attribute is obsolete in HTML5.\n"); | |
338 | BUG_MSG("The valign attribute is obsolete in HTML5."); | |
337 | 339 | |
338 | 340 | if (dStrAsciiCasecmp (attr, "top") == 0) |
339 | 341 | valign = VALIGN_TOP; |
396 | 398 | |
397 | 399 | stop_parser = false; |
398 | 400 | |
399 | CurrTagOfs = 0; | |
400 | OldTagOfs = 0; | |
401 | OldTagLine = 1; | |
401 | CurrOfs = OldOfs = 0; | |
402 | OldLine = 1; | |
402 | 403 | |
403 | 404 | DocType = DT_NONE; /* assume Tag Soup 0.0! :-) */ |
404 | 405 | DocTypeVersion = 0.0f; |
538 | 539 | } |
539 | 540 | |
540 | 541 | /* |
541 | * Return the line number of the tag being processed by the parser. | |
542 | * Return the line number of the tag/word being processed by the parser. | |
542 | 543 | * Also update the offsets. |
543 | 544 | */ |
544 | int DilloHtml::getCurTagLineNumber() | |
545 | int DilloHtml::getCurrLineNumber() | |
545 | 546 | { |
546 | 547 | int i, ofs, line; |
547 | 548 | const char *p = Start_Buf; |
550 | 551 | /* Disable line counting for META hack. Buffers differ. */ |
551 | 552 | dReturn_val_if((InFlags & IN_META_HACK), -1); |
552 | 553 | |
553 | ofs = CurrTagOfs; | |
554 | line = OldTagLine; | |
555 | for (i = OldTagOfs; i < ofs; ++i) | |
554 | ofs = CurrOfs; | |
555 | line = OldLine; | |
556 | for (i = OldOfs; i < ofs; ++i) | |
556 | 557 | if (p[i] == '\n' || (p[i] == '\r' && p[i+1] != '\n')) |
557 | 558 | ++line; |
558 | OldTagOfs = CurrTagOfs; | |
559 | OldTagLine = line; | |
559 | OldOfs = CurrOfs; | |
560 | OldLine = line; | |
560 | 561 | return line; |
561 | 562 | } |
562 | 563 | |
943 | 944 | |
944 | 945 | if (!isocode || errno || isocode > 0xffff) { |
945 | 946 | /* this catches null bytes, errors and codes >= 0xFFFF */ |
946 | BUG_MSG("numeric character reference \"%s\" out of range\n", tok); | |
947 | BUG_MSG("Numeric character reference \"%s\" out of range.", tok); | |
947 | 948 | isocode = -2; |
948 | 949 | } |
949 | 950 | |
951 | 952 | if (*s == ';') |
952 | 953 | s++; |
953 | 954 | else if (prefs.show_extra_warnings) |
954 | BUG_MSG("numeric character reference without trailing ';'\n"); | |
955 | BUG_MSG("Numeric character reference without trailing ';'."); | |
955 | 956 | } |
956 | 957 | |
957 | 958 | } else if (isalpha(*s)) { |
968 | 969 | } else { |
969 | 970 | if ((html->DocType == DT_HTML && html->DocTypeVersion == 4.01f) || |
970 | 971 | html->DocType == DT_XHTML) |
971 | BUG_MSG("undefined character entity '%s'\n", tok); | |
972 | BUG_MSG("Undefined character entity '%s'.", tok); | |
972 | 973 | isocode = -3; |
973 | 974 | } |
974 | 975 | } |
975 | 976 | if (c == ';') |
976 | 977 | s++; |
977 | 978 | else if (prefs.show_extra_warnings) |
978 | BUG_MSG("character entity reference without trailing ';'\n"); | |
979 | BUG_MSG("Character entity reference without trailing ';'."); | |
979 | 980 | } |
980 | 981 | |
981 | 982 | *entsize = s-tok+1; |
985 | 986 | /* TODO: remove this hack. */ |
986 | 987 | isocode = Html_ms_stupid_quotes_2ucs(isocode); |
987 | 988 | } else if (isocode == -1 && prefs.show_extra_warnings) |
988 | BUG_MSG("literal '&'\n"); | |
989 | BUG_MSG("Literal '&'."); | |
989 | 990 | |
990 | 991 | return isocode; |
991 | 992 | } |
1094 | 1095 | break; |
1095 | 1096 | case '\t': |
1096 | 1097 | if (prefs.show_extra_warnings) |
1097 | BUG_MSG("TAB character inside <PRE>\n"); | |
1098 | BUG_MSG("TAB character inside <pre>."); | |
1098 | 1099 | offset = TAB_SIZE - html->pre_column % TAB_SIZE; |
1099 | 1100 | spaceCnt += offset; |
1100 | 1101 | html->pre_column += offset; |
1313 | 1314 | int toptag_idx = S_TOP(html)->tag_idx; |
1314 | 1315 | TagInfo toptag = Tags[toptag_idx]; |
1315 | 1316 | if (s_sz > idx + 1 && toptag.EndTag != 'O') |
1316 | BUG_MSG(" - forcing close of open tag: <%s>\n", toptag.name); | |
1317 | BUG_MSG(" - forcing close of open tag: <%s>.", toptag.name); | |
1317 | 1318 | _MSG("Close: %*s%s\n", size," ", toptag.name); |
1318 | 1319 | if (toptag.close) |
1319 | 1320 | toptag.close(html); |
1371 | 1372 | if (matched) { |
1372 | 1373 | Html_tag_cleanup_to_idx(html, stack_idx); |
1373 | 1374 | } else if (expected) { |
1374 | BUG_MSG("unexpected closing tag: </%s> -- expected </%s>.\n", | |
1375 | BUG_MSG("Unexpected closing tag: </%s> -- expected </%s>.", | |
1375 | 1376 | new_tag.name, Tags[tag_idx].name); |
1376 | 1377 | } else { |
1377 | BUG_MSG("unexpected closing tag: </%s>.\n", new_tag.name); | |
1378 | BUG_MSG("Unexpected closing tag: </%s>.", new_tag.name); | |
1378 | 1379 | } |
1379 | 1380 | } |
1380 | 1381 | |
1410 | 1411 | } |
1411 | 1412 | |
1412 | 1413 | if (matched) { |
1413 | BUG_MSG("attempt to nest <%s> element inside <%s> -- closing <%s>\n", | |
1414 | BUG_MSG("Attempt to nest <%s> element inside <%s> -- closing <%s>.", | |
1414 | 1415 | Tags[new_idx].name, Tags[u_idx].name, Tags[u_idx].name); |
1415 | 1416 | Html_tag_cleanup_to_idx(html, stack_idx); |
1416 | 1417 | } else { |
1480 | 1481 | else { |
1481 | 1482 | /* allow only whitespaces */ |
1482 | 1483 | if (*end && !isspace (*end)) { |
1483 | BUG_MSG("Garbage after length: %s\n", attr); | |
1484 | BUG_MSG("Garbage after length: '%s'.", attr); | |
1484 | 1485 | l = CSS_CREATE_LENGTH(0.0, CSS_LENGTH_TYPE_AUTO); |
1485 | 1486 | } |
1486 | 1487 | } |
1500 | 1501 | int32_t color = a_Color_parse(str, default_color, &err); |
1501 | 1502 | |
1502 | 1503 | if (err) { |
1503 | BUG_MSG("color \"%s\" is not in \"#RRGGBB\" format\n", str); | |
1504 | BUG_MSG("Color '%s' is not in \"#RRGGBB\" format.", str); | |
1504 | 1505 | } |
1505 | 1506 | return color; |
1506 | 1507 | } |
1517 | 1518 | bool valid = *val && !strchr(val, ' '); |
1518 | 1519 | |
1519 | 1520 | if (!valid) { |
1520 | BUG_MSG("'%s' value must not be empty and must not contain spaces.\n", | |
1521 | attrname); | |
1521 | BUG_MSG("'%s' value \"%s\" must not be empty and must not contain " | |
1522 | "spaces.", attrname, val); | |
1522 | 1523 | } |
1523 | 1524 | return valid ? 1 : 0; |
1524 | 1525 | } else { |
1529 | 1530 | break; |
1530 | 1531 | |
1531 | 1532 | if (val[i] || !(isascii(val[0]) && isalpha(val[0]))) |
1532 | BUG_MSG("'%s' value \"%s\" is not of the form " | |
1533 | "[A-Za-z][A-Za-z0-9:_.-]*\n", attrname, val); | |
1533 | BUG_MSG("%s attribute value \"%s\" is not of the form " | |
1534 | "'[A-Za-z][A-Za-z0-9:_.-]*'.", attrname, val); | |
1534 | 1535 | |
1535 | 1536 | return !(val[i]); |
1536 | 1537 | } |
1558 | 1559 | static void Html_parse_doctype(DilloHtml *html, const char *tag, int tagsize) |
1559 | 1560 | { |
1560 | 1561 | static const char HTML_SGML_sig [] = "<!DOCTYPE HTML PUBLIC "; |
1561 | static const char HTML5_sig [] = "<!DOCTYPE html>"; | |
1562 | 1562 | static const char HTML20 [] = "-//IETF//DTD HTML"; |
1563 | 1563 | static const char HTML32 [] = "-//W3C//DTD HTML 3.2"; |
1564 | 1564 | static const char HTML40 [] = "-//W3C//DTD HTML 4.0"; |
1595 | 1595 | _MSG("New: {%s}\n", ntag); |
1596 | 1596 | |
1597 | 1597 | if (html->DocType != DT_NONE) |
1598 | BUG_MSG("Multiple DOCTYPE declarations.\n"); | |
1598 | BUG_MSG("Multiple DOCTYPE declarations."); | |
1599 | 1599 | |
1600 | 1600 | /* The default DT_NONE type is TagSoup */ |
1601 | 1601 | if (i > strlen(HTML_SGML_sig) && // avoid out of bounds reads! |
1623 | 1623 | html->DocType = DT_HTML; |
1624 | 1624 | html->DocTypeVersion = 2.0f; |
1625 | 1625 | } |
1626 | } else if (!dStrAsciiCasecmp(ntag, HTML5_sig)) { | |
1626 | } else if (!dStrAsciiCasecmp(ntag, "<!DOCTYPE html>") || | |
1627 | !dStrAsciiCasecmp(ntag, "<!DOCTYPE html >") || | |
1628 | !dStrAsciiCasecmp(ntag, | |
1629 | "<!DOCTYPE html SYSTEM \"about:legacy-compat\">") || | |
1630 | !dStrAsciiCasecmp(ntag, | |
1631 | "<!DOCTYPE html SYSTEM 'about:legacy-compat'>")) { | |
1627 | 1632 | html->DocType = DT_HTML; |
1628 | 1633 | html->DocTypeVersion = 5.0f; |
1629 | 1634 | } |
1630 | 1635 | if (html->DocType == DT_NONE) { |
1631 | 1636 | html->DocType = DT_UNRECOGNIZED; |
1632 | BUG_MSG("DOCTYPE not recognized:\n%s.\n", ntag); | |
1637 | BUG_MSG("DOCTYPE not recognized: ('%s').", ntag); | |
1633 | 1638 | } |
1634 | 1639 | dFree(ntag); |
1635 | 1640 | } |
1648 | 1653 | ++html->Num_HTML; |
1649 | 1654 | |
1650 | 1655 | if (html->Num_HTML > 1) { |
1651 | BUG_MSG("HTML element was already open\n"); | |
1656 | BUG_MSG("<html> was already open."); | |
1652 | 1657 | html->ReqTagClose = true; |
1653 | 1658 | } |
1654 | 1659 | } |
1667 | 1672 | static void Html_tag_open_head(DilloHtml *html, const char *tag, int tagsize) |
1668 | 1673 | { |
1669 | 1674 | if (html->InFlags & IN_BODY) { |
1670 | BUG_MSG("HEAD element must go before the BODY section\n"); | |
1675 | BUG_MSG("<head> must go before the BODY section."); | |
1671 | 1676 | html->ReqTagClose = true; |
1672 | 1677 | return; |
1673 | 1678 | } |
1675 | 1680 | if (html->Num_HEAD < UCHAR_MAX) |
1676 | 1681 | ++html->Num_HEAD; |
1677 | 1682 | if (html->InFlags & IN_HEAD) { |
1678 | BUG_MSG("HEAD element was already open\n"); | |
1683 | BUG_MSG("<head> was already open."); | |
1679 | 1684 | html->ReqTagClose = true; |
1680 | 1685 | } else if (html->Num_HEAD > 1) { |
1681 | BUG_MSG("HEAD section already finished -- ignoring\n"); | |
1686 | BUG_MSG("<head> already finished -- ignoring."); | |
1682 | 1687 | html->ReqTagClose = true; |
1683 | 1688 | } else { |
1684 | 1689 | html->InFlags |= IN_HEAD; |
1695 | 1700 | if (html->Num_HEAD == 1) { |
1696 | 1701 | /* match for the well formed start of HEAD section */ |
1697 | 1702 | if (html->Num_TITLE == 0) |
1698 | BUG_MSG("HEAD section lacks the TITLE element\n"); | |
1703 | BUG_MSG("<head> lacks <title>."); | |
1699 | 1704 | |
1700 | 1705 | html->InFlags &= ~IN_HEAD; |
1701 | 1706 | |
1725 | 1730 | if (html->Num_TITLE < UCHAR_MAX) |
1726 | 1731 | ++html->Num_TITLE; |
1727 | 1732 | if (html->Num_TITLE > 1) |
1728 | BUG_MSG("A redundant TITLE element was found\n"); | |
1733 | BUG_MSG("Redundant <title>."); | |
1729 | 1734 | } else { |
1730 | BUG_MSG("TITLE element must be inside the HEAD section -- ignoring\n"); | |
1735 | BUG_MSG("<title> must be inside <head> -- ignoring."); | |
1731 | 1736 | } |
1732 | 1737 | } |
1733 | 1738 | |
1775 | 1780 | |
1776 | 1781 | if (!(attrbuf = a_Html_get_attr(html, tag, tagsize, "type"))) { |
1777 | 1782 | if (html->DocType != DT_HTML || html->DocTypeVersion <= 4.01f) |
1778 | BUG_MSG("type attribute is required for <style>\n"); | |
1783 | BUG_MSG("<style> requires type attribute."); | |
1779 | 1784 | } else if (dStrAsciiCasecmp(attrbuf, "text/css")) { |
1780 | 1785 | html->loadCssFromStash = false; |
1781 | 1786 | } |
1799 | 1804 | static void Html_tag_close_style(DilloHtml *html) |
1800 | 1805 | { |
1801 | 1806 | if (prefs.parse_embedded_css && html->loadCssFromStash) |
1802 | html->styleEngine->parse(html, html->base_url, html->Stash->str, html->Stash->len, | |
1803 | CSS_ORIGIN_AUTHOR); | |
1807 | html->styleEngine->parse(html, html->base_url, html->Stash->str, | |
1808 | html->Stash->len, CSS_ORIGIN_AUTHOR); | |
1804 | 1809 | } |
1805 | 1810 | |
1806 | 1811 | /* |
1824 | 1829 | ++html->Num_BODY; |
1825 | 1830 | |
1826 | 1831 | if (html->Num_BODY > 1) { |
1827 | BUG_MSG("BODY element was already open\n"); | |
1832 | BUG_MSG("<body> was already open."); | |
1828 | 1833 | html->ReqTagClose = true; |
1829 | 1834 | return; |
1830 | 1835 | } |
1831 | 1836 | |
1832 | 1837 | if (html->InFlags & IN_HEAD) { |
1833 | 1838 | /* if we're here, it's bad XHTML, no need to recover */ |
1834 | BUG_MSG("unclosed HEAD element\n"); | |
1839 | BUG_MSG("Unclosed <head>."); | |
1835 | 1840 | } |
1836 | 1841 | |
1837 | 1842 | if ((attrbuf = a_Html_get_attr(html, tag, tagsize, "bgcolor"))) { |
1838 | 1843 | color = a_Html_color_parse(html, attrbuf, -1); |
1839 | 1844 | |
1840 | 1845 | if (html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f) |
1841 | BUG_MSG("<body> bgcolor attribute is obsolete.\n"); | |
1846 | BUG_MSG("<body> bgcolor attribute is obsolete."); | |
1842 | 1847 | |
1843 | 1848 | if (color != -1) |
1844 | 1849 | html->styleEngine->setNonCssHint (CSS_PROPERTY_BACKGROUND_COLOR, |
1849 | 1854 | color = a_Html_color_parse(html, attrbuf, -1); |
1850 | 1855 | |
1851 | 1856 | if (html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f) |
1852 | BUG_MSG("<body> text attribute is obsolete.\n"); | |
1857 | BUG_MSG("<body> text attribute is obsolete."); | |
1853 | 1858 | |
1854 | 1859 | if (color != -1) |
1855 | 1860 | html->styleEngine->setNonCssHint (CSS_PROPERTY_COLOR, |
1861 | 1866 | if ((attrbuf = a_Html_get_attr(html, tag, tagsize, "link"))) { |
1862 | 1867 | html->non_css_link_color = a_Html_color_parse(html, attrbuf, -1); |
1863 | 1868 | if (html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f) |
1864 | BUG_MSG("<body> link attribute is obsolete.\n"); | |
1869 | BUG_MSG("<body> link attribute is obsolete."); | |
1865 | 1870 | } |
1866 | 1871 | |
1867 | 1872 | if ((attrbuf = a_Html_get_attr(html, tag, tagsize, "vlink"))) { |
1868 | 1873 | html->non_css_visited_color = a_Html_color_parse(html, attrbuf, -1); |
1869 | 1874 | if (html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f) |
1870 | BUG_MSG("<body> vlink attribute is obsolete.\n"); | |
1875 | BUG_MSG("<body> vlink attribute is obsolete."); | |
1871 | 1876 | } |
1872 | 1877 | |
1873 | 1878 | html->dw->setStyle (html->style ()); |
2337 | 2342 | DilloUrl *url; |
2338 | 2343 | |
2339 | 2344 | if (html->InFlags & IN_MAP) { |
2340 | BUG_MSG("nested <map>\n"); | |
2345 | BUG_MSG("Nested <map>."); | |
2341 | 2346 | } else { |
2342 | 2347 | if ((attrbuf = a_Html_get_attr(html, tag, tagsize, "name"))) { |
2343 | 2348 | html->InFlags |= IN_MAP; |
2347 | 2352 | a_Url_free (url); |
2348 | 2353 | dFree(hash_name); |
2349 | 2354 | } else { |
2350 | BUG_MSG("name attribute is required for <map>\n"); | |
2355 | BUG_MSG("<map> requires name attribute."); | |
2351 | 2356 | } |
2352 | 2357 | } |
2353 | 2358 | } |
2399 | 2404 | if (!*newtail) |
2400 | 2405 | break; |
2401 | 2406 | if (*newtail != ',') { |
2402 | BUG_MSG("area coords must be integers separated by commas.\n"); | |
2407 | BUG_MSG("<area> coords must be integers separated by commas."); | |
2403 | 2408 | } |
2404 | 2409 | tail = newtail + 1; |
2405 | 2410 | } |
2422 | 2427 | Shape *shape = NULL; |
2423 | 2428 | |
2424 | 2429 | if (!(html->InFlags & IN_MAP)) { |
2425 | BUG_MSG("<area> element not inside <map>\n"); | |
2430 | BUG_MSG("<area> not inside <map>."); | |
2426 | 2431 | return; |
2427 | 2432 | } |
2428 | 2433 | attrbuf = a_Html_get_attr(html, tag, tagsize, "shape"); |
2438 | 2443 | } else if (dStrnAsciiCasecmp(attrbuf, "poly", 4) == 0) { |
2439 | 2444 | type = POLYGON; |
2440 | 2445 | } else { |
2441 | BUG_MSG("<area> unknown shape: \"%s\"\n", attrbuf); | |
2446 | BUG_MSG("<area> unknown shape: '%s'.", attrbuf); | |
2442 | 2447 | type = UNKNOWN; |
2443 | 2448 | } |
2444 | 2449 | if (type == RECTANGLE || type == CIRCLE || type == POLYGON) { |
2448 | 2453 | |
2449 | 2454 | if (type == RECTANGLE) { |
2450 | 2455 | if (coords->size() != 4) |
2451 | BUG_MSG("<area> rectangle must have four coordinate values\n"); | |
2456 | BUG_MSG("<area> rectangle must have four coordinate values."); | |
2452 | 2457 | if (coords->size() >= 4) |
2453 | 2458 | shape = new Rectangle(coords->get(0), |
2454 | 2459 | coords->get(1), |
2456 | 2461 | coords->get(3) - coords->get(1)); |
2457 | 2462 | } else if (type == CIRCLE) { |
2458 | 2463 | if (coords->size() != 3) |
2459 | BUG_MSG("<area> circle must have three coordinate values\n"); | |
2464 | BUG_MSG("<area> circle must have three coordinate values."); | |
2460 | 2465 | if (coords->size() >= 3) |
2461 | 2466 | shape = new Circle(coords->get(0), coords->get(1), |
2462 | 2467 | coords->get(2)); |
2464 | 2469 | Polygon *poly; |
2465 | 2470 | int i; |
2466 | 2471 | if (coords->size() % 2) |
2467 | BUG_MSG("<area> polygon with odd number of coordinates\n"); | |
2472 | BUG_MSG("<area> polygon with odd number of coordinates."); | |
2468 | 2473 | shape = poly = new Polygon(); |
2469 | 2474 | for (i = 0; i < (coords->size() / 2); i++) |
2470 | 2475 | poly->addPoint(coords->get(2*i), coords->get(2*i + 1)); |
2600 | 2605 | const char *attrbuf; |
2601 | 2606 | |
2602 | 2607 | if (!(html->InFlags & IN_MEDIA)) { |
2603 | BUG_MSG("<source> element not inside a media element.\n"); | |
2608 | BUG_MSG("<source> not inside a media element."); | |
2604 | 2609 | return; |
2605 | 2610 | } |
2606 | 2611 | if (!(attrbuf = a_Html_get_attr(html, tag, tagsize, "src"))) { |
2607 | BUG_MSG("src attribute is required in <source> element.\n"); | |
2612 | BUG_MSG("<source> requires src attribute."); | |
2608 | 2613 | return; |
2609 | 2614 | } else { |
2610 | 2615 | DilloUrl *url = a_Html_url_new(html, attrbuf, NULL, 0); |
2681 | 2686 | if ((ch == '"' || ch == '\'') && |
2682 | 2687 | (p2 = strchr(Buf->str + i + 1 , ch))) { |
2683 | 2688 | p1 = Buf->str + i; |
2684 | BUG_MSG("link depends on javascript()\n"); | |
2689 | BUG_MSG("Link depends on javascript()."); | |
2685 | 2690 | dStr_truncate(Buf, p2 - Buf->str); |
2686 | 2691 | dStr_erase(Buf, 0, p1 - Buf->str + 1); |
2687 | 2692 | } |
2696 | 2701 | { |
2697 | 2702 | _MSG("Registering ANCHOR: %s\n", name); |
2698 | 2703 | if (!HT2TB(html)->addAnchor (name, html->style ())) |
2699 | BUG_MSG("Anchor names must be unique within the document ('%s')\n",name); | |
2704 | BUG_MSG("Anchor names must be unique within the document (\"%s\").", | |
2705 | name); | |
2700 | 2706 | /* |
2701 | 2707 | * According to Sec. 12.2.1 of the HTML 4.01 spec, "anchor names that |
2702 | 2708 | * differ only in case may not appear in the same document", but |
2766 | 2772 | /* We compare the "id" value with the url-decoded "name" value */ |
2767 | 2773 | if (!id || strcmp(nameVal, id)) { |
2768 | 2774 | if (id) |
2769 | BUG_MSG("'id' and 'name' attribute of <a> tag differ\n"); | |
2775 | BUG_MSG("In <a>, id ('%s') and name ('%s') attributes differ.", | |
2776 | id, nameVal); | |
2770 | 2777 | Html_add_anchor(html, nameVal); |
2771 | 2778 | } |
2772 | 2779 | |
2842 | 2849 | html->styleEngine->setNonCssHint (CSS_PROPERTY_LIST_STYLE_TYPE, |
2843 | 2850 | CSS_TYPE_ENUM, list_style_type); |
2844 | 2851 | if (html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f) |
2845 | BUG_MSG("<ul> type attribute is obsolete.\n"); | |
2852 | BUG_MSG("<ul> type attribute is obsolete."); | |
2846 | 2853 | } |
2847 | 2854 | |
2848 | 2855 | S_TOP(html)->list_type = HTML_LIST_UNORDERED; |
2864 | 2871 | S_TOP(html)->ref_list_item = NULL; |
2865 | 2872 | |
2866 | 2873 | if (prefs.show_extra_warnings) |
2867 | BUG_MSG("Obsolete list type; use <UL> instead\n"); | |
2874 | BUG_MSG("Obsolete list type; use <ul> instead."); | |
2868 | 2875 | } |
2869 | 2876 | |
2870 | 2877 | /* |
2872 | 2879 | */ |
2873 | 2880 | static void Html_tag_open_menu(DilloHtml *html, const char *tag, int tagsize) |
2874 | 2881 | { |
2875 | Html_tag_open_dir(html, tag, tagsize); | |
2882 | /* In another bit of ridiculous mess from the HTML5 world, the menu | |
2883 | * element, which was deprecated in HTML4: | |
2884 | * - does not appear at all in W3C's HTML5 spec | |
2885 | * - appears in WHATWG's HTML5 doc and the W3C's 5.1 draft, where it | |
2886 | * means something totally different than it did in the old days | |
2887 | * (now it's for popup menus and toolbar menus rather than being a | |
2888 | * sort of list). | |
2889 | */ | |
2890 | if (!(html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f)) | |
2891 | Html_tag_open_dir(html, tag, tagsize); | |
2876 | 2892 | } |
2877 | 2893 | |
2878 | 2894 | /* |
2905 | 2921 | |
2906 | 2922 | if ((attrbuf = a_Html_get_attr(html, tag, tagsize, "start")) && |
2907 | 2923 | (n = (int) strtol(attrbuf, NULL, 10)) < 0) { |
2908 | BUG_MSG( "illegal '-' character in START attribute; Starting from 0\n"); | |
2924 | BUG_MSG("Illegal '-' character in START attribute; Starting from 0."); | |
2909 | 2925 | n = 0; |
2910 | 2926 | } |
2911 | 2927 | S_TOP(html)->list_number = n; |
2922 | 2938 | const char *attrbuf; |
2923 | 2939 | |
2924 | 2940 | if (S_TOP(html)->list_type == HTML_LIST_NONE) |
2925 | BUG_MSG("<li> outside <ul> or <ol>\n"); | |
2941 | BUG_MSG("<li> outside <ul> or <ol>."); | |
2926 | 2942 | |
2927 | 2943 | html->InFlags |= IN_LI; |
2928 | 2944 | |
2933 | 2949 | // ordered |
2934 | 2950 | if ((attrbuf = a_Html_get_attr(html, tag, tagsize, "value")) && |
2935 | 2951 | (*list_number = strtol(attrbuf, NULL, 10)) < 0) { |
2936 | BUG_MSG("illegal negative LIST VALUE attribute; Starting from 0\n"); | |
2952 | BUG_MSG("Illegal negative list value attribute; Starting from 0."); | |
2937 | 2953 | *list_number = 0; |
2938 | 2954 | } |
2939 | 2955 | } |
2960 | 2976 | width_ptr = a_Html_get_attr_wdef(html, tag, tagsize, "width", NULL); |
2961 | 2977 | if (width_ptr) { |
2962 | 2978 | if (html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f) |
2963 | BUG_MSG("<hr> width attribute is obsolete.\n"); | |
2979 | BUG_MSG("<hr> width attribute is obsolete."); | |
2964 | 2980 | html->styleEngine->setNonCssHint (CSS_PROPERTY_WIDTH, |
2965 | 2981 | CSS_TYPE_LENGTH_PERCENTAGE, |
2966 | 2982 | a_Html_parse_length (html, width_ptr)); |
2970 | 2986 | if ((attrbuf = a_Html_get_attr(html, tag, tagsize, "size"))) { |
2971 | 2987 | size = strtol(attrbuf, NULL, 10); |
2972 | 2988 | if (html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f) |
2973 | BUG_MSG("<hr> size attribute is obsolete.\n"); | |
2989 | BUG_MSG("<hr> size attribute is obsolete."); | |
2974 | 2990 | } |
2975 | 2991 | |
2976 | 2992 | a_Html_tag_set_align_attr(html, tag, tagsize); |
2978 | 2994 | /* TODO: evaluate attribute */ |
2979 | 2995 | if (a_Html_get_attr(html, tag, tagsize, "noshade")) { |
2980 | 2996 | if (html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f) |
2981 | BUG_MSG("<hr> noshade attribute is obsolete.\n"); | |
2997 | BUG_MSG("<hr> noshade attribute is obsolete."); | |
2982 | 2998 | html->styleEngine->setNonCssHint (CSS_PROPERTY_BORDER_TOP_STYLE, |
2983 | 2999 | CSS_TYPE_ENUM, BORDER_SOLID); |
2984 | 3000 | html->styleEngine->setNonCssHint (CSS_PROPERTY_BORDER_BOTTOM_STYLE, |
3070 | 3086 | * Check whether a tag is in the "excluding" element set for PRE |
3071 | 3087 | * Excl. Set = {IMG, OBJECT, APPLET, BIG, SMALL, SUB, SUP, FONT, BASEFONT} |
3072 | 3088 | */ |
3073 | static int Html_tag_pre_excludes(int tag_idx) | |
3074 | { | |
3075 | const char *es_set[] = {"img", "object", "applet", "big", "small", "sub", | |
3076 | "sup", "font", "basefont", NULL}; | |
3077 | static int ei_set[10], i; | |
3078 | ||
3079 | /* initialize array */ | |
3080 | if (!ei_set[0]) | |
3081 | for (i = 0; es_set[i]; ++i) | |
3082 | ei_set[i] = a_Html_tag_index(es_set[i]); | |
3083 | ||
3084 | for (i = 0; ei_set[i]; ++i) | |
3085 | if (tag_idx == ei_set[i]) | |
3086 | return 1; | |
3089 | static int Html_tag_pre_excludes(DilloHtml *html, int tag_idx) | |
3090 | { | |
3091 | if (!(html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f)) { | |
3092 | /* HTML5 doesn't say anything about excluding elements */ | |
3093 | const char *es_set[] = {"img", "object", "applet", "big", "small", "sub", | |
3094 | "sup", "font", "basefont", NULL}; | |
3095 | static int ei_set[10], i; | |
3096 | ||
3097 | /* initialize array */ | |
3098 | if (!ei_set[0]) | |
3099 | for (i = 0; es_set[i]; ++i) | |
3100 | ei_set[i] = a_Html_tag_index(es_set[i]); | |
3101 | ||
3102 | for (i = 0; ei_set[i]; ++i) | |
3103 | if (tag_idx == ei_set[i]) | |
3104 | return 1; | |
3105 | } | |
3087 | 3106 | return 0; |
3088 | 3107 | } |
3089 | 3108 | |
3133 | 3152 | |
3134 | 3153 | /* only valid inside HEAD */ |
3135 | 3154 | if (!(html->InFlags & IN_HEAD)) { |
3136 | BUG_MSG("META element must be inside the HEAD section\n"); | |
3155 | if (!((html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f) && | |
3156 | a_Html_get_attr(html, tag, tagsize, "itemprop"))) { | |
3157 | /* With the HTML 5.1 draft spec, meta with itemprop may appear | |
3158 | * in the body. | |
3159 | */ | |
3160 | BUG_MSG("This <meta> element must be inside the HEAD section."); | |
3161 | } | |
3137 | 3162 | return; |
3138 | 3163 | } |
3139 | 3164 | |
3166 | 3191 | |
3167 | 3192 | if (a_Url_cmp(html->base_url, new_url) == 0) { |
3168 | 3193 | /* redirection loop, or empty url string: ignore */ |
3169 | BUG_MSG("META refresh: %s\n", | |
3194 | BUG_MSG("<meta> refresh: %s.", | |
3170 | 3195 | *mr_url ? "redirection loop" : "no target URL"); |
3171 | 3196 | } else if (delay == 0) { |
3172 | 3197 | /* zero-delay redirection */ |
3295 | 3320 | |
3296 | 3321 | /* Ignore LINK outside HEAD */ |
3297 | 3322 | if (!(html->InFlags & IN_HEAD)) { |
3298 | BUG_MSG("LINK element must be inside the HEAD section\n"); | |
3323 | if (!((html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f) && | |
3324 | a_Html_get_attr(html, tag, tagsize, "itemprop"))) { | |
3325 | /* With the HTML 5.1 draft spec, link with itemprop may appear | |
3326 | * in the body. | |
3327 | */ | |
3328 | BUG_MSG("This <link> element must be inside the HEAD section."); | |
3329 | } | |
3299 | 3330 | return; |
3300 | 3331 | } |
3301 | 3332 | /* Remote stylesheets enabled? */ |
3340 | 3371 | a_Url_free(html->base_url); |
3341 | 3372 | html->base_url = BaseUrl; |
3342 | 3373 | } else { |
3343 | BUG_MSG("base URI is relative (it MUST be absolute)\n"); | |
3374 | BUG_MSG("<base> URI is relative (it MUST be absolute)."); | |
3344 | 3375 | a_Url_free(BaseUrl); |
3345 | 3376 | } |
3346 | 3377 | } |
3347 | 3378 | } else { |
3348 | BUG_MSG("the BASE element must appear in the HEAD section\n"); | |
3379 | BUG_MSG("<base> not inside HEAD section."); | |
3349 | 3380 | } |
3350 | 3381 | } |
3351 | 3382 | |
3372 | 3403 | } |
3373 | 3404 | |
3374 | 3405 | /* |
3375 | * <DIV> (TODO: make a complete implementation) | |
3376 | */ | |
3377 | static void Html_tag_open_div(DilloHtml *html, const char *tag, int tagsize) | |
3406 | * html5 sectioning stuff: article aside nav section header footer | |
3407 | */ | |
3408 | static void Html_tag_open_sectioning(DilloHtml *html, const char *tag, | |
3409 | int tagsize) | |
3378 | 3410 | { |
3379 | 3411 | const char *attrbuf; |
3380 | ||
3381 | a_Html_tag_set_align_attr (html, tag, tagsize); | |
3382 | 3412 | |
3383 | 3413 | if (prefs.show_tooltip && |
3384 | 3414 | (attrbuf = a_Html_get_attr(html, tag, tagsize, "title"))) { |
3386 | 3416 | html->styleEngine->setNonCssHint (PROPERTY_X_TOOLTIP, CSS_TYPE_STRING, |
3387 | 3417 | attrbuf); |
3388 | 3418 | } |
3419 | } | |
3420 | ||
3421 | /* | |
3422 | * <DIV> (TODO: make a complete implementation) | |
3423 | */ | |
3424 | static void Html_tag_open_div(DilloHtml *html, const char *tag, int tagsize) | |
3425 | { | |
3426 | a_Html_tag_set_align_attr (html, tag, tagsize); | |
3427 | Html_tag_open_sectioning(html, tag, tagsize); | |
3389 | 3428 | } |
3390 | 3429 | |
3391 | 3430 | /* |
3437 | 3476 | {"address", B8(010110),'R',2,Html_tag_open_default, NULL, Html_tag_close_par}, |
3438 | 3477 | {"area", B8(010001),'F',0, Html_tag_open_default, Html_tag_content_area, |
3439 | 3478 | NULL}, |
3440 | {"article", B8(011110),'R',2, Html_tag_open_default, NULL, NULL}, | |
3441 | {"aside", B8(011110),'R',2, Html_tag_open_default, NULL, NULL}, | |
3479 | {"article", B8(011110),'R',2, Html_tag_open_sectioning, NULL, NULL}, | |
3480 | {"aside", B8(011110),'R',2, Html_tag_open_sectioning, NULL, NULL}, | |
3442 | 3481 | {"audio", B8(011101),'R',2, Html_tag_open_audio, NULL, Html_tag_close_media}, |
3443 | 3482 | {"b", B8(010101),'R',2, Html_tag_open_default, NULL, NULL}, |
3444 | 3483 | {"base", B8(100001),'F',0, Html_tag_open_base, NULL, NULL}, |
3471 | 3510 | {"figcaption", B8(011110),'R',2, Html_tag_open_default, NULL, NULL}, |
3472 | 3511 | {"figure", B8(011110),'R',2, Html_tag_open_default, NULL, NULL}, |
3473 | 3512 | {"font", B8(010101),'R',2, Html_tag_open_font, NULL, NULL}, |
3474 | {"footer", B8(011110),'R',2, Html_tag_open_default, NULL, NULL}, | |
3513 | {"footer", B8(011110),'R',2, Html_tag_open_sectioning, NULL, NULL}, | |
3475 | 3514 | {"form", B8(011110),'R',2, Html_tag_open_form, NULL, Html_tag_close_form}, |
3476 | 3515 | {"frame", B8(010010),'F',0, Html_tag_open_frame, Html_tag_content_frame, |
3477 | 3516 | NULL}, |
3484 | 3523 | {"h5", B8(010110),'R',2, Html_tag_open_h, NULL, NULL}, |
3485 | 3524 | {"h6", B8(010110),'R',2, Html_tag_open_h, NULL, NULL}, |
3486 | 3525 | {"head", B8(101101),'O',1, Html_tag_open_head, NULL, Html_tag_close_head}, |
3487 | {"header", B8(011110),'R',2, Html_tag_open_default, NULL, NULL}, | |
3526 | {"header", B8(011110),'R',2, Html_tag_open_sectioning, NULL, NULL}, | |
3488 | 3527 | {"hr", B8(010010),'F',0, Html_tag_open_hr, Html_tag_content_hr, |
3489 | 3528 | NULL}, |
3490 | 3529 | {"html", B8(001110),'O',1, Html_tag_open_html, NULL, Html_tag_close_html}, |
3506 | 3545 | {"mark", B8(010101),'R',2, Html_tag_open_default, NULL, NULL}, |
3507 | 3546 | /* menu 1010 -- TODO: not exactly 1010, it can contain LI and inline */ |
3508 | 3547 | {"menu", B8(011010),'R',2, Html_tag_open_menu, NULL, Html_tag_close_par}, |
3509 | {"meta", B8(100001),'F',0, Html_tag_open_meta, NULL, NULL}, | |
3510 | {"nav", B8(011110),'R',2, Html_tag_open_default, NULL, NULL}, | |
3548 | {"meta", B8(110001),'F',0, Html_tag_open_meta, NULL, NULL}, | |
3549 | {"nav", B8(011110),'R',2, Html_tag_open_sectioning, NULL, NULL}, | |
3511 | 3550 | /* noframes 1011 -- obsolete in HTML5 */ |
3512 | 3551 | /* noscript 1011 */ |
3513 | 3552 | {"object", B8(111101),'R',2, Html_tag_open_object, Html_tag_content_object, |
3523 | 3562 | {"s", B8(010101),'R',2, Html_tag_open_default, NULL, NULL}, |
3524 | 3563 | {"samp", B8(010101),'R',2, Html_tag_open_default, NULL, NULL}, |
3525 | 3564 | {"script", B8(111001),'R',2, Html_tag_open_script,NULL,Html_tag_close_script}, |
3526 | {"section", B8(011110),'R',2, Html_tag_open_default, NULL, NULL}, | |
3565 | {"section", B8(011110),'R',2, Html_tag_open_sectioning, NULL, NULL}, | |
3527 | 3566 | {"select", B8(010101),'R',2, Html_tag_open_select,NULL,Html_tag_close_select}, |
3528 | 3567 | {"small", B8(010101),'R',2, Html_tag_open_default, NULL, NULL}, |
3529 | 3568 | {"source", B8(010001),'F',0, Html_tag_open_source, Html_tag_content_source, |
3683 | 3722 | |
3684 | 3723 | /* we have an inline (or empty) container... */ |
3685 | 3724 | if (Tags[oldtag_idx].EndTag == 'R') { |
3686 | BUG_MSG("<%s> is not allowed to contain <%s>. -- closing <%s>\n", | |
3725 | BUG_MSG("<%s> is not allowed to contain <%s>. -- closing <%s>.", | |
3687 | 3726 | Tags[oldtag_idx].name, Tags[new_idx].name, |
3688 | 3727 | Tags[oldtag_idx].name); |
3689 | 3728 | } |
3712 | 3751 | int tag_idx; |
3713 | 3752 | |
3714 | 3753 | if (!(html->InFlags & IN_HTML) && html->DocType == DT_NONE) |
3715 | BUG_MSG("the required DOCTYPE declaration is missing.\n"); | |
3754 | BUG_MSG("The required DOCTYPE declaration is missing. " | |
3755 | "Handling as HTML4."); | |
3716 | 3756 | |
3717 | 3757 | if (!(html->InFlags & IN_HTML)) { |
3718 | 3758 | tag = "<html>"; |
3762 | 3802 | static void Html_parse_common_attrs(DilloHtml *html, char *tag, int tagsize) |
3763 | 3803 | { |
3764 | 3804 | const char *attrbuf; |
3805 | char lang[3]; | |
3765 | 3806 | |
3766 | 3807 | if (tagsize >= 8 && /* length of "<t id=i>" */ |
3767 | 3808 | (attrbuf = a_Html_get_attr(html, tag, tagsize, "id"))) { |
3787 | 3828 | html->styleEngine->setStyle (attrbuf); |
3788 | 3829 | } |
3789 | 3830 | |
3790 | /* handle "xml:lang" and "lang" attributes */ | |
3791 | int hasXmlLang = 0; | |
3831 | /* handle "xml:lang" and "lang" attributes | |
3832 | * We use only the first two chars of the value to deal with | |
3833 | * extended language tags (see http://www.rfc-editor.org/rfc/bcp/bcp47.txt) | |
3834 | */ | |
3835 | memset(lang, 0, sizeof(lang)); | |
3792 | 3836 | if (tagsize >= 14) { |
3793 | 3837 | /* length of "<t xml:lang=i>" */ |
3794 | 3838 | attrbuf = a_Html_get_attr(html, tag, tagsize, "xml:lang"); |
3795 | if (attrbuf) { | |
3796 | html->styleEngine->setNonCssHint(PROPERTY_X_LANG, CSS_TYPE_STRING, | |
3797 | attrbuf); | |
3798 | hasXmlLang = 1; | |
3799 | } | |
3800 | } | |
3801 | if (!hasXmlLang && tagsize >= 10) { /* 'xml:lang' prevails over 'lang' */ | |
3839 | if (attrbuf) | |
3840 | strncpy(lang, attrbuf, 2); | |
3841 | } | |
3842 | if (!lang[0] && tagsize >= 10) { /* 'xml:lang' prevails over 'lang' */ | |
3802 | 3843 | /* length of "<t lang=i>" */ |
3803 | 3844 | attrbuf = a_Html_get_attr(html, tag, tagsize, "lang"); |
3804 | 3845 | if (attrbuf) |
3805 | html->styleEngine->setNonCssHint(PROPERTY_X_LANG, CSS_TYPE_STRING, | |
3806 | attrbuf); | |
3807 | } | |
3846 | strncpy(lang, attrbuf, 2); | |
3847 | } | |
3848 | if (lang[0]) | |
3849 | html->styleEngine->setNonCssHint(PROPERTY_X_LANG, CSS_TYPE_STRING, lang); | |
3808 | 3850 | } |
3809 | 3851 | |
3810 | 3852 | /* |
3828 | 3870 | } |
3829 | 3871 | for (int i = 0; i < 9; i++) { |
3830 | 3872 | if (indexes[i] == ni) { |
3831 | BUG_MSG("<%s> is obsolete in HTML5.\n", Tags[ni].name); | |
3873 | BUG_MSG("<%s> is obsolete in HTML5.", Tags[ni].name); | |
3832 | 3874 | break; |
3833 | 3875 | } |
3834 | 3876 | } |
3917 | 3959 | |
3918 | 3960 | /* TODO: this is only raising a warning, take some defined action. |
3919 | 3961 | * Note: apache uses IMG inside PRE (we could use its "alt"). */ |
3920 | if ((html->InFlags & IN_PRE) && Html_tag_pre_excludes(ni)) | |
3921 | BUG_MSG("<pre> is not allowed to contain <%s>\n", Tags[ni].name); | |
3962 | if ((html->InFlags & IN_PRE) && Html_tag_pre_excludes(html, ni)) | |
3963 | BUG_MSG("<pre> is not allowed to contain <%s>.", Tags[ni].name); | |
3922 | 3964 | |
3923 | 3965 | /* Make sure these elements don't nest each other */ |
3924 | 3966 | if (html->InFlags & (IN_BUTTON | IN_SELECT | IN_TEXTAREA)) |
4227 | 4269 | buf_index = bufsize; |
4228 | 4270 | } else { |
4229 | 4271 | /* Tag: search end of tag (skipping over quoted strings) */ |
4230 | html->CurrTagOfs = html->Start_Ofs + token_start; | |
4272 | html->CurrOfs = html->Start_Ofs + token_start; | |
4231 | 4273 | |
4232 | 4274 | while ( buf_index < bufsize ) { |
4233 | 4275 | buf_index++; |
4248 | 4290 | if (buf[offset] == ch || !buf[offset]) { |
4249 | 4291 | buf_index = offset; |
4250 | 4292 | } else { |
4251 | BUG_MSG("attribute lacks closing quote\n"); | |
4293 | BUG_MSG("Attribute lacks closing quote."); | |
4252 | 4294 | break; |
4253 | 4295 | } |
4254 | 4296 | } |
4256 | 4298 | /* unterminated tag detected */ |
4257 | 4299 | p = dStrndup(buf+token_start+1, |
4258 | 4300 | strcspn(buf+token_start+1, " <\n\r\t")); |
4259 | BUG_MSG("<%s> element lacks its closing '>'\n", p); | |
4301 | BUG_MSG("<%s> lacks its closing '>'.", p); | |
4260 | 4302 | dFree(p); |
4261 | 4303 | --buf_index; |
4262 | 4304 | break; |
4271 | 4313 | } |
4272 | 4314 | } else { |
4273 | 4315 | /* A Word: search for whitespace or tag open */ |
4316 | html->CurrOfs = html->Start_Ofs + token_start; | |
4317 | ||
4274 | 4318 | while (++buf_index < bufsize) { |
4275 | 4319 | buf_index += strcspn(buf + buf_index, " <\n\r\t\f\v"); |
4276 | 4320 | if (buf[buf_index] == '<' && (ch = buf[buf_index + 1]) && |
155 | 155 | char *content_type, *charset; |
156 | 156 | bool stop_parser; |
157 | 157 | |
158 | size_t CurrTagOfs; | |
159 | size_t OldTagOfs, OldTagLine; | |
158 | size_t CurrOfs, OldOfs, OldLine; | |
160 | 159 | |
161 | 160 | DilloHtmlDocumentType DocType; /* as given by DOCTYPE tag */ |
162 | 161 | float DocTypeVersion; /* HTML or XHTML version number */ |
210 | 209 | void bugMessage(const char *format, ... ); |
211 | 210 | void connectSignals(dw::core::Widget *dw); |
212 | 211 | void write(char *Buf, int BufSize, int Eof); |
213 | int getCurTagLineNumber(); | |
212 | int getCurrLineNumber(); | |
214 | 213 | void finishParsing(int ClientKey); |
215 | 214 | int formNew(DilloHtmlMethod method, const DilloUrl *action, |
216 | 215 | DilloHtmlEnc enc, const char *charset); |
105 | 105 | int version, uint_t width, uint_t height, |
106 | 106 | DilloImgType type) |
107 | 107 | { |
108 | _MSG("a_Image_set_parms: width=%d height=%d\n", width, height); | |
108 | _MSG("a_Image_set_parms: width=%d height=%d iw=%d ih=%d\n", | |
109 | width, height, Image->width, Image->height); | |
109 | 110 | |
110 | bool resize = (Image->width != width || Image->height != height); | |
111 | /* Resize from 0,0 to width,height */ | |
112 | bool resize = true; | |
111 | 113 | I2IR(Image)->setBuffer((Imgbuf*)v_imgbuf, resize); |
112 | 114 | |
113 | 115 | if (!Image->BitVec) |
272 | 272 | } else if (jpeg->cinfo.num_components == 3) { |
273 | 273 | type = DILLO_IMG_TYPE_RGB; |
274 | 274 | } else { |
275 | MSG("4-component JPEG!\n"); | |
276 | 275 | if (jpeg->cinfo.jpeg_color_space == JCS_YCCK) |
277 | MSG("YCCK. Are the colors wrong?\n"); | |
276 | MSG("YCCK JPEG. Are the colors wrong?\n"); | |
278 | 277 | if (!jpeg->cinfo.saw_Adobe_marker) |
279 | 278 | MSG("No adobe marker! Is the image shown in reverse video?\n"); |
280 | 279 | type = DILLO_IMG_TYPE_CMYK_INV; |
303 | 302 | (uint_t)jpeg->cinfo.image_width, |
304 | 303 | (uint_t)jpeg->cinfo.image_height, |
305 | 304 | type, 1 / 2.2); |
305 | jpeg->Image = NULL; /* safeguard: may be freed by its owner later */ | |
306 | 306 | |
307 | 307 | /* decompression step 4 (see libjpeg.doc) */ |
308 | 308 | jpeg->state = DILLO_JPEG_STARTING; |
58 | 58 | { "Home", FL_Home }, |
59 | 59 | { "Insert", FL_Insert }, |
60 | 60 | { "Left", FL_Left }, |
61 | { "Menu", FL_Menu }, | |
61 | 62 | { "PageDown", FL_Page_Down }, |
62 | 63 | { "PageUp", FL_Page_Up }, |
63 | 64 | { "Print", FL_Print }, |
8 | 8 | # (OS X: Use "Meta" for Command) |
9 | 9 | # |
10 | 10 | # Key names recognized: "Backspace", "Delete", "Down", "End", "Esc", |
11 | # "F1" through "F12", "Home", "Insert", "Left", "PageDown", "PageUp", | |
11 | # "F1" through "F12", "Home", "Insert", "Left", "Menu", "PageDown", "PageUp", | |
12 | 12 | # "Print", "Return", "Right", "Space", "Tab", "Up". |
13 | 13 | # |
14 | 14 | # Multimedia keys: "Back", "Favorites", "Forward", "HomePage", "Mail", |
37 | 37 | oldWorkingDir = dGetcwd(); |
38 | 38 | rc = chdir("/tmp"); |
39 | 39 | if (rc == -1) { |
40 | MSG("paths: error changing directory to /tmp: %s\n", | |
40 | MSG("paths: Error changing directory to /tmp: %s\n", | |
41 | 41 | dStrerror(errno)); |
42 | 42 | } |
43 | 43 | |
44 | 44 | path = dStrconcat(dGethomedir(), "/.dillo", NULL); |
45 | 45 | if (stat(path, &st) == -1) { |
46 | 46 | if (errno == ENOENT) { |
47 | MSG("paths: creating directory %s.\n", path); | |
47 | MSG("paths: Creating directory '%s/'\n", path); | |
48 | 48 | if (mkdir(path, 0700) < 0) { |
49 | MSG("paths: error creating directory %s: %s\n", | |
49 | MSG("paths: Error creating directory %s: %s\n", | |
50 | 50 | path, dStrerror(errno)); |
51 | 51 | } |
52 | 52 | } else { |
61 | 61 | DilloImage *Image; /* Image meta data */ |
62 | 62 | DilloUrl *url; /* Primary Key for the dicache */ |
63 | 63 | int version; /* Secondary Key for the dicache */ |
64 | int bgcolor; /* Parent widget background color */ | |
64 | 65 | |
65 | 66 | png_uint_32 width; /* png image width */ |
66 | 67 | png_uint_32 height; /* png image height */ |
203 | 204 | a_Dicache_set_parms(png->url, png->version, png->Image, |
204 | 205 | (uint_t)png->width, (uint_t)png->height, |
205 | 206 | DILLO_IMG_TYPE_RGB, file_gamma); |
207 | png->Image = NULL; /* safeguard: hereafter it may be freed by its owner */ | |
206 | 208 | } |
207 | 209 | |
208 | 210 | static void |
243 | 245 | |
244 | 246 | /* TODO: maybe change prefs.bg_color to `a_Dw_widget_get_bg_color`, |
245 | 247 | * when background colors are correctly implementated */ |
246 | bg_blue = (png->Image->bg_color) & 0xFF; | |
247 | bg_green = (png->Image->bg_color>>8) & 0xFF; | |
248 | bg_red = (png->Image->bg_color>>16) & 0xFF; | |
248 | bg_blue = (png->bgcolor) & 0xFF; | |
249 | bg_green = (png->bgcolor>>8) & 0xFF; | |
250 | bg_red = (png->bgcolor>>16) & 0xFF; | |
249 | 251 | |
250 | 252 | for (i = 0; i < png->width; i++) { |
251 | 253 | a = *(data+3); |
432 | 434 | png->Image = Image; |
433 | 435 | png->url = url; |
434 | 436 | png->version = version; |
437 | png->bgcolor = Image->bg_color; | |
435 | 438 | png->error = 0; |
436 | 439 | png->ipbuf = NULL; |
437 | 440 | png->ipbufstart = 0; |
38 | 38 | const char *name; |
39 | 39 | void *pref; |
40 | 40 | PrefType_t type; |
41 | int count; | |
41 | 42 | } SymNode_t; |
42 | 43 | |
43 | 44 | /* |
44 | 45 | * Parse a name/value pair and set preferences accordingly. |
45 | 46 | */ |
46 | int PrefsParser::parseOption(char *name, char *value) | |
47 | static int parseOption(char *name, char *value, | |
48 | SymNode_t *symbols, int n_symbols) | |
47 | 49 | { |
48 | const SymNode_t *node; | |
49 | uint_t i; | |
50 | SymNode_t *node; | |
51 | int i; | |
50 | 52 | int st; |
51 | 53 | |
52 | /* Symbol array, sorted alphabetically */ | |
53 | const SymNode_t symbols[] = { | |
54 | { "allow_white_bg", &prefs.allow_white_bg, PREFS_BOOL }, | |
55 | { "white_bg_replacement", &prefs.white_bg_replacement, PREFS_COLOR }, | |
56 | { "bg_color", &prefs.bg_color, PREFS_COLOR }, | |
57 | { "buffered_drawing", &prefs.buffered_drawing, PREFS_INT32 }, | |
58 | { "contrast_visited_color", &prefs.contrast_visited_color, PREFS_BOOL }, | |
59 | { "enterpress_forces_submit", &prefs.enterpress_forces_submit, | |
60 | PREFS_BOOL }, | |
61 | { "focus_new_tab", &prefs.focus_new_tab, PREFS_BOOL }, | |
62 | { "font_cursive", &prefs.font_cursive, PREFS_STRING }, | |
63 | { "font_factor", &prefs.font_factor, PREFS_DOUBLE }, | |
64 | { "font_fantasy", &prefs.font_fantasy, PREFS_STRING }, | |
65 | { "font_max_size", &prefs.font_max_size, PREFS_INT32 }, | |
66 | { "font_min_size", &prefs.font_min_size, PREFS_INT32 }, | |
67 | { "font_monospace", &prefs.font_monospace, PREFS_STRING }, | |
68 | { "font_sans_serif", &prefs.font_sans_serif, PREFS_STRING }, | |
69 | { "font_serif", &prefs.font_serif, PREFS_STRING }, | |
70 | { "fullwindow_start", &prefs.fullwindow_start, PREFS_BOOL }, | |
71 | { "geometry", NULL, PREFS_GEOMETRY }, | |
72 | { "home", &prefs.home, PREFS_URL }, | |
73 | { "http_language", &prefs.http_language, PREFS_STRING }, | |
74 | { "http_max_conns", &prefs.http_max_conns, PREFS_INT32 }, | |
75 | { "http_proxy", &prefs.http_proxy, PREFS_URL }, | |
76 | { "http_proxyuser", &prefs.http_proxyuser, PREFS_STRING }, | |
77 | { "http_referer", &prefs.http_referer, PREFS_STRING }, | |
78 | { "http_user_agent", &prefs.http_user_agent, PREFS_STRING }, | |
79 | { "limit_text_width", &prefs.limit_text_width, PREFS_BOOL }, | |
80 | { "load_images", &prefs.load_images, PREFS_BOOL }, | |
81 | { "load_background_images", &prefs.load_background_images, PREFS_BOOL }, | |
82 | { "load_stylesheets", &prefs.load_stylesheets, PREFS_BOOL }, | |
83 | { "middle_click_drags_page", &prefs.middle_click_drags_page, | |
84 | PREFS_BOOL }, | |
85 | { "middle_click_opens_new_tab", &prefs.middle_click_opens_new_tab, | |
86 | PREFS_BOOL }, | |
87 | { "right_click_closes_tab", &prefs.right_click_closes_tab, PREFS_BOOL }, | |
88 | { "no_proxy", &prefs.no_proxy, PREFS_STRING }, | |
89 | { "panel_size", &prefs.panel_size, PREFS_PANEL_SIZE }, | |
90 | { "parse_embedded_css", &prefs.parse_embedded_css, PREFS_BOOL }, | |
91 | { "save_dir", &prefs.save_dir, PREFS_STRING }, | |
92 | { "search_url", &prefs.search_urls, PREFS_STRINGS }, | |
93 | { "show_back", &prefs.show_back, PREFS_BOOL }, | |
94 | { "show_bookmarks", &prefs.show_bookmarks, PREFS_BOOL }, | |
95 | { "show_clear_url", &prefs.show_clear_url, PREFS_BOOL }, | |
96 | { "show_extra_warnings", &prefs.show_extra_warnings, PREFS_BOOL }, | |
97 | { "show_filemenu", &prefs.show_filemenu, PREFS_BOOL }, | |
98 | { "show_forw", &prefs.show_forw, PREFS_BOOL }, | |
99 | { "show_help", &prefs.show_help, PREFS_BOOL }, | |
100 | { "show_home", &prefs.show_home, PREFS_BOOL }, | |
101 | { "show_msg", &prefs.show_msg, PREFS_BOOL }, | |
102 | { "show_progress_box", &prefs.show_progress_box, PREFS_BOOL }, | |
103 | { "show_quit_dialog", &prefs.show_quit_dialog, PREFS_BOOL }, | |
104 | { "show_reload", &prefs.show_reload, PREFS_BOOL }, | |
105 | { "show_save", &prefs.show_save, PREFS_BOOL }, | |
106 | { "show_url", &prefs.show_url, PREFS_BOOL }, | |
107 | { "show_search", &prefs.show_search, PREFS_BOOL }, | |
108 | { "show_stop", &prefs.show_stop, PREFS_BOOL }, | |
109 | { "show_tools", &prefs.show_tools, PREFS_BOOL }, | |
110 | { "show_tooltip", &prefs.show_tooltip, PREFS_BOOL }, | |
111 | { "show_ui_tooltip", &prefs.show_ui_tooltip, PREFS_BOOL }, | |
112 | { "small_icons", &prefs.small_icons, PREFS_BOOL }, | |
113 | { "start_page", &prefs.start_page, PREFS_URL }, | |
114 | { "theme", &prefs.theme, PREFS_STRING }, | |
115 | { "ui_button_highlight_color", &prefs.ui_button_highlight_color, | |
116 | PREFS_COLOR }, | |
117 | { "ui_fg_color", &prefs.ui_fg_color, PREFS_COLOR }, | |
118 | { "ui_main_bg_color", &prefs.ui_main_bg_color, PREFS_COLOR }, | |
119 | { "ui_selection_color", &prefs.ui_selection_color, PREFS_COLOR }, | |
120 | { "ui_tab_active_bg_color", &prefs.ui_tab_active_bg_color, PREFS_COLOR }, | |
121 | { "ui_tab_bg_color", &prefs.ui_tab_bg_color, PREFS_COLOR }, | |
122 | { "ui_tab_active_fg_color", &prefs.ui_tab_active_fg_color, PREFS_COLOR }, | |
123 | { "ui_tab_fg_color", &prefs.ui_tab_fg_color, PREFS_COLOR }, | |
124 | { "ui_text_bg_color", &prefs.ui_text_bg_color, PREFS_COLOR }, | |
125 | { "w3c_plus_heuristics", &prefs.w3c_plus_heuristics, PREFS_BOOL }, | |
126 | { "penalty_hyphen", &prefs.penalty_hyphen, PREFS_FRACTION_100 }, | |
127 | { "penalty_hyphen_2", &prefs.penalty_hyphen_2, PREFS_FRACTION_100 }, | |
128 | { "penalty_em_dash_left", &prefs.penalty_em_dash_left, | |
129 | PREFS_FRACTION_100 }, | |
130 | { "penalty_em_dash_right", &prefs.penalty_em_dash_right, | |
131 | PREFS_FRACTION_100 }, | |
132 | { "penalty_em_dash_right_2", &prefs.penalty_em_dash_right_2, | |
133 | PREFS_FRACTION_100 }, | |
134 | { "stretchability_factor", &prefs.stretchability_factor, | |
135 | PREFS_FRACTION_100 } | |
136 | }; | |
137 | ||
138 | 54 | node = NULL; |
139 | for (i = 0; i < sizeof(symbols) / sizeof(symbols[0]); i++) { | |
55 | for (i = 0; i < n_symbols; i++) { | |
140 | 56 | if (!strcmp(symbols[i].name, name)) { |
141 | 57 | node = & (symbols[i]); |
142 | 58 | break; |
165 | 81 | case PREFS_STRINGS: |
166 | 82 | { |
167 | 83 | Dlist *lp = *(Dlist **)node->pref; |
168 | if (dList_length(lp) == 2 && !dList_nth_data(lp, 1)) { | |
84 | if (node->count == 0) { | |
169 | 85 | /* override the default */ |
170 | void *data = dList_nth_data(lp, 0); | |
171 | dList_remove(lp, data); | |
172 | dList_remove(lp, NULL); | |
173 | dFree(data); | |
86 | for (i = 0; i < dList_length(lp); i++) { | |
87 | void *data = dList_nth_data(lp, i); | |
88 | dList_remove(lp, data); | |
89 | dFree(data); | |
90 | } | |
174 | 91 | } |
175 | 92 | dList_append(lp, dStrdup(value)); |
176 | 93 | break; |
213 | 130 | MSG_WARN("prefs: {%s} IS recognized but not handled!\n", name); |
214 | 131 | break; /* Not reached */ |
215 | 132 | } |
133 | node->count++; | |
134 | ||
216 | 135 | return 0; |
217 | 136 | } |
218 | 137 | |
224 | 143 | char *line, *name, *value, *oldLocale; |
225 | 144 | int st; |
226 | 145 | |
146 | /* Symbol array, sorted alphabetically */ | |
147 | SymNode_t symbols[] = { | |
148 | { "allow_white_bg", &prefs.allow_white_bg, PREFS_BOOL, 0 }, | |
149 | { "white_bg_replacement", &prefs.white_bg_replacement, PREFS_COLOR, 0 }, | |
150 | { "bg_color", &prefs.bg_color, PREFS_COLOR, 0 }, | |
151 | { "buffered_drawing", &prefs.buffered_drawing, PREFS_INT32, 0 }, | |
152 | { "contrast_visited_color", &prefs.contrast_visited_color, PREFS_BOOL, 0 }, | |
153 | { "enterpress_forces_submit", &prefs.enterpress_forces_submit, | |
154 | PREFS_BOOL, 0 }, | |
155 | { "focus_new_tab", &prefs.focus_new_tab, PREFS_BOOL, 0 }, | |
156 | { "font_cursive", &prefs.font_cursive, PREFS_STRING, 0 }, | |
157 | { "font_factor", &prefs.font_factor, PREFS_DOUBLE, 0 }, | |
158 | { "font_fantasy", &prefs.font_fantasy, PREFS_STRING, 0 }, | |
159 | { "font_max_size", &prefs.font_max_size, PREFS_INT32, 0 }, | |
160 | { "font_min_size", &prefs.font_min_size, PREFS_INT32, 0 }, | |
161 | { "font_monospace", &prefs.font_monospace, PREFS_STRING, 0 }, | |
162 | { "font_sans_serif", &prefs.font_sans_serif, PREFS_STRING, 0 }, | |
163 | { "font_serif", &prefs.font_serif, PREFS_STRING, 0 }, | |
164 | { "fullwindow_start", &prefs.fullwindow_start, PREFS_BOOL, 0 }, | |
165 | { "geometry", NULL, PREFS_GEOMETRY, 0 }, | |
166 | { "home", &prefs.home, PREFS_URL, 0 }, | |
167 | { "http_language", &prefs.http_language, PREFS_STRING, 0 }, | |
168 | { "http_max_conns", &prefs.http_max_conns, PREFS_INT32, 0 }, | |
169 | { "http_proxy", &prefs.http_proxy, PREFS_URL, 0 }, | |
170 | { "http_proxyuser", &prefs.http_proxyuser, PREFS_STRING, 0 }, | |
171 | { "http_referer", &prefs.http_referer, PREFS_STRING, 0 }, | |
172 | { "http_user_agent", &prefs.http_user_agent, PREFS_STRING, 0 }, | |
173 | { "limit_text_width", &prefs.limit_text_width, PREFS_BOOL, 0 }, | |
174 | { "load_images", &prefs.load_images, PREFS_BOOL, 0 }, | |
175 | { "load_background_images", &prefs.load_background_images, PREFS_BOOL, 0 }, | |
176 | { "load_stylesheets", &prefs.load_stylesheets, PREFS_BOOL, 0 }, | |
177 | { "middle_click_drags_page", &prefs.middle_click_drags_page, | |
178 | PREFS_BOOL, 0 }, | |
179 | { "middle_click_opens_new_tab", &prefs.middle_click_opens_new_tab, | |
180 | PREFS_BOOL, 0 }, | |
181 | { "right_click_closes_tab", &prefs.right_click_closes_tab, PREFS_BOOL, 0 }, | |
182 | { "no_proxy", &prefs.no_proxy, PREFS_STRING, 0 }, | |
183 | { "panel_size", &prefs.panel_size, PREFS_PANEL_SIZE, 0 }, | |
184 | { "parse_embedded_css", &prefs.parse_embedded_css, PREFS_BOOL, 0 }, | |
185 | { "save_dir", &prefs.save_dir, PREFS_STRING, 0 }, | |
186 | { "search_url", &prefs.search_urls, PREFS_STRINGS, 0 }, | |
187 | { "show_back", &prefs.show_back, PREFS_BOOL, 0 }, | |
188 | { "show_bookmarks", &prefs.show_bookmarks, PREFS_BOOL, 0 }, | |
189 | { "show_clear_url", &prefs.show_clear_url, PREFS_BOOL, 0 }, | |
190 | { "show_extra_warnings", &prefs.show_extra_warnings, PREFS_BOOL, 0 }, | |
191 | { "show_filemenu", &prefs.show_filemenu, PREFS_BOOL, 0 }, | |
192 | { "show_forw", &prefs.show_forw, PREFS_BOOL, 0 }, | |
193 | { "show_help", &prefs.show_help, PREFS_BOOL, 0 }, | |
194 | { "show_home", &prefs.show_home, PREFS_BOOL, 0 }, | |
195 | { "show_msg", &prefs.show_msg, PREFS_BOOL, 0 }, | |
196 | { "show_progress_box", &prefs.show_progress_box, PREFS_BOOL, 0 }, | |
197 | { "show_quit_dialog", &prefs.show_quit_dialog, PREFS_BOOL, 0 }, | |
198 | { "show_reload", &prefs.show_reload, PREFS_BOOL, 0 }, | |
199 | { "show_save", &prefs.show_save, PREFS_BOOL, 0 }, | |
200 | { "show_url", &prefs.show_url, PREFS_BOOL, 0 }, | |
201 | { "show_search", &prefs.show_search, PREFS_BOOL, 0 }, | |
202 | { "show_stop", &prefs.show_stop, PREFS_BOOL, 0 }, | |
203 | { "show_tools", &prefs.show_tools, PREFS_BOOL, 0 }, | |
204 | { "show_tooltip", &prefs.show_tooltip, PREFS_BOOL, 0 }, | |
205 | { "show_ui_tooltip", &prefs.show_ui_tooltip, PREFS_BOOL, 0 }, | |
206 | { "small_icons", &prefs.small_icons, PREFS_BOOL, 0 }, | |
207 | { "start_page", &prefs.start_page, PREFS_URL, 0 }, | |
208 | { "theme", &prefs.theme, PREFS_STRING, 0 }, | |
209 | { "ui_button_highlight_color", &prefs.ui_button_highlight_color, | |
210 | PREFS_COLOR, 0 }, | |
211 | { "ui_fg_color", &prefs.ui_fg_color, PREFS_COLOR, 0 }, | |
212 | { "ui_main_bg_color", &prefs.ui_main_bg_color, PREFS_COLOR, 0 }, | |
213 | { "ui_selection_color", &prefs.ui_selection_color, PREFS_COLOR, 0 }, | |
214 | { "ui_tab_active_bg_color", &prefs.ui_tab_active_bg_color, PREFS_COLOR, 0 }, | |
215 | { "ui_tab_bg_color", &prefs.ui_tab_bg_color, PREFS_COLOR, 0 }, | |
216 | { "ui_tab_active_fg_color", &prefs.ui_tab_active_fg_color, PREFS_COLOR, 0 }, | |
217 | { "ui_tab_fg_color", &prefs.ui_tab_fg_color, PREFS_COLOR, 0 }, | |
218 | { "ui_text_bg_color", &prefs.ui_text_bg_color, PREFS_COLOR, 0 }, | |
219 | { "w3c_plus_heuristics", &prefs.w3c_plus_heuristics, PREFS_BOOL, 0 }, | |
220 | { "penalty_hyphen", &prefs.penalty_hyphen, PREFS_FRACTION_100, 0 }, | |
221 | { "penalty_hyphen_2", &prefs.penalty_hyphen_2, PREFS_FRACTION_100, 0 }, | |
222 | { "penalty_em_dash_left", &prefs.penalty_em_dash_left, | |
223 | PREFS_FRACTION_100, 0 }, | |
224 | { "penalty_em_dash_right", &prefs.penalty_em_dash_right, | |
225 | PREFS_FRACTION_100, 0 }, | |
226 | { "penalty_em_dash_right_2", &prefs.penalty_em_dash_right_2, | |
227 | PREFS_FRACTION_100, 0 }, | |
228 | { "stretchability_factor", &prefs.stretchability_factor, | |
229 | PREFS_FRACTION_100, 0 } | |
230 | }; | |
227 | 231 | // changing the LC_NUMERIC locale (temporarily) to C |
228 | 232 | // avoids parsing problems with float numbers |
229 | 233 | oldLocale = dStrdup(setlocale(LC_NUMERIC, NULL)); |
235 | 239 | |
236 | 240 | if (st == 0) { |
237 | 241 | _MSG("prefsparser: name=%s, value=%s\n", name, value); |
238 | parseOption(name, value); | |
242 | parseOption(name, value, symbols, sizeof(symbols) / sizeof(symbols[0])); | |
239 | 243 | } else if (st < 0) { |
240 | 244 | MSG_ERR("prefsparser: Syntax error in dillorc:" |
241 | 245 | " name=\"%s\" value=\"%s\"\n", name, value); |
14 | 14 | #ifdef __cplusplus |
15 | 15 | class PrefsParser { |
16 | 16 | public: |
17 | static int parseOption(char *name, char *value); | |
18 | 17 | static int parseLine(char *line, char *name, char *value); |
19 | 18 | static void parse(FILE *fp); |
20 | 19 | }; |
111 | 111 | |
112 | 112 | void StyleEngine::stackPush () { |
113 | 113 | static const Node emptyNode = { |
114 | NULL, NULL, NULL, NULL, NULL, NULL, false, NULL | |
114 | NULL, NULL, NULL, NULL, NULL, NULL, false, false, NULL | |
115 | 115 | }; |
116 | 116 | |
117 | 117 | stack->setSize (stack->size () + 1, emptyNode); |
144 | 144 | |
145 | 145 | dn->element = element; |
146 | 146 | n->doctreeNode = dn; |
147 | if (stack->size () > 1) | |
148 | n->displayNone = stack->getRef (stack->size () - 2)->displayNone; | |
147 | 149 | } |
148 | 150 | |
149 | 151 | void StyleEngine::startElement (const char *tagname, BrowserWindow *bw) { |
363 | 365 | DilloUrl *imgUrl = NULL; |
364 | 366 | |
365 | 367 | /* Determine font first so it can be used to resolve relative lengths. */ |
366 | for (int i = 0; i < props->size (); i++) { | |
367 | CssProperty *p = props->getRef (i); | |
368 | for (int j = 0; j < props->size (); j++) { | |
369 | CssProperty *p = props->getRef (j); | |
368 | 370 | |
369 | 371 | switch (p->name) { |
370 | 372 | case CSS_PROPERTY_FONT_FAMILY: |
426 | 428 | fontAttrs.size = roundInt(24.2 * prefs.font_factor); |
427 | 429 | break; |
428 | 430 | case CSS_FONT_SIZE_SMALLER: |
429 | fontAttrs.size = roundInt(fontAttrs.size * 0.83 * | |
430 | prefs.font_factor); | |
431 | fontAttrs.size = roundInt(fontAttrs.size * 0.83); | |
431 | 432 | break; |
432 | 433 | case CSS_FONT_SIZE_LARGER: |
433 | fontAttrs.size = roundInt(fontAttrs.size * 1.2 * | |
434 | prefs.font_factor); | |
434 | fontAttrs.size = roundInt(fontAttrs.size * 1.2); | |
435 | 435 | break; |
436 | 436 | default: |
437 | 437 | assert(false); // invalid font-size enum |
511 | 511 | |
512 | 512 | attrs->font = Font::create (layout, &fontAttrs); |
513 | 513 | |
514 | for (int i = 0; i < props->size (); i++) { | |
515 | CssProperty *p = props->getRef (i); | |
514 | for (int j = 0; j < props->size (); j++) { | |
515 | CssProperty *p = props->getRef (j); | |
516 | 516 | |
517 | 517 | switch (p->name) { |
518 | 518 | /* \todo missing cases */ |
595 | 595 | break; |
596 | 596 | case CSS_PROPERTY_DISPLAY: |
597 | 597 | attrs->display = (DisplayType) p->value.intVal; |
598 | if (attrs->display == DISPLAY_NONE) | |
599 | stack->getRef (i)->displayNone = true; | |
598 | 600 | break; |
599 | 601 | case CSS_PROPERTY_LINE_HEIGHT: |
600 | 602 | if (p->type == CSS_TYPE_ENUM) { //only valid enum value is "normal" |
708 | 710 | } |
709 | 711 | |
710 | 712 | if (imgUrl && prefs.load_background_images && |
711 | attrs->display != DISPLAY_NONE && | |
713 | !stack->getRef (i)->displayNone && | |
712 | 714 | !(URL_FLAGS(pageUrl) & URL_SpamSafe)) |
713 | 715 | { |
714 | 716 | attrs->backgroundImage = StyleImage::create(); |
26 | 26 | dw::core::style::Style *wordStyle; |
27 | 27 | dw::core::style::Style *backgroundStyle; |
28 | 28 | bool inheritBackgroundColor; |
29 | bool displayNone; | |
29 | 30 | DoctreeNode *doctreeNode; |
30 | 31 | }; |
31 | 32 |
47 | 47 | if ((attrbuf = a_Html_get_attr(html, tag, tagsize, "cellspacing"))) { |
48 | 48 | cellspacing = strtol (attrbuf, NULL, 10); |
49 | 49 | if (html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f) |
50 | BUG_MSG("<table> cellspacing attribute is obsolete.\n"); | |
50 | BUG_MSG("<table> cellspacing attribute is obsolete."); | |
51 | 51 | } |
52 | 52 | |
53 | 53 | if ((attrbuf = a_Html_get_attr(html, tag, tagsize, "cellpadding"))) { |
54 | 54 | cellpadding = strtol (attrbuf, NULL, 10); |
55 | 55 | if (html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f) |
56 | BUG_MSG("<table> cellpadding attribute is obsolete.\n"); | |
56 | BUG_MSG("<table> cellpadding attribute is obsolete."); | |
57 | 57 | } |
58 | 58 | |
59 | 59 | if (border != -1) { |
87 | 87 | CSS_TYPE_LENGTH_PERCENTAGE, |
88 | 88 | a_Html_parse_length (html, attrbuf)); |
89 | 89 | if (html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f) |
90 | BUG_MSG("<table> width attribute is obsolete.\n"); | |
90 | BUG_MSG("<table> width attribute is obsolete."); | |
91 | 91 | } |
92 | 92 | |
93 | 93 | if ((attrbuf = a_Html_get_attr(html, tag, tagsize, "align"))) { |
101 | 101 | html->styleEngine->setNonCssHint (CSS_PROPERTY_TEXT_ALIGN, |
102 | 102 | CSS_TYPE_ENUM, TEXT_ALIGN_CENTER); |
103 | 103 | if (html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f) |
104 | BUG_MSG("<table> align attribute is obsolete.\n"); | |
104 | BUG_MSG("<table> align attribute is obsolete."); | |
105 | 105 | } |
106 | 106 | |
107 | 107 | if ((attrbuf = a_Html_get_attr(html, tag, tagsize, "bgcolor"))) { |
110 | 110 | html->styleEngine->setNonCssHint (CSS_PROPERTY_BACKGROUND_COLOR, |
111 | 111 | CSS_TYPE_COLOR, bgcolor); |
112 | 112 | if (html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f) |
113 | BUG_MSG("<table> bgcolor attribute is obsolete.\n"); | |
113 | BUG_MSG("<table> bgcolor attribute is obsolete."); | |
114 | 114 | } |
115 | 115 | |
116 | 116 | html->style (); // evaluate now, so we can build non-css hints for the cells |
191 | 191 | html->styleEngine->setNonCssHint (CSS_PROPERTY_BACKGROUND_COLOR, |
192 | 192 | CSS_TYPE_COLOR, bgcolor); |
193 | 193 | if (html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f) |
194 | BUG_MSG("<tr> bgcolor attribute is obsolete.\n"); | |
194 | BUG_MSG("<tr> bgcolor attribute is obsolete."); | |
195 | 195 | } |
196 | 196 | |
197 | 197 | if (a_Html_get_attr (html, tag, tagsize, "align")) { |
378 | 378 | } |
379 | 379 | if (a_Html_get_attr(html, tag, tagsize, "nowrap")) { |
380 | 380 | if (html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f) |
381 | BUG_MSG("<t%c> nowrap attribute is obsolete.\n", | |
381 | BUG_MSG("<t%c> nowrap attribute is obsolete.", | |
382 | 382 | (tagsize >=3 && (D_ASCII_TOLOWER(tag[2]) == 'd')) ? 'd' : 'h'); |
383 | 383 | html->styleEngine->setNonCssHint(CSS_PROPERTY_WHITE_SPACE, |
384 | 384 | CSS_TYPE_ENUM, WHITE_SPACE_NOWRAP); |
391 | 391 | CSS_TYPE_LENGTH_PERCENTAGE, |
392 | 392 | a_Html_parse_length (html, attrbuf)); |
393 | 393 | if (html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f) |
394 | BUG_MSG("<t%c> width attribute is obsolete.\n", | |
394 | BUG_MSG("<t%c> width attribute is obsolete.", | |
395 | 395 | (tagsize >=3 && (D_ASCII_TOLOWER(tag[2]) == 'd')) ? 'd' : 'h'); |
396 | 396 | } |
397 | 397 | |
403 | 403 | html->styleEngine->setNonCssHint (CSS_PROPERTY_BACKGROUND_COLOR, |
404 | 404 | CSS_TYPE_COLOR, bgcolor); |
405 | 405 | if (html->DocType == DT_HTML && html->DocTypeVersion >= 5.0f) |
406 | BUG_MSG("<t%c> bgcolor attribute is obsolete.\n", | |
406 | BUG_MSG("<t%c> bgcolor attribute is obsolete.", | |
407 | 407 | (tagsize >=3 && (D_ASCII_TOLOWER(tag[2]) == 'd')) ? 'd' : 'h'); |
408 | 408 | } |
409 | 409 | |
422 | 422 | |
423 | 423 | switch (S_TOP(html)->table_mode) { |
424 | 424 | case DILLO_HTML_TABLE_MODE_NONE: |
425 | BUG_MSG("<t%c> outside <table>\n", | |
425 | BUG_MSG("<t%c> outside <table>.", | |
426 | 426 | (tagsize >=3 && (D_ASCII_TOLOWER(tag[2]) == 'd')) ? 'd' : 'h'); |
427 | 427 | return; |
428 | 428 | |
429 | 429 | case DILLO_HTML_TABLE_MODE_TOP: |
430 | BUG_MSG("<t%c> outside <tr>\n", | |
430 | BUG_MSG("<t%c> outside <tr>.", | |
431 | 431 | (tagsize >=3 && (D_ASCII_TOLOWER(tag[2]) == 'd')) ? 'd' : 'h'); |
432 | 432 | /* a_Dw_table_add_cell takes care that dillo does not crash. */ |
433 | 433 | /* continues */ |
815 | 815 | { |
816 | 816 | if (!str) str = ""; |
817 | 817 | Location->value(str); |
818 | Location->position(strlen(str)); | |
818 | Location->position((Fl::focus() == Location) ? strlen(str) : 0); | |
819 | 819 | } |
820 | 820 | |
821 | 821 | /* |
70 | 70 | static BrowserWindow *UIcmd_tab_new(CustTabs *tabs, UI *old_ui, int focus); |
71 | 71 | static void close_tab_btn_cb (Fl_Widget *w, void *cb_data); |
72 | 72 | static char *UIcmd_make_search_str(const char *str); |
73 | static void UIcmd_set_window_labels(Fl_Window *win, const char *str); | |
73 | 74 | |
74 | 75 | //---------------------------------------------------------------------------- |
75 | 76 | |
432 | 433 | // Update window title |
433 | 434 | if ((bw = a_UIcmd_get_bw_by_widget(cbtn->ui()))) { |
434 | 435 | const char *title = (cbtn->ui())->label(); |
435 | cbtn->window()->copy_label(title ? title : ""); | |
436 | UIcmd_set_window_labels(cbtn->window(), title ? title : ""); | |
436 | 437 | } |
437 | 438 | // Update focus priority |
438 | 439 | increase_focus_counter(); |
567 | 568 | } |
568 | 569 | |
569 | 570 | /* |
571 | * Set the window name and icon name. | |
572 | */ | |
573 | static void UIcmd_set_window_labels(Fl_Window *win, const char *str) | |
574 | { | |
575 | const char *copy; | |
576 | ||
577 | win->Fl_Widget::copy_label(str); | |
578 | copy = win->label(); | |
579 | win->label(copy, copy); | |
580 | } | |
581 | ||
582 | /* | |
570 | 583 | * Create a new Tab button, UI and its associated BrowserWindow data |
571 | 584 | * structure. |
572 | 585 | */ |
605 | 618 | |
606 | 619 | // Clear the window title |
607 | 620 | if (focus) |
608 | new_ui->window()->copy_label(new_ui->label()); | |
621 | UIcmd_set_window_labels(new_ui->window(), new_ui->label()); | |
609 | 622 | |
610 | 623 | // WORKAROUND: see findbar_toggle() |
611 | 624 | new_ui->findbar_toggle(0); |
1412 | 1425 | |
1413 | 1426 | if (a_UIcmd_get_bw_by_widget(BW2UI(bw)->tabs()->wizard()->value()) == bw) { |
1414 | 1427 | // This is the focused bw, set window title |
1415 | BW2UI(bw)->window()->copy_label(title); | |
1428 | UIcmd_set_window_labels(BW2UI(bw)->window(), title); | |
1416 | 1429 | } |
1417 | 1430 | } |
1418 | 1431 |
365 | 365 | |
366 | 366 | dReturn_val_if_fail (url_str != NULL, NULL); |
367 | 367 | |
368 | /* Count illegal characters (0x00-0x1F, 0x7F and space) */ | |
368 | /* Count illegal characters (0x00-0x1F, 0x7F-0xFF and space) */ | |
369 | 369 | n_ic = n_ic_spc = 0; |
370 | 370 | for (p = (char*)url_str; *p; p++) { |
371 | 371 | n_ic_spc += (*p == ' ') ? 1 : 0; |
372 | n_ic += (*p != ' ' && *p > 0x1F && *p != 0x7F) ? 0 : 1; | |
372 | n_ic += (*p != ' ' && *p > 0x1F && *p < 0x7F) ? 0 : 1; | |
373 | 373 | } |
374 | 374 | if (n_ic) { |
375 | 375 | /* Encode illegal characters (they could also be stripped). |
376 | 376 | * There's no standard for illegal chars; we chose to encode. */ |
377 | 377 | p = str1 = dNew(char, strlen(url_str) + 2*n_ic + 1); |
378 | 378 | for (i = 0; url_str[i]; ++i) |
379 | if (url_str[i] > 0x1F && url_str[i] != 0x7F && url_str[i] != ' ') | |
379 | if (url_str[i] > 0x1F && url_str[i] < 0x7F && url_str[i] != ' ') | |
380 | 380 | *p++ = url_str[i]; |
381 | 381 | else { |
382 | 382 | *p++ = '%'; |
610 | 610 | /* |
611 | 611 | * RFC-3986 suggests this stripping when "importing" URLs from other media. |
612 | 612 | * Strip: "URL:", enclosing < >, and embedded whitespace. |
613 | * (We also strip illegal chars: 00-1F and 7F) | |
613 | * (We also strip illegal chars: 00-1F and 7F-FF) | |
614 | 614 | */ |
615 | 615 | char *a_Url_string_strip_delimiters(const char *str) |
616 | 616 | { |
625 | 625 | text++; |
626 | 626 | |
627 | 627 | for (p = new_str; *text; text++) |
628 | if (*text > 0x1F && *text != 0x7F && *text != ' ') | |
628 | if (*text > 0x1F && *text < 0x7F && *text != ' ') | |
629 | 629 | *p++ = *text; |
630 | 630 | if (p > new_str && p[-1] == '>') |
631 | 631 | --p; |
687 | 687 | |
688 | 688 | if (tld_len > 0) { |
689 | 689 | /* These TLDs were chosen by examining the current publicsuffix list |
690 | * in February 2014 and picking out those where it was simplest for | |
690 | * in October 2014 and picking out those where it was simplest for | |
691 | 691 | * them to describe the situation by beginning with a "*.[tld]" rule |
692 | 692 | * or every rule was "[something].[tld]". |
693 | * | |
694 | * TODO: Consider the old publicsuffix code again. This TLD list has | |
695 | * shrunk and shrunk over the years, and has become a poorer and | |
696 | * poorer approximation of administrative boundaries. | |
693 | 697 | */ |
694 | const char *const tlds[] = {"bd","bn","ck","cy","er","et","fj","fk", | |
698 | const char *const tlds[] = {"bd","bn","ck","cy","er","fj","fk", | |
695 | 699 | "gu","il","jm","ke","kh","kw","mm","mz", |
696 | "ni","np","nz","pg","tr","uk","ye","za", | |
697 | "zm","zw"}; | |
700 | "ni","np","pg","ye","za","zm","zw"}; | |
698 | 701 | uint_t i, tld_num = sizeof(tlds) / sizeof(tlds[0]); |
699 | 702 | |
700 | 703 | for (i = 0; i < tld_num; i++) { |
33 | 33 | $(top_builddir)/dw/libDw-fltk.a \ |
34 | 34 | $(top_builddir)/dw/libDw-core.a \ |
35 | 35 | $(top_builddir)/lout/liblout.a \ |
36 | @LIBFLTK_LIBS@ | |
36 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
37 | 37 | |
38 | 38 | dw_example_SOURCES = dw_example.cc |
39 | 39 | dw_example_LDADD = \ |
41 | 41 | $(top_builddir)/dw/libDw-fltk.a \ |
42 | 42 | $(top_builddir)/dw/libDw-core.a \ |
43 | 43 | $(top_builddir)/lout/liblout.a \ |
44 | @LIBFLTK_LIBS@ | |
44 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
45 | 45 | |
46 | 46 | dw_find_test_SOURCES = dw_find_test.cc |
47 | 47 | dw_find_test_LDADD = \ |
49 | 49 | $(top_builddir)/dw/libDw-fltk.a \ |
50 | 50 | $(top_builddir)/dw/libDw-core.a \ |
51 | 51 | $(top_builddir)/lout/liblout.a \ |
52 | @LIBFLTK_LIBS@ | |
52 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
53 | 53 | |
54 | 54 | dw_links_SOURCES = dw_links.cc |
55 | 55 | dw_links_LDADD = \ |
57 | 57 | $(top_builddir)/dw/libDw-fltk.a \ |
58 | 58 | $(top_builddir)/dw/libDw-core.a \ |
59 | 59 | $(top_builddir)/lout/liblout.a \ |
60 | @LIBFLTK_LIBS@ | |
60 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
61 | 61 | |
62 | 62 | dw_links2_SOURCES = dw_links2.cc |
63 | 63 | dw_links2_LDADD = \ |
65 | 65 | $(top_builddir)/dw/libDw-fltk.a \ |
66 | 66 | $(top_builddir)/dw/libDw-core.a \ |
67 | 67 | $(top_builddir)/lout/liblout.a \ |
68 | @LIBFLTK_LIBS@ | |
68 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
69 | 69 | |
70 | 70 | dw_image_background_SOURCES = dw_image_background.cc |
71 | 71 | dw_image_background_LDADD = \ |
73 | 73 | $(top_builddir)/dw/libDw-fltk.a \ |
74 | 74 | $(top_builddir)/dw/libDw-core.a \ |
75 | 75 | $(top_builddir)/lout/liblout.a \ |
76 | @LIBFLTK_LIBS@ | |
76 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
77 | 77 | |
78 | 78 | dw_images_simple_SOURCES = dw_images_simple.cc |
79 | 79 | dw_images_simple_LDADD = \ |
81 | 81 | $(top_builddir)/dw/libDw-fltk.a \ |
82 | 82 | $(top_builddir)/dw/libDw-core.a \ |
83 | 83 | $(top_builddir)/lout/liblout.a \ |
84 | @LIBFLTK_LIBS@ | |
84 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
85 | 85 | |
86 | 86 | dw_images_scaled_SOURCES = dw_images_scaled.cc |
87 | 87 | dw_images_scaled_LDADD = \ |
89 | 89 | $(top_builddir)/dw/libDw-fltk.a \ |
90 | 90 | $(top_builddir)/dw/libDw-core.a \ |
91 | 91 | $(top_builddir)/lout/liblout.a \ |
92 | @LIBFLTK_LIBS@ | |
92 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
93 | 93 | |
94 | 94 | dw_images_scaled2_SOURCES = dw_images_scaled2.cc |
95 | 95 | dw_images_scaled2_LDADD = \ |
97 | 97 | $(top_builddir)/dw/libDw-fltk.a \ |
98 | 98 | $(top_builddir)/dw/libDw-core.a \ |
99 | 99 | $(top_builddir)/lout/liblout.a \ |
100 | @LIBFLTK_LIBS@ | |
100 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
101 | 101 | |
102 | 102 | dw_lists_SOURCES = dw_lists.cc |
103 | 103 | dw_lists_LDADD = \ |
105 | 105 | $(top_builddir)/dw/libDw-fltk.a \ |
106 | 106 | $(top_builddir)/dw/libDw-core.a \ |
107 | 107 | $(top_builddir)/lout/liblout.a \ |
108 | @LIBFLTK_LIBS@ | |
108 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
109 | 109 | |
110 | 110 | dw_table_aligned_SOURCES = dw_table_aligned.cc |
111 | 111 | dw_table_aligned_LDADD = \ |
113 | 113 | $(top_builddir)/dw/libDw-fltk.a \ |
114 | 114 | $(top_builddir)/dw/libDw-core.a \ |
115 | 115 | $(top_builddir)/lout/liblout.a \ |
116 | @LIBFLTK_LIBS@ | |
116 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
117 | 117 | |
118 | 118 | dw_table_SOURCES = dw_table.cc |
119 | 119 | dw_table_LDADD = \ |
121 | 121 | $(top_builddir)/dw/libDw-fltk.a \ |
122 | 122 | $(top_builddir)/dw/libDw-core.a \ |
123 | 123 | $(top_builddir)/lout/liblout.a \ |
124 | @LIBFLTK_LIBS@ | |
124 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
125 | 125 | |
126 | 126 | dw_border_test_SOURCES = dw_border_test.cc |
127 | 127 | dw_border_test_LDADD = \ |
129 | 129 | $(top_builddir)/dw/libDw-fltk.a \ |
130 | 130 | $(top_builddir)/dw/libDw-core.a \ |
131 | 131 | $(top_builddir)/lout/liblout.a \ |
132 | @LIBFLTK_LIBS@ | |
132 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
133 | 133 | |
134 | 134 | |
135 | 135 | dw_imgbuf_mem_test_SOURCES = dw_imgbuf_mem_test.cc |
138 | 138 | $(top_builddir)/dw/libDw-fltk.a \ |
139 | 139 | $(top_builddir)/dw/libDw-core.a \ |
140 | 140 | $(top_builddir)/lout/liblout.a \ |
141 | @LIBFLTK_LIBS@ | |
141 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
142 | 142 | |
143 | 143 | dw_resource_test_SOURCES = dw_resource_test.cc |
144 | 144 | dw_resource_test_LDADD = \ |
146 | 146 | $(top_builddir)/dw/libDw-fltk.a \ |
147 | 147 | $(top_builddir)/dw/libDw-core.a \ |
148 | 148 | $(top_builddir)/lout/liblout.a \ |
149 | @LIBFLTK_LIBS@ | |
149 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
150 | 150 | |
151 | 151 | dw_ui_test_SOURCES = \ |
152 | 152 | dw_ui_test.cc \ |
157 | 157 | $(top_builddir)/dw/libDw-fltk.a \ |
158 | 158 | $(top_builddir)/dw/libDw-core.a \ |
159 | 159 | $(top_builddir)/lout/liblout.a \ |
160 | @LIBFLTK_LIBS@ | |
160 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
161 | 161 | |
162 | 162 | shapes_SOURCES = shapes.cc |
163 | 163 | shapes_LDADD = \ |
179 | 179 | $(top_builddir)/dw/libDw-fltk.a \ |
180 | 180 | $(top_builddir)/dw/libDw-core.a \ |
181 | 181 | $(top_builddir)/lout/liblout.a \ |
182 | @LIBFLTK_LIBS@ | |
182 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
183 | 183 | |
184 | 184 | trie_SOURCES = trie.cc |
185 | 185 | |
188 | 188 | $(top_builddir)/dw/libDw-fltk.a \ |
189 | 189 | $(top_builddir)/dw/libDw-core.a \ |
190 | 190 | $(top_builddir)/lout/liblout.a \ |
191 | @LIBFLTK_LIBS@ | |
191 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
192 | 192 | |
193 | 193 | notsosimplevector_SOURCES = notsosimplevector.cc |
194 | 194 | |
198 | 198 | |
199 | 199 | unicode_test_LDADD = \ |
200 | 200 | $(top_builddir)/lout/liblout.a \ |
201 | @LIBFLTK_LIBS@ | |
201 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ |
0 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.11.6 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | |
4 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
5 | 6 | # This Makefile.in is free software; the Free Software Foundation |
6 | 7 | # gives unlimited permission to copy and/or distribute it, |
7 | 8 | # with or without modifications, as long as this notice is preserved. |
14 | 15 | @SET_MAKE@ |
15 | 16 | |
16 | 17 | VPATH = @srcdir@ |
17 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | |
18 | am__make_running_with_option = \ | |
19 | case $${target_option-} in \ | |
20 | ?) ;; \ | |
21 | *) echo "am__make_running_with_option: internal error: invalid" \ | |
22 | "target option '$${target_option-}' specified" >&2; \ | |
23 | exit 1;; \ | |
24 | esac; \ | |
25 | has_opt=no; \ | |
26 | sane_makeflags=$$MAKEFLAGS; \ | |
27 | if $(am__is_gnu_make); then \ | |
28 | sane_makeflags=$$MFLAGS; \ | |
29 | else \ | |
18 | am__make_dryrun = \ | |
19 | { \ | |
20 | am__dry=no; \ | |
30 | 21 | case $$MAKEFLAGS in \ |
31 | 22 | *\\[\ \ ]*) \ |
32 | bs=\\; \ | |
33 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
34 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
23 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
24 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
25 | *) \ | |
26 | for am__flg in $$MAKEFLAGS; do \ | |
27 | case $$am__flg in \ | |
28 | *=*|--*) ;; \ | |
29 | *n*) am__dry=yes; break;; \ | |
30 | esac; \ | |
31 | done;; \ | |
35 | 32 | esac; \ |
36 | fi; \ | |
37 | skip_next=no; \ | |
38 | strip_trailopt () \ | |
39 | { \ | |
40 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
41 | }; \ | |
42 | for flg in $$sane_makeflags; do \ | |
43 | test $$skip_next = yes && { skip_next=no; continue; }; \ | |
44 | case $$flg in \ | |
45 | *=*|--*) continue;; \ | |
46 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
47 | -*I?*) strip_trailopt 'I';; \ | |
48 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
49 | -*O?*) strip_trailopt 'O';; \ | |
50 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
51 | -*l?*) strip_trailopt 'l';; \ | |
52 | -[dEDm]) skip_next=yes;; \ | |
53 | -[JT]) skip_next=yes;; \ | |
54 | esac; \ | |
55 | case $$flg in \ | |
56 | *$$target_option*) has_opt=yes; break;; \ | |
57 | esac; \ | |
58 | done; \ | |
59 | test $$has_opt = yes | |
60 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
61 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
33 | test $$am__dry = yes; \ | |
34 | } | |
62 | 35 | pkgdatadir = $(datadir)/@PACKAGE@ |
63 | 36 | pkgincludedir = $(includedir)/@PACKAGE@ |
64 | 37 | pkglibdir = $(libdir)/@PACKAGE@ |
89 | 62 | liang$(EXEEXT) trie$(EXEEXT) notsosimplevector$(EXEEXT) \ |
90 | 63 | unicode-test$(EXEEXT) |
91 | 64 | subdir = test |
92 | DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ | |
93 | $(top_srcdir)/depcomp | |
65 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | |
94 | 66 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
95 | 67 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
96 | 68 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
207 | 179 | am_unicode_test_OBJECTS = unicode_test.$(OBJEXT) |
208 | 180 | unicode_test_OBJECTS = $(am_unicode_test_OBJECTS) |
209 | 181 | unicode_test_DEPENDENCIES = $(top_builddir)/lout/liblout.a |
210 | AM_V_P = $(am__v_P_@AM_V@) | |
211 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
212 | am__v_P_0 = false | |
213 | am__v_P_1 = : | |
214 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
215 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
216 | am__v_GEN_0 = @echo " GEN " $@; | |
217 | am__v_GEN_1 = | |
218 | AM_V_at = $(am__v_at_@AM_V@) | |
219 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
220 | am__v_at_0 = @ | |
221 | am__v_at_1 = | |
222 | 182 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
223 | 183 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
224 | 184 | am__depfiles_maybe = depfiles |
225 | 185 | am__mv = mv -f |
226 | 186 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
227 | 187 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
228 | AM_V_CC = $(am__v_CC_@AM_V@) | |
229 | am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) | |
230 | am__v_CC_0 = @echo " CC " $@; | |
231 | am__v_CC_1 = | |
232 | 188 | CCLD = $(CC) |
233 | 189 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
234 | AM_V_CCLD = $(am__v_CCLD_@AM_V@) | |
235 | am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) | |
236 | am__v_CCLD_0 = @echo " CCLD " $@; | |
237 | am__v_CCLD_1 = | |
238 | 190 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
239 | 191 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) |
240 | AM_V_CXX = $(am__v_CXX_@AM_V@) | |
241 | am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) | |
242 | am__v_CXX_0 = @echo " CXX " $@; | |
243 | am__v_CXX_1 = | |
244 | 192 | CXXLD = $(CXX) |
245 | 193 | CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ |
246 | 194 | -o $@ |
247 | AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) | |
248 | am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) | |
249 | am__v_CXXLD_0 = @echo " CXXLD " $@; | |
250 | am__v_CXXLD_1 = | |
251 | 195 | SOURCES = $(containers_SOURCES) $(cookies_SOURCES) \ |
252 | 196 | $(dw_anchors_test_SOURCES) $(dw_border_test_SOURCES) \ |
253 | 197 | $(dw_example_SOURCES) $(dw_find_test_SOURCES) \ |
275 | 219 | n|no|NO) false;; \ |
276 | 220 | *) (install-info --version) >/dev/null 2>&1;; \ |
277 | 221 | esac |
278 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | |
279 | # Read a list of newline-separated strings from the standard input, | |
280 | # and print each of them once, without duplicates. Input order is | |
281 | # *not* preserved. | |
282 | am__uniquify_input = $(AWK) '\ | |
283 | BEGIN { nonempty = 0; } \ | |
284 | { items[$$0] = 1; nonempty = 1; } \ | |
285 | END { if (nonempty) { for (i in items) print i; }; } \ | |
286 | ' | |
287 | # Make sure the list of sources is unique. This is necessary because, | |
288 | # e.g., the same source file might be shared among _SOURCES variables | |
289 | # for different programs/libraries. | |
290 | am__define_uniq_tagged_files = \ | |
291 | list='$(am__tagged_files)'; \ | |
292 | unique=`for i in $$list; do \ | |
293 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
294 | done | $(am__uniquify_input)` | |
295 | 222 | ETAGS = etags |
296 | 223 | CTAGS = ctags |
297 | 224 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
298 | 225 | ACLOCAL = @ACLOCAL@ |
299 | 226 | AMTAR = @AMTAR@ |
300 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
301 | 227 | AUTOCONF = @AUTOCONF@ |
302 | 228 | AUTOHEADER = @AUTOHEADER@ |
303 | 229 | AUTOMAKE = @AUTOMAKE@ |
318 | 244 | ECHO_T = @ECHO_T@ |
319 | 245 | EGREP = @EGREP@ |
320 | 246 | EXEEXT = @EXEEXT@ |
247 | FLTK_CONFIG = @FLTK_CONFIG@ | |
321 | 248 | GREP = @GREP@ |
322 | 249 | INSTALL = @INSTALL@ |
323 | 250 | INSTALL_DATA = @INSTALL_DATA@ |
424 | 351 | $(top_builddir)/dw/libDw-fltk.a \ |
425 | 352 | $(top_builddir)/dw/libDw-core.a \ |
426 | 353 | $(top_builddir)/lout/liblout.a \ |
427 | @LIBFLTK_LIBS@ | |
354 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
428 | 355 | |
429 | 356 | dw_example_SOURCES = dw_example.cc |
430 | 357 | dw_example_LDADD = \ |
432 | 359 | $(top_builddir)/dw/libDw-fltk.a \ |
433 | 360 | $(top_builddir)/dw/libDw-core.a \ |
434 | 361 | $(top_builddir)/lout/liblout.a \ |
435 | @LIBFLTK_LIBS@ | |
362 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
436 | 363 | |
437 | 364 | dw_find_test_SOURCES = dw_find_test.cc |
438 | 365 | dw_find_test_LDADD = \ |
440 | 367 | $(top_builddir)/dw/libDw-fltk.a \ |
441 | 368 | $(top_builddir)/dw/libDw-core.a \ |
442 | 369 | $(top_builddir)/lout/liblout.a \ |
443 | @LIBFLTK_LIBS@ | |
370 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
444 | 371 | |
445 | 372 | dw_links_SOURCES = dw_links.cc |
446 | 373 | dw_links_LDADD = \ |
448 | 375 | $(top_builddir)/dw/libDw-fltk.a \ |
449 | 376 | $(top_builddir)/dw/libDw-core.a \ |
450 | 377 | $(top_builddir)/lout/liblout.a \ |
451 | @LIBFLTK_LIBS@ | |
378 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
452 | 379 | |
453 | 380 | dw_links2_SOURCES = dw_links2.cc |
454 | 381 | dw_links2_LDADD = \ |
456 | 383 | $(top_builddir)/dw/libDw-fltk.a \ |
457 | 384 | $(top_builddir)/dw/libDw-core.a \ |
458 | 385 | $(top_builddir)/lout/liblout.a \ |
459 | @LIBFLTK_LIBS@ | |
386 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
460 | 387 | |
461 | 388 | dw_image_background_SOURCES = dw_image_background.cc |
462 | 389 | dw_image_background_LDADD = \ |
464 | 391 | $(top_builddir)/dw/libDw-fltk.a \ |
465 | 392 | $(top_builddir)/dw/libDw-core.a \ |
466 | 393 | $(top_builddir)/lout/liblout.a \ |
467 | @LIBFLTK_LIBS@ | |
394 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
468 | 395 | |
469 | 396 | dw_images_simple_SOURCES = dw_images_simple.cc |
470 | 397 | dw_images_simple_LDADD = \ |
472 | 399 | $(top_builddir)/dw/libDw-fltk.a \ |
473 | 400 | $(top_builddir)/dw/libDw-core.a \ |
474 | 401 | $(top_builddir)/lout/liblout.a \ |
475 | @LIBFLTK_LIBS@ | |
402 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
476 | 403 | |
477 | 404 | dw_images_scaled_SOURCES = dw_images_scaled.cc |
478 | 405 | dw_images_scaled_LDADD = \ |
480 | 407 | $(top_builddir)/dw/libDw-fltk.a \ |
481 | 408 | $(top_builddir)/dw/libDw-core.a \ |
482 | 409 | $(top_builddir)/lout/liblout.a \ |
483 | @LIBFLTK_LIBS@ | |
410 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
484 | 411 | |
485 | 412 | dw_images_scaled2_SOURCES = dw_images_scaled2.cc |
486 | 413 | dw_images_scaled2_LDADD = \ |
488 | 415 | $(top_builddir)/dw/libDw-fltk.a \ |
489 | 416 | $(top_builddir)/dw/libDw-core.a \ |
490 | 417 | $(top_builddir)/lout/liblout.a \ |
491 | @LIBFLTK_LIBS@ | |
418 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
492 | 419 | |
493 | 420 | dw_lists_SOURCES = dw_lists.cc |
494 | 421 | dw_lists_LDADD = \ |
496 | 423 | $(top_builddir)/dw/libDw-fltk.a \ |
497 | 424 | $(top_builddir)/dw/libDw-core.a \ |
498 | 425 | $(top_builddir)/lout/liblout.a \ |
499 | @LIBFLTK_LIBS@ | |
426 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
500 | 427 | |
501 | 428 | dw_table_aligned_SOURCES = dw_table_aligned.cc |
502 | 429 | dw_table_aligned_LDADD = \ |
504 | 431 | $(top_builddir)/dw/libDw-fltk.a \ |
505 | 432 | $(top_builddir)/dw/libDw-core.a \ |
506 | 433 | $(top_builddir)/lout/liblout.a \ |
507 | @LIBFLTK_LIBS@ | |
434 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
508 | 435 | |
509 | 436 | dw_table_SOURCES = dw_table.cc |
510 | 437 | dw_table_LDADD = \ |
512 | 439 | $(top_builddir)/dw/libDw-fltk.a \ |
513 | 440 | $(top_builddir)/dw/libDw-core.a \ |
514 | 441 | $(top_builddir)/lout/liblout.a \ |
515 | @LIBFLTK_LIBS@ | |
442 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
516 | 443 | |
517 | 444 | dw_border_test_SOURCES = dw_border_test.cc |
518 | 445 | dw_border_test_LDADD = \ |
520 | 447 | $(top_builddir)/dw/libDw-fltk.a \ |
521 | 448 | $(top_builddir)/dw/libDw-core.a \ |
522 | 449 | $(top_builddir)/lout/liblout.a \ |
523 | @LIBFLTK_LIBS@ | |
450 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
524 | 451 | |
525 | 452 | dw_imgbuf_mem_test_SOURCES = dw_imgbuf_mem_test.cc |
526 | 453 | dw_imgbuf_mem_test_LDADD = \ |
528 | 455 | $(top_builddir)/dw/libDw-fltk.a \ |
529 | 456 | $(top_builddir)/dw/libDw-core.a \ |
530 | 457 | $(top_builddir)/lout/liblout.a \ |
531 | @LIBFLTK_LIBS@ | |
458 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
532 | 459 | |
533 | 460 | dw_resource_test_SOURCES = dw_resource_test.cc |
534 | 461 | dw_resource_test_LDADD = \ |
536 | 463 | $(top_builddir)/dw/libDw-fltk.a \ |
537 | 464 | $(top_builddir)/dw/libDw-core.a \ |
538 | 465 | $(top_builddir)/lout/liblout.a \ |
539 | @LIBFLTK_LIBS@ | |
466 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
540 | 467 | |
541 | 468 | dw_ui_test_SOURCES = \ |
542 | 469 | dw_ui_test.cc \ |
548 | 475 | $(top_builddir)/dw/libDw-fltk.a \ |
549 | 476 | $(top_builddir)/dw/libDw-core.a \ |
550 | 477 | $(top_builddir)/lout/liblout.a \ |
551 | @LIBFLTK_LIBS@ | |
478 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
552 | 479 | |
553 | 480 | shapes_SOURCES = shapes.cc |
554 | 481 | shapes_LDADD = \ |
568 | 495 | $(top_builddir)/dw/libDw-fltk.a \ |
569 | 496 | $(top_builddir)/dw/libDw-core.a \ |
570 | 497 | $(top_builddir)/lout/liblout.a \ |
571 | @LIBFLTK_LIBS@ | |
498 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
572 | 499 | |
573 | 500 | trie_SOURCES = trie.cc |
574 | 501 | trie_LDADD = \ |
576 | 503 | $(top_builddir)/dw/libDw-fltk.a \ |
577 | 504 | $(top_builddir)/dw/libDw-core.a \ |
578 | 505 | $(top_builddir)/lout/liblout.a \ |
579 | @LIBFLTK_LIBS@ | |
506 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
580 | 507 | |
581 | 508 | notsosimplevector_SOURCES = notsosimplevector.cc |
582 | 509 | notsosimplevector_LDADD = $(top_builddir)/lout/liblout.a |
583 | 510 | unicode_test_SOURCES = unicode_test.cc |
584 | 511 | unicode_test_LDADD = \ |
585 | 512 | $(top_builddir)/lout/liblout.a \ |
586 | @LIBFLTK_LIBS@ | |
513 | @LIBFLTK_LIBS@ @LIBX11_LIBS@ | |
587 | 514 | |
588 | 515 | all: all-am |
589 | 516 | |
622 | 549 | |
623 | 550 | clean-noinstPROGRAMS: |
624 | 551 | -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) |
625 | ||
626 | 552 | containers$(EXEEXT): $(containers_OBJECTS) $(containers_DEPENDENCIES) $(EXTRA_containers_DEPENDENCIES) |
627 | 553 | @rm -f containers$(EXEEXT) |
628 | $(AM_V_CXXLD)$(CXXLINK) $(containers_OBJECTS) $(containers_LDADD) $(LIBS) | |
629 | ||
554 | $(CXXLINK) $(containers_OBJECTS) $(containers_LDADD) $(LIBS) | |
630 | 555 | cookies$(EXEEXT): $(cookies_OBJECTS) $(cookies_DEPENDENCIES) $(EXTRA_cookies_DEPENDENCIES) |
631 | 556 | @rm -f cookies$(EXEEXT) |
632 | $(AM_V_CCLD)$(LINK) $(cookies_OBJECTS) $(cookies_LDADD) $(LIBS) | |
633 | ||
557 | $(LINK) $(cookies_OBJECTS) $(cookies_LDADD) $(LIBS) | |
634 | 558 | dw-anchors-test$(EXEEXT): $(dw_anchors_test_OBJECTS) $(dw_anchors_test_DEPENDENCIES) $(EXTRA_dw_anchors_test_DEPENDENCIES) |
635 | 559 | @rm -f dw-anchors-test$(EXEEXT) |
636 | $(AM_V_CXXLD)$(CXXLINK) $(dw_anchors_test_OBJECTS) $(dw_anchors_test_LDADD) $(LIBS) | |
637 | ||
560 | $(CXXLINK) $(dw_anchors_test_OBJECTS) $(dw_anchors_test_LDADD) $(LIBS) | |
638 | 561 | dw-border-test$(EXEEXT): $(dw_border_test_OBJECTS) $(dw_border_test_DEPENDENCIES) $(EXTRA_dw_border_test_DEPENDENCIES) |
639 | 562 | @rm -f dw-border-test$(EXEEXT) |
640 | $(AM_V_CXXLD)$(CXXLINK) $(dw_border_test_OBJECTS) $(dw_border_test_LDADD) $(LIBS) | |
641 | ||
563 | $(CXXLINK) $(dw_border_test_OBJECTS) $(dw_border_test_LDADD) $(LIBS) | |
642 | 564 | dw-example$(EXEEXT): $(dw_example_OBJECTS) $(dw_example_DEPENDENCIES) $(EXTRA_dw_example_DEPENDENCIES) |
643 | 565 | @rm -f dw-example$(EXEEXT) |
644 | $(AM_V_CXXLD)$(CXXLINK) $(dw_example_OBJECTS) $(dw_example_LDADD) $(LIBS) | |
645 | ||
566 | $(CXXLINK) $(dw_example_OBJECTS) $(dw_example_LDADD) $(LIBS) | |
646 | 567 | dw-find-test$(EXEEXT): $(dw_find_test_OBJECTS) $(dw_find_test_DEPENDENCIES) $(EXTRA_dw_find_test_DEPENDENCIES) |
647 | 568 | @rm -f dw-find-test$(EXEEXT) |
648 | $(AM_V_CXXLD)$(CXXLINK) $(dw_find_test_OBJECTS) $(dw_find_test_LDADD) $(LIBS) | |
649 | ||
569 | $(CXXLINK) $(dw_find_test_OBJECTS) $(dw_find_test_LDADD) $(LIBS) | |
650 | 570 | dw-image-background$(EXEEXT): $(dw_image_background_OBJECTS) $(dw_image_background_DEPENDENCIES) $(EXTRA_dw_image_background_DEPENDENCIES) |
651 | 571 | @rm -f dw-image-background$(EXEEXT) |
652 | $(AM_V_CXXLD)$(CXXLINK) $(dw_image_background_OBJECTS) $(dw_image_background_LDADD) $(LIBS) | |
653 | ||
572 | $(CXXLINK) $(dw_image_background_OBJECTS) $(dw_image_background_LDADD) $(LIBS) | |
654 | 573 | dw-images-scaled$(EXEEXT): $(dw_images_scaled_OBJECTS) $(dw_images_scaled_DEPENDENCIES) $(EXTRA_dw_images_scaled_DEPENDENCIES) |
655 | 574 | @rm -f dw-images-scaled$(EXEEXT) |
656 | $(AM_V_CXXLD)$(CXXLINK) $(dw_images_scaled_OBJECTS) $(dw_images_scaled_LDADD) $(LIBS) | |
657 | ||
575 | $(CXXLINK) $(dw_images_scaled_OBJECTS) $(dw_images_scaled_LDADD) $(LIBS) | |
658 | 576 | dw-images-scaled2$(EXEEXT): $(dw_images_scaled2_OBJECTS) $(dw_images_scaled2_DEPENDENCIES) $(EXTRA_dw_images_scaled2_DEPENDENCIES) |
659 | 577 | @rm -f dw-images-scaled2$(EXEEXT) |
660 | $(AM_V_CXXLD)$(CXXLINK) $(dw_images_scaled2_OBJECTS) $(dw_images_scaled2_LDADD) $(LIBS) | |
661 | ||
578 | $(CXXLINK) $(dw_images_scaled2_OBJECTS) $(dw_images_scaled2_LDADD) $(LIBS) | |
662 | 579 | dw-images-simple$(EXEEXT): $(dw_images_simple_OBJECTS) $(dw_images_simple_DEPENDENCIES) $(EXTRA_dw_images_simple_DEPENDENCIES) |
663 | 580 | @rm -f dw-images-simple$(EXEEXT) |
664 | $(AM_V_CXXLD)$(CXXLINK) $(dw_images_simple_OBJECTS) $(dw_images_simple_LDADD) $(LIBS) | |
665 | ||
581 | $(CXXLINK) $(dw_images_simple_OBJECTS) $(dw_images_simple_LDADD) $(LIBS) | |
666 | 582 | dw-imgbuf-mem-test$(EXEEXT): $(dw_imgbuf_mem_test_OBJECTS) $(dw_imgbuf_mem_test_DEPENDENCIES) $(EXTRA_dw_imgbuf_mem_test_DEPENDENCIES) |
667 | 583 | @rm -f dw-imgbuf-mem-test$(EXEEXT) |
668 | $(AM_V_CXXLD)$(CXXLINK) $(dw_imgbuf_mem_test_OBJECTS) $(dw_imgbuf_mem_test_LDADD) $(LIBS) | |
669 | ||
584 | $(CXXLINK) $(dw_imgbuf_mem_test_OBJECTS) $(dw_imgbuf_mem_test_LDADD) $(LIBS) | |
670 | 585 | dw-links$(EXEEXT): $(dw_links_OBJECTS) $(dw_links_DEPENDENCIES) $(EXTRA_dw_links_DEPENDENCIES) |
671 | 586 | @rm -f dw-links$(EXEEXT) |
672 | $(AM_V_CXXLD)$(CXXLINK) $(dw_links_OBJECTS) $(dw_links_LDADD) $(LIBS) | |
673 | ||
587 | $(CXXLINK) $(dw_links_OBJECTS) $(dw_links_LDADD) $(LIBS) | |
674 | 588 | dw-links2$(EXEEXT): $(dw_links2_OBJECTS) $(dw_links2_DEPENDENCIES) $(EXTRA_dw_links2_DEPENDENCIES) |
675 | 589 | @rm -f dw-links2$(EXEEXT) |
676 | $(AM_V_CXXLD)$(CXXLINK) $(dw_links2_OBJECTS) $(dw_links2_LDADD) $(LIBS) | |
677 | ||
590 | $(CXXLINK) $(dw_links2_OBJECTS) $(dw_links2_LDADD) $(LIBS) | |
678 | 591 | dw-lists$(EXEEXT): $(dw_lists_OBJECTS) $(dw_lists_DEPENDENCIES) $(EXTRA_dw_lists_DEPENDENCIES) |
679 | 592 | @rm -f dw-lists$(EXEEXT) |
680 | $(AM_V_CXXLD)$(CXXLINK) $(dw_lists_OBJECTS) $(dw_lists_LDADD) $(LIBS) | |
681 | ||
593 | $(CXXLINK) $(dw_lists_OBJECTS) $(dw_lists_LDADD) $(LIBS) | |
682 | 594 | dw-resource-test$(EXEEXT): $(dw_resource_test_OBJECTS) $(dw_resource_test_DEPENDENCIES) $(EXTRA_dw_resource_test_DEPENDENCIES) |
683 | 595 | @rm -f dw-resource-test$(EXEEXT) |
684 | $(AM_V_CXXLD)$(CXXLINK) $(dw_resource_test_OBJECTS) $(dw_resource_test_LDADD) $(LIBS) | |
685 | ||
596 | $(CXXLINK) $(dw_resource_test_OBJECTS) $(dw_resource_test_LDADD) $(LIBS) | |
686 | 597 | dw-table$(EXEEXT): $(dw_table_OBJECTS) $(dw_table_DEPENDENCIES) $(EXTRA_dw_table_DEPENDENCIES) |
687 | 598 | @rm -f dw-table$(EXEEXT) |
688 | $(AM_V_CXXLD)$(CXXLINK) $(dw_table_OBJECTS) $(dw_table_LDADD) $(LIBS) | |
689 | ||
599 | $(CXXLINK) $(dw_table_OBJECTS) $(dw_table_LDADD) $(LIBS) | |
690 | 600 | dw-table-aligned$(EXEEXT): $(dw_table_aligned_OBJECTS) $(dw_table_aligned_DEPENDENCIES) $(EXTRA_dw_table_aligned_DEPENDENCIES) |
691 | 601 | @rm -f dw-table-aligned$(EXEEXT) |
692 | $(AM_V_CXXLD)$(CXXLINK) $(dw_table_aligned_OBJECTS) $(dw_table_aligned_LDADD) $(LIBS) | |
693 | ||
602 | $(CXXLINK) $(dw_table_aligned_OBJECTS) $(dw_table_aligned_LDADD) $(LIBS) | |
694 | 603 | dw-ui-test$(EXEEXT): $(dw_ui_test_OBJECTS) $(dw_ui_test_DEPENDENCIES) $(EXTRA_dw_ui_test_DEPENDENCIES) |
695 | 604 | @rm -f dw-ui-test$(EXEEXT) |
696 | $(AM_V_CXXLD)$(CXXLINK) $(dw_ui_test_OBJECTS) $(dw_ui_test_LDADD) $(LIBS) | |
697 | ||
605 | $(CXXLINK) $(dw_ui_test_OBJECTS) $(dw_ui_test_LDADD) $(LIBS) | |
698 | 606 | liang$(EXEEXT): $(liang_OBJECTS) $(liang_DEPENDENCIES) $(EXTRA_liang_DEPENDENCIES) |
699 | 607 | @rm -f liang$(EXEEXT) |
700 | $(AM_V_CXXLD)$(CXXLINK) $(liang_OBJECTS) $(liang_LDADD) $(LIBS) | |
701 | ||
608 | $(CXXLINK) $(liang_OBJECTS) $(liang_LDADD) $(LIBS) | |
702 | 609 | notsosimplevector$(EXEEXT): $(notsosimplevector_OBJECTS) $(notsosimplevector_DEPENDENCIES) $(EXTRA_notsosimplevector_DEPENDENCIES) |
703 | 610 | @rm -f notsosimplevector$(EXEEXT) |
704 | $(AM_V_CXXLD)$(CXXLINK) $(notsosimplevector_OBJECTS) $(notsosimplevector_LDADD) $(LIBS) | |
705 | ||
611 | $(CXXLINK) $(notsosimplevector_OBJECTS) $(notsosimplevector_LDADD) $(LIBS) | |
706 | 612 | shapes$(EXEEXT): $(shapes_OBJECTS) $(shapes_DEPENDENCIES) $(EXTRA_shapes_DEPENDENCIES) |
707 | 613 | @rm -f shapes$(EXEEXT) |
708 | $(AM_V_CXXLD)$(CXXLINK) $(shapes_OBJECTS) $(shapes_LDADD) $(LIBS) | |
709 | ||
614 | $(CXXLINK) $(shapes_OBJECTS) $(shapes_LDADD) $(LIBS) | |
710 | 615 | trie$(EXEEXT): $(trie_OBJECTS) $(trie_DEPENDENCIES) $(EXTRA_trie_DEPENDENCIES) |
711 | 616 | @rm -f trie$(EXEEXT) |
712 | $(AM_V_CXXLD)$(CXXLINK) $(trie_OBJECTS) $(trie_LDADD) $(LIBS) | |
713 | ||
617 | $(CXXLINK) $(trie_OBJECTS) $(trie_LDADD) $(LIBS) | |
714 | 618 | unicode-test$(EXEEXT): $(unicode_test_OBJECTS) $(unicode_test_DEPENDENCIES) $(EXTRA_unicode_test_DEPENDENCIES) |
715 | 619 | @rm -f unicode-test$(EXEEXT) |
716 | $(AM_V_CXXLD)$(CXXLINK) $(unicode_test_OBJECTS) $(unicode_test_LDADD) $(LIBS) | |
620 | $(CXXLINK) $(unicode_test_OBJECTS) $(unicode_test_LDADD) $(LIBS) | |
717 | 621 | |
718 | 622 | mostlyclean-compile: |
719 | 623 | -rm -f *.$(OBJEXT) |
747 | 651 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unicode_test.Po@am__quote@ |
748 | 652 | |
749 | 653 | .c.o: |
750 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
751 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
752 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
654 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
655 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
656 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
753 | 657 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
754 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< | |
658 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | |
755 | 659 | |
756 | 660 | .c.obj: |
757 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
758 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
759 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
661 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
662 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
663 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
760 | 664 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
761 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
665 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | |
762 | 666 | |
763 | 667 | .cc.o: |
764 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
765 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
766 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
668 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
669 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
670 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
767 | 671 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
768 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< | |
672 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< | |
769 | 673 | |
770 | 674 | .cc.obj: |
771 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
772 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
773 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
675 | @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
676 | @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
677 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
774 | 678 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
775 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
776 | ||
777 | ID: $(am__tagged_files) | |
778 | $(am__define_uniq_tagged_files); mkid -fID $$unique | |
779 | tags: tags-am | |
780 | TAGS: tags | |
781 | ||
782 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
679 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | |
680 | ||
681 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
682 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
683 | unique=`for i in $$list; do \ | |
684 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
685 | done | \ | |
686 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
687 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
688 | mkid -fID $$unique | |
689 | tags: TAGS | |
690 | ||
691 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
692 | $(TAGS_FILES) $(LISP) | |
783 | 693 | set x; \ |
784 | 694 | here=`pwd`; \ |
785 | $(am__define_uniq_tagged_files); \ | |
695 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
696 | unique=`for i in $$list; do \ | |
697 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
698 | done | \ | |
699 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
700 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
786 | 701 | shift; \ |
787 | 702 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
788 | 703 | test -n "$$unique" || unique=$$empty_fix; \ |
794 | 709 | $$unique; \ |
795 | 710 | fi; \ |
796 | 711 | fi |
797 | ctags: ctags-am | |
798 | ||
799 | CTAGS: ctags | |
800 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
801 | $(am__define_uniq_tagged_files); \ | |
712 | ctags: CTAGS | |
713 | CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | |
714 | $(TAGS_FILES) $(LISP) | |
715 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
716 | unique=`for i in $$list; do \ | |
717 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
718 | done | \ | |
719 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
720 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
802 | 721 | test -z "$(CTAGS_ARGS)$$unique" \ |
803 | 722 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
804 | 723 | $$unique |
807 | 726 | here=`$(am__cd) $(top_builddir) && pwd` \ |
808 | 727 | && $(am__cd) $(top_srcdir) \ |
809 | 728 | && gtags -i $(GTAGS_ARGS) "$$here" |
810 | cscopelist: cscopelist-am | |
811 | ||
812 | cscopelist-am: $(am__tagged_files) | |
813 | list='$(am__tagged_files)'; \ | |
814 | case "$(srcdir)" in \ | |
815 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
816 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
817 | esac; \ | |
818 | for i in $$list; do \ | |
819 | if test -f "$$i"; then \ | |
820 | echo "$(subdir)/$$i"; \ | |
821 | else \ | |
822 | echo "$$sdir/$$i"; \ | |
823 | fi; \ | |
824 | done >> $(top_builddir)/cscope.files | |
825 | 729 | |
826 | 730 | distclean-tags: |
827 | 731 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
961 | 865 | |
962 | 866 | .MAKE: install-am install-strip |
963 | 867 | |
964 | .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ | |
965 | clean-noinstPROGRAMS cscopelist-am ctags ctags-am distclean \ | |
966 | distclean-compile distclean-generic distclean-tags distdir dvi \ | |
967 | dvi-am html html-am info info-am install install-am \ | |
968 | install-data install-data-am install-dvi install-dvi-am \ | |
969 | install-exec install-exec-am install-html install-html-am \ | |
970 | install-info install-info-am install-man install-pdf \ | |
971 | install-pdf-am install-ps install-ps-am install-strip \ | |
972 | installcheck installcheck-am installdirs maintainer-clean \ | |
868 | .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ | |
869 | clean-noinstPROGRAMS ctags distclean distclean-compile \ | |
870 | distclean-generic distclean-tags distdir dvi dvi-am html \ | |
871 | html-am info info-am install install-am install-data \ | |
872 | install-data-am install-dvi install-dvi-am install-exec \ | |
873 | install-exec-am install-html install-html-am install-info \ | |
874 | install-info-am install-man install-pdf install-pdf-am \ | |
875 | install-ps install-ps-am install-strip installcheck \ | |
876 | installcheck-am installdirs maintainer-clean \ | |
973 | 877 | maintainer-clean-generic mostlyclean mostlyclean-compile \ |
974 | mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ | |
878 | mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ | |
975 | 879 | uninstall-am |
976 | 880 | |
977 | 881 |
879 | 879 | path(); |
880 | 880 | |
881 | 881 | /* LEADING/TRAILING DOTS AND A LITTLE PUBLIC SUFFIX */ |
882 | a_Cookies_set("name=val; domain=co.uk", "www.co.uk", "/", NULL); | |
883 | expect(__LINE__, "", "http", "www.co.uk", "/"); | |
884 | ||
885 | a_Cookies_set("name=val; domain=.co.uk", "www.co.uk", "/", NULL); | |
886 | expect(__LINE__, "", "http", "www.co.uk", "/"); | |
887 | ||
888 | a_Cookies_set("name=val; domain=co.uk.", "www.co.uk.", "/", NULL); | |
889 | expect(__LINE__, "", "http", "www.co.uk.", "/"); | |
890 | ||
891 | a_Cookies_set("name=val; domain=.co.uk.", "www.co.uk.", "/", NULL); | |
892 | expect(__LINE__, "", "http", ".www.co.uk.", "/"); | |
882 | a_Cookies_set("name=val; domain=co.il", "www.co.il", "/", NULL); | |
883 | expect(__LINE__, "", "http", "www.co.il", "/"); | |
884 | ||
885 | a_Cookies_set("name=val; domain=.co.il", "www.co.il", "/", NULL); | |
886 | expect(__LINE__, "", "http", "www.co.il", "/"); | |
887 | ||
888 | a_Cookies_set("name=val; domain=co.il.", "www.co.il.", "/", NULL); | |
889 | expect(__LINE__, "", "http", "www.co.il.", "/"); | |
890 | ||
891 | a_Cookies_set("name=val; domain=.co.il.", "www.co.il.", "/", NULL); | |
892 | expect(__LINE__, "", "http", ".www.co.il.", "/"); | |
893 | 893 | |
894 | 894 | a_Cookies_set("name=val; domain=co.org", "www.co.org", "/", NULL); |
895 | 895 | expect(__LINE__, "Cookie: name=val\r\n", "http", "www.co.org", "/"); |
80 | 80 | // First of all, the resources. Later, they are embedded into the |
81 | 81 | // widget tree. |
82 | 82 | EntryResource *entryres1 = |
83 | layout->getResourceFactory()->createEntryResource (10, false, NULL); | |
83 | layout->getResourceFactory()->createEntryResource (10, false, NULL,NULL); | |
84 | 84 | entryres1->setText ("Hi!"); |
85 | 85 | EntryResource *entryres2 = |
86 | layout->getResourceFactory()->createEntryResource (10, true, NULL); | |
86 | layout->getResourceFactory()->createEntryResource (10, true, NULL, | |
87 | "password field!"); | |
87 | 88 | MultiLineTextResource *textres = |
88 | layout->getResourceFactory()->createMultiLineTextResource (15,3); | |
89 | layout->getResourceFactory()->createMultiLineTextResource (15,3, | |
90 | "textarea placeholder!"); | |
89 | 91 | RadioButtonResource *radiores1 = |
90 | 92 | layout->getResourceFactory()->createRadioButtonResource (NULL, false); |
91 | 93 | RadioButtonResource *radiores2 = |