Browse code

Reorganize new PDF code to a new file

Shawn Webb authored on 2014/06/26 02:36:30
Showing 26 changed files
... ...
@@ -1,7 +1,7 @@
1
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14 from Makefile.am.
2 2
 # @configure_input@
3 3
 
4
-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
4
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5 5
 
6 6
 # This Makefile.in is free software; the Free Software Foundation
7 7
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -34,23 +34,51 @@
34 34
 
35 35
 
36 36
 VPATH = @srcdir@
37
-am__make_dryrun = \
38
-  { \
39
-    am__dry=no; \
37
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
38
+am__make_running_with_option = \
39
+  case $${target_option-} in \
40
+      ?) ;; \
41
+      *) echo "am__make_running_with_option: internal error: invalid" \
42
+              "target option '$${target_option-}' specified" >&2; \
43
+         exit 1;; \
44
+  esac; \
45
+  has_opt=no; \
46
+  sane_makeflags=$$MAKEFLAGS; \
47
+  if $(am__is_gnu_make); then \
48
+    sane_makeflags=$$MFLAGS; \
49
+  else \
40 50
     case $$MAKEFLAGS in \
41 51
       *\\[\ \	]*) \
42
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
43
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
44
-      *) \
45
-        for am__flg in $$MAKEFLAGS; do \
46
-          case $$am__flg in \
47
-            *=*|--*) ;; \
48
-            *n*) am__dry=yes; break;; \
49
-          esac; \
50
-        done;; \
52
+        bs=\\; \
53
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
54
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
51 55
     esac; \
52
-    test $$am__dry = yes; \
53
-  }
56
+  fi; \
57
+  skip_next=no; \
58
+  strip_trailopt () \
59
+  { \
60
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
61
+  }; \
62
+  for flg in $$sane_makeflags; do \
63
+    test $$skip_next = yes && { skip_next=no; continue; }; \
64
+    case $$flg in \
65
+      *=*|--*) continue;; \
66
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
67
+      -*I?*) strip_trailopt 'I';; \
68
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
69
+      -*O?*) strip_trailopt 'O';; \
70
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
71
+      -*l?*) strip_trailopt 'l';; \
72
+      -[dEDm]) skip_next=yes;; \
73
+      -[JT]) skip_next=yes;; \
74
+    esac; \
75
+    case $$flg in \
76
+      *$$target_option*) has_opt=yes; break;; \
77
+    esac; \
78
+  done; \
79
+  test $$has_opt = yes
80
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
81
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
54 82
 pkgdatadir = $(datadir)/@PACKAGE@
55 83
 pkgincludedir = $(includedir)/@PACKAGE@
56 84
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -72,14 +100,10 @@ host_triplet = @host@
72 72
 target_triplet = @target@
73 73
 @ENABLE_CLAMSUBMIT_TRUE@am__append_1 = clamsubmit
74 74
 subdir = .
75
-DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
76
-	$(srcdir)/Makefile.in $(srcdir)/clamav-config.h.in \
77
-	$(srcdir)/clamav-config.in $(srcdir)/libclamav.pc.in \
78
-	$(srcdir)/platform.h.in $(top_srcdir)/config/config.guess \
79
-	$(top_srcdir)/config/config.rpath \
80
-	$(top_srcdir)/config/config.sub \
81
-	$(top_srcdir)/config/install-sh $(top_srcdir)/config/ltmain.sh \
82
-	$(top_srcdir)/config/missing $(top_srcdir)/configure \
75
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
76
+	$(top_srcdir)/configure $(am__configure_deps) \
77
+	$(srcdir)/clamav-config.h.in $(srcdir)/clamav-config.in \
78
+	$(srcdir)/libclamav.pc.in $(srcdir)/platform.h.in \
83 79
 	$(top_srcdir)/docs/man/clamav-milter.8.in \
84 80
 	$(top_srcdir)/docs/man/clamav-milter.conf.5.in \
85 81
 	$(top_srcdir)/docs/man/clambc.1.in \
... ...
@@ -87,15 +111,21 @@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
87 87
 	$(top_srcdir)/docs/man/clamd.8.in \
88 88
 	$(top_srcdir)/docs/man/clamd.conf.5.in \
89 89
 	$(top_srcdir)/docs/man/clamdscan.1.in \
90
-	$(top_srcdir)/docs/man/clamdtop.1.in \
91 90
 	$(top_srcdir)/docs/man/clamscan.1.in \
92
-	$(top_srcdir)/docs/man/clamsubmit.1.in \
93 91
 	$(top_srcdir)/docs/man/freshclam.1.in \
94 92
 	$(top_srcdir)/docs/man/freshclam.conf.5.in \
95
-	$(top_srcdir)/docs/man/sigtool.1.in AUTHORS COPYING ChangeLog \
96
-	INSTALL NEWS config/compile config/config.guess \
97
-	config/config.rpath config/config.sub config/depcomp \
98
-	config/install-sh config/ltmain.sh config/missing
93
+	$(top_srcdir)/docs/man/sigtool.1.in \
94
+	$(top_srcdir)/docs/man/clamdtop.1.in \
95
+	$(top_srcdir)/docs/man/clamsubmit.1.in AUTHORS COPYING \
96
+	ChangeLog INSTALL NEWS README config/compile \
97
+	config/config.guess config/config.rpath config/config.sub \
98
+	config/depcomp config/install-sh config/missing \
99
+	config/ltmain.sh $(top_srcdir)/config/compile \
100
+	$(top_srcdir)/config/config.guess \
101
+	$(top_srcdir)/config/config.rpath \
102
+	$(top_srcdir)/config/config.sub \
103
+	$(top_srcdir)/config/install-sh $(top_srcdir)/config/ltmain.sh \
104
+	$(top_srcdir)/config/missing
99 105
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
100 106
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
101 107
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -219,13 +249,14 @@ am__v_at_0 = @
219 219
 am__v_at_1 = 
220 220
 SOURCES =
221 221
 DIST_SOURCES =
222
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
223
-	html-recursive info-recursive install-data-recursive \
224
-	install-dvi-recursive install-exec-recursive \
225
-	install-html-recursive install-info-recursive \
226
-	install-pdf-recursive install-ps-recursive install-recursive \
227
-	installcheck-recursive installdirs-recursive pdf-recursive \
228
-	ps-recursive uninstall-recursive
222
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
223
+	ctags-recursive dvi-recursive html-recursive info-recursive \
224
+	install-data-recursive install-dvi-recursive \
225
+	install-exec-recursive install-html-recursive \
226
+	install-info-recursive install-pdf-recursive \
227
+	install-ps-recursive install-recursive installcheck-recursive \
228
+	installdirs-recursive pdf-recursive ps-recursive \
229
+	tags-recursive uninstall-recursive
229 230
 am__can_run_installinfo = \
230 231
   case $$AM_UPDATE_INFO_DIR in \
231 232
     n|no|NO) false;; \
... ...
@@ -234,9 +265,30 @@ am__can_run_installinfo = \
234 234
 DATA = $(pkgconfig_DATA)
235 235
 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
236 236
   distclean-recursive maintainer-clean-recursive
237
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
238
-	$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
237
+am__recursive_targets = \
238
+  $(RECURSIVE_TARGETS) \
239
+  $(RECURSIVE_CLEAN_TARGETS) \
240
+  $(am__extra_recursive_targets)
241
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
239 242
 	cscope distdir dist dist-all distcheck
243
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
244
+	$(LISP)clamav-config.h.in
245
+# Read a list of newline-separated strings from the standard input,
246
+# and print each of them once, without duplicates.  Input order is
247
+# *not* preserved.
248
+am__uniquify_input = $(AWK) '\
249
+  BEGIN { nonempty = 0; } \
250
+  { items[$$0] = 1; nonempty = 1; } \
251
+  END { if (nonempty) { for (i in items) print i; }; } \
252
+'
253
+# Make sure the list of sources is unique.  This is necessary because,
254
+# e.g., the same source file might be shared among _SOURCES variables
255
+# for different programs/libraries.
256
+am__define_uniq_tagged_files = \
257
+  list='$(am__tagged_files)'; \
258
+  unique=`for i in $$list; do \
259
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
260
+  done | $(am__uniquify_input)`
240 261
 ETAGS = etags
241 262
 CTAGS = ctags
242 263
 CSCOPE = cscope
... ...
@@ -529,8 +581,8 @@ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
529 529
 $(am__aclocal_m4_deps):
530 530
 
531 531
 clamav-config.h: stamp-h1
532
-	@if test ! -f $@; then rm -f stamp-h1; else :; fi
533
-	@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
532
+	@test -f $@ || rm -f stamp-h1
533
+	@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
534 534
 
535 535
 stamp-h1: $(srcdir)/clamav-config.h.in $(top_builddir)/config.status
536 536
 	@rm -f stamp-h1
... ...
@@ -661,14 +713,13 @@ uninstall-pkgconfigDATA:
661 661
 # (1) if the variable is set in 'config.status', edit 'config.status'
662 662
 #     (which will cause the Makefiles to be regenerated when you run 'make');
663 663
 # (2) otherwise, pass the desired values on the 'make' command line.
664
-$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
665
-	@fail= failcom='exit 1'; \
666
-	for f in x $$MAKEFLAGS; do \
667
-	  case $$f in \
668
-	    *=* | --[!k]*);; \
669
-	    *k*) failcom='fail=yes';; \
670
-	  esac; \
671
-	done; \
664
+$(am__recursive_targets):
665
+	@fail=; \
666
+	if $(am__make_keepgoing); then \
667
+	  failcom='fail=yes'; \
668
+	else \
669
+	  failcom='exit 1'; \
670
+	fi; \
672 671
 	dot_seen=no; \
673 672
 	target=`echo $@ | sed s/-recursive//`; \
674 673
 	case "$@" in \
... ...
@@ -689,31 +740,13 @@ $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
689 689
 	if test "$$dot_seen" = "no"; then \
690 690
 	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
691 691
 	fi; test -z "$$fail"
692
-tags-recursive:
693
-	list='$(SUBDIRS)'; for subdir in $$list; do \
694
-	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
695
-	done
696
-ctags-recursive:
697
-	list='$(SUBDIRS)'; for subdir in $$list; do \
698
-	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
699
-	done
700
-cscopelist-recursive:
701
-	list='$(SUBDIRS)'; for subdir in $$list; do \
702
-	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
703
-	done
704 692
 
705
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
706
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
707
-	unique=`for i in $$list; do \
708
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
709
-	  done | \
710
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
711
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
712
-	mkid -fID $$unique
713
-tags: TAGS
714
-
715
-TAGS: tags-recursive $(HEADERS) $(SOURCES) clamav-config.h.in $(TAGS_DEPENDENCIES) \
716
-		$(TAGS_FILES) $(LISP)
693
+ID: $(am__tagged_files)
694
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
695
+tags: tags-recursive
696
+TAGS: tags
697
+
698
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
717 699
 	set x; \
718 700
 	here=`pwd`; \
719 701
 	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
... ...
@@ -729,12 +762,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) clamav-config.h.in $(TAGS_DEPENDENCIE
729 729
 	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
730 730
 	  fi; \
731 731
 	done; \
732
-	list='$(SOURCES) $(HEADERS) clamav-config.h.in $(LISP) $(TAGS_FILES)'; \
733
-	unique=`for i in $$list; do \
734
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
735
-	  done | \
736
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
737
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
732
+	$(am__define_uniq_tagged_files); \
738 733
 	shift; \
739 734
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
740 735
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -746,15 +774,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) clamav-config.h.in $(TAGS_DEPENDENCIE
746 746
 	      $$unique; \
747 747
 	  fi; \
748 748
 	fi
749
-ctags: CTAGS
750
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) clamav-config.h.in $(TAGS_DEPENDENCIES) \
751
-		$(TAGS_FILES) $(LISP)
752
-	list='$(SOURCES) $(HEADERS) clamav-config.h.in $(LISP) $(TAGS_FILES)'; \
753
-	unique=`for i in $$list; do \
754
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
755
-	  done | \
756
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
757
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
749
+ctags: ctags-recursive
750
+
751
+CTAGS: ctags
752
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
753
+	$(am__define_uniq_tagged_files); \
758 754
 	test -z "$(CTAGS_ARGS)$$unique" \
759 755
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
760 756
 	     $$unique
... ...
@@ -763,18 +787,16 @@ GTAGS:
763 763
 	here=`$(am__cd) $(top_builddir) && pwd` \
764 764
 	  && $(am__cd) $(top_srcdir) \
765 765
 	  && gtags -i $(GTAGS_ARGS) "$$here"
766
-
767 766
 cscope: cscope.files
768 767
 	test ! -s cscope.files \
769 768
 	  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
770
-
771 769
 clean-cscope:
772 770
 	-rm -f cscope.files
771
+cscope.files: clean-cscope cscopelist
772
+cscopelist: cscopelist-recursive
773 773
 
774
-cscope.files: clean-cscope cscopelist-recursive cscopelist
775
-
776
-cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
777
-	list='$(SOURCES) $(HEADERS) $(LISP)'; \
774
+cscopelist-am: $(am__tagged_files)
775
+	list='$(am__tagged_files)'; \
778 776
 	case "$(srcdir)" in \
779 777
 	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
780 778
 	  *) sdir=$(subdir)/$(srcdir) ;; \
... ...
@@ -874,10 +896,16 @@ dist-xz: distdir
874 874
 	$(am__post_remove_distdir)
875 875
 
876 876
 dist-tarZ: distdir
877
+	@echo WARNING: "Support for shar distribution archives is" \
878
+	               "deprecated." >&2
879
+	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
877 880
 	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
878 881
 	$(am__post_remove_distdir)
879 882
 
880 883
 dist-shar: distdir
884
+	@echo WARNING: "Support for distribution archives compressed with" \
885
+		       "legacy program 'compress' is deprecated." >&2
886
+	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
881 887
 	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
882 888
 	$(am__post_remove_distdir)
883 889
 
... ...
@@ -1083,28 +1111,25 @@ ps-am:
1083 1083
 
1084 1084
 uninstall-am: uninstall-binSCRIPTS uninstall-pkgconfigDATA
1085 1085
 
1086
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
1087
-	cscopelist-recursive ctags-recursive install-am install-strip \
1088
-	tags-recursive
1089
-
1090
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1091
-	all all-am am--refresh check check-am clean clean-cscope \
1092
-	clean-generic clean-libtool cscope cscopelist \
1093
-	cscopelist-recursive ctags ctags-recursive dist dist-all \
1094
-	dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ \
1095
-	dist-xz dist-zip distcheck distclean distclean-generic \
1096
-	distclean-hdr distclean-libtool distclean-tags distcleancheck \
1097
-	distdir distuninstallcheck dvi dvi-am html html-am info \
1098
-	info-am install install-am install-binSCRIPTS install-data \
1099
-	install-data-am install-dvi install-dvi-am install-exec \
1100
-	install-exec-am install-html install-html-am install-info \
1101
-	install-info-am install-man install-pdf install-pdf-am \
1102
-	install-pkgconfigDATA install-ps install-ps-am install-strip \
1103
-	installcheck installcheck-am installcheck-binSCRIPTS \
1104
-	installdirs installdirs-am maintainer-clean \
1105
-	maintainer-clean-generic mostlyclean mostlyclean-generic \
1106
-	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
1107
-	uninstall uninstall-am uninstall-binSCRIPTS \
1086
+.MAKE: $(am__recursive_targets) all install-am install-strip
1087
+
1088
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1089
+	am--refresh check check-am clean clean-cscope clean-generic \
1090
+	clean-libtool cscope cscopelist-am ctags ctags-am dist \
1091
+	dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
1092
+	dist-tarZ dist-xz dist-zip distcheck distclean \
1093
+	distclean-generic distclean-hdr distclean-libtool \
1094
+	distclean-tags distcleancheck distdir distuninstallcheck dvi \
1095
+	dvi-am html html-am info info-am install install-am \
1096
+	install-binSCRIPTS install-data install-data-am install-dvi \
1097
+	install-dvi-am install-exec install-exec-am install-html \
1098
+	install-html-am install-info install-info-am install-man \
1099
+	install-pdf install-pdf-am install-pkgconfigDATA install-ps \
1100
+	install-ps-am install-strip installcheck installcheck-am \
1101
+	installcheck-binSCRIPTS installdirs installdirs-am \
1102
+	maintainer-clean maintainer-clean-generic mostlyclean \
1103
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1104
+	tags tags-am uninstall uninstall-am uninstall-binSCRIPTS \
1108 1105
 	uninstall-pkgconfigDATA
1109 1106
 
1110 1107
 lcov:
... ...
@@ -1,6 +1,6 @@
1
-# generated automatically by aclocal 1.12.6 -*- Autoconf -*-
1
+# generated automatically by aclocal 1.14 -*- Autoconf -*-
2 2
 
3
-# Copyright (C) 1996-2012 Free Software Foundation, Inc.
3
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
4 4
 
5 5
 # This file is free software; the Free Software Foundation
6 6
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -11,6 +11,7 @@
11 11
 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 12
 # PARTICULAR PURPOSE.
13 13
 
14
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
14 15
 m4_ifndef([AC_AUTOCONF_VERSION],
15 16
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16 17
 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
... ...
@@ -19,7 +20,7 @@ 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 20
 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
21 21
 
22
-# Copyright (C) 2002-2012 Free Software Foundation, Inc.
22
+# Copyright (C) 2002-2013 Free Software Foundation, Inc.
23 23
 #
24 24
 # This file is free software; the Free Software Foundation
25 25
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -31,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
31 31
 # generated from the m4 files accompanying Automake X.Y.
32 32
 # (This private macro should not be called outside this file.)
33 33
 AC_DEFUN([AM_AUTOMAKE_VERSION],
34
-[am__api_version='1.12'
34
+[am__api_version='1.14'
35 35
 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
36 36
 dnl require some minimum version.  Point them to the right macro.
37
-m4_if([$1], [1.12.6], [],
37
+m4_if([$1], [1.14], [],
38 38
       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
39 39
 ])
40 40
 
... ...
@@ -50,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], [])
50 50
 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
51 51
 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
52 52
 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
53
-[AM_AUTOMAKE_VERSION([1.12.6])dnl
53
+[AM_AUTOMAKE_VERSION([1.14])dnl
54 54
 m4_ifndef([AC_AUTOCONF_VERSION],
55 55
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
56 56
 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
57 57
 
58 58
 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
59 59
 
60
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
60
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
61 61
 #
62 62
 # This file is free software; the Free Software Foundation
63 63
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -110,7 +111,7 @@ am_aux_dir=`cd $ac_aux_dir && pwd`
110 110
 
111 111
 # AM_CONDITIONAL                                            -*- Autoconf -*-
112 112
 
113
-# Copyright (C) 1997-2012 Free Software Foundation, Inc.
113
+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
114 114
 #
115 115
 # This file is free software; the Free Software Foundation
116 116
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -141,7 +142,7 @@ AC_CONFIG_COMMANDS_PRE(
141 141
 Usually this means the macro was only invoked conditionally.]])
142 142
 fi])])
143 143
 
144
-# Copyright (C) 1999-2012 Free Software Foundation, Inc.
144
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
145 145
 #
146 146
 # This file is free software; the Free Software Foundation
147 147
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -332,7 +333,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
332 332
 
333 333
 # Generate code to set up dependency tracking.              -*- Autoconf -*-
334 334
 
335
-# Copyright (C) 1999-2012 Free Software Foundation, Inc.
335
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
336 336
 #
337 337
 # This file is free software; the Free Software Foundation
338 338
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -343,7 +344,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
343 343
 # ------------------------------
344 344
 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
345 345
 [{
346
-  # Autoconf 2.62 quotes --file arguments for eval, but not when files
346
+  # Older Autoconf quotes --file arguments for eval, but not when files
347 347
   # are listed without --file.  Let's play safe and only enable the eval
348 348
   # if we detect the quoting.
349 349
   case $CONFIG_FILES in
... ...
@@ -372,7 +373,7 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
372 372
     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
373 373
     test -z "$DEPDIR" && continue
374 374
     am__include=`sed -n 's/^am__include = //p' < "$mf"`
375
-    test -z "am__include" && continue
375
+    test -z "$am__include" && continue
376 376
     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
377 377
     # Find all dependency output files, they are included files with
378 378
     # $(DEPDIR) in their names.  We invoke sed twice because it is the
... ...
@@ -408,7 +409,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
408 408
 
409 409
 # Do all the work for Automake.                             -*- Autoconf -*-
410 410
 
411
-# Copyright (C) 1996-2012 Free Software Foundation, Inc.
411
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
412 412
 #
413 413
 # This file is free software; the Free Software Foundation
414 414
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -417,6 +418,12 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
417 417
 # This macro actually does too much.  Some checks are only needed if
418 418
 # your package does certain things.  But this isn't really a big deal.
419 419
 
420
+dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
421
+m4_define([AC_PROG_CC],
422
+m4_defn([AC_PROG_CC])
423
+[_AM_PROG_CC_C_O
424
+])
425
+
420 426
 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
421 427
 # AM_INIT_AUTOMAKE([OPTIONS])
422 428
 # -----------------------------------------------
... ...
@@ -429,7 +436,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
429 429
 # arguments mandatory, and then we can depend on a new Autoconf
430 430
 # release and drop the old call support.
431 431
 AC_DEFUN([AM_INIT_AUTOMAKE],
432
-[AC_PREREQ([2.62])dnl
432
+[AC_PREREQ([2.65])dnl
433 433
 dnl Autoconf wants to disallow AM_ names.  We explicitly allow
434 434
 dnl the ones we care about.
435 435
 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
... ...
@@ -459,8 +466,7 @@ AC_SUBST([CYGPATH_W])
459 459
 dnl Distinguish between old-style and new-style calls.
460 460
 m4_ifval([$2],
461 461
 [AC_DIAGNOSE([obsolete],
462
-[$0: two- and three-arguments forms are deprecated.  For more info, see:
463
-http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
462
+             [$0: two- and three-arguments forms are deprecated.])
464 463
 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
465 464
  AC_SUBST([PACKAGE], [$1])dnl
466 465
  AC_SUBST([VERSION], [$2])],
... ...
@@ -514,22 +520,60 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
514 514
 		  [_AM_DEPENDENCIES([OBJC])],
515 515
 		  [m4_define([AC_PROG_OBJC],
516 516
 			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
517
-dnl Support for Objective C++ was only introduced in Autoconf 2.65,
518
-dnl but we still cater to Autoconf 2.62.
519
-m4_ifdef([AC_PROG_OBJCXX],
520
-[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
517
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
521 518
 		  [_AM_DEPENDENCIES([OBJCXX])],
522 519
 		  [m4_define([AC_PROG_OBJCXX],
523
-			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
520
+			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
524 521
 ])
525
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
526
-dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
527
-dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
528
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
522
+AC_REQUIRE([AM_SILENT_RULES])dnl
523
+dnl The testsuite driver may need to know about EXEEXT, so add the
524
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
525
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
529 526
 AC_CONFIG_COMMANDS_PRE(dnl
530 527
 [m4_provide_if([_AM_COMPILER_EXEEXT],
531 528
   [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
532
-])
529
+
530
+# POSIX will say in a future version that running "rm -f" with no argument
531
+# is OK; and we want to be able to make that assumption in our Makefile
532
+# recipes.  So use an aggressive probe to check that the usage we want is
533
+# actually supported "in the wild" to an acceptable degree.
534
+# See automake bug#10828.
535
+# To make any issue more visible, cause the running configure to be aborted
536
+# by default if the 'rm' program in use doesn't match our expectations; the
537
+# user can still override this though.
538
+if rm -f && rm -fr && rm -rf; then : OK; else
539
+  cat >&2 <<'END'
540
+Oops!
541
+
542
+Your 'rm' program seems unable to run without file operands specified
543
+on the command line, even when the '-f' option is present.  This is contrary
544
+to the behaviour of most rm programs out there, and not conforming with
545
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
546
+
547
+Please tell bug-automake@gnu.org about your system, including the value
548
+of your $PATH and any error possibly output before this message.  This
549
+can help us improve future automake versions.
550
+
551
+END
552
+  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
553
+    echo 'Configuration will proceed anyway, since you have set the' >&2
554
+    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
555
+    echo >&2
556
+  else
557
+    cat >&2 <<'END'
558
+Aborting the configuration process, to ensure you take notice of the issue.
559
+
560
+You can download and install GNU coreutils to get an 'rm' implementation
561
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
562
+
563
+If you want to complete the configuration process using your problematic
564
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
565
+to "yes", and re-run configure.
566
+
567
+END
568
+    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
569
+  fi
570
+fi])
533 571
 
534 572
 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
535 573
 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
... ...
@@ -537,7 +581,6 @@ dnl mangled by Autoconf and run in a shell conditional statement.
537 537
 m4_define([_AC_COMPILER_EXEEXT],
538 538
 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
539 539
 
540
-
541 540
 # When config.status generates a header, we must update the stamp-h file.
542 541
 # This file resides in the same directory as the config header
543 542
 # that is generated.  The stamp files are numbered to have different names.
... ...
@@ -559,7 +602,7 @@ for _am_header in $config_headers :; do
559 559
 done
560 560
 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
561 561
 
562
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
562
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
563 563
 #
564 564
 # This file is free software; the Free Software Foundation
565 565
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -580,7 +623,7 @@ if test x"${install_sh}" != xset; then
580 580
 fi
581 581
 AC_SUBST([install_sh])])
582 582
 
583
-# Copyright (C) 2003-2012 Free Software Foundation, Inc.
583
+# Copyright (C) 2003-2013 Free Software Foundation, Inc.
584 584
 #
585 585
 # This file is free software; the Free Software Foundation
586 586
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -601,7 +644,7 @@ AC_SUBST([am__leading_dot])])
601 601
 
602 602
 # Check to see how 'make' treats includes.	            -*- Autoconf -*-
603 603
 
604
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
604
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
605 605
 #
606 606
 # This file is free software; the Free Software Foundation
607 607
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -651,7 +694,7 @@ rm -f confinc confmf
651 651
 
652 652
 # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
653 653
 
654
-# Copyright (C) 1997-2012 Free Software Foundation, Inc.
654
+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
655 655
 #
656 656
 # This file is free software; the Free Software Foundation
657 657
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -666,8 +709,8 @@ AC_SUBST($1)])
666 666
 
667 667
 # AM_MISSING_HAS_RUN
668 668
 # ------------------
669
-# Define MISSING if not defined so far and test if it supports --run.
670
-# If it does, set am_missing_run to use it, otherwise, to nothing.
669
+# Define MISSING if not defined so far and test if it is modern enough.
670
+# If it is, set am_missing_run to use it, otherwise, to nothing.
671 671
 AC_DEFUN([AM_MISSING_HAS_RUN],
672 672
 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
673 673
 AC_REQUIRE_AUX_FILE([missing])dnl
... ...
@@ -680,8 +723,8 @@ if test x"${MISSING+set}" != xset; then
680 680
   esac
681 681
 fi
682 682
 # Use eval to expand $SHELL
683
-if eval "$MISSING --run true"; then
684
-  am_missing_run="$MISSING --run "
683
+if eval "$MISSING --is-lightweight"; then
684
+  am_missing_run="$MISSING "
685 685
 else
686 686
   am_missing_run=
687 687
   AC_MSG_WARN(['missing' script is too old or missing])
... ...
@@ -690,7 +733,7 @@ fi
690 690
 
691 691
 # Helper functions for option handling.                     -*- Autoconf -*-
692 692
 
693
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
693
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
694 694
 #
695 695
 # This file is free software; the Free Software Foundation
696 696
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -719,7 +762,54 @@ AC_DEFUN([_AM_SET_OPTIONS],
719 719
 AC_DEFUN([_AM_IF_OPTION],
720 720
 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
721 721
 
722
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
722
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
723
+#
724
+# This file is free software; the Free Software Foundation
725
+# gives unlimited permission to copy and/or distribute it,
726
+# with or without modifications, as long as this notice is preserved.
727
+
728
+# _AM_PROG_CC_C_O
729
+# ---------------
730
+# Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC
731
+# to automatically call this.
732
+AC_DEFUN([_AM_PROG_CC_C_O],
733
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
734
+AC_REQUIRE_AUX_FILE([compile])dnl
735
+AC_LANG_PUSH([C])dnl
736
+AC_CACHE_CHECK(
737
+  [whether $CC understands -c and -o together],
738
+  [am_cv_prog_cc_c_o],
739
+  [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
740
+  # Make sure it works both with $CC and with simple cc.
741
+  # Following AC_PROG_CC_C_O, we do the test twice because some
742
+  # compilers refuse to overwrite an existing .o file with -o,
743
+  # though they will create one.
744
+  am_cv_prog_cc_c_o=yes
745
+  for am_i in 1 2; do
746
+    if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
747
+         && test -f conftest2.$ac_objext; then
748
+      : OK
749
+    else
750
+      am_cv_prog_cc_c_o=no
751
+      break
752
+    fi
753
+  done
754
+  rm -f core conftest*
755
+  unset am_i])
756
+if test "$am_cv_prog_cc_c_o" != yes; then
757
+   # Losing compiler, so override with the script.
758
+   # FIXME: It is wrong to rewrite CC.
759
+   # But if we don't then we get into trouble of one sort or another.
760
+   # A longer-term fix would be to have automake use am__CC in this case,
761
+   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
762
+   CC="$am_aux_dir/compile $CC"
763
+fi
764
+AC_LANG_POP([C])])
765
+
766
+# For backward compatibility.
767
+AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
768
+
769
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
723 770
 #
724 771
 # This file is free software; the Free Software Foundation
725 772
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -738,7 +828,7 @@ AC_DEFUN([AM_RUN_LOG],
738 738
 
739 739
 # Check to make sure that the build environment is sane.    -*- Autoconf -*-
740 740
 
741
-# Copyright (C) 1996-2012 Free Software Foundation, Inc.
741
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
742 742
 #
743 743
 # This file is free software; the Free Software Foundation
744 744
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -819,7 +909,7 @@ AC_CONFIG_COMMANDS_PRE(
819 819
 rm -f conftest.file
820 820
 ])
821 821
 
822
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
822
+# Copyright (C) 2009-2013 Free Software Foundation, Inc.
823 823
 #
824 824
 # This file is free software; the Free Software Foundation
825 825
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -879,7 +969,7 @@ AC_SUBST([AM_BACKSLASH])dnl
879 879
 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
880 880
 ])
881 881
 
882
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
882
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
883 883
 #
884 884
 # This file is free software; the Free Software Foundation
885 885
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -907,7 +997,7 @@ fi
907 907
 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
908 908
 AC_SUBST([INSTALL_STRIP_PROGRAM])])
909 909
 
910
-# Copyright (C) 2006-2012 Free Software Foundation, Inc.
910
+# Copyright (C) 2006-2013 Free Software Foundation, Inc.
911 911
 #
912 912
 # This file is free software; the Free Software Foundation
913 913
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -926,7 +1016,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
926 926
 
927 927
 # Check how to create a tarball.                            -*- Autoconf -*-
928 928
 
929
-# Copyright (C) 2004-2012 Free Software Foundation, Inc.
929
+# Copyright (C) 2004-2013 Free Software Foundation, Inc.
930 930
 #
931 931
 # This file is free software; the Free Software Foundation
932 932
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -945,76 +1035,114 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
945 945
 # Substitute a variable $(am__untar) that extract such
946 946
 # a tarball read from stdin.
947 947
 #     $(am__untar) < result.tar
948
+#
948 949
 AC_DEFUN([_AM_PROG_TAR],
949 950
 [# Always define AMTAR for backward compatibility.  Yes, it's still used
950 951
 # in the wild :-(  We should find a proper way to deprecate it ...
951 952
 AC_SUBST([AMTAR], ['$${TAR-tar}'])
952
-m4_if([$1], [v7],
953
-     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
954
-     [m4_case([$1], [ustar],, [pax],,
955
-              [m4_fatal([Unknown tar format])])
956
-AC_MSG_CHECKING([how to create a $1 tar archive])
957
-# Loop over all known methods to create a tar archive until one works.
953
+
954
+# We'll loop over all known methods to create a tar archive until one works.
958 955
 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
959
-_am_tools=${am_cv_prog_tar_$1-$_am_tools}
960
-# Do not fold the above two line into one, because Tru64 sh and
961
-# Solaris sh will not grok spaces in the rhs of '-'.
962
-for _am_tool in $_am_tools
963
-do
964
-  case $_am_tool in
965
-  gnutar)
966
-    for _am_tar in tar gnutar gtar;
967
-    do
968
-      AM_RUN_LOG([$_am_tar --version]) && break
969
-    done
970
-    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
971
-    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
972
-    am__untar="$_am_tar -xf -"
973
-    ;;
974
-  plaintar)
975
-    # Must skip GNU tar: if it does not support --format= it doesn't create
976
-    # ustar tarball either.
977
-    (tar --version) >/dev/null 2>&1 && continue
978
-    am__tar='tar chf - "$$tardir"'
979
-    am__tar_='tar chf - "$tardir"'
980
-    am__untar='tar xf -'
981
-    ;;
982
-  pax)
983
-    am__tar='pax -L -x $1 -w "$$tardir"'
984
-    am__tar_='pax -L -x $1 -w "$tardir"'
985
-    am__untar='pax -r'
986
-    ;;
987
-  cpio)
988
-    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
989
-    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
990
-    am__untar='cpio -i -H $1 -d'
991
-    ;;
992
-  none)
993
-    am__tar=false
994
-    am__tar_=false
995
-    am__untar=false
996
-    ;;
997
-  esac
998 956
 
999
-  # If the value was cached, stop now.  We just wanted to have am__tar
1000
-  # and am__untar set.
1001
-  test -n "${am_cv_prog_tar_$1}" && break
957
+m4_if([$1], [v7],
958
+  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
959
+
960
+  [m4_case([$1],
961
+    [ustar],
962
+     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
963
+      # There is notably a 21 bits limit for the UID and the GID.  In fact,
964
+      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
965
+      # and bug#13588).
966
+      am_max_uid=2097151 # 2^21 - 1
967
+      am_max_gid=$am_max_uid
968
+      # The $UID and $GID variables are not portable, so we need to resort
969
+      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
970
+      # below are definitely unexpected, so allow the users to see them
971
+      # (that is, avoid stderr redirection).
972
+      am_uid=`id -u || echo unknown`
973
+      am_gid=`id -g || echo unknown`
974
+      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
975
+      if test $am_uid -le $am_max_uid; then
976
+         AC_MSG_RESULT([yes])
977
+      else
978
+         AC_MSG_RESULT([no])
979
+         _am_tools=none
980
+      fi
981
+      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
982
+      if test $am_gid -le $am_max_gid; then
983
+         AC_MSG_RESULT([yes])
984
+      else
985
+        AC_MSG_RESULT([no])
986
+        _am_tools=none
987
+      fi],
988
+
989
+  [pax],
990
+    [],
991
+
992
+  [m4_fatal([Unknown tar format])])
993
+
994
+  AC_MSG_CHECKING([how to create a $1 tar archive])
995
+
996
+  # Go ahead even if we have the value already cached.  We do so because we
997
+  # need to set the values for the 'am__tar' and 'am__untar' variables.
998
+  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
999
+
1000
+  for _am_tool in $_am_tools; do
1001
+    case $_am_tool in
1002
+    gnutar)
1003
+      for _am_tar in tar gnutar gtar; do
1004
+        AM_RUN_LOG([$_am_tar --version]) && break
1005
+      done
1006
+      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1007
+      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1008
+      am__untar="$_am_tar -xf -"
1009
+      ;;
1010
+    plaintar)
1011
+      # Must skip GNU tar: if it does not support --format= it doesn't create
1012
+      # ustar tarball either.
1013
+      (tar --version) >/dev/null 2>&1 && continue
1014
+      am__tar='tar chf - "$$tardir"'
1015
+      am__tar_='tar chf - "$tardir"'
1016
+      am__untar='tar xf -'
1017
+      ;;
1018
+    pax)
1019
+      am__tar='pax -L -x $1 -w "$$tardir"'
1020
+      am__tar_='pax -L -x $1 -w "$tardir"'
1021
+      am__untar='pax -r'
1022
+      ;;
1023
+    cpio)
1024
+      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1025
+      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1026
+      am__untar='cpio -i -H $1 -d'
1027
+      ;;
1028
+    none)
1029
+      am__tar=false
1030
+      am__tar_=false
1031
+      am__untar=false
1032
+      ;;
1033
+    esac
1002 1034
 
1003
-  # tar/untar a dummy directory, and stop if the command works
1004
-  rm -rf conftest.dir
1005
-  mkdir conftest.dir
1006
-  echo GrepMe > conftest.dir/file
1007
-  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1035
+    # If the value was cached, stop now.  We just wanted to have am__tar
1036
+    # and am__untar set.
1037
+    test -n "${am_cv_prog_tar_$1}" && break
1038
+
1039
+    # tar/untar a dummy directory, and stop if the command works.
1040
+    rm -rf conftest.dir
1041
+    mkdir conftest.dir
1042
+    echo GrepMe > conftest.dir/file
1043
+    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1044
+    rm -rf conftest.dir
1045
+    if test -s conftest.tar; then
1046
+      AM_RUN_LOG([$am__untar <conftest.tar])
1047
+      AM_RUN_LOG([cat conftest.dir/file])
1048
+      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1049
+    fi
1050
+  done
1008 1051
   rm -rf conftest.dir
1009
-  if test -s conftest.tar; then
1010
-    AM_RUN_LOG([$am__untar <conftest.tar])
1011
-    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1012
-  fi
1013
-done
1014
-rm -rf conftest.dir
1015 1052
 
1016
-AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1017
-AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1053
+  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1054
+  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1055
+
1018 1056
 AC_SUBST([am__tar])
1019 1057
 AC_SUBST([am__untar])
1020 1058
 ]) # _AM_PROG_TAR
... ...
@@ -1,7 +1,7 @@
1
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14 from Makefile.am.
2 2
 # @configure_input@
3 3
 
4
-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
4
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5 5
 
6 6
 # This Makefile.in is free software; the Free Software Foundation
7 7
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -33,23 +33,51 @@
33 33
 #  MA 02110-1301, USA.
34 34
 
35 35
 VPATH = @srcdir@
36
-am__make_dryrun = \
37
-  { \
38
-    am__dry=no; \
36
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
37
+am__make_running_with_option = \
38
+  case $${target_option-} in \
39
+      ?) ;; \
40
+      *) echo "am__make_running_with_option: internal error: invalid" \
41
+              "target option '$${target_option-}' specified" >&2; \
42
+         exit 1;; \
43
+  esac; \
44
+  has_opt=no; \
45
+  sane_makeflags=$$MAKEFLAGS; \
46
+  if $(am__is_gnu_make); then \
47
+    sane_makeflags=$$MFLAGS; \
48
+  else \
39 49
     case $$MAKEFLAGS in \
40 50
       *\\[\ \	]*) \
41
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
42
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
43
-      *) \
44
-        for am__flg in $$MAKEFLAGS; do \
45
-          case $$am__flg in \
46
-            *=*|--*) ;; \
47
-            *n*) am__dry=yes; break;; \
48
-          esac; \
49
-        done;; \
51
+        bs=\\; \
52
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
53
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
50 54
     esac; \
51
-    test $$am__dry = yes; \
52
-  }
55
+  fi; \
56
+  skip_next=no; \
57
+  strip_trailopt () \
58
+  { \
59
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
60
+  }; \
61
+  for flg in $$sane_makeflags; do \
62
+    test $$skip_next = yes && { skip_next=no; continue; }; \
63
+    case $$flg in \
64
+      *=*|--*) continue;; \
65
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
66
+      -*I?*) strip_trailopt 'I';; \
67
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
68
+      -*O?*) strip_trailopt 'O';; \
69
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
70
+      -*l?*) strip_trailopt 'l';; \
71
+      -[dEDm]) skip_next=yes;; \
72
+      -[JT]) skip_next=yes;; \
73
+    esac; \
74
+    case $$flg in \
75
+      *$$target_option*) has_opt=yes; break;; \
76
+    esac; \
77
+  done; \
78
+  test $$has_opt = yes
79
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
80
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
53 81
 pkgdatadir = $(datadir)/@PACKAGE@
54 82
 pkgincludedir = $(includedir)/@PACKAGE@
55 83
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -72,7 +100,7 @@ target_triplet = @target@
72 72
 @BUILD_CLAMD_TRUE@@HAVE_MILTER_TRUE@sbin_PROGRAMS =  \
73 73
 @BUILD_CLAMD_TRUE@@HAVE_MILTER_TRUE@	clamav-milter$(EXEEXT)
74 74
 subdir = clamav-milter
75
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
75
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
76 76
 	$(top_srcdir)/config/depcomp
77 77
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
78 78
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
... ...
@@ -243,6 +271,23 @@ am__uninstall_files_from_dir = { \
243 243
 man8dir = $(mandir)/man8
244 244
 NROFF = nroff
245 245
 MANS = $(man_MANS)
246
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
247
+# Read a list of newline-separated strings from the standard input,
248
+# and print each of them once, without duplicates.  Input order is
249
+# *not* preserved.
250
+am__uniquify_input = $(AWK) '\
251
+  BEGIN { nonempty = 0; } \
252
+  { items[$$0] = 1; nonempty = 1; } \
253
+  END { if (nonempty) { for (i in items) print i; }; } \
254
+'
255
+# Make sure the list of sources is unique.  This is necessary because,
256
+# e.g., the same source file might be shared among _SOURCES variables
257
+# for different programs/libraries.
258
+am__define_uniq_tagged_files = \
259
+  list='$(am__tagged_files)'; \
260
+  unique=`for i in $$list; do \
261
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
262
+  done | $(am__uniquify_input)`
246 263
 ETAGS = etags
247 264
 CTAGS = ctags
248 265
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -504,10 +549,12 @@ install-sbinPROGRAMS: $(sbin_PROGRAMS)
504 504
 	fi; \
505 505
 	for p in $$list; do echo "$$p $$p"; done | \
506 506
 	sed 's/$(EXEEXT)$$//' | \
507
-	while read p p1; do if test -f $$p || test -f $$p1; \
508
-	  then echo "$$p"; echo "$$p"; else :; fi; \
507
+	while read p p1; do if test -f $$p \
508
+	 || test -f $$p1 \
509
+	  ; then echo "$$p"; echo "$$p"; else :; fi; \
509 510
 	done | \
510
-	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
511
+	sed -e 'p;s,.*/,,;n;h' \
512
+	    -e 's|.*|.|' \
511 513
 	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
512 514
 	sed 'N;N;N;s,\n, ,g' | \
513 515
 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
... ...
@@ -528,7 +575,8 @@ uninstall-sbinPROGRAMS:
528 528
 	@list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
529 529
 	files=`for p in $$list; do echo "$$p"; done | \
530 530
 	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
531
-	      -e 's/$$/$(EXEEXT)/' `; \
531
+	      -e 's/$$/$(EXEEXT)/' \
532
+	`; \
532 533
 	test -n "$$list" || exit 0; \
533 534
 	echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
534 535
 	cd "$(DESTDIR)$(sbindir)" && rm -f $$files
... ...
@@ -557,6 +605,7 @@ installcheck-sbinPROGRAMS: $(sbin_PROGRAMS)
557 557
 	    else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \
558 558
 	  done; \
559 559
 	done; rm -f c$${pid}_.???; exit $$bad
560
+
560 561
 clamav-milter$(EXEEXT): $(clamav_milter_OBJECTS) $(clamav_milter_DEPENDENCIES) $(EXTRA_clamav_milter_DEPENDENCIES) 
561 562
 	@rm -f clamav-milter$(EXEEXT)
562 563
 	$(AM_V_CCLD)$(LINK) $(clamav_milter_OBJECTS) $(clamav_milter_LDADD) $(LIBS)
... ...
@@ -582,14 +631,14 @@ distclean-compile:
582 582
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
583 583
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
584 584
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
585
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
585
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
586 586
 
587 587
 .c.obj:
588 588
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
589 589
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
590 590
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
591 591
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
592
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
592
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
593 593
 
594 594
 .c.lo:
595 595
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -703,26 +752,15 @@ uninstall-man8:
703 703
 	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
704 704
 	dir='$(DESTDIR)$(man8dir)'; $(am__uninstall_files_from_dir)
705 705
 
706
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
707
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
708
-	unique=`for i in $$list; do \
709
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
710
-	  done | \
711
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
712
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
713
-	mkid -fID $$unique
714
-tags: TAGS
715
-
716
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
717
-		$(TAGS_FILES) $(LISP)
706
+ID: $(am__tagged_files)
707
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
708
+tags: tags-am
709
+TAGS: tags
710
+
711
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
718 712
 	set x; \
719 713
 	here=`pwd`; \
720
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
721
-	unique=`for i in $$list; do \
722
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
723
-	  done | \
724
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
725
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
714
+	$(am__define_uniq_tagged_files); \
726 715
 	shift; \
727 716
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
728 717
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -734,15 +772,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
734 734
 	      $$unique; \
735 735
 	  fi; \
736 736
 	fi
737
-ctags: CTAGS
738
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
739
-		$(TAGS_FILES) $(LISP)
740
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
741
-	unique=`for i in $$list; do \
742
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
743
-	  done | \
744
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
745
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
737
+ctags: ctags-am
738
+
739
+CTAGS: ctags
740
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
741
+	$(am__define_uniq_tagged_files); \
746 742
 	test -z "$(CTAGS_ARGS)$$unique" \
747 743
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
748 744
 	     $$unique
... ...
@@ -751,9 +785,10 @@ GTAGS:
751 751
 	here=`$(am__cd) $(top_builddir) && pwd` \
752 752
 	  && $(am__cd) $(top_srcdir) \
753 753
 	  && gtags -i $(GTAGS_ARGS) "$$here"
754
+cscopelist: cscopelist-am
754 755
 
755
-cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
756
-	list='$(SOURCES) $(HEADERS) $(LISP)'; \
756
+cscopelist-am: $(am__tagged_files)
757
+	list='$(am__tagged_files)'; \
757 758
 	case "$(srcdir)" in \
758 759
 	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
759 760
 	  *) sdir=$(subdir)/$(srcdir) ;; \
... ...
@@ -770,19 +805,6 @@ distclean-tags:
770 770
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
771 771
 
772 772
 distdir: $(DISTFILES)
773
-	@list='$(MANS)'; if test -n "$$list"; then \
774
-	  list=`for p in $$list; do \
775
-	    if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
776
-	    if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
777
-	  if test -n "$$list" && \
778
-	    grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
779
-	    echo "error: found man pages containing the 'missing help2man' replacement text:" >&2; \
780
-	    grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/         /' >&2; \
781
-	    echo "       to fix them, install help2man, remove and regenerate the man pages;" >&2; \
782
-	    echo "       typically 'make maintainer-clean' will remove them" >&2; \
783
-	    exit 1; \
784
-	  else :; fi; \
785
-	else :; fi
786 773
 	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
787 774
 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
788 775
 	list='$(DISTFILES)'; \
... ...
@@ -925,19 +947,20 @@ uninstall-man: uninstall-man8
925 925
 
926 926
 .MAKE: install-am install-strip
927 927
 
928
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
929
-	clean-libtool clean-sbinPROGRAMS cscopelist ctags distclean \
930
-	distclean-compile distclean-generic distclean-libtool \
931
-	distclean-tags distdir dvi dvi-am html html-am info info-am \
932
-	install install-am install-data install-data-am install-dvi \
933
-	install-dvi-am install-exec install-exec-am install-html \
934
-	install-html-am install-info install-info-am install-man \
935
-	install-man8 install-pdf install-pdf-am install-ps \
936
-	install-ps-am install-sbinPROGRAMS install-strip installcheck \
937
-	installcheck-am installcheck-sbinPROGRAMS installdirs \
938
-	maintainer-clean maintainer-clean-generic mostlyclean \
939
-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
940
-	pdf pdf-am ps ps-am tags uninstall uninstall-am uninstall-man \
928
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
929
+	clean-libtool clean-sbinPROGRAMS cscopelist-am ctags ctags-am \
930
+	distclean distclean-compile distclean-generic \
931
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
932
+	html-am info info-am install install-am install-data \
933
+	install-data-am install-dvi install-dvi-am install-exec \
934
+	install-exec-am install-html install-html-am install-info \
935
+	install-info-am install-man install-man8 install-pdf \
936
+	install-pdf-am install-ps install-ps-am install-sbinPROGRAMS \
937
+	install-strip installcheck installcheck-am \
938
+	installcheck-sbinPROGRAMS installdirs maintainer-clean \
939
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
940
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
941
+	tags tags-am uninstall uninstall-am uninstall-man \
941 942
 	uninstall-man8 uninstall-sbinPROGRAMS
942 943
 
943 944
 
... ...
@@ -1,7 +1,7 @@
1
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14 from Makefile.am.
2 2
 # @configure_input@
3 3
 
4
-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
4
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5 5
 
6 6
 # This Makefile.in is free software; the Free Software Foundation
7 7
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -15,23 +15,51 @@
15 15
 @SET_MAKE@
16 16
 
17 17
 VPATH = @srcdir@
18
-am__make_dryrun = \
19
-  { \
20
-    am__dry=no; \
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 \
21 31
     case $$MAKEFLAGS in \
22 32
       *\\[\ \	]*) \
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;; \
33
+        bs=\\; \
34
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
35
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
36
+    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;; \
32 58
     esac; \
33
-    test $$am__dry = yes; \
34
-  }
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))
35 63
 pkgdatadir = $(datadir)/@PACKAGE@
36 64
 pkgincludedir = $(includedir)/@PACKAGE@
37 65
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -53,7 +81,7 @@ host_triplet = @host@
53 53
 target_triplet = @target@
54 54
 bin_PROGRAMS = clambc$(EXEEXT)
55 55
 subdir = clambc
56
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
56
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
57 57
 	$(top_srcdir)/config/depcomp
58 58
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
59 59
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
... ...
@@ -179,6 +207,23 @@ am__can_run_installinfo = \
179 179
     n|no|NO) false;; \
180 180
     *) (install-info --version) >/dev/null 2>&1;; \
181 181
   esac
182
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
183
+# Read a list of newline-separated strings from the standard input,
184
+# and print each of them once, without duplicates.  Input order is
185
+# *not* preserved.
186
+am__uniquify_input = $(AWK) '\
187
+  BEGIN { nonempty = 0; } \
188
+  { items[$$0] = 1; nonempty = 1; } \
189
+  END { if (nonempty) { for (i in items) print i; }; } \
190
+'
191
+# Make sure the list of sources is unique.  This is necessary because,
192
+# e.g., the same source file might be shared among _SOURCES variables
193
+# for different programs/libraries.
194
+am__define_uniq_tagged_files = \
195
+  list='$(am__tagged_files)'; \
196
+  unique=`for i in $$list; do \
197
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
198
+  done | $(am__uniquify_input)`
182 199
 ETAGS = etags
183 200
 CTAGS = ctags
184 201
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -429,10 +474,12 @@ install-binPROGRAMS: $(bin_PROGRAMS)
429 429
 	fi; \
430 430
 	for p in $$list; do echo "$$p $$p"; done | \
431 431
 	sed 's/$(EXEEXT)$$//' | \
432
-	while read p p1; do if test -f $$p || test -f $$p1; \
433
-	  then echo "$$p"; echo "$$p"; else :; fi; \
432
+	while read p p1; do if test -f $$p \
433
+	 || test -f $$p1 \
434
+	  ; then echo "$$p"; echo "$$p"; else :; fi; \
434 435
 	done | \
435
-	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
436
+	sed -e 'p;s,.*/,,;n;h' \
437
+	    -e 's|.*|.|' \
436 438
 	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
437 439
 	sed 'N;N;N;s,\n, ,g' | \
438 440
 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
... ...
@@ -453,7 +500,8 @@ uninstall-binPROGRAMS:
453 453
 	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
454 454
 	files=`for p in $$list; do echo "$$p"; done | \
455 455
 	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
456
-	      -e 's/$$/$(EXEEXT)/' `; \
456
+	      -e 's/$$/$(EXEEXT)/' \
457
+	`; \
457 458
 	test -n "$$list" || exit 0; \
458 459
 	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
459 460
 	cd "$(DESTDIR)$(bindir)" && rm -f $$files
... ...
@@ -482,6 +530,7 @@ installcheck-binPROGRAMS: $(bin_PROGRAMS)
482 482
 	    else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \
483 483
 	  done; \
484 484
 	done; rm -f c$${pid}_.???; exit $$bad
485
+
485 486
 clambc$(EXEEXT): $(clambc_OBJECTS) $(clambc_DEPENDENCIES) $(EXTRA_clambc_DEPENDENCIES) 
486 487
 	@rm -f clambc$(EXEEXT)
487 488
 	$(AM_V_CCLD)$(LINK) $(clambc_OBJECTS) $(clambc_LDADD) $(LIBS)
... ...
@@ -502,14 +551,14 @@ distclean-compile:
502 502
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
503 503
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
504 504
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
505
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
505
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
506 506
 
507 507
 .c.obj:
508 508
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
509 509
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
510 510
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
511 511
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
512
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
512
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
513 513
 
514 514
 .c.lo:
515 515
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -566,26 +615,15 @@ mostlyclean-libtool:
566 566
 clean-libtool:
567 567
 	-rm -rf .libs _libs
568 568
 
569
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
570
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
571
-	unique=`for i in $$list; do \
572
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
573
-	  done | \
574
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
575
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
576
-	mkid -fID $$unique
577
-tags: TAGS
578
-
579
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
580
-		$(TAGS_FILES) $(LISP)
569
+ID: $(am__tagged_files)
570
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
571
+tags: tags-am
572
+TAGS: tags
573
+
574
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
581 575
 	set x; \
582 576
 	here=`pwd`; \
583
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
584
-	unique=`for i in $$list; do \
585
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
586
-	  done | \
587
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
588
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
577
+	$(am__define_uniq_tagged_files); \
589 578
 	shift; \
590 579
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
591 580
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -597,15 +635,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
597 597
 	      $$unique; \
598 598
 	  fi; \
599 599
 	fi
600
-ctags: CTAGS
601
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
602
-		$(TAGS_FILES) $(LISP)
603
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
604
-	unique=`for i in $$list; do \
605
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
606
-	  done | \
607
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
608
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
600
+ctags: ctags-am
601
+
602
+CTAGS: ctags
603
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
604
+	$(am__define_uniq_tagged_files); \
609 605
 	test -z "$(CTAGS_ARGS)$$unique" \
610 606
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
611 607
 	     $$unique
... ...
@@ -614,9 +648,10 @@ GTAGS:
614 614
 	here=`$(am__cd) $(top_builddir) && pwd` \
615 615
 	  && $(am__cd) $(top_srcdir) \
616 616
 	  && gtags -i $(GTAGS_ARGS) "$$here"
617
+cscopelist: cscopelist-am
617 618
 
618
-cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
619
-	list='$(SOURCES) $(HEADERS) $(LISP)'; \
619
+cscopelist-am: $(am__tagged_files)
620
+	list='$(am__tagged_files)'; \
620 621
 	case "$(srcdir)" in \
621 622
 	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
622 623
 	  *) sdir=$(subdir)/$(srcdir) ;; \
... ...
@@ -772,20 +807,20 @@ uninstall-am: uninstall-binPROGRAMS
772 772
 
773 773
 .MAKE: install-am install-strip
774 774
 
775
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
776
-	clean-generic clean-libtool cscopelist ctags distclean \
777
-	distclean-compile distclean-generic distclean-libtool \
778
-	distclean-tags distdir dvi dvi-am html html-am info info-am \
779
-	install install-am install-binPROGRAMS install-data \
780
-	install-data-am install-dvi install-dvi-am install-exec \
781
-	install-exec-am install-html install-html-am install-info \
782
-	install-info-am install-man install-pdf install-pdf-am \
783
-	install-ps install-ps-am install-strip installcheck \
784
-	installcheck-am installcheck-binPROGRAMS installdirs \
785
-	maintainer-clean maintainer-clean-generic mostlyclean \
786
-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
787
-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
788
-	uninstall-binPROGRAMS
775
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
776
+	clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
777
+	ctags ctags-am distclean distclean-compile distclean-generic \
778
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
779
+	html-am info info-am install install-am install-binPROGRAMS \
780
+	install-data install-data-am install-dvi install-dvi-am \
781
+	install-exec install-exec-am install-html install-html-am \
782
+	install-info install-info-am install-man install-pdf \
783
+	install-pdf-am install-ps install-ps-am install-strip \
784
+	installcheck installcheck-am installcheck-binPROGRAMS \
785
+	installdirs maintainer-clean maintainer-clean-generic \
786
+	mostlyclean mostlyclean-compile mostlyclean-generic \
787
+	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
788
+	uninstall-am uninstall-binPROGRAMS
789 789
 
790 790
 
791 791
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
@@ -1,7 +1,7 @@
1
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14 from Makefile.am.
2 2
 # @configure_input@
3 3
 
4
-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
4
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5 5
 
6 6
 # This Makefile.in is free software; the Free Software Foundation
7 7
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -33,23 +33,51 @@
33 33
 #  MA 02110-1301, USA.
34 34
 
35 35
 VPATH = @srcdir@
36
-am__make_dryrun = \
37
-  { \
38
-    am__dry=no; \
36
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
37
+am__make_running_with_option = \
38
+  case $${target_option-} in \
39
+      ?) ;; \
40
+      *) echo "am__make_running_with_option: internal error: invalid" \
41
+              "target option '$${target_option-}' specified" >&2; \
42
+         exit 1;; \
43
+  esac; \
44
+  has_opt=no; \
45
+  sane_makeflags=$$MAKEFLAGS; \
46
+  if $(am__is_gnu_make); then \
47
+    sane_makeflags=$$MFLAGS; \
48
+  else \
39 49
     case $$MAKEFLAGS in \
40 50
       *\\[\ \	]*) \
41
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
42
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
43
-      *) \
44
-        for am__flg in $$MAKEFLAGS; do \
45
-          case $$am__flg in \
46
-            *=*|--*) ;; \
47
-            *n*) am__dry=yes; break;; \
48
-          esac; \
49
-        done;; \
51
+        bs=\\; \
52
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
53
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
54
+    esac; \
55
+  fi; \
56
+  skip_next=no; \
57
+  strip_trailopt () \
58
+  { \
59
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
60
+  }; \
61
+  for flg in $$sane_makeflags; do \
62
+    test $$skip_next = yes && { skip_next=no; continue; }; \
63
+    case $$flg in \
64
+      *=*|--*) continue;; \
65
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
66
+      -*I?*) strip_trailopt 'I';; \
67
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
68
+      -*O?*) strip_trailopt 'O';; \
69
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
70
+      -*l?*) strip_trailopt 'l';; \
71
+      -[dEDm]) skip_next=yes;; \
72
+      -[JT]) skip_next=yes;; \
73
+    esac; \
74
+    case $$flg in \
75
+      *$$target_option*) has_opt=yes; break;; \
50 76
     esac; \
51
-    test $$am__dry = yes; \
52
-  }
77
+  done; \
78
+  test $$has_opt = yes
79
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
80
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
53 81
 pkgdatadir = $(datadir)/@PACKAGE@
54 82
 pkgincludedir = $(includedir)/@PACKAGE@
55 83
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -71,7 +99,7 @@ host_triplet = @host@
71 71
 target_triplet = @target@
72 72
 bin_PROGRAMS = clamconf$(EXEEXT)
73 73
 subdir = clamconf
74
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
74
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
75 75
 	$(top_srcdir)/config/depcomp
76 76
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
77 77
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
... ...
@@ -197,6 +225,23 @@ am__can_run_installinfo = \
197 197
     n|no|NO) false;; \
198 198
     *) (install-info --version) >/dev/null 2>&1;; \
199 199
   esac
200
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
201
+# Read a list of newline-separated strings from the standard input,
202
+# and print each of them once, without duplicates.  Input order is
203
+# *not* preserved.
204
+am__uniquify_input = $(AWK) '\
205
+  BEGIN { nonempty = 0; } \
206
+  { items[$$0] = 1; nonempty = 1; } \
207
+  END { if (nonempty) { for (i in items) print i; }; } \
208
+'
209
+# Make sure the list of sources is unique.  This is necessary because,
210
+# e.g., the same source file might be shared among _SOURCES variables
211
+# for different programs/libraries.
212
+am__define_uniq_tagged_files = \
213
+  list='$(am__tagged_files)'; \
214
+  unique=`for i in $$list; do \
215
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
216
+  done | $(am__uniquify_input)`
200 217
 ETAGS = etags
201 218
 CTAGS = ctags
202 219
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -452,10 +497,12 @@ install-binPROGRAMS: $(bin_PROGRAMS)
452 452
 	fi; \
453 453
 	for p in $$list; do echo "$$p $$p"; done | \
454 454
 	sed 's/$(EXEEXT)$$//' | \
455
-	while read p p1; do if test -f $$p || test -f $$p1; \
456
-	  then echo "$$p"; echo "$$p"; else :; fi; \
455
+	while read p p1; do if test -f $$p \
456
+	 || test -f $$p1 \
457
+	  ; then echo "$$p"; echo "$$p"; else :; fi; \
457 458
 	done | \
458
-	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
459
+	sed -e 'p;s,.*/,,;n;h' \
460
+	    -e 's|.*|.|' \
459 461
 	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
460 462
 	sed 'N;N;N;s,\n, ,g' | \
461 463
 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
... ...
@@ -476,7 +523,8 @@ uninstall-binPROGRAMS:
476 476
 	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
477 477
 	files=`for p in $$list; do echo "$$p"; done | \
478 478
 	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
479
-	      -e 's/$$/$(EXEEXT)/' `; \
479
+	      -e 's/$$/$(EXEEXT)/' \
480
+	`; \
480 481
 	test -n "$$list" || exit 0; \
481 482
 	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
482 483
 	cd "$(DESTDIR)$(bindir)" && rm -f $$files
... ...
@@ -505,6 +553,7 @@ installcheck-binPROGRAMS: $(bin_PROGRAMS)
505 505
 	    else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \
506 506
 	  done; \
507 507
 	done; rm -f c$${pid}_.???; exit $$bad
508
+
508 509
 clamconf$(EXEEXT): $(clamconf_OBJECTS) $(clamconf_DEPENDENCIES) $(EXTRA_clamconf_DEPENDENCIES) 
509 510
 	@rm -f clamconf$(EXEEXT)
510 511
 	$(AM_V_CCLD)$(LINK) $(clamconf_OBJECTS) $(clamconf_LDADD) $(LIBS)
... ...
@@ -525,14 +574,14 @@ distclean-compile:
525 525
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
526 526
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
527 527
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
528
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
528
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
529 529
 
530 530
 .c.obj:
531 531
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
532 532
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
533 533
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
534 534
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
535
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
535
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
536 536
 
537 537
 .c.lo:
538 538
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -589,26 +638,15 @@ mostlyclean-libtool:
589 589
 clean-libtool:
590 590
 	-rm -rf .libs _libs
591 591
 
592
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
593
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
594
-	unique=`for i in $$list; do \
595
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
596
-	  done | \
597
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
598
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
599
-	mkid -fID $$unique
600
-tags: TAGS
601
-
602
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
603
-		$(TAGS_FILES) $(LISP)
592
+ID: $(am__tagged_files)
593
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
594
+tags: tags-am
595
+TAGS: tags
596
+
597
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
604 598
 	set x; \
605 599
 	here=`pwd`; \
606
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
607
-	unique=`for i in $$list; do \
608
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
609
-	  done | \
610
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
611
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
600
+	$(am__define_uniq_tagged_files); \
612 601
 	shift; \
613 602
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
614 603
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -620,15 +658,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
620 620
 	      $$unique; \
621 621
 	  fi; \
622 622
 	fi
623
-ctags: CTAGS
624
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
625
-		$(TAGS_FILES) $(LISP)
626
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
627
-	unique=`for i in $$list; do \
628
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
629
-	  done | \
630
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
631
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
623
+ctags: ctags-am
624
+
625
+CTAGS: ctags
626
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
627
+	$(am__define_uniq_tagged_files); \
632 628
 	test -z "$(CTAGS_ARGS)$$unique" \
633 629
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
634 630
 	     $$unique
... ...
@@ -637,9 +671,10 @@ GTAGS:
637 637
 	here=`$(am__cd) $(top_builddir) && pwd` \
638 638
 	  && $(am__cd) $(top_srcdir) \
639 639
 	  && gtags -i $(GTAGS_ARGS) "$$here"
640
+cscopelist: cscopelist-am
640 641
 
641
-cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
642
-	list='$(SOURCES) $(HEADERS) $(LISP)'; \
642
+cscopelist-am: $(am__tagged_files)
643
+	list='$(am__tagged_files)'; \
643 644
 	case "$(srcdir)" in \
644 645
 	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
645 646
 	  *) sdir=$(subdir)/$(srcdir) ;; \
... ...
@@ -795,20 +830,20 @@ uninstall-am: uninstall-binPROGRAMS
795 795
 
796 796
 .MAKE: install-am install-strip
797 797
 
798
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
799
-	clean-generic clean-libtool cscopelist ctags distclean \
800
-	distclean-compile distclean-generic distclean-libtool \
801
-	distclean-tags distdir dvi dvi-am html html-am info info-am \
802
-	install install-am install-binPROGRAMS install-data \
803
-	install-data-am install-dvi install-dvi-am install-exec \
804
-	install-exec-am install-html install-html-am install-info \
805
-	install-info-am install-man install-pdf install-pdf-am \
806
-	install-ps install-ps-am install-strip installcheck \
807
-	installcheck-am installcheck-binPROGRAMS installdirs \
808
-	maintainer-clean maintainer-clean-generic mostlyclean \
809
-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
810
-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
811
-	uninstall-binPROGRAMS
798
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
799
+	clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
800
+	ctags ctags-am distclean distclean-compile distclean-generic \
801
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
802
+	html-am info info-am install install-am install-binPROGRAMS \
803
+	install-data install-data-am install-dvi install-dvi-am \
804
+	install-exec install-exec-am install-html install-html-am \
805
+	install-info install-info-am install-man install-pdf \
806
+	install-pdf-am install-ps install-ps-am install-strip \
807
+	installcheck installcheck-am installcheck-binPROGRAMS \
808
+	installdirs maintainer-clean maintainer-clean-generic \
809
+	mostlyclean mostlyclean-compile mostlyclean-generic \
810
+	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
811
+	uninstall-am uninstall-binPROGRAMS
812 812
 
813 813
 
814 814
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
@@ -1,7 +1,7 @@
1
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14 from Makefile.am.
2 2
 # @configure_input@
3 3
 
4
-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
4
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5 5
 
6 6
 # This Makefile.in is free software; the Free Software Foundation
7 7
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -33,23 +33,51 @@
33 33
 #  MA 02110-1301, USA.
34 34
 
35 35
 VPATH = @srcdir@
36
-am__make_dryrun = \
37
-  { \
38
-    am__dry=no; \
36
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
37
+am__make_running_with_option = \
38
+  case $${target_option-} in \
39
+      ?) ;; \
40
+      *) echo "am__make_running_with_option: internal error: invalid" \
41
+              "target option '$${target_option-}' specified" >&2; \
42
+         exit 1;; \
43
+  esac; \
44
+  has_opt=no; \
45
+  sane_makeflags=$$MAKEFLAGS; \
46
+  if $(am__is_gnu_make); then \
47
+    sane_makeflags=$$MFLAGS; \
48
+  else \
39 49
     case $$MAKEFLAGS in \
40 50
       *\\[\ \	]*) \
41
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
42
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
43
-      *) \
44
-        for am__flg in $$MAKEFLAGS; do \
45
-          case $$am__flg in \
46
-            *=*|--*) ;; \
47
-            *n*) am__dry=yes; break;; \
48
-          esac; \
49
-        done;; \
51
+        bs=\\; \
52
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
53
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
54
+    esac; \
55
+  fi; \
56
+  skip_next=no; \
57
+  strip_trailopt () \
58
+  { \
59
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
60
+  }; \
61
+  for flg in $$sane_makeflags; do \
62
+    test $$skip_next = yes && { skip_next=no; continue; }; \
63
+    case $$flg in \
64
+      *=*|--*) continue;; \
65
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
66
+      -*I?*) strip_trailopt 'I';; \
67
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
68
+      -*O?*) strip_trailopt 'O';; \
69
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
70
+      -*l?*) strip_trailopt 'l';; \
71
+      -[dEDm]) skip_next=yes;; \
72
+      -[JT]) skip_next=yes;; \
73
+    esac; \
74
+    case $$flg in \
75
+      *$$target_option*) has_opt=yes; break;; \
50 76
     esac; \
51
-    test $$am__dry = yes; \
52
-  }
77
+  done; \
78
+  test $$has_opt = yes
79
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
80
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
53 81
 pkgdatadir = $(datadir)/@PACKAGE@
54 82
 pkgincludedir = $(includedir)/@PACKAGE@
55 83
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -71,7 +99,7 @@ host_triplet = @host@
71 71
 target_triplet = @target@
72 72
 @BUILD_CLAMD_TRUE@sbin_PROGRAMS = clamd$(EXEEXT)
73 73
 subdir = clamd
74
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
74
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
75 75
 	$(top_srcdir)/config/depcomp
76 76
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
77 77
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
... ...
@@ -210,6 +238,23 @@ am__can_run_installinfo = \
210 210
     n|no|NO) false;; \
211 211
     *) (install-info --version) >/dev/null 2>&1;; \
212 212
   esac
213
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
214
+# Read a list of newline-separated strings from the standard input,
215
+# and print each of them once, without duplicates.  Input order is
216
+# *not* preserved.
217
+am__uniquify_input = $(AWK) '\
218
+  BEGIN { nonempty = 0; } \
219
+  { items[$$0] = 1; nonempty = 1; } \
220
+  END { if (nonempty) { for (i in items) print i; }; } \
221
+'
222
+# Make sure the list of sources is unique.  This is necessary because,
223
+# e.g., the same source file might be shared among _SOURCES variables
224
+# for different programs/libraries.
225
+am__define_uniq_tagged_files = \
226
+  list='$(am__tagged_files)'; \
227
+  unique=`for i in $$list; do \
228
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
229
+  done | $(am__uniquify_input)`
213 230
 ETAGS = etags
214 231
 CTAGS = ctags
215 232
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -483,10 +528,12 @@ install-sbinPROGRAMS: $(sbin_PROGRAMS)
483 483
 	fi; \
484 484
 	for p in $$list; do echo "$$p $$p"; done | \
485 485
 	sed 's/$(EXEEXT)$$//' | \
486
-	while read p p1; do if test -f $$p || test -f $$p1; \
487
-	  then echo "$$p"; echo "$$p"; else :; fi; \
486
+	while read p p1; do if test -f $$p \
487
+	 || test -f $$p1 \
488
+	  ; then echo "$$p"; echo "$$p"; else :; fi; \
488 489
 	done | \
489
-	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
490
+	sed -e 'p;s,.*/,,;n;h' \
491
+	    -e 's|.*|.|' \
490 492
 	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
491 493
 	sed 'N;N;N;s,\n, ,g' | \
492 494
 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
... ...
@@ -507,7 +554,8 @@ uninstall-sbinPROGRAMS:
507 507
 	@list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
508 508
 	files=`for p in $$list; do echo "$$p"; done | \
509 509
 	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
510
-	      -e 's/$$/$(EXEEXT)/' `; \
510
+	      -e 's/$$/$(EXEEXT)/' \
511
+	`; \
511 512
 	test -n "$$list" || exit 0; \
512 513
 	echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
513 514
 	cd "$(DESTDIR)$(sbindir)" && rm -f $$files
... ...
@@ -536,6 +584,7 @@ installcheck-sbinPROGRAMS: $(sbin_PROGRAMS)
536 536
 	    else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \
537 537
 	  done; \
538 538
 	done; rm -f c$${pid}_.???; exit $$bad
539
+
539 540
 clamd$(EXEEXT): $(clamd_OBJECTS) $(clamd_DEPENDENCIES) $(EXTRA_clamd_DEPENDENCIES) 
540 541
 	@rm -f clamd$(EXEEXT)
541 542
 	$(AM_V_CCLD)$(LINK) $(clamd_OBJECTS) $(clamd_LDADD) $(LIBS)
... ...
@@ -565,14 +614,14 @@ distclean-compile:
565 565
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
566 566
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
567 567
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
568
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
568
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
569 569
 
570 570
 .c.obj:
571 571
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
572 572
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
573 573
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
574 574
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
575
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
575
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
576 576
 
577 577
 .c.lo:
578 578
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -643,26 +692,15 @@ mostlyclean-libtool:
643 643
 clean-libtool:
644 644
 	-rm -rf .libs _libs
645 645
 
646
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
647
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
648
-	unique=`for i in $$list; do \
649
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
650
-	  done | \
651
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
652
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
653
-	mkid -fID $$unique
654
-tags: TAGS
655
-
656
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
657
-		$(TAGS_FILES) $(LISP)
646
+ID: $(am__tagged_files)
647
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
648
+tags: tags-am
649
+TAGS: tags
650
+
651
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
658 652
 	set x; \
659 653
 	here=`pwd`; \
660
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
661
-	unique=`for i in $$list; do \
662
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
663
-	  done | \
664
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
665
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
654
+	$(am__define_uniq_tagged_files); \
666 655
 	shift; \
667 656
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
668 657
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -674,15 +712,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
674 674
 	      $$unique; \
675 675
 	  fi; \
676 676
 	fi
677
-ctags: CTAGS
678
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
679
-		$(TAGS_FILES) $(LISP)
680
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
681
-	unique=`for i in $$list; do \
682
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
683
-	  done | \
684
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
685
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
677
+ctags: ctags-am
678
+
679
+CTAGS: ctags
680
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
681
+	$(am__define_uniq_tagged_files); \
686 682
 	test -z "$(CTAGS_ARGS)$$unique" \
687 683
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
688 684
 	     $$unique
... ...
@@ -691,9 +725,10 @@ GTAGS:
691 691
 	here=`$(am__cd) $(top_builddir) && pwd` \
692 692
 	  && $(am__cd) $(top_srcdir) \
693 693
 	  && gtags -i $(GTAGS_ARGS) "$$here"
694
+cscopelist: cscopelist-am
694 695
 
695
-cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
696
-	list='$(SOURCES) $(HEADERS) $(LISP)'; \
696
+cscopelist-am: $(am__tagged_files)
697
+	list='$(am__tagged_files)'; \
697 698
 	case "$(srcdir)" in \
698 699
 	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
699 700
 	  *) sdir=$(subdir)/$(srcdir) ;; \
... ...
@@ -850,20 +885,20 @@ uninstall-am: uninstall-sbinPROGRAMS
850 850
 
851 851
 .MAKE: install-am install-strip
852 852
 
853
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
854
-	clean-libtool clean-sbinPROGRAMS cscopelist ctags distclean \
855
-	distclean-compile distclean-generic distclean-libtool \
856
-	distclean-tags distdir dvi dvi-am html html-am info info-am \
857
-	install install-am install-data install-data-am install-dvi \
858
-	install-dvi-am install-exec install-exec-am install-html \
859
-	install-html-am install-info install-info-am install-man \
860
-	install-pdf install-pdf-am install-ps install-ps-am \
861
-	install-sbinPROGRAMS install-strip installcheck \
862
-	installcheck-am installcheck-sbinPROGRAMS installdirs \
863
-	maintainer-clean maintainer-clean-generic mostlyclean \
864
-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
865
-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
866
-	uninstall-sbinPROGRAMS
853
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
854
+	clean-libtool clean-sbinPROGRAMS cscopelist-am ctags ctags-am \
855
+	distclean distclean-compile distclean-generic \
856
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
857
+	html-am info info-am install install-am install-data \
858
+	install-data-am install-dvi install-dvi-am install-exec \
859
+	install-exec-am install-html install-html-am install-info \
860
+	install-info-am install-man install-pdf install-pdf-am \
861
+	install-ps install-ps-am install-sbinPROGRAMS install-strip \
862
+	installcheck installcheck-am installcheck-sbinPROGRAMS \
863
+	installdirs maintainer-clean maintainer-clean-generic \
864
+	mostlyclean mostlyclean-compile mostlyclean-generic \
865
+	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
866
+	uninstall-am uninstall-sbinPROGRAMS
867 867
 
868 868
 
869 869
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
@@ -1,7 +1,7 @@
1
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14 from Makefile.am.
2 2
 # @configure_input@
3 3
 
4
-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
4
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5 5
 
6 6
 # This Makefile.in is free software; the Free Software Foundation
7 7
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -33,23 +33,51 @@
33 33
 #  MA 02110-1301, USA.
34 34
 
35 35
 VPATH = @srcdir@
36
-am__make_dryrun = \
37
-  { \
38
-    am__dry=no; \
36
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
37
+am__make_running_with_option = \
38
+  case $${target_option-} in \
39
+      ?) ;; \
40
+      *) echo "am__make_running_with_option: internal error: invalid" \
41
+              "target option '$${target_option-}' specified" >&2; \
42
+         exit 1;; \
43
+  esac; \
44
+  has_opt=no; \
45
+  sane_makeflags=$$MAKEFLAGS; \
46
+  if $(am__is_gnu_make); then \
47
+    sane_makeflags=$$MFLAGS; \
48
+  else \
39 49
     case $$MAKEFLAGS in \
40 50
       *\\[\ \	]*) \
41
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
42
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
43
-      *) \
44
-        for am__flg in $$MAKEFLAGS; do \
45
-          case $$am__flg in \
46
-            *=*|--*) ;; \
47
-            *n*) am__dry=yes; break;; \
48
-          esac; \
49
-        done;; \
51
+        bs=\\; \
52
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
53
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
54
+    esac; \
55
+  fi; \
56
+  skip_next=no; \
57
+  strip_trailopt () \
58
+  { \
59
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
60
+  }; \
61
+  for flg in $$sane_makeflags; do \
62
+    test $$skip_next = yes && { skip_next=no; continue; }; \
63
+    case $$flg in \
64
+      *=*|--*) continue;; \
65
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
66
+      -*I?*) strip_trailopt 'I';; \
67
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
68
+      -*O?*) strip_trailopt 'O';; \
69
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
70
+      -*l?*) strip_trailopt 'l';; \
71
+      -[dEDm]) skip_next=yes;; \
72
+      -[JT]) skip_next=yes;; \
73
+    esac; \
74
+    case $$flg in \
75
+      *$$target_option*) has_opt=yes; break;; \
50 76
     esac; \
51
-    test $$am__dry = yes; \
52
-  }
77
+  done; \
78
+  test $$has_opt = yes
79
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
80
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
53 81
 pkgdatadir = $(datadir)/@PACKAGE@
54 82
 pkgincludedir = $(includedir)/@PACKAGE@
55 83
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -71,7 +99,7 @@ host_triplet = @host@
71 71
 target_triplet = @target@
72 72
 @BUILD_CLAMD_TRUE@bin_PROGRAMS = clamdscan$(EXEEXT)
73 73
 subdir = clamdscan
74
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
74
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
75 75
 	$(top_srcdir)/config/depcomp
76 76
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
77 77
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
... ...
@@ -208,6 +236,23 @@ am__can_run_installinfo = \
208 208
     n|no|NO) false;; \
209 209
     *) (install-info --version) >/dev/null 2>&1;; \
210 210
   esac
211
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
212
+# Read a list of newline-separated strings from the standard input,
213
+# and print each of them once, without duplicates.  Input order is
214
+# *not* preserved.
215
+am__uniquify_input = $(AWK) '\
216
+  BEGIN { nonempty = 0; } \
217
+  { items[$$0] = 1; nonempty = 1; } \
218
+  END { if (nonempty) { for (i in items) print i; }; } \
219
+'
220
+# Make sure the list of sources is unique.  This is necessary because,
221
+# e.g., the same source file might be shared among _SOURCES variables
222
+# for different programs/libraries.
223
+am__define_uniq_tagged_files = \
224
+  list='$(am__tagged_files)'; \
225
+  unique=`for i in $$list; do \
226
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
227
+  done | $(am__uniquify_input)`
211 228
 ETAGS = etags
212 229
 CTAGS = ctags
213 230
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -469,10 +514,12 @@ install-binPROGRAMS: $(bin_PROGRAMS)
469 469
 	fi; \
470 470
 	for p in $$list; do echo "$$p $$p"; done | \
471 471
 	sed 's/$(EXEEXT)$$//' | \
472
-	while read p p1; do if test -f $$p || test -f $$p1; \
473
-	  then echo "$$p"; echo "$$p"; else :; fi; \
472
+	while read p p1; do if test -f $$p \
473
+	 || test -f $$p1 \
474
+	  ; then echo "$$p"; echo "$$p"; else :; fi; \
474 475
 	done | \
475
-	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
476
+	sed -e 'p;s,.*/,,;n;h' \
477
+	    -e 's|.*|.|' \
476 478
 	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
477 479
 	sed 'N;N;N;s,\n, ,g' | \
478 480
 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
... ...
@@ -493,7 +540,8 @@ uninstall-binPROGRAMS:
493 493
 	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
494 494
 	files=`for p in $$list; do echo "$$p"; done | \
495 495
 	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
496
-	      -e 's/$$/$(EXEEXT)/' `; \
496
+	      -e 's/$$/$(EXEEXT)/' \
497
+	`; \
497 498
 	test -n "$$list" || exit 0; \
498 499
 	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
499 500
 	cd "$(DESTDIR)$(bindir)" && rm -f $$files
... ...
@@ -522,6 +570,7 @@ installcheck-binPROGRAMS: $(bin_PROGRAMS)
522 522
 	    else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \
523 523
 	  done; \
524 524
 	done; rm -f c$${pid}_.???; exit $$bad
525
+
525 526
 clamdscan$(EXEEXT): $(clamdscan_OBJECTS) $(clamdscan_DEPENDENCIES) $(EXTRA_clamdscan_DEPENDENCIES) 
526 527
 	@rm -f clamdscan$(EXEEXT)
527 528
 	$(AM_V_CCLD)$(LINK) $(clamdscan_OBJECTS) $(clamdscan_LDADD) $(LIBS)
... ...
@@ -547,14 +596,14 @@ distclean-compile:
547 547
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
548 548
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
549 549
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
550
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
550
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
551 551
 
552 552
 .c.obj:
553 553
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
554 554
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
555 555
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
556 556
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
557
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
557
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
558 558
 
559 559
 .c.lo:
560 560
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -653,26 +702,15 @@ mostlyclean-libtool:
653 653
 clean-libtool:
654 654
 	-rm -rf .libs _libs
655 655
 
656
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
657
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
658
-	unique=`for i in $$list; do \
659
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
660
-	  done | \
661
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
662
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
663
-	mkid -fID $$unique
664
-tags: TAGS
665
-
666
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
667
-		$(TAGS_FILES) $(LISP)
656
+ID: $(am__tagged_files)
657
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
658
+tags: tags-am
659
+TAGS: tags
660
+
661
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
668 662
 	set x; \
669 663
 	here=`pwd`; \
670
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
671
-	unique=`for i in $$list; do \
672
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
673
-	  done | \
674
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
675
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
664
+	$(am__define_uniq_tagged_files); \
676 665
 	shift; \
677 666
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
678 667
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -684,15 +722,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
684 684
 	      $$unique; \
685 685
 	  fi; \
686 686
 	fi
687
-ctags: CTAGS
688
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
689
-		$(TAGS_FILES) $(LISP)
690
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
691
-	unique=`for i in $$list; do \
692
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
693
-	  done | \
694
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
695
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
687
+ctags: ctags-am
688
+
689
+CTAGS: ctags
690
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
691
+	$(am__define_uniq_tagged_files); \
696 692
 	test -z "$(CTAGS_ARGS)$$unique" \
697 693
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
698 694
 	     $$unique
... ...
@@ -701,9 +735,10 @@ GTAGS:
701 701
 	here=`$(am__cd) $(top_builddir) && pwd` \
702 702
 	  && $(am__cd) $(top_srcdir) \
703 703
 	  && gtags -i $(GTAGS_ARGS) "$$here"
704
+cscopelist: cscopelist-am
704 705
 
705
-cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
706
-	list='$(SOURCES) $(HEADERS) $(LISP)'; \
706
+cscopelist-am: $(am__tagged_files)
707
+	list='$(am__tagged_files)'; \
707 708
 	case "$(srcdir)" in \
708 709
 	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
709 710
 	  *) sdir=$(subdir)/$(srcdir) ;; \
... ...
@@ -859,20 +894,20 @@ uninstall-am: uninstall-binPROGRAMS
859 859
 
860 860
 .MAKE: install-am install-strip
861 861
 
862
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
863
-	clean-generic clean-libtool cscopelist ctags distclean \
864
-	distclean-compile distclean-generic distclean-libtool \
865
-	distclean-tags distdir dvi dvi-am html html-am info info-am \
866
-	install install-am install-binPROGRAMS install-data \
867
-	install-data-am install-dvi install-dvi-am install-exec \
868
-	install-exec-am install-html install-html-am install-info \
869
-	install-info-am install-man install-pdf install-pdf-am \
870
-	install-ps install-ps-am install-strip installcheck \
871
-	installcheck-am installcheck-binPROGRAMS installdirs \
872
-	maintainer-clean maintainer-clean-generic mostlyclean \
873
-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
874
-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
875
-	uninstall-binPROGRAMS
862
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
863
+	clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
864
+	ctags ctags-am distclean distclean-compile distclean-generic \
865
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
866
+	html-am info info-am install install-am install-binPROGRAMS \
867
+	install-data install-data-am install-dvi install-dvi-am \
868
+	install-exec install-exec-am install-html install-html-am \
869
+	install-info install-info-am install-man install-pdf \
870
+	install-pdf-am install-ps install-ps-am install-strip \
871
+	installcheck installcheck-am installcheck-binPROGRAMS \
872
+	installdirs maintainer-clean maintainer-clean-generic \
873
+	mostlyclean mostlyclean-compile mostlyclean-generic \
874
+	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
875
+	uninstall-am uninstall-binPROGRAMS
876 876
 
877 877
 
878 878
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
@@ -1,7 +1,7 @@
1
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14 from Makefile.am.
2 2
 # @configure_input@
3 3
 
4
-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
4
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5 5
 
6 6
 # This Makefile.in is free software; the Free Software Foundation
7 7
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -15,23 +15,51 @@
15 15
 @SET_MAKE@
16 16
 
17 17
 VPATH = @srcdir@
18
-am__make_dryrun = \
19
-  { \
20
-    am__dry=no; \
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 \
21 31
     case $$MAKEFLAGS in \
22 32
       *\\[\ \	]*) \
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;; \
33
+        bs=\\; \
34
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
35
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
32 36
     esac; \
33
-    test $$am__dry = yes; \
34
-  }
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))
35 63
 pkgdatadir = $(datadir)/@PACKAGE@
36 64
 pkgincludedir = $(includedir)/@PACKAGE@
37 65
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -53,7 +81,7 @@ host_triplet = @host@
53 53
 target_triplet = @target@
54 54
 @HAVE_CURSES_TRUE@bin_PROGRAMS = clamdtop$(EXEEXT)
55 55
 subdir = clamdtop
56
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
56
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
57 57
 	$(top_srcdir)/config/depcomp
58 58
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
59 59
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
... ...
@@ -214,6 +242,23 @@ am__uninstall_files_from_dir = { \
214 214
 man1dir = $(mandir)/man1
215 215
 NROFF = nroff
216 216
 MANS = $(man_MANS)
217
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
218
+# Read a list of newline-separated strings from the standard input,
219
+# and print each of them once, without duplicates.  Input order is
220
+# *not* preserved.
221
+am__uniquify_input = $(AWK) '\
222
+  BEGIN { nonempty = 0; } \
223
+  { items[$$0] = 1; nonempty = 1; } \
224
+  END { if (nonempty) { for (i in items) print i; }; } \
225
+'
226
+# Make sure the list of sources is unique.  This is necessary because,
227
+# e.g., the same source file might be shared among _SOURCES variables
228
+# for different programs/libraries.
229
+am__define_uniq_tagged_files = \
230
+  list='$(am__tagged_files)'; \
231
+  unique=`for i in $$list; do \
232
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
233
+  done | $(am__uniquify_input)`
217 234
 ETAGS = etags
218 235
 CTAGS = ctags
219 236
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -466,10 +511,12 @@ install-binPROGRAMS: $(bin_PROGRAMS)
466 466
 	fi; \
467 467
 	for p in $$list; do echo "$$p $$p"; done | \
468 468
 	sed 's/$(EXEEXT)$$//' | \
469
-	while read p p1; do if test -f $$p || test -f $$p1; \
470
-	  then echo "$$p"; echo "$$p"; else :; fi; \
469
+	while read p p1; do if test -f $$p \
470
+	 || test -f $$p1 \
471
+	  ; then echo "$$p"; echo "$$p"; else :; fi; \
471 472
 	done | \
472
-	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
473
+	sed -e 'p;s,.*/,,;n;h' \
474
+	    -e 's|.*|.|' \
473 475
 	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
474 476
 	sed 'N;N;N;s,\n, ,g' | \
475 477
 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
... ...
@@ -490,7 +537,8 @@ uninstall-binPROGRAMS:
490 490
 	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
491 491
 	files=`for p in $$list; do echo "$$p"; done | \
492 492
 	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
493
-	      -e 's/$$/$(EXEEXT)/' `; \
493
+	      -e 's/$$/$(EXEEXT)/' \
494
+	`; \
494 495
 	test -n "$$list" || exit 0; \
495 496
 	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
496 497
 	cd "$(DESTDIR)$(bindir)" && rm -f $$files
... ...
@@ -519,6 +567,7 @@ installcheck-binPROGRAMS: $(bin_PROGRAMS)
519 519
 	    else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \
520 520
 	  done; \
521 521
 	done; rm -f c$${pid}_.???; exit $$bad
522
+
522 523
 clamdtop$(EXEEXT): $(clamdtop_OBJECTS) $(clamdtop_DEPENDENCIES) $(EXTRA_clamdtop_DEPENDENCIES) 
523 524
 	@rm -f clamdtop$(EXEEXT)
524 525
 	$(AM_V_CCLD)$(LINK) $(clamdtop_OBJECTS) $(clamdtop_LDADD) $(LIBS)
... ...
@@ -539,14 +588,14 @@ distclean-compile:
539 539
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
540 540
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
541 541
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
542
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
542
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
543 543
 
544 544
 .c.obj:
545 545
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
546 546
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
547 547
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
548 548
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
549
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
549
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
550 550
 
551 551
 .c.lo:
552 552
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -646,26 +695,15 @@ uninstall-man1:
646 646
 	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
647 647
 	dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
648 648
 
649
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
650
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
651
-	unique=`for i in $$list; do \
652
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
653
-	  done | \
654
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
655
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
656
-	mkid -fID $$unique
657
-tags: TAGS
658
-
659
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
660
-		$(TAGS_FILES) $(LISP)
649
+ID: $(am__tagged_files)
650
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
651
+tags: tags-am
652
+TAGS: tags
653
+
654
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
661 655
 	set x; \
662 656
 	here=`pwd`; \
663
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
664
-	unique=`for i in $$list; do \
665
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
666
-	  done | \
667
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
668
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
657
+	$(am__define_uniq_tagged_files); \
669 658
 	shift; \
670 659
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
671 660
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -677,15 +715,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
677 677
 	      $$unique; \
678 678
 	  fi; \
679 679
 	fi
680
-ctags: CTAGS
681
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
682
-		$(TAGS_FILES) $(LISP)
683
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
684
-	unique=`for i in $$list; do \
685
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
686
-	  done | \
687
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
688
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
680
+ctags: ctags-am
681
+
682
+CTAGS: ctags
683
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
684
+	$(am__define_uniq_tagged_files); \
689 685
 	test -z "$(CTAGS_ARGS)$$unique" \
690 686
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
691 687
 	     $$unique
... ...
@@ -694,9 +728,10 @@ GTAGS:
694 694
 	here=`$(am__cd) $(top_builddir) && pwd` \
695 695
 	  && $(am__cd) $(top_srcdir) \
696 696
 	  && gtags -i $(GTAGS_ARGS) "$$here"
697
+cscopelist: cscopelist-am
697 698
 
698
-cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
699
-	list='$(SOURCES) $(HEADERS) $(LISP)'; \
699
+cscopelist-am: $(am__tagged_files)
700
+	list='$(am__tagged_files)'; \
700 701
 	case "$(srcdir)" in \
701 702
 	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
702 703
 	  *) sdir=$(subdir)/$(srcdir) ;; \
... ...
@@ -713,19 +748,6 @@ distclean-tags:
713 713
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
714 714
 
715 715
 distdir: $(DISTFILES)
716
-	@list='$(MANS)'; if test -n "$$list"; then \
717
-	  list=`for p in $$list; do \
718
-	    if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
719
-	    if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
720
-	  if test -n "$$list" && \
721
-	    grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
722
-	    echo "error: found man pages containing the 'missing help2man' replacement text:" >&2; \
723
-	    grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/         /' >&2; \
724
-	    echo "       to fix them, install help2man, remove and regenerate the man pages;" >&2; \
725
-	    echo "       typically 'make maintainer-clean' will remove them" >&2; \
726
-	    exit 1; \
727
-	  else :; fi; \
728
-	else :; fi
729 716
 	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
730 717
 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
731 718
 	list='$(DISTFILES)'; \
... ...
@@ -866,21 +888,21 @@ uninstall-man: uninstall-man1
866 866
 
867 867
 .MAKE: install-am install-strip
868 868
 
869
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
870
-	clean-generic clean-libtool cscopelist ctags distclean \
871
-	distclean-compile distclean-generic distclean-libtool \
872
-	distclean-tags distdir dvi dvi-am html html-am info info-am \
873
-	install install-am install-binPROGRAMS install-data \
874
-	install-data-am install-dvi install-dvi-am install-exec \
875
-	install-exec-am install-html install-html-am install-info \
876
-	install-info-am install-man install-man1 install-pdf \
877
-	install-pdf-am install-ps install-ps-am install-strip \
878
-	installcheck installcheck-am installcheck-binPROGRAMS \
879
-	installdirs maintainer-clean maintainer-clean-generic \
880
-	mostlyclean mostlyclean-compile mostlyclean-generic \
881
-	mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
882
-	uninstall-am uninstall-binPROGRAMS uninstall-man \
883
-	uninstall-man1
869
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
870
+	clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
871
+	ctags ctags-am distclean distclean-compile distclean-generic \
872
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
873
+	html-am info info-am install install-am install-binPROGRAMS \
874
+	install-data install-data-am install-dvi install-dvi-am \
875
+	install-exec install-exec-am install-html install-html-am \
876
+	install-info install-info-am install-man install-man1 \
877
+	install-pdf install-pdf-am install-ps install-ps-am \
878
+	install-strip installcheck installcheck-am \
879
+	installcheck-binPROGRAMS installdirs maintainer-clean \
880
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
881
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
882
+	tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \
883
+	uninstall-man uninstall-man1
884 884
 
885 885
 
886 886
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
@@ -1,7 +1,7 @@
1
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14 from Makefile.am.
2 2
 # @configure_input@
3 3
 
4
-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
4
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5 5
 
6 6
 # This Makefile.in is free software; the Free Software Foundation
7 7
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -34,23 +34,51 @@
34 34
 #  MA 02110-1301, USA.
35 35
 
36 36
 VPATH = @srcdir@
37
-am__make_dryrun = \
38
-  { \
39
-    am__dry=no; \
37
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
38
+am__make_running_with_option = \
39
+  case $${target_option-} in \
40
+      ?) ;; \
41
+      *) echo "am__make_running_with_option: internal error: invalid" \
42
+              "target option '$${target_option-}' specified" >&2; \
43
+         exit 1;; \
44
+  esac; \
45
+  has_opt=no; \
46
+  sane_makeflags=$$MAKEFLAGS; \
47
+  if $(am__is_gnu_make); then \
48
+    sane_makeflags=$$MFLAGS; \
49
+  else \
40 50
     case $$MAKEFLAGS in \
41 51
       *\\[\ \	]*) \
42
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
43
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
44
-      *) \
45
-        for am__flg in $$MAKEFLAGS; do \
46
-          case $$am__flg in \
47
-            *=*|--*) ;; \
48
-            *n*) am__dry=yes; break;; \
49
-          esac; \
50
-        done;; \
52
+        bs=\\; \
53
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
54
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
55
+    esac; \
56
+  fi; \
57
+  skip_next=no; \
58
+  strip_trailopt () \
59
+  { \
60
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
61
+  }; \
62
+  for flg in $$sane_makeflags; do \
63
+    test $$skip_next = yes && { skip_next=no; continue; }; \
64
+    case $$flg in \
65
+      *=*|--*) continue;; \
66
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
67
+      -*I?*) strip_trailopt 'I';; \
68
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
69
+      -*O?*) strip_trailopt 'O';; \
70
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
71
+      -*l?*) strip_trailopt 'l';; \
72
+      -[dEDm]) skip_next=yes;; \
73
+      -[JT]) skip_next=yes;; \
74
+    esac; \
75
+    case $$flg in \
76
+      *$$target_option*) has_opt=yes; break;; \
51 77
     esac; \
52
-    test $$am__dry = yes; \
53
-  }
78
+  done; \
79
+  test $$has_opt = yes
80
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
81
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
54 82
 pkgdatadir = $(datadir)/@PACKAGE@
55 83
 pkgincludedir = $(includedir)/@PACKAGE@
56 84
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -72,7 +100,7 @@ host_triplet = @host@
72 72
 target_triplet = @target@
73 73
 bin_PROGRAMS = clamscan$(EXEEXT)
74 74
 subdir = clamscan
75
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
75
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
76 76
 	$(top_srcdir)/config/depcomp
77 77
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
78 78
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
... ...
@@ -199,6 +227,23 @@ am__can_run_installinfo = \
199 199
     n|no|NO) false;; \
200 200
     *) (install-info --version) >/dev/null 2>&1;; \
201 201
   esac
202
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
203
+# Read a list of newline-separated strings from the standard input,
204
+# and print each of them once, without duplicates.  Input order is
205
+# *not* preserved.
206
+am__uniquify_input = $(AWK) '\
207
+  BEGIN { nonempty = 0; } \
208
+  { items[$$0] = 1; nonempty = 1; } \
209
+  END { if (nonempty) { for (i in items) print i; }; } \
210
+'
211
+# Make sure the list of sources is unique.  This is necessary because,
212
+# e.g., the same source file might be shared among _SOURCES variables
213
+# for different programs/libraries.
214
+am__define_uniq_tagged_files = \
215
+  list='$(am__tagged_files)'; \
216
+  unique=`for i in $$list; do \
217
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
218
+  done | $(am__uniquify_input)`
202 219
 ETAGS = etags
203 220
 CTAGS = ctags
204 221
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -456,10 +501,12 @@ install-binPROGRAMS: $(bin_PROGRAMS)
456 456
 	fi; \
457 457
 	for p in $$list; do echo "$$p $$p"; done | \
458 458
 	sed 's/$(EXEEXT)$$//' | \
459
-	while read p p1; do if test -f $$p || test -f $$p1; \
460
-	  then echo "$$p"; echo "$$p"; else :; fi; \
459
+	while read p p1; do if test -f $$p \
460
+	 || test -f $$p1 \
461
+	  ; then echo "$$p"; echo "$$p"; else :; fi; \
461 462
 	done | \
462
-	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
463
+	sed -e 'p;s,.*/,,;n;h' \
464
+	    -e 's|.*|.|' \
463 465
 	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
464 466
 	sed 'N;N;N;s,\n, ,g' | \
465 467
 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
... ...
@@ -480,7 +527,8 @@ uninstall-binPROGRAMS:
480 480
 	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
481 481
 	files=`for p in $$list; do echo "$$p"; done | \
482 482
 	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
483
-	      -e 's/$$/$(EXEEXT)/' `; \
483
+	      -e 's/$$/$(EXEEXT)/' \
484
+	`; \
484 485
 	test -n "$$list" || exit 0; \
485 486
 	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
486 487
 	cd "$(DESTDIR)$(bindir)" && rm -f $$files
... ...
@@ -509,6 +557,7 @@ installcheck-binPROGRAMS: $(bin_PROGRAMS)
509 509
 	    else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \
510 510
 	  done; \
511 511
 	done; rm -f c$${pid}_.???; exit $$bad
512
+
512 513
 clamscan$(EXEEXT): $(clamscan_OBJECTS) $(clamscan_DEPENDENCIES) $(EXTRA_clamscan_DEPENDENCIES) 
513 514
 	@rm -f clamscan$(EXEEXT)
514 515
 	$(AM_V_CCLD)$(LINK) $(clamscan_OBJECTS) $(clamscan_LDADD) $(LIBS)
... ...
@@ -532,14 +581,14 @@ distclean-compile:
532 532
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
533 533
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
534 534
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
535
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
535
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
536 536
 
537 537
 .c.obj:
538 538
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
539 539
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
540 540
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
541 541
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
542
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
542
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
543 543
 
544 544
 .c.lo:
545 545
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -624,26 +673,15 @@ mostlyclean-libtool:
624 624
 clean-libtool:
625 625
 	-rm -rf .libs _libs
626 626
 
627
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
628
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
629
-	unique=`for i in $$list; do \
630
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
631
-	  done | \
632
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
633
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
634
-	mkid -fID $$unique
635
-tags: TAGS
636
-
637
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
638
-		$(TAGS_FILES) $(LISP)
627
+ID: $(am__tagged_files)
628
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
629
+tags: tags-am
630
+TAGS: tags
631
+
632
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
639 633
 	set x; \
640 634
 	here=`pwd`; \
641
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
642
-	unique=`for i in $$list; do \
643
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
644
-	  done | \
645
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
646
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
635
+	$(am__define_uniq_tagged_files); \
647 636
 	shift; \
648 637
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
649 638
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -655,15 +693,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
655 655
 	      $$unique; \
656 656
 	  fi; \
657 657
 	fi
658
-ctags: CTAGS
659
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
660
-		$(TAGS_FILES) $(LISP)
661
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
662
-	unique=`for i in $$list; do \
663
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
664
-	  done | \
665
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
666
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
658
+ctags: ctags-am
659
+
660
+CTAGS: ctags
661
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
662
+	$(am__define_uniq_tagged_files); \
667 663
 	test -z "$(CTAGS_ARGS)$$unique" \
668 664
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
669 665
 	     $$unique
... ...
@@ -672,9 +706,10 @@ GTAGS:
672 672
 	here=`$(am__cd) $(top_builddir) && pwd` \
673 673
 	  && $(am__cd) $(top_srcdir) \
674 674
 	  && gtags -i $(GTAGS_ARGS) "$$here"
675
+cscopelist: cscopelist-am
675 676
 
676
-cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
677
-	list='$(SOURCES) $(HEADERS) $(LISP)'; \
677
+cscopelist-am: $(am__tagged_files)
678
+	list='$(am__tagged_files)'; \
678 679
 	case "$(srcdir)" in \
679 680
 	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
680 681
 	  *) sdir=$(subdir)/$(srcdir) ;; \
... ...
@@ -830,20 +865,20 @@ uninstall-am: uninstall-binPROGRAMS
830 830
 
831 831
 .MAKE: install-am install-strip
832 832
 
833
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
834
-	clean-generic clean-libtool cscopelist ctags distclean \
835
-	distclean-compile distclean-generic distclean-libtool \
836
-	distclean-tags distdir dvi dvi-am html html-am info info-am \
837
-	install install-am install-binPROGRAMS install-data \
838
-	install-data-am install-dvi install-dvi-am install-exec \
839
-	install-exec-am install-html install-html-am install-info \
840
-	install-info-am install-man install-pdf install-pdf-am \
841
-	install-ps install-ps-am install-strip installcheck \
842
-	installcheck-am installcheck-binPROGRAMS installdirs \
843
-	maintainer-clean maintainer-clean-generic mostlyclean \
844
-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
845
-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
846
-	uninstall-binPROGRAMS
833
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
834
+	clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
835
+	ctags ctags-am distclean distclean-compile distclean-generic \
836
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
837
+	html-am info info-am install install-am install-binPROGRAMS \
838
+	install-data install-data-am install-dvi install-dvi-am \
839
+	install-exec install-exec-am install-html install-html-am \
840
+	install-info install-info-am install-man install-pdf \
841
+	install-pdf-am install-ps install-ps-am install-strip \
842
+	installcheck installcheck-am installcheck-binPROGRAMS \
843
+	installdirs maintainer-clean maintainer-clean-generic \
844
+	mostlyclean mostlyclean-compile mostlyclean-generic \
845
+	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
846
+	uninstall-am uninstall-binPROGRAMS
847 847
 
848 848
 
849 849
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
@@ -1,7 +1,7 @@
1
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14 from Makefile.am.
2 2
 # @configure_input@
3 3
 
4
-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
4
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5 5
 
6 6
 # This Makefile.in is free software; the Free Software Foundation
7 7
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -33,23 +33,51 @@
33 33
 #  MA 02110-1301, USA.
34 34
 
35 35
 VPATH = @srcdir@
36
-am__make_dryrun = \
37
-  { \
38
-    am__dry=no; \
36
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
37
+am__make_running_with_option = \
38
+  case $${target_option-} in \
39
+      ?) ;; \
40
+      *) echo "am__make_running_with_option: internal error: invalid" \
41
+              "target option '$${target_option-}' specified" >&2; \
42
+         exit 1;; \
43
+  esac; \
44
+  has_opt=no; \
45
+  sane_makeflags=$$MAKEFLAGS; \
46
+  if $(am__is_gnu_make); then \
47
+    sane_makeflags=$$MFLAGS; \
48
+  else \
39 49
     case $$MAKEFLAGS in \
40 50
       *\\[\ \	]*) \
41
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
42
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
43
-      *) \
44
-        for am__flg in $$MAKEFLAGS; do \
45
-          case $$am__flg in \
46
-            *=*|--*) ;; \
47
-            *n*) am__dry=yes; break;; \
48
-          esac; \
49
-        done;; \
51
+        bs=\\; \
52
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
53
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
54
+    esac; \
55
+  fi; \
56
+  skip_next=no; \
57
+  strip_trailopt () \
58
+  { \
59
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
60
+  }; \
61
+  for flg in $$sane_makeflags; do \
62
+    test $$skip_next = yes && { skip_next=no; continue; }; \
63
+    case $$flg in \
64
+      *=*|--*) continue;; \
65
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
66
+      -*I?*) strip_trailopt 'I';; \
67
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
68
+      -*O?*) strip_trailopt 'O';; \
69
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
70
+      -*l?*) strip_trailopt 'l';; \
71
+      -[dEDm]) skip_next=yes;; \
72
+      -[JT]) skip_next=yes;; \
73
+    esac; \
74
+    case $$flg in \
75
+      *$$target_option*) has_opt=yes; break;; \
50 76
     esac; \
51
-    test $$am__dry = yes; \
52
-  }
77
+  done; \
78
+  test $$has_opt = yes
79
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
80
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
53 81
 pkgdatadir = $(datadir)/@PACKAGE@
54 82
 pkgincludedir = $(includedir)/@PACKAGE@
55 83
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -71,7 +99,7 @@ host_triplet = @host@
71 71
 target_triplet = @target@
72 72
 bin_PROGRAMS = clamsubmit$(EXEEXT)
73 73
 subdir = clamsubmit
74
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
74
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
75 75
 	$(top_srcdir)/config/depcomp
76 76
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
77 77
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
... ...
@@ -197,6 +225,23 @@ am__can_run_installinfo = \
197 197
     n|no|NO) false;; \
198 198
     *) (install-info --version) >/dev/null 2>&1;; \
199 199
   esac
200
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
201
+# Read a list of newline-separated strings from the standard input,
202
+# and print each of them once, without duplicates.  Input order is
203
+# *not* preserved.
204
+am__uniquify_input = $(AWK) '\
205
+  BEGIN { nonempty = 0; } \
206
+  { items[$$0] = 1; nonempty = 1; } \
207
+  END { if (nonempty) { for (i in items) print i; }; } \
208
+'
209
+# Make sure the list of sources is unique.  This is necessary because,
210
+# e.g., the same source file might be shared among _SOURCES variables
211
+# for different programs/libraries.
212
+am__define_uniq_tagged_files = \
213
+  list='$(am__tagged_files)'; \
214
+  unique=`for i in $$list; do \
215
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
216
+  done | $(am__uniquify_input)`
200 217
 ETAGS = etags
201 218
 CTAGS = ctags
202 219
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -450,10 +495,12 @@ install-binPROGRAMS: $(bin_PROGRAMS)
450 450
 	fi; \
451 451
 	for p in $$list; do echo "$$p $$p"; done | \
452 452
 	sed 's/$(EXEEXT)$$//' | \
453
-	while read p p1; do if test -f $$p || test -f $$p1; \
454
-	  then echo "$$p"; echo "$$p"; else :; fi; \
453
+	while read p p1; do if test -f $$p \
454
+	 || test -f $$p1 \
455
+	  ; then echo "$$p"; echo "$$p"; else :; fi; \
455 456
 	done | \
456
-	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
457
+	sed -e 'p;s,.*/,,;n;h' \
458
+	    -e 's|.*|.|' \
457 459
 	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
458 460
 	sed 'N;N;N;s,\n, ,g' | \
459 461
 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
... ...
@@ -474,7 +521,8 @@ uninstall-binPROGRAMS:
474 474
 	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
475 475
 	files=`for p in $$list; do echo "$$p"; done | \
476 476
 	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
477
-	      -e 's/$$/$(EXEEXT)/' `; \
477
+	      -e 's/$$/$(EXEEXT)/' \
478
+	`; \
478 479
 	test -n "$$list" || exit 0; \
479 480
 	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
480 481
 	cd "$(DESTDIR)$(bindir)" && rm -f $$files
... ...
@@ -503,6 +551,7 @@ installcheck-binPROGRAMS: $(bin_PROGRAMS)
503 503
 	    else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \
504 504
 	  done; \
505 505
 	done; rm -f c$${pid}_.???; exit $$bad
506
+
506 507
 clamsubmit$(EXEEXT): $(clamsubmit_OBJECTS) $(clamsubmit_DEPENDENCIES) $(EXTRA_clamsubmit_DEPENDENCIES) 
507 508
 	@rm -f clamsubmit$(EXEEXT)
508 509
 	$(AM_V_CCLD)$(LINK) $(clamsubmit_OBJECTS) $(clamsubmit_LDADD) $(LIBS)
... ...
@@ -524,14 +573,14 @@ distclean-compile:
524 524
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
525 525
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
526 526
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
527
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
527
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
528 528
 
529 529
 .c.obj:
530 530
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
531 531
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
532 532
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
533 533
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
534
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
534
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
535 535
 
536 536
 .c.lo:
537 537
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -602,26 +651,15 @@ mostlyclean-libtool:
602 602
 clean-libtool:
603 603
 	-rm -rf .libs _libs
604 604
 
605
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
606
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
607
-	unique=`for i in $$list; do \
608
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
609
-	  done | \
610
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
611
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
612
-	mkid -fID $$unique
613
-tags: TAGS
614
-
615
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
616
-		$(TAGS_FILES) $(LISP)
605
+ID: $(am__tagged_files)
606
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
607
+tags: tags-am
608
+TAGS: tags
609
+
610
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
617 611
 	set x; \
618 612
 	here=`pwd`; \
619
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
620
-	unique=`for i in $$list; do \
621
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
622
-	  done | \
623
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
624
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
613
+	$(am__define_uniq_tagged_files); \
625 614
 	shift; \
626 615
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
627 616
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -633,15 +671,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
633 633
 	      $$unique; \
634 634
 	  fi; \
635 635
 	fi
636
-ctags: CTAGS
637
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
638
-		$(TAGS_FILES) $(LISP)
639
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
640
-	unique=`for i in $$list; do \
641
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
642
-	  done | \
643
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
644
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
636
+ctags: ctags-am
637
+
638
+CTAGS: ctags
639
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
640
+	$(am__define_uniq_tagged_files); \
645 641
 	test -z "$(CTAGS_ARGS)$$unique" \
646 642
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
647 643
 	     $$unique
... ...
@@ -650,9 +684,10 @@ GTAGS:
650 650
 	here=`$(am__cd) $(top_builddir) && pwd` \
651 651
 	  && $(am__cd) $(top_srcdir) \
652 652
 	  && gtags -i $(GTAGS_ARGS) "$$here"
653
+cscopelist: cscopelist-am
653 654
 
654
-cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
655
-	list='$(SOURCES) $(HEADERS) $(LISP)'; \
655
+cscopelist-am: $(am__tagged_files)
656
+	list='$(am__tagged_files)'; \
656 657
 	case "$(srcdir)" in \
657 658
 	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
658 659
 	  *) sdir=$(subdir)/$(srcdir) ;; \
... ...
@@ -808,20 +843,20 @@ uninstall-am: uninstall-binPROGRAMS
808 808
 
809 809
 .MAKE: install-am install-strip
810 810
 
811
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
812
-	clean-generic clean-libtool cscopelist ctags distclean \
813
-	distclean-compile distclean-generic distclean-libtool \
814
-	distclean-tags distdir dvi dvi-am html html-am info info-am \
815
-	install install-am install-binPROGRAMS install-data \
816
-	install-data-am install-dvi install-dvi-am install-exec \
817
-	install-exec-am install-html install-html-am install-info \
818
-	install-info-am install-man install-pdf install-pdf-am \
819
-	install-ps install-ps-am install-strip installcheck \
820
-	installcheck-am installcheck-binPROGRAMS installdirs \
821
-	maintainer-clean maintainer-clean-generic mostlyclean \
822
-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
823
-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
824
-	uninstall-binPROGRAMS
811
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
812
+	clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
813
+	ctags ctags-am distclean distclean-compile distclean-generic \
814
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
815
+	html-am info info-am install install-am install-binPROGRAMS \
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 installcheck-binPROGRAMS \
821
+	installdirs maintainer-clean maintainer-clean-generic \
822
+	mostlyclean mostlyclean-compile mostlyclean-generic \
823
+	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
824
+	uninstall-am uninstall-binPROGRAMS
825 825
 
826 826
 
827 827
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
@@ -2856,7 +2856,7 @@ done
2856 2856
 
2857 2857
 
2858 2858
 
2859
-am__api_version='1.12'
2859
+am__api_version='1.14'
2860 2860
 
2861 2861
 # Find a good install program.  We prefer a C program (faster),
2862 2862
 # so one script is as good as another.  But avoid the broken or
... ...
@@ -3040,8 +3040,8 @@ if test x"${MISSING+set}" != xset; then
3040 3040
   esac
3041 3041
 fi
3042 3042
 # Use eval to expand $SHELL
3043
-if eval "$MISSING --run true"; then
3044
-  am_missing_run="$MISSING --run "
3043
+if eval "$MISSING --is-lightweight"; then
3044
+  am_missing_run="$MISSING "
3045 3045
 else
3046 3046
   am_missing_run=
3047 3047
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
... ...
@@ -3281,6 +3281,45 @@ else
3281 3281
 fi
3282 3282
 rmdir .tst 2>/dev/null
3283 3283
 
3284
+# Check whether --enable-silent-rules was given.
3285
+if test "${enable_silent_rules+set}" = set; then :
3286
+  enableval=$enable_silent_rules;
3287
+fi
3288
+
3289
+case $enable_silent_rules in # (((
3290
+  yes) AM_DEFAULT_VERBOSITY=0;;
3291
+   no) AM_DEFAULT_VERBOSITY=1;;
3292
+    *) AM_DEFAULT_VERBOSITY=1;;
3293
+esac
3294
+am_make=${MAKE-make}
3295
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3296
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3297
+if ${am_cv_make_support_nested_variables+:} false; then :
3298
+  $as_echo_n "(cached) " >&6
3299
+else
3300
+  if $as_echo 'TRUE=$(BAR$(V))
3301
+BAR0=false
3302
+BAR1=true
3303
+V=1
3304
+am__doit:
3305
+	@$(TRUE)
3306
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3307
+  am_cv_make_support_nested_variables=yes
3308
+else
3309
+  am_cv_make_support_nested_variables=no
3310
+fi
3311
+fi
3312
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3313
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
3314
+if test $am_cv_make_support_nested_variables = yes; then
3315
+    AM_V='$(V)'
3316
+  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3317
+else
3318
+  AM_V=$AM_DEFAULT_VERBOSITY
3319
+  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3320
+fi
3321
+AM_BACKSLASH='\'
3322
+
3284 3323
 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3285 3324
   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3286 3325
   # is not polluted with repeated "-I."
... ...
@@ -3335,92 +3374,173 @@ mkdir_p='$(MKDIR_P)'
3335 3335
 AMTAR='$${TAR-tar}'
3336 3336
 
3337 3337
 
3338
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3339
-$as_echo_n "checking how to create a ustar tar archive... " >&6; }
3340
-# Loop over all known methods to create a tar archive until one works.
3338
+# We'll loop over all known methods to create a tar archive until one works.
3341 3339
 _am_tools='gnutar plaintar pax cpio none'
3342
-_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3343
-# Do not fold the above two line into one, because Tru64 sh and
3344
-# Solaris sh will not grok spaces in the rhs of '-'.
3345
-for _am_tool in $_am_tools
3346
-do
3347
-  case $_am_tool in
3348
-  gnutar)
3349
-    for _am_tar in tar gnutar gtar;
3350
-    do
3351
-      { echo "$as_me:$LINENO: $_am_tar --version" >&5
3340
+
3341
+# The POSIX 1988 'ustar' format is defined with fixed-size fields.
3342
+      # There is notably a 21 bits limit for the UID and the GID.  In fact,
3343
+      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3344
+      # and bug#13588).
3345
+      am_max_uid=2097151 # 2^21 - 1
3346
+      am_max_gid=$am_max_uid
3347
+      # The $UID and $GID variables are not portable, so we need to resort
3348
+      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
3349
+      # below are definitely unexpected, so allow the users to see them
3350
+      # (that is, avoid stderr redirection).
3351
+      am_uid=`id -u || echo unknown`
3352
+      am_gid=`id -g || echo unknown`
3353
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3354
+$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3355
+      if test $am_uid -le $am_max_uid; then
3356
+         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3357
+$as_echo "yes" >&6; }
3358
+      else
3359
+         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3360
+$as_echo "no" >&6; }
3361
+         _am_tools=none
3362
+      fi
3363
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3364
+$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3365
+      if test $am_gid -le $am_max_gid; then
3366
+         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3367
+$as_echo "yes" >&6; }
3368
+      else
3369
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3370
+$as_echo "no" >&6; }
3371
+        _am_tools=none
3372
+      fi
3373
+
3374
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3375
+$as_echo_n "checking how to create a ustar tar archive... " >&6; }
3376
+
3377
+  # Go ahead even if we have the value already cached.  We do so because we
3378
+  # need to set the values for the 'am__tar' and 'am__untar' variables.
3379
+  _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3380
+
3381
+  for _am_tool in $_am_tools; do
3382
+    case $_am_tool in
3383
+    gnutar)
3384
+      for _am_tar in tar gnutar gtar; do
3385
+        { echo "$as_me:$LINENO: $_am_tar --version" >&5
3352 3386
    ($_am_tar --version) >&5 2>&5
3353 3387
    ac_status=$?
3354 3388
    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355 3389
    (exit $ac_status); } && break
3356
-    done
3357
-    am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3358
-    am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3359
-    am__untar="$_am_tar -xf -"
3360
-    ;;
3361
-  plaintar)
3362
-    # Must skip GNU tar: if it does not support --format= it doesn't create
3363
-    # ustar tarball either.
3364
-    (tar --version) >/dev/null 2>&1 && continue
3365
-    am__tar='tar chf - "$$tardir"'
3366
-    am__tar_='tar chf - "$tardir"'
3367
-    am__untar='tar xf -'
3368
-    ;;
3369
-  pax)
3370
-    am__tar='pax -L -x ustar -w "$$tardir"'
3371
-    am__tar_='pax -L -x ustar -w "$tardir"'
3372
-    am__untar='pax -r'
3373
-    ;;
3374
-  cpio)
3375
-    am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3376
-    am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3377
-    am__untar='cpio -i -H ustar -d'
3378
-    ;;
3379
-  none)
3380
-    am__tar=false
3381
-    am__tar_=false
3382
-    am__untar=false
3383
-    ;;
3384
-  esac
3390
+      done
3391
+      am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3392
+      am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3393
+      am__untar="$_am_tar -xf -"
3394
+      ;;
3395
+    plaintar)
3396
+      # Must skip GNU tar: if it does not support --format= it doesn't create
3397
+      # ustar tarball either.
3398
+      (tar --version) >/dev/null 2>&1 && continue
3399
+      am__tar='tar chf - "$$tardir"'
3400
+      am__tar_='tar chf - "$tardir"'
3401
+      am__untar='tar xf -'
3402
+      ;;
3403
+    pax)
3404
+      am__tar='pax -L -x ustar -w "$$tardir"'
3405
+      am__tar_='pax -L -x ustar -w "$tardir"'
3406
+      am__untar='pax -r'
3407
+      ;;
3408
+    cpio)
3409
+      am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3410
+      am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3411
+      am__untar='cpio -i -H ustar -d'
3412
+      ;;
3413
+    none)
3414
+      am__tar=false
3415
+      am__tar_=false
3416
+      am__untar=false
3417
+      ;;
3418
+    esac
3385 3419
 
3386
-  # If the value was cached, stop now.  We just wanted to have am__tar
3387
-  # and am__untar set.
3388
-  test -n "${am_cv_prog_tar_ustar}" && break
3420
+    # If the value was cached, stop now.  We just wanted to have am__tar
3421
+    # and am__untar set.
3422
+    test -n "${am_cv_prog_tar_ustar}" && break
3389 3423
 
3390
-  # tar/untar a dummy directory, and stop if the command works
3391
-  rm -rf conftest.dir
3392
-  mkdir conftest.dir
3393
-  echo GrepMe > conftest.dir/file
3394
-  { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3424
+    # tar/untar a dummy directory, and stop if the command works.
3425
+    rm -rf conftest.dir
3426
+    mkdir conftest.dir
3427
+    echo GrepMe > conftest.dir/file
3428
+    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3395 3429
    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3396 3430
    ac_status=$?
3397 3431
    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 3432
    (exit $ac_status); }
3399
-  rm -rf conftest.dir
3400
-  if test -s conftest.tar; then
3401
-    { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3433
+    rm -rf conftest.dir
3434
+    if test -s conftest.tar; then
3435
+      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3402 3436
    ($am__untar <conftest.tar) >&5 2>&5
3403 3437
    ac_status=$?
3404 3438
    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 3439
    (exit $ac_status); }
3406
-    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3407
-  fi
3408
-done
3409
-rm -rf conftest.dir
3440
+      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3441
+   (cat conftest.dir/file) >&5 2>&5
3442
+   ac_status=$?
3443
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444
+   (exit $ac_status); }
3445
+      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3446
+    fi
3447
+  done
3448
+  rm -rf conftest.dir
3410 3449
 
3411
-if ${am_cv_prog_tar_ustar+:} false; then :
3450
+  if ${am_cv_prog_tar_ustar+:} false; then :
3412 3451
   $as_echo_n "(cached) " >&6
3413 3452
 else
3414 3453
   am_cv_prog_tar_ustar=$_am_tool
3415 3454
 fi
3416 3455
 
3417
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3456
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3418 3457
 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3419 3458
 
3420 3459
 
3421 3460
 
3422 3461
 
3423 3462
 
3463
+
3464
+# POSIX will say in a future version that running "rm -f" with no argument
3465
+# is OK; and we want to be able to make that assumption in our Makefile
3466
+# recipes.  So use an aggressive probe to check that the usage we want is
3467
+# actually supported "in the wild" to an acceptable degree.
3468
+# See automake bug#10828.
3469
+# To make any issue more visible, cause the running configure to be aborted
3470
+# by default if the 'rm' program in use doesn't match our expectations; the
3471
+# user can still override this though.
3472
+if rm -f && rm -fr && rm -rf; then : OK; else
3473
+  cat >&2 <<'END'
3474
+Oops!
3475
+
3476
+Your 'rm' program seems unable to run without file operands specified
3477
+on the command line, even when the '-f' option is present.  This is contrary
3478
+to the behaviour of most rm programs out there, and not conforming with
3479
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3480
+
3481
+Please tell bug-automake@gnu.org about your system, including the value
3482
+of your $PATH and any error possibly output before this message.  This
3483
+can help us improve future automake versions.
3484
+
3485
+END
3486
+  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3487
+    echo 'Configuration will proceed anyway, since you have set the' >&2
3488
+    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3489
+    echo >&2
3490
+  else
3491
+    cat >&2 <<'END'
3492
+Aborting the configuration process, to ensure you take notice of the issue.
3493
+
3494
+You can download and install GNU coreutils to get an 'rm' implementation
3495
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
3496
+
3497
+If you want to complete the configuration process using your problematic
3498
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3499
+to "yes", and re-run configure.
3500
+
3501
+END
3502
+    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3503
+  fi
3504
+fi
3424 3505
 # Check whether --enable-silent-rules was given.
3425 3506
 if test "${enable_silent_rules+set}" = set; then :
3426 3507
   enableval=$enable_silent_rules;
... ...
@@ -4316,6 +4436,65 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4316 4316
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4317 4317
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4318 4318
 
4319
+ac_ext=c
4320
+ac_cpp='$CPP $CPPFLAGS'
4321
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4322
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4323
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
4324
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4325
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4326
+if ${am_cv_prog_cc_c_o+:} false; then :
4327
+  $as_echo_n "(cached) " >&6
4328
+else
4329
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4330
+/* end confdefs.h.  */
4331
+
4332
+int
4333
+main ()
4334
+{
4335
+
4336
+  ;
4337
+  return 0;
4338
+}
4339
+_ACEOF
4340
+  # Make sure it works both with $CC and with simple cc.
4341
+  # Following AC_PROG_CC_C_O, we do the test twice because some
4342
+  # compilers refuse to overwrite an existing .o file with -o,
4343
+  # though they will create one.
4344
+  am_cv_prog_cc_c_o=yes
4345
+  for am_i in 1 2; do
4346
+    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4347
+   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4348
+   ac_status=$?
4349
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4350
+   (exit $ac_status); } \
4351
+         && test -f conftest2.$ac_objext; then
4352
+      : OK
4353
+    else
4354
+      am_cv_prog_cc_c_o=no
4355
+      break
4356
+    fi
4357
+  done
4358
+  rm -f core conftest*
4359
+  unset am_i
4360
+fi
4361
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4362
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
4363
+if test "$am_cv_prog_cc_c_o" != yes; then
4364
+   # Losing compiler, so override with the script.
4365
+   # FIXME: It is wrong to rewrite CC.
4366
+   # But if we don't then we get into trouble of one sort or another.
4367
+   # A longer-term fix would be to have automake use am__CC in this case,
4368
+   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4369
+   CC="$am_aux_dir/compile $CC"
4370
+fi
4371
+ac_ext=c
4372
+ac_cpp='$CPP $CPPFLAGS'
4373
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4374
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4375
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
4376
+
4377
+
4319 4378
 depcc="$CC"   am_compiler_list=
4320 4379
 
4321 4380
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
... ...
@@ -13681,6 +13860,65 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13681 13681
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13682 13682
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13683 13683
 
13684
+ac_ext=c
13685
+ac_cpp='$CPP $CPPFLAGS'
13686
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13687
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13688
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
13689
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
13690
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
13691
+if ${am_cv_prog_cc_c_o+:} false; then :
13692
+  $as_echo_n "(cached) " >&6
13693
+else
13694
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13695
+/* end confdefs.h.  */
13696
+
13697
+int
13698
+main ()
13699
+{
13700
+
13701
+  ;
13702
+  return 0;
13703
+}
13704
+_ACEOF
13705
+  # Make sure it works both with $CC and with simple cc.
13706
+  # Following AC_PROG_CC_C_O, we do the test twice because some
13707
+  # compilers refuse to overwrite an existing .o file with -o,
13708
+  # though they will create one.
13709
+  am_cv_prog_cc_c_o=yes
13710
+  for am_i in 1 2; do
13711
+    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
13712
+   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
13713
+   ac_status=$?
13714
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13715
+   (exit $ac_status); } \
13716
+         && test -f conftest2.$ac_objext; then
13717
+      : OK
13718
+    else
13719
+      am_cv_prog_cc_c_o=no
13720
+      break
13721
+    fi
13722
+  done
13723
+  rm -f core conftest*
13724
+  unset am_i
13725
+fi
13726
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
13727
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
13728
+if test "$am_cv_prog_cc_c_o" != yes; then
13729
+   # Losing compiler, so override with the script.
13730
+   # FIXME: It is wrong to rewrite CC.
13731
+   # But if we don't then we get into trouble of one sort or another.
13732
+   # A longer-term fix would be to have automake use am__CC in this case,
13733
+   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13734
+   CC="$am_aux_dir/compile $CC"
13735
+fi
13736
+ac_ext=c
13737
+ac_cpp='$CPP $CPPFLAGS'
13738
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13739
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13740
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
13741
+
13742
+
13684 13743
 depcc="$CC"   am_compiler_list=
13685 13744
 
13686 13745
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
... ...
@@ -23968,7 +24206,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
23968 23968
 
23969 23969
   case $ac_file$ac_mode in
23970 23970
     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
23971
-  # Autoconf 2.62 quotes --file arguments for eval, but not when files
23971
+  # Older Autoconf quotes --file arguments for eval, but not when files
23972 23972
   # are listed without --file.  Let's play safe and only enable the eval
23973 23973
   # if we detect the quoting.
23974 23974
   case $CONFIG_FILES in
... ...
@@ -24019,7 +24257,7 @@ $as_echo X"$mf" |
24019 24019
     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
24020 24020
     test -z "$DEPDIR" && continue
24021 24021
     am__include=`sed -n 's/^am__include = //p' < "$mf"`
24022
-    test -z "am__include" && continue
24022
+    test -z "$am__include" && continue
24023 24023
     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
24024 24024
     # Find all dependency output files, they are included files with
24025 24025
     # $(DEPDIR) in their names.  We invoke sed twice because it is the
... ...
@@ -26610,7 +26848,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
26610 26610
 
26611 26611
   case $ac_file$ac_mode in
26612 26612
     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
26613
-  # Autoconf 2.62 quotes --file arguments for eval, but not when files
26613
+  # Older Autoconf quotes --file arguments for eval, but not when files
26614 26614
   # are listed without --file.  Let's play safe and only enable the eval
26615 26615
   # if we detect the quoting.
26616 26616
   case $CONFIG_FILES in
... ...
@@ -26661,7 +26899,7 @@ $as_echo X"$mf" |
26661 26661
     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
26662 26662
     test -z "$DEPDIR" && continue
26663 26663
     am__include=`sed -n 's/^am__include = //p' < "$mf"`
26664
-    test -z "am__include" && continue
26664
+    test -z "$am__include" && continue
26665 26665
     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
26666 26666
     # Find all dependency output files, they are included files with
26667 26667
     # $(DEPDIR) in their names.  We invoke sed twice because it is the
... ...
@@ -1,7 +1,7 @@
1
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14 from Makefile.am.
2 2
 # @configure_input@
3 3
 
4
-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
4
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5 5
 
6 6
 # This Makefile.in is free software; the Free Software Foundation
7 7
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -33,23 +33,51 @@
33 33
 #  along with this program; if not, write to the Free Software
34 34
 #  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
35 35
 VPATH = @srcdir@
36
-am__make_dryrun = \
37
-  { \
38
-    am__dry=no; \
36
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
37
+am__make_running_with_option = \
38
+  case $${target_option-} in \
39
+      ?) ;; \
40
+      *) echo "am__make_running_with_option: internal error: invalid" \
41
+              "target option '$${target_option-}' specified" >&2; \
42
+         exit 1;; \
43
+  esac; \
44
+  has_opt=no; \
45
+  sane_makeflags=$$MAKEFLAGS; \
46
+  if $(am__is_gnu_make); then \
47
+    sane_makeflags=$$MFLAGS; \
48
+  else \
39 49
     case $$MAKEFLAGS in \
40 50
       *\\[\ \	]*) \
41
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
42
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
43
-      *) \
44
-        for am__flg in $$MAKEFLAGS; do \
45
-          case $$am__flg in \
46
-            *=*|--*) ;; \
47
-            *n*) am__dry=yes; break;; \
48
-          esac; \
49
-        done;; \
51
+        bs=\\; \
52
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
53
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
54
+    esac; \
55
+  fi; \
56
+  skip_next=no; \
57
+  strip_trailopt () \
58
+  { \
59
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
60
+  }; \
61
+  for flg in $$sane_makeflags; do \
62
+    test $$skip_next = yes && { skip_next=no; continue; }; \
63
+    case $$flg in \
64
+      *=*|--*) continue;; \
65
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
66
+      -*I?*) strip_trailopt 'I';; \
67
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
68
+      -*O?*) strip_trailopt 'O';; \
69
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
70
+      -*l?*) strip_trailopt 'l';; \
71
+      -[dEDm]) skip_next=yes;; \
72
+      -[JT]) skip_next=yes;; \
73
+    esac; \
74
+    case $$flg in \
75
+      *$$target_option*) has_opt=yes; break;; \
50 76
     esac; \
51
-    test $$am__dry = yes; \
52
-  }
77
+  done; \
78
+  test $$has_opt = yes
79
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
80
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
53 81
 pkgdatadir = $(datadir)/@PACKAGE@
54 82
 pkgincludedir = $(includedir)/@PACKAGE@
55 83
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -70,7 +98,7 @@ build_triplet = @build@
70 70
 host_triplet = @host@
71 71
 target_triplet = @target@
72 72
 subdir = database
73
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
73
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
74 74
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
75 75
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
76 76
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -163,6 +191,7 @@ am__can_run_installinfo = \
163 163
     n|no|NO) false;; \
164 164
     *) (install-info --version) >/dev/null 2>&1;; \
165 165
   esac
166
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
166 167
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
167 168
 ACLOCAL = @ACLOCAL@
168 169
 AMTAR = @AMTAR@
... ...
@@ -397,11 +426,9 @@ mostlyclean-libtool:
397 397
 
398 398
 clean-libtool:
399 399
 	-rm -rf .libs _libs
400
-tags: TAGS
401
-TAGS:
400
+tags TAGS:
402 401
 
403
-ctags: CTAGS
404
-CTAGS:
402
+ctags CTAGS:
405 403
 
406 404
 cscope cscopelist:
407 405
 
... ...
@@ -539,16 +566,17 @@ uninstall-am:
539 539
 .MAKE: install-am install-strip
540 540
 
541 541
 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
542
-	distclean distclean-generic distclean-libtool distdir dvi \
543
-	dvi-am html html-am info info-am install install-am \
544
-	install-data install-data-am install-data-local install-dvi \
545
-	install-dvi-am install-exec install-exec-am install-html \
546
-	install-html-am install-info install-info-am install-man \
547
-	install-pdf install-pdf-am install-ps install-ps-am \
548
-	install-strip installcheck installcheck-am installdirs \
549
-	maintainer-clean maintainer-clean-generic mostlyclean \
550
-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
551
-	uninstall uninstall-am
542
+	cscopelist-am ctags-am distclean distclean-generic \
543
+	distclean-libtool distdir dvi dvi-am html html-am info info-am \
544
+	install install-am install-data install-data-am \
545
+	install-data-local install-dvi install-dvi-am install-exec \
546
+	install-exec-am install-html install-html-am install-info \
547
+	install-info-am install-man install-pdf install-pdf-am \
548
+	install-ps install-ps-am install-strip installcheck \
549
+	installcheck-am installdirs maintainer-clean \
550
+	maintainer-clean-generic mostlyclean mostlyclean-generic \
551
+	mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
552
+	uninstall-am
552 553
 
553 554
 
554 555
 install-data-local:
... ...
@@ -1,7 +1,7 @@
1
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14 from Makefile.am.
2 2
 # @configure_input@
3 3
 
4
-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
4
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5 5
 
6 6
 # This Makefile.in is free software; the Free Software Foundation
7 7
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -32,23 +32,51 @@
32 32
 #  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
33 33
 #  MA 02110-1301, USA.
34 34
 VPATH = @srcdir@
35
-am__make_dryrun = \
36
-  { \
37
-    am__dry=no; \
35
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
36
+am__make_running_with_option = \
37
+  case $${target_option-} in \
38
+      ?) ;; \
39
+      *) echo "am__make_running_with_option: internal error: invalid" \
40
+              "target option '$${target_option-}' specified" >&2; \
41
+         exit 1;; \
42
+  esac; \
43
+  has_opt=no; \
44
+  sane_makeflags=$$MAKEFLAGS; \
45
+  if $(am__is_gnu_make); then \
46
+    sane_makeflags=$$MFLAGS; \
47
+  else \
38 48
     case $$MAKEFLAGS in \
39 49
       *\\[\ \	]*) \
40
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
41
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
42
-      *) \
43
-        for am__flg in $$MAKEFLAGS; do \
44
-          case $$am__flg in \
45
-            *=*|--*) ;; \
46
-            *n*) am__dry=yes; break;; \
47
-          esac; \
48
-        done;; \
50
+        bs=\\; \
51
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
52
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
49 53
     esac; \
50
-    test $$am__dry = yes; \
51
-  }
54
+  fi; \
55
+  skip_next=no; \
56
+  strip_trailopt () \
57
+  { \
58
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
59
+  }; \
60
+  for flg in $$sane_makeflags; do \
61
+    test $$skip_next = yes && { skip_next=no; continue; }; \
62
+    case $$flg in \
63
+      *=*|--*) continue;; \
64
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
65
+      -*I?*) strip_trailopt 'I';; \
66
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
67
+      -*O?*) strip_trailopt 'O';; \
68
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
69
+      -*l?*) strip_trailopt 'l';; \
70
+      -[dEDm]) skip_next=yes;; \
71
+      -[JT]) skip_next=yes;; \
72
+    esac; \
73
+    case $$flg in \
74
+      *$$target_option*) has_opt=yes; break;; \
75
+    esac; \
76
+  done; \
77
+  test $$has_opt = yes
78
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
79
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
52 80
 pkgdatadir = $(datadir)/@PACKAGE@
53 81
 pkgincludedir = $(includedir)/@PACKAGE@
54 82
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -69,7 +97,7 @@ build_triplet = @build@
69 69
 host_triplet = @host@
70 70
 target_triplet = @target@
71 71
 subdir = docs
72
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
72
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
73 73
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
74 74
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
75 75
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -196,6 +224,7 @@ man5dir = $(mandir)/man5
196 196
 man8dir = $(mandir)/man8
197 197
 NROFF = nroff
198 198
 MANS = $(man_MANS)
199
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
199 200
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
200 201
 ACLOCAL = @ACLOCAL@
201 202
 AMTAR = @AMTAR@
... ...
@@ -559,29 +588,14 @@ uninstall-man8:
559 559
 	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
560 560
 	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
561 561
 	dir='$(DESTDIR)$(man8dir)'; $(am__uninstall_files_from_dir)
562
-tags: TAGS
563
-TAGS:
562
+tags TAGS:
564 563
 
565
-ctags: CTAGS
566
-CTAGS:
564
+ctags CTAGS:
567 565
 
568 566
 cscope cscopelist:
569 567
 
570 568
 
571 569
 distdir: $(DISTFILES)
572
-	@list='$(MANS)'; if test -n "$$list"; then \
573
-	  list=`for p in $$list; do \
574
-	    if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
575
-	    if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
576
-	  if test -n "$$list" && \
577
-	    grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
578
-	    echo "error: found man pages containing the 'missing help2man' replacement text:" >&2; \
579
-	    grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/         /' >&2; \
580
-	    echo "       to fix them, install help2man, remove and regenerate the man pages;" >&2; \
581
-	    echo "       typically 'make maintainer-clean' will remove them" >&2; \
582
-	    exit 1; \
583
-	  else :; fi; \
584
-	else :; fi
585 570
 	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
586 571
 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
587 572
 	list='$(DISTFILES)'; \
... ...
@@ -719,17 +733,18 @@ uninstall-man: uninstall-man1 uninstall-man5 uninstall-man8
719 719
 .MAKE: install-am install-strip
720 720
 
721 721
 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
722
-	distclean distclean-generic distclean-libtool distdir dvi \
723
-	dvi-am html html-am info info-am install install-am \
724
-	install-data install-data-am install-dvi install-dvi-am \
725
-	install-exec install-exec-am install-html install-html-am \
726
-	install-info install-info-am install-man install-man1 \
727
-	install-man5 install-man8 install-pdf install-pdf-am \
728
-	install-ps install-ps-am install-strip installcheck \
729
-	installcheck-am installdirs maintainer-clean \
722
+	cscopelist-am ctags-am distclean distclean-generic \
723
+	distclean-libtool distdir dvi dvi-am html html-am info info-am \
724
+	install install-am install-data install-data-am install-dvi \
725
+	install-dvi-am install-exec install-exec-am install-html \
726
+	install-html-am install-info install-info-am install-man \
727
+	install-man1 install-man5 install-man8 install-pdf \
728
+	install-pdf-am install-ps install-ps-am install-strip \
729
+	installcheck installcheck-am installdirs maintainer-clean \
730 730
 	maintainer-clean-generic mostlyclean mostlyclean-generic \
731
-	mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
732
-	uninstall-man uninstall-man1 uninstall-man5 uninstall-man8
731
+	mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
732
+	uninstall-am uninstall-man uninstall-man1 uninstall-man5 \
733
+	uninstall-man8
733 734
 
734 735
 
735 736
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
@@ -1,7 +1,7 @@
1
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14 from Makefile.am.
2 2
 # @configure_input@
3 3
 
4
-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
4
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5 5
 
6 6
 # This Makefile.in is free software; the Free Software Foundation
7 7
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -33,23 +33,51 @@
33 33
 #  MA 02110-1301, USA.
34 34
 
35 35
 VPATH = @srcdir@
36
-am__make_dryrun = \
37
-  { \
38
-    am__dry=no; \
36
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
37
+am__make_running_with_option = \
38
+  case $${target_option-} in \
39
+      ?) ;; \
40
+      *) echo "am__make_running_with_option: internal error: invalid" \
41
+              "target option '$${target_option-}' specified" >&2; \
42
+         exit 1;; \
43
+  esac; \
44
+  has_opt=no; \
45
+  sane_makeflags=$$MAKEFLAGS; \
46
+  if $(am__is_gnu_make); then \
47
+    sane_makeflags=$$MFLAGS; \
48
+  else \
39 49
     case $$MAKEFLAGS in \
40 50
       *\\[\ \	]*) \
41
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
42
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
43
-      *) \
44
-        for am__flg in $$MAKEFLAGS; do \
45
-          case $$am__flg in \
46
-            *=*|--*) ;; \
47
-            *n*) am__dry=yes; break;; \
48
-          esac; \
49
-        done;; \
51
+        bs=\\; \
52
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
53
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
50 54
     esac; \
51
-    test $$am__dry = yes; \
52
-  }
55
+  fi; \
56
+  skip_next=no; \
57
+  strip_trailopt () \
58
+  { \
59
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
60
+  }; \
61
+  for flg in $$sane_makeflags; do \
62
+    test $$skip_next = yes && { skip_next=no; continue; }; \
63
+    case $$flg in \
64
+      *=*|--*) continue;; \
65
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
66
+      -*I?*) strip_trailopt 'I';; \
67
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
68
+      -*O?*) strip_trailopt 'O';; \
69
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
70
+      -*l?*) strip_trailopt 'l';; \
71
+      -[dEDm]) skip_next=yes;; \
72
+      -[JT]) skip_next=yes;; \
73
+    esac; \
74
+    case $$flg in \
75
+      *$$target_option*) has_opt=yes; break;; \
76
+    esac; \
77
+  done; \
78
+  test $$has_opt = yes
79
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
80
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
53 81
 pkgdatadir = $(datadir)/@PACKAGE@
54 82
 pkgincludedir = $(includedir)/@PACKAGE@
55 83
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -71,7 +99,7 @@ host_triplet = @host@
71 71
 target_triplet = @target@
72 72
 @BUILD_CLAMD_TRUE@@HAVE_MILTER_TRUE@am__append_1 = clamav-milter.conf.sample
73 73
 subdir = etc
74
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
74
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
75 75
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
76 76
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
77 77
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -193,6 +221,7 @@ am__uninstall_files_from_dir = { \
193 193
   }
194 194
 am__installdirs = "$(DESTDIR)$(sysconfdir)"
195 195
 DATA = $(sysconf_DATA)
196
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
196 197
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
197 198
 ACLOCAL = @ACLOCAL@
198 199
 AMTAR = @AMTAR@
... ...
@@ -449,11 +478,9 @@ uninstall-sysconfDATA:
449 449
 	@list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
450 450
 	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
451 451
 	dir='$(DESTDIR)$(sysconfdir)'; $(am__uninstall_files_from_dir)
452
-tags: TAGS
453
-TAGS:
452
+tags TAGS:
454 453
 
455
-ctags: CTAGS
456
-CTAGS:
454
+ctags CTAGS:
457 455
 
458 456
 cscope cscopelist:
459 457
 
... ...
@@ -594,16 +621,16 @@ uninstall-am: uninstall-sysconfDATA
594 594
 .MAKE: install-am install-strip
595 595
 
596 596
 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
597
-	distclean distclean-generic distclean-libtool distdir dvi \
598
-	dvi-am html html-am info info-am install install-am \
599
-	install-data install-data-am install-dvi install-dvi-am \
600
-	install-exec install-exec-am install-html install-html-am \
601
-	install-info install-info-am install-man install-pdf \
602
-	install-pdf-am install-ps install-ps-am install-strip \
603
-	install-sysconfDATA installcheck installcheck-am installdirs \
604
-	maintainer-clean maintainer-clean-generic mostlyclean \
605
-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
606
-	uninstall uninstall-am uninstall-sysconfDATA
597
+	cscopelist-am ctags-am distclean distclean-generic \
598
+	distclean-libtool distdir dvi dvi-am html html-am info info-am \
599
+	install install-am install-data install-data-am install-dvi \
600
+	install-dvi-am install-exec install-exec-am install-html \
601
+	install-html-am install-info install-info-am install-man \
602
+	install-pdf install-pdf-am install-ps install-ps-am \
603
+	install-strip install-sysconfDATA installcheck installcheck-am \
604
+	installdirs maintainer-clean maintainer-clean-generic \
605
+	mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
606
+	ps ps-am tags-am uninstall uninstall-am uninstall-sysconfDATA
607 607
 
608 608
 
609 609
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
@@ -1,7 +1,7 @@
1
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14 from Makefile.am.
2 2
 # @configure_input@
3 3
 
4
-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
4
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5 5
 
6 6
 # This Makefile.in is free software; the Free Software Foundation
7 7
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -34,23 +34,51 @@
34 34
 #  MA 02110-1301, USA.
35 35
 
36 36
 VPATH = @srcdir@
37
-am__make_dryrun = \
38
-  { \
39
-    am__dry=no; \
37
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
38
+am__make_running_with_option = \
39
+  case $${target_option-} in \
40
+      ?) ;; \
41
+      *) echo "am__make_running_with_option: internal error: invalid" \
42
+              "target option '$${target_option-}' specified" >&2; \
43
+         exit 1;; \
44
+  esac; \
45
+  has_opt=no; \
46
+  sane_makeflags=$$MAKEFLAGS; \
47
+  if $(am__is_gnu_make); then \
48
+    sane_makeflags=$$MFLAGS; \
49
+  else \
40 50
     case $$MAKEFLAGS in \
41 51
       *\\[\ \	]*) \
42
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
43
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
44
-      *) \
45
-        for am__flg in $$MAKEFLAGS; do \
46
-          case $$am__flg in \
47
-            *=*|--*) ;; \
48
-            *n*) am__dry=yes; break;; \
49
-          esac; \
50
-        done;; \
52
+        bs=\\; \
53
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
54
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
55
+    esac; \
56
+  fi; \
57
+  skip_next=no; \
58
+  strip_trailopt () \
59
+  { \
60
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
61
+  }; \
62
+  for flg in $$sane_makeflags; do \
63
+    test $$skip_next = yes && { skip_next=no; continue; }; \
64
+    case $$flg in \
65
+      *=*|--*) continue;; \
66
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
67
+      -*I?*) strip_trailopt 'I';; \
68
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
69
+      -*O?*) strip_trailopt 'O';; \
70
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
71
+      -*l?*) strip_trailopt 'l';; \
72
+      -[dEDm]) skip_next=yes;; \
73
+      -[JT]) skip_next=yes;; \
74
+    esac; \
75
+    case $$flg in \
76
+      *$$target_option*) has_opt=yes; break;; \
51 77
     esac; \
52
-    test $$am__dry = yes; \
53
-  }
78
+  done; \
79
+  test $$has_opt = yes
80
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
81
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
54 82
 pkgdatadir = $(datadir)/@PACKAGE@
55 83
 pkgincludedir = $(includedir)/@PACKAGE@
56 84
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -72,7 +100,7 @@ host_triplet = @host@
72 72
 target_triplet = @target@
73 73
 bin_PROGRAMS = freshclam$(EXEEXT)
74 74
 subdir = freshclam
75
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
75
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
76 76
 	$(top_srcdir)/config/depcomp
77 77
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
78 78
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
... ...
@@ -201,6 +229,23 @@ am__can_run_installinfo = \
201 201
     n|no|NO) false;; \
202 202
     *) (install-info --version) >/dev/null 2>&1;; \
203 203
   esac
204
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
205
+# Read a list of newline-separated strings from the standard input,
206
+# and print each of them once, without duplicates.  Input order is
207
+# *not* preserved.
208
+am__uniquify_input = $(AWK) '\
209
+  BEGIN { nonempty = 0; } \
210
+  { items[$$0] = 1; nonempty = 1; } \
211
+  END { if (nonempty) { for (i in items) print i; }; } \
212
+'
213
+# Make sure the list of sources is unique.  This is necessary because,
214
+# e.g., the same source file might be shared among _SOURCES variables
215
+# for different programs/libraries.
216
+am__define_uniq_tagged_files = \
217
+  list='$(am__tagged_files)'; \
218
+  unique=`for i in $$list; do \
219
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
220
+  done | $(am__uniquify_input)`
204 221
 ETAGS = etags
205 222
 CTAGS = ctags
206 223
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -473,10 +518,12 @@ install-binPROGRAMS: $(bin_PROGRAMS)
473 473
 	fi; \
474 474
 	for p in $$list; do echo "$$p $$p"; done | \
475 475
 	sed 's/$(EXEEXT)$$//' | \
476
-	while read p p1; do if test -f $$p || test -f $$p1; \
477
-	  then echo "$$p"; echo "$$p"; else :; fi; \
476
+	while read p p1; do if test -f $$p \
477
+	 || test -f $$p1 \
478
+	  ; then echo "$$p"; echo "$$p"; else :; fi; \
478 479
 	done | \
479
-	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
480
+	sed -e 'p;s,.*/,,;n;h' \
481
+	    -e 's|.*|.|' \
480 482
 	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
481 483
 	sed 'N;N;N;s,\n, ,g' | \
482 484
 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
... ...
@@ -497,7 +544,8 @@ uninstall-binPROGRAMS:
497 497
 	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
498 498
 	files=`for p in $$list; do echo "$$p"; done | \
499 499
 	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
500
-	      -e 's/$$/$(EXEEXT)/' `; \
500
+	      -e 's/$$/$(EXEEXT)/' \
501
+	`; \
501 502
 	test -n "$$list" || exit 0; \
502 503
 	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
503 504
 	cd "$(DESTDIR)$(bindir)" && rm -f $$files
... ...
@@ -526,6 +574,7 @@ installcheck-binPROGRAMS: $(bin_PROGRAMS)
526 526
 	    else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \
527 527
 	  done; \
528 528
 	done; rm -f c$${pid}_.???; exit $$bad
529
+
529 530
 freshclam$(EXEEXT): $(freshclam_OBJECTS) $(freshclam_DEPENDENCIES) $(EXTRA_freshclam_DEPENDENCIES) 
530 531
 	@rm -f freshclam$(EXEEXT)
531 532
 	$(AM_V_CCLD)$(LINK) $(freshclam_OBJECTS) $(freshclam_LDADD) $(LIBS)
... ...
@@ -556,14 +605,14 @@ distclean-compile:
556 556
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
557 557
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
558 558
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
559
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
559
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
560 560
 
561 561
 .c.obj:
562 562
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
563 563
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
564 564
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
565 565
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
566
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
566
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
567 567
 
568 568
 .c.lo:
569 569
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -676,26 +725,15 @@ mostlyclean-libtool:
676 676
 clean-libtool:
677 677
 	-rm -rf .libs _libs
678 678
 
679
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
680
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
681
-	unique=`for i in $$list; do \
682
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
683
-	  done | \
684
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
685
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
686
-	mkid -fID $$unique
687
-tags: TAGS
688
-
689
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
690
-		$(TAGS_FILES) $(LISP)
679
+ID: $(am__tagged_files)
680
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
681
+tags: tags-am
682
+TAGS: tags
683
+
684
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
691 685
 	set x; \
692 686
 	here=`pwd`; \
693
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
694
-	unique=`for i in $$list; do \
695
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
696
-	  done | \
697
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
698
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
687
+	$(am__define_uniq_tagged_files); \
699 688
 	shift; \
700 689
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
701 690
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -707,15 +745,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
707 707
 	      $$unique; \
708 708
 	  fi; \
709 709
 	fi
710
-ctags: CTAGS
711
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
712
-		$(TAGS_FILES) $(LISP)
713
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
714
-	unique=`for i in $$list; do \
715
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
716
-	  done | \
717
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
718
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
710
+ctags: ctags-am
711
+
712
+CTAGS: ctags
713
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
714
+	$(am__define_uniq_tagged_files); \
719 715
 	test -z "$(CTAGS_ARGS)$$unique" \
720 716
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
721 717
 	     $$unique
... ...
@@ -724,9 +758,10 @@ GTAGS:
724 724
 	here=`$(am__cd) $(top_builddir) && pwd` \
725 725
 	  && $(am__cd) $(top_srcdir) \
726 726
 	  && gtags -i $(GTAGS_ARGS) "$$here"
727
+cscopelist: cscopelist-am
727 728
 
728
-cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
729
-	list='$(SOURCES) $(HEADERS) $(LISP)'; \
729
+cscopelist-am: $(am__tagged_files)
730
+	list='$(am__tagged_files)'; \
730 731
 	case "$(srcdir)" in \
731 732
 	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
732 733
 	  *) sdir=$(subdir)/$(srcdir) ;; \
... ...
@@ -882,20 +917,20 @@ uninstall-am: uninstall-binPROGRAMS
882 882
 
883 883
 .MAKE: install-am install-strip
884 884
 
885
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
886
-	clean-generic clean-libtool cscopelist ctags distclean \
887
-	distclean-compile distclean-generic distclean-libtool \
888
-	distclean-tags distdir dvi dvi-am html html-am info info-am \
889
-	install install-am install-binPROGRAMS install-data \
890
-	install-data-am install-dvi install-dvi-am install-exec \
891
-	install-exec-am install-html install-html-am install-info \
892
-	install-info-am install-man install-pdf install-pdf-am \
893
-	install-ps install-ps-am install-strip installcheck \
894
-	installcheck-am installcheck-binPROGRAMS installdirs \
895
-	maintainer-clean maintainer-clean-generic mostlyclean \
896
-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
897
-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
898
-	uninstall-binPROGRAMS
885
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
886
+	clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
887
+	ctags ctags-am distclean distclean-compile distclean-generic \
888
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
889
+	html-am info info-am install install-am install-binPROGRAMS \
890
+	install-data install-data-am install-dvi install-dvi-am \
891
+	install-exec install-exec-am install-html install-html-am \
892
+	install-info install-info-am install-man install-pdf \
893
+	install-pdf-am install-ps install-ps-am install-strip \
894
+	installcheck installcheck-am installcheck-binPROGRAMS \
895
+	installdirs maintainer-clean maintainer-clean-generic \
896
+	mostlyclean mostlyclean-compile mostlyclean-generic \
897
+	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
898
+	uninstall-am uninstall-binPROGRAMS
899 899
 
900 900
 
901 901
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
@@ -261,6 +261,7 @@ libclamav_la_SOURCES = \
261 261
 	nsis/nsis_zutil.h \
262 262
 	pdf.c \
263 263
 	pdf.h \
264
+	pdfng.c \
264 265
 	spin.c \
265 266
 	spin.h \
266 267
 	yc.c \
... ...
@@ -1,7 +1,7 @@
1
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14 from Makefile.am.
2 2
 # @configure_input@
3 3
 
4
-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
4
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5 5
 
6 6
 # This Makefile.in is free software; the Free Software Foundation
7 7
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -35,23 +35,51 @@
35 35
 
36 36
 
37 37
 VPATH = @srcdir@
38
-am__make_dryrun = \
39
-  { \
40
-    am__dry=no; \
38
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
39
+am__make_running_with_option = \
40
+  case $${target_option-} in \
41
+      ?) ;; \
42
+      *) echo "am__make_running_with_option: internal error: invalid" \
43
+              "target option '$${target_option-}' specified" >&2; \
44
+         exit 1;; \
45
+  esac; \
46
+  has_opt=no; \
47
+  sane_makeflags=$$MAKEFLAGS; \
48
+  if $(am__is_gnu_make); then \
49
+    sane_makeflags=$$MFLAGS; \
50
+  else \
41 51
     case $$MAKEFLAGS in \
42 52
       *\\[\ \	]*) \
43
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
44
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
45
-      *) \
46
-        for am__flg in $$MAKEFLAGS; do \
47
-          case $$am__flg in \
48
-            *=*|--*) ;; \
49
-            *n*) am__dry=yes; break;; \
50
-          esac; \
51
-        done;; \
53
+        bs=\\; \
54
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
55
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
52 56
     esac; \
53
-    test $$am__dry = yes; \
54
-  }
57
+  fi; \
58
+  skip_next=no; \
59
+  strip_trailopt () \
60
+  { \
61
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
62
+  }; \
63
+  for flg in $$sane_makeflags; do \
64
+    test $$skip_next = yes && { skip_next=no; continue; }; \
65
+    case $$flg in \
66
+      *=*|--*) continue;; \
67
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
68
+      -*I?*) strip_trailopt 'I';; \
69
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
70
+      -*O?*) strip_trailopt 'O';; \
71
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
72
+      -*l?*) strip_trailopt 'l';; \
73
+      -[dEDm]) skip_next=yes;; \
74
+      -[JT]) skip_next=yes;; \
75
+    esac; \
76
+    case $$flg in \
77
+      *$$target_option*) has_opt=yes; break;; \
78
+    esac; \
79
+  done; \
80
+  test $$has_opt = yes
81
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
82
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
55 83
 pkgdatadir = $(datadir)/@PACKAGE@
56 84
 pkgincludedir = $(includedir)/@PACKAGE@
57 85
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -81,8 +109,8 @@ target_triplet = @target@
81 81
 @ENABLE_UNRAR_TRUE@@VERSIONSCRIPT_TRUE@am__append_5 = -Wl,@VERSIONSCRIPTFLAG@,@top_srcdir@/libclamunrar_iface/libclamunrar_iface.map
82 82
 @VERSIONSCRIPT_TRUE@am__append_6 = -Wl,@VERSIONSCRIPTFLAG@,@top_srcdir@/libclamav/libclamav.map
83 83
 subdir = libclamav
84
-DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
85
-	$(srcdir)/Makefile.in $(top_srcdir)/config/depcomp
84
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
85
+	$(top_srcdir)/config/depcomp $(include_HEADERS)
86 86
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
87 87
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
88 88
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -212,8 +240,8 @@ am_libclamav_la_OBJECTS = libclamav_la-matcher-ac.lo \
212 212
 	libclamav_la-tnef.lo libclamav_la-autoit.lo \
213 213
 	libclamav_la-unarj.lo libclamav_la-bzlib.lo \
214 214
 	libclamav_la-nulsft.lo libclamav_la-infblock.lo \
215
-	libclamav_la-pdf.lo libclamav_la-spin.lo libclamav_la-yc.lo \
216
-	libclamav_la-elf.lo libclamav_la-sis.lo \
215
+	libclamav_la-pdf.lo libclamav_la-pdfng.lo libclamav_la-spin.lo \
216
+	libclamav_la-yc.lo libclamav_la-elf.lo libclamav_la-sis.lo \
217 217
 	libclamav_la-uuencode.lo libclamav_la-phishcheck.lo \
218 218
 	libclamav_la-phish_domaincheck_db.lo \
219 219
 	libclamav_la-phish_whitelist.lo libclamav_la-regex_list.lo \
... ...
@@ -434,13 +462,14 @@ DIST_SOURCES = $(libclamav_la_SOURCES) \
434 434
 	$(libclamav_nocxx_la_SOURCES) \
435 435
 	$(am__libclamunrar_la_SOURCES_DIST) \
436 436
 	$(am__libclamunrar_iface_la_SOURCES_DIST)
437
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
438
-	html-recursive info-recursive install-data-recursive \
439
-	install-dvi-recursive install-exec-recursive \
440
-	install-html-recursive install-info-recursive \
441
-	install-pdf-recursive install-ps-recursive install-recursive \
442
-	installcheck-recursive installdirs-recursive pdf-recursive \
443
-	ps-recursive uninstall-recursive
437
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
438
+	ctags-recursive dvi-recursive html-recursive info-recursive \
439
+	install-data-recursive install-dvi-recursive \
440
+	install-exec-recursive install-html-recursive \
441
+	install-info-recursive install-pdf-recursive \
442
+	install-ps-recursive install-recursive installcheck-recursive \
443
+	installdirs-recursive pdf-recursive ps-recursive \
444
+	tags-recursive uninstall-recursive
444 445
 am__can_run_installinfo = \
445 446
   case $$AM_UPDATE_INFO_DIR in \
446 447
     n|no|NO) false;; \
... ...
@@ -449,9 +478,29 @@ am__can_run_installinfo = \
449 449
 HEADERS = $(include_HEADERS)
450 450
 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
451 451
   distclean-recursive maintainer-clean-recursive
452
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
453
-	$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
452
+am__recursive_targets = \
453
+  $(RECURSIVE_TARGETS) \
454
+  $(RECURSIVE_CLEAN_TARGETS) \
455
+  $(am__extra_recursive_targets)
456
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
454 457
 	distdir
458
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
459
+# Read a list of newline-separated strings from the standard input,
460
+# and print each of them once, without duplicates.  Input order is
461
+# *not* preserved.
462
+am__uniquify_input = $(AWK) '\
463
+  BEGIN { nonempty = 0; } \
464
+  { items[$$0] = 1; nonempty = 1; } \
465
+  END { if (nonempty) { for (i in items) print i; }; } \
466
+'
467
+# Make sure the list of sources is unique.  This is necessary because,
468
+# e.g., the same source file might be shared among _SOURCES variables
469
+# for different programs/libraries.
470
+am__define_uniq_tagged_files = \
471
+  list='$(am__tagged_files)'; \
472
+  unique=`for i in $$list; do \
473
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
474
+  done | $(am__uniquify_input)`
455 475
 ETAGS = etags
456 476
 CTAGS = ctags
457 477
 DIST_SUBDIRS = c++
... ...
@@ -800,8 +849,8 @@ libclamav_la_SOURCES = matcher-ac.c matcher-ac.h matcher-bm.c \
800 800
 	tnef.h autoit.c autoit.h unarj.c unarj.h nsis/bzlib.c \
801 801
 	nsis/bzlib_private.h nsis/nsis_bzlib.h nsis/nulsft.c \
802 802
 	nsis/nulsft.h nsis/infblock.c nsis/nsis_zconf.h \
803
-	nsis/nsis_zlib.h nsis/nsis_zutil.h pdf.c pdf.h spin.c spin.h \
804
-	yc.c yc.h elf.c elf.h execs.h sis.c sis.h uuencode.c \
803
+	nsis/nsis_zlib.h nsis/nsis_zutil.h pdf.c pdf.h pdfng.c spin.c \
804
+	spin.h yc.c yc.h elf.c elf.h execs.h sis.c sis.h uuencode.c \
805 805
 	uuencode.h phishcheck.c phishcheck.h phish_domaincheck_db.c \
806 806
 	phish_domaincheck_db.h phish_whitelist.c phish_whitelist.h \
807 807
 	iana_cctld.h iana_tld.h regex_list.c regex_list.h \
... ...
@@ -938,6 +987,7 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
938 938
 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
939 939
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
940 940
 $(am__aclocal_m4_deps):
941
+
941 942
 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
942 943
 	@$(NORMAL_INSTALL)
943 944
 	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
... ...
@@ -983,16 +1033,22 @@ clean-noinstLTLIBRARIES:
983 983
 	  echo rm -f $${locs}; \
984 984
 	  rm -f $${locs}; \
985 985
 	}
986
+
986 987
 libclamav.la: $(libclamav_la_OBJECTS) $(libclamav_la_DEPENDENCIES) $(EXTRA_libclamav_la_DEPENDENCIES) 
987 988
 	$(AM_V_CCLD)$(libclamav_la_LINK) -rpath $(libdir) $(libclamav_la_OBJECTS) $(libclamav_la_LIBADD) $(LIBS)
989
+
988 990
 libclamav_internal_utils.la: $(libclamav_internal_utils_la_OBJECTS) $(libclamav_internal_utils_la_DEPENDENCIES) $(EXTRA_libclamav_internal_utils_la_DEPENDENCIES) 
989 991
 	$(AM_V_CCLD)$(libclamav_internal_utils_la_LINK)  $(libclamav_internal_utils_la_OBJECTS) $(libclamav_internal_utils_la_LIBADD) $(LIBS)
992
+
990 993
 libclamav_internal_utils_nothreads.la: $(libclamav_internal_utils_nothreads_la_OBJECTS) $(libclamav_internal_utils_nothreads_la_DEPENDENCIES) $(EXTRA_libclamav_internal_utils_nothreads_la_DEPENDENCIES) 
991 994
 	$(AM_V_CCLD)$(libclamav_internal_utils_nothreads_la_LINK)  $(libclamav_internal_utils_nothreads_la_OBJECTS) $(libclamav_internal_utils_nothreads_la_LIBADD) $(LIBS)
995
+
992 996
 libclamav_nocxx.la: $(libclamav_nocxx_la_OBJECTS) $(libclamav_nocxx_la_DEPENDENCIES) $(EXTRA_libclamav_nocxx_la_DEPENDENCIES) 
993 997
 	$(AM_V_CCLD)$(libclamav_nocxx_la_LINK)  $(libclamav_nocxx_la_OBJECTS) $(libclamav_nocxx_la_LIBADD) $(LIBS)
998
+
994 999
 libclamunrar.la: $(libclamunrar_la_OBJECTS) $(libclamunrar_la_DEPENDENCIES) $(EXTRA_libclamunrar_la_DEPENDENCIES) 
995 1000
 	$(AM_V_CCLD)$(libclamunrar_la_LINK) $(am_libclamunrar_la_rpath) $(libclamunrar_la_OBJECTS) $(libclamunrar_la_LIBADD) $(LIBS)
1001
+
996 1002
 libclamunrar_iface.la: $(libclamunrar_iface_la_OBJECTS) $(libclamunrar_iface_la_DEPENDENCIES) $(EXTRA_libclamunrar_iface_la_DEPENDENCIES) 
997 1003
 	$(AM_V_CCLD)$(libclamunrar_iface_la_LINK) $(am_libclamunrar_iface_la_rpath) $(libclamunrar_iface_la_OBJECTS) $(libclamunrar_iface_la_LIBADD) $(LIBS)
998 1004
 
... ...
@@ -1195,6 +1251,7 @@ distclean-compile:
1195 1195
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libclamav_la-others.Plo@am__quote@
1196 1196
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libclamav_la-packlibs.Plo@am__quote@
1197 1197
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libclamav_la-pdf.Plo@am__quote@
1198
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libclamav_la-pdfng.Plo@am__quote@
1198 1199
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libclamav_la-pe.Plo@am__quote@
1199 1200
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libclamav_la-pe_icons.Plo@am__quote@
1200 1201
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libclamav_la-perflogging.Plo@am__quote@
... ...
@@ -1256,14 +1313,14 @@ distclean-compile:
1256 1256
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1257 1257
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1258 1258
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1259
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
1259
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
1260 1260
 
1261 1261
 .c.obj:
1262 1262
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
1263 1263
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1264 1264
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1265 1265
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1266
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
1266
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
1267 1267
 
1268 1268
 .c.lo:
1269 1269
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -1622,6 +1679,13 @@ libclamav_la-pdf.lo: pdf.c
1622 1622
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1623 1623
 @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libclamav_la_CFLAGS) $(CFLAGS) -c -o libclamav_la-pdf.lo `test -f 'pdf.c' || echo '$(srcdir)/'`pdf.c
1624 1624
 
1625
+libclamav_la-pdfng.lo: pdfng.c
1626
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libclamav_la_CFLAGS) $(CFLAGS) -MT libclamav_la-pdfng.lo -MD -MP -MF $(DEPDIR)/libclamav_la-pdfng.Tpo -c -o libclamav_la-pdfng.lo `test -f 'pdfng.c' || echo '$(srcdir)/'`pdfng.c
1627
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/libclamav_la-pdfng.Tpo $(DEPDIR)/libclamav_la-pdfng.Plo
1628
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='pdfng.c' object='libclamav_la-pdfng.lo' libtool=yes @AMDEPBACKSLASH@
1629
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1630
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libclamav_la_CFLAGS) $(CFLAGS) -c -o libclamav_la-pdfng.lo `test -f 'pdfng.c' || echo '$(srcdir)/'`pdfng.c
1631
+
1625 1632
 libclamav_la-spin.lo: spin.c
1626 1633
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libclamav_la_CFLAGS) $(CFLAGS) -MT libclamav_la-spin.lo -MD -MP -MF $(DEPDIR)/libclamav_la-spin.Tpo -c -o libclamav_la-spin.lo `test -f 'spin.c' || echo '$(srcdir)/'`spin.c
1627 1634
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/libclamav_la-spin.Tpo $(DEPDIR)/libclamav_la-spin.Plo
... ...
@@ -3041,14 +3105,13 @@ uninstall-includeHEADERS:
3041 3041
 # (1) if the variable is set in 'config.status', edit 'config.status'
3042 3042
 #     (which will cause the Makefiles to be regenerated when you run 'make');
3043 3043
 # (2) otherwise, pass the desired values on the 'make' command line.
3044
-$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
3045
-	@fail= failcom='exit 1'; \
3046
-	for f in x $$MAKEFLAGS; do \
3047
-	  case $$f in \
3048
-	    *=* | --[!k]*);; \
3049
-	    *k*) failcom='fail=yes';; \
3050
-	  esac; \
3051
-	done; \
3044
+$(am__recursive_targets):
3045
+	@fail=; \
3046
+	if $(am__make_keepgoing); then \
3047
+	  failcom='fail=yes'; \
3048
+	else \
3049
+	  failcom='exit 1'; \
3050
+	fi; \
3052 3051
 	dot_seen=no; \
3053 3052
 	target=`echo $@ | sed s/-recursive//`; \
3054 3053
 	case "$@" in \
... ...
@@ -3069,31 +3132,13 @@ $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
3069 3069
 	if test "$$dot_seen" = "no"; then \
3070 3070
 	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
3071 3071
 	fi; test -z "$$fail"
3072
-tags-recursive:
3073
-	list='$(SUBDIRS)'; for subdir in $$list; do \
3074
-	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
3075
-	done
3076
-ctags-recursive:
3077
-	list='$(SUBDIRS)'; for subdir in $$list; do \
3078
-	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
3079
-	done
3080
-cscopelist-recursive:
3081
-	list='$(SUBDIRS)'; for subdir in $$list; do \
3082
-	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
3083
-	done
3084 3072
 
3085
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
3086
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
3087
-	unique=`for i in $$list; do \
3088
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
3089
-	  done | \
3090
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
3091
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
3092
-	mkid -fID $$unique
3093
-tags: TAGS
3094
-
3095
-TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
3096
-		$(TAGS_FILES) $(LISP)
3073
+ID: $(am__tagged_files)
3074
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
3075
+tags: tags-recursive
3076
+TAGS: tags
3077
+
3078
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
3097 3079
 	set x; \
3098 3080
 	here=`pwd`; \
3099 3081
 	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
... ...
@@ -3109,12 +3154,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
3109 3109
 	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
3110 3110
 	  fi; \
3111 3111
 	done; \
3112
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
3113
-	unique=`for i in $$list; do \
3114
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
3115
-	  done | \
3116
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
3117
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
3112
+	$(am__define_uniq_tagged_files); \
3118 3113
 	shift; \
3119 3114
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
3120 3115
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -3126,15 +3166,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
3126 3126
 	      $$unique; \
3127 3127
 	  fi; \
3128 3128
 	fi
3129
-ctags: CTAGS
3130
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
3131
-		$(TAGS_FILES) $(LISP)
3132
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
3133
-	unique=`for i in $$list; do \
3134
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
3135
-	  done | \
3136
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
3137
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
3129
+ctags: ctags-recursive
3130
+
3131
+CTAGS: ctags
3132
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
3133
+	$(am__define_uniq_tagged_files); \
3138 3134
 	test -z "$(CTAGS_ARGS)$$unique" \
3139 3135
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
3140 3136
 	     $$unique
... ...
@@ -3143,9 +3179,10 @@ GTAGS:
3143 3143
 	here=`$(am__cd) $(top_builddir) && pwd` \
3144 3144
 	  && $(am__cd) $(top_srcdir) \
3145 3145
 	  && gtags -i $(GTAGS_ARGS) "$$here"
3146
+cscopelist: cscopelist-recursive
3146 3147
 
3147
-cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
3148
-	list='$(SOURCES) $(HEADERS) $(LISP)'; \
3148
+cscopelist-am: $(am__tagged_files)
3149
+	list='$(am__tagged_files)'; \
3149 3150
 	case "$(srcdir)" in \
3150 3151
 	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
3151 3152
 	  *) sdir=$(subdir)/$(srcdir) ;; \
... ...
@@ -3329,15 +3366,13 @@ ps-am:
3329 3329
 
3330 3330
 uninstall-am: uninstall-includeHEADERS uninstall-libLTLIBRARIES
3331 3331
 
3332
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
3333
-	cscopelist-recursive ctags-recursive install install-am \
3334
-	install-strip tags-recursive
3332
+.MAKE: $(am__recursive_targets) all check install install-am \
3333
+	install-strip
3335 3334
 
3336
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
3337
-	all all-am check check-am clean clean-generic \
3338
-	clean-libLTLIBRARIES clean-libtool clean-noinstLTLIBRARIES \
3339
-	cscopelist cscopelist-recursive ctags ctags-recursive \
3340
-	distclean distclean-compile distclean-generic \
3335
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
3336
+	check-am clean clean-generic clean-libLTLIBRARIES \
3337
+	clean-libtool clean-noinstLTLIBRARIES cscopelist-am ctags \
3338
+	ctags-am distclean distclean-compile distclean-generic \
3341 3339
 	distclean-libtool distclean-tags distdir dvi dvi-am html \
3342 3340
 	html-am info info-am install install-am install-data \
3343 3341
 	install-data-am install-dvi install-dvi-am install-exec \
... ...
@@ -3348,8 +3383,8 @@ uninstall-am: uninstall-includeHEADERS uninstall-libLTLIBRARIES
3348 3348
 	installcheck-am installdirs installdirs-am maintainer-clean \
3349 3349
 	maintainer-clean-generic mostlyclean mostlyclean-compile \
3350 3350
 	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
3351
-	tags tags-recursive uninstall uninstall-am \
3352
-	uninstall-includeHEADERS uninstall-libLTLIBRARIES
3351
+	tags tags-am uninstall uninstall-am uninstall-includeHEADERS \
3352
+	uninstall-libLTLIBRARIES
3353 3353
 
3354 3354
 @ENABLE_LLVM_FALSE@c++/Makefile: c++/Makefile.nollvm.in
3355 3355
 @ENABLE_LLVM_FALSE@	$(AM_V_at) cp $< $@
... ...
@@ -1,7 +1,7 @@
1
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14 from Makefile.am.
2 2
 # @configure_input@
3 3
 
4
-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
4
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5 5
 
6 6
 # This Makefile.in is free software; the Free Software Foundation
7 7
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -31,23 +31,51 @@
31 31
 
32 32
 
33 33
 VPATH = @srcdir@
34
-am__make_dryrun = \
35
-  { \
36
-    am__dry=no; \
34
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
35
+am__make_running_with_option = \
36
+  case $${target_option-} in \
37
+      ?) ;; \
38
+      *) echo "am__make_running_with_option: internal error: invalid" \
39
+              "target option '$${target_option-}' specified" >&2; \
40
+         exit 1;; \
41
+  esac; \
42
+  has_opt=no; \
43
+  sane_makeflags=$$MAKEFLAGS; \
44
+  if $(am__is_gnu_make); then \
45
+    sane_makeflags=$$MFLAGS; \
46
+  else \
37 47
     case $$MAKEFLAGS in \
38 48
       *\\[\ \	]*) \
39
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
40
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
41
-      *) \
42
-        for am__flg in $$MAKEFLAGS; do \
43
-          case $$am__flg in \
44
-            *=*|--*) ;; \
45
-            *n*) am__dry=yes; break;; \
46
-          esac; \
47
-        done;; \
49
+        bs=\\; \
50
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
51
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
52
+    esac; \
53
+  fi; \
54
+  skip_next=no; \
55
+  strip_trailopt () \
56
+  { \
57
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
58
+  }; \
59
+  for flg in $$sane_makeflags; do \
60
+    test $$skip_next = yes && { skip_next=no; continue; }; \
61
+    case $$flg in \
62
+      *=*|--*) continue;; \
63
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
64
+      -*I?*) strip_trailopt 'I';; \
65
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
66
+      -*O?*) strip_trailopt 'O';; \
67
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
68
+      -*l?*) strip_trailopt 'l';; \
69
+      -[dEDm]) skip_next=yes;; \
70
+      -[JT]) skip_next=yes;; \
48 71
     esac; \
49
-    test $$am__dry = yes; \
50
-  }
72
+    case $$flg in \
73
+      *$$target_option*) has_opt=yes; break;; \
74
+    esac; \
75
+  done; \
76
+  test $$has_opt = yes
77
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
78
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
51 79
 pkgdatadir = $(datadir)/@PACKAGE@
52 80
 pkgincludedir = $(includedir)/@PACKAGE@
53 81
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -80,15 +108,16 @@ target_triplet = @target@
80 80
 @BUILD_EXTERNAL_LLVM_FALSE@@MAINTAINER_MODE_TRUE@am__append_10 = $(TBLGENFILES)
81 81
 @BUILD_EXTERNAL_LLVM_FALSE@@MAINTAINER_MODE_TRUE@noinst_PROGRAMS = tblgen$(EXEEXT)
82 82
 subdir = .
83
-DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
84
-	$(srcdir)/Makefile.in $(srcdir)/clamavcxx-config.h.in \
83
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
84
+	$(top_srcdir)/configure $(am__configure_deps) \
85
+	$(srcdir)/clamavcxx-config.h.in $(top_srcdir)/config/depcomp \
86
+	config/compile config/config.guess config/config.sub \
87
+	config/depcomp config/install-sh config/missing \
88
+	config/ltmain.sh $(top_srcdir)/config/compile \
85 89
 	$(top_srcdir)/config/config.guess \
86
-	$(top_srcdir)/config/config.sub $(top_srcdir)/config/depcomp \
90
+	$(top_srcdir)/config/config.sub \
87 91
 	$(top_srcdir)/config/install-sh $(top_srcdir)/config/ltmain.sh \
88
-	$(top_srcdir)/config/missing $(top_srcdir)/configure \
89
-	config/compile config/config.guess config/config.sub \
90
-	config/depcomp config/install-sh config/ltmain.sh \
91
-	config/missing
92
+	$(top_srcdir)/config/missing
92 93
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
93 94
 am__aclocal_m4_deps = $(top_srcdir)/m4/check_gnu_make.m4 \
94 95
 	$(top_srcdir)/m4/cxx_flag_check.m4 $(top_srcdir)/m4/libtool.m4 \
... ...
@@ -852,6 +881,24 @@ am__can_run_installinfo = \
852 852
     n|no|NO) false;; \
853 853
     *) (install-info --version) >/dev/null 2>&1;; \
854 854
   esac
855
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
856
+	$(LISP)clamavcxx-config.h.in
857
+# Read a list of newline-separated strings from the standard input,
858
+# and print each of them once, without duplicates.  Input order is
859
+# *not* preserved.
860
+am__uniquify_input = $(AWK) '\
861
+  BEGIN { nonempty = 0; } \
862
+  { items[$$0] = 1; nonempty = 1; } \
863
+  END { if (nonempty) { for (i in items) print i; }; } \
864
+'
865
+# Make sure the list of sources is unique.  This is necessary because,
866
+# e.g., the same source file might be shared among _SOURCES variables
867
+# for different programs/libraries.
868
+am__define_uniq_tagged_files = \
869
+  list='$(am__tagged_files)'; \
870
+  unique=`for i in $$list; do \
871
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
872
+  done | $(am__uniquify_input)`
855 873
 ETAGS = etags
856 874
 CTAGS = ctags
857 875
 CSCOPE = cscope
... ...
@@ -1527,8 +1574,8 @@ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
1527 1527
 $(am__aclocal_m4_deps):
1528 1528
 
1529 1529
 clamavcxx-config.h: stamp-h1
1530
-	@if test ! -f $@; then rm -f stamp-h1; else :; fi
1531
-	@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
1530
+	@test -f $@ || rm -f stamp-h1
1531
+	@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
1532 1532
 
1533 1533
 stamp-h1: $(srcdir)/clamavcxx-config.h.in $(top_builddir)/config.status
1534 1534
 	@rm -f stamp-h1
... ...
@@ -1551,16 +1598,22 @@ clean-noinstLTLIBRARIES:
1551 1551
 	  echo rm -f $${locs}; \
1552 1552
 	  rm -f $${locs}; \
1553 1553
 	}
1554
+
1554 1555
 libclamavcxx.la: $(libclamavcxx_la_OBJECTS) $(libclamavcxx_la_DEPENDENCIES) $(EXTRA_libclamavcxx_la_DEPENDENCIES) 
1555 1556
 	$(AM_V_CXXLD)$(libclamavcxx_la_LINK) $(am_libclamavcxx_la_rpath) $(libclamavcxx_la_OBJECTS) $(libclamavcxx_la_LIBADD) $(LIBS)
1557
+
1556 1558
 libllvmcodegen.la: $(libllvmcodegen_la_OBJECTS) $(libllvmcodegen_la_DEPENDENCIES) $(EXTRA_libllvmcodegen_la_DEPENDENCIES) 
1557 1559
 	$(AM_V_CXXLD)$(CXXLINK) $(am_libllvmcodegen_la_rpath) $(libllvmcodegen_la_OBJECTS) $(libllvmcodegen_la_LIBADD) $(LIBS)
1560
+
1558 1561
 libllvmjit.la: $(libllvmjit_la_OBJECTS) $(libllvmjit_la_DEPENDENCIES) $(EXTRA_libllvmjit_la_DEPENDENCIES) 
1559 1562
 	$(AM_V_CXXLD)$(CXXLINK) $(am_libllvmjit_la_rpath) $(libllvmjit_la_OBJECTS) $(libllvmjit_la_LIBADD) $(LIBS)
1563
+
1560 1564
 libllvmpowerpccodegen.la: $(libllvmpowerpccodegen_la_OBJECTS) $(libllvmpowerpccodegen_la_DEPENDENCIES) $(EXTRA_libllvmpowerpccodegen_la_DEPENDENCIES) 
1561 1565
 	$(AM_V_CXXLD)$(CXXLINK) $(am_libllvmpowerpccodegen_la_rpath) $(libllvmpowerpccodegen_la_OBJECTS) $(libllvmpowerpccodegen_la_LIBADD) $(LIBS)
1566
+
1562 1567
 libllvmsystem.la: $(libllvmsystem_la_OBJECTS) $(libllvmsystem_la_DEPENDENCIES) $(EXTRA_libllvmsystem_la_DEPENDENCIES) 
1563 1568
 	$(AM_V_CXXLD)$(libllvmsystem_la_LINK) $(am_libllvmsystem_la_rpath) $(libllvmsystem_la_OBJECTS) $(libllvmsystem_la_LIBADD) $(LIBS)
1569
+
1564 1570
 libllvmx86codegen.la: $(libllvmx86codegen_la_OBJECTS) $(libllvmx86codegen_la_DEPENDENCIES) $(EXTRA_libllvmx86codegen_la_DEPENDENCIES) 
1565 1571
 	$(AM_V_CXXLD)$(CXXLINK) $(am_libllvmx86codegen_la_rpath) $(libllvmx86codegen_la_OBJECTS) $(libllvmx86codegen_la_LIBADD) $(LIBS)
1566 1572
 
... ...
@@ -1572,6 +1625,7 @@ clean-noinstPROGRAMS:
1572 1572
 	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
1573 1573
 	echo " rm -f" $$list; \
1574 1574
 	rm -f $$list
1575
+
1575 1576
 tblgen$(EXEEXT): $(tblgen_OBJECTS) $(tblgen_DEPENDENCIES) $(EXTRA_tblgen_DEPENDENCIES) 
1576 1577
 	@rm -f tblgen$(EXEEXT)
1577 1578
 	$(AM_V_CXXLD)$(tblgen_LINK) $(tblgen_OBJECTS) $(tblgen_LDADD) $(LIBS)
... ...
@@ -1982,14 +2036,14 @@ distclean-compile:
1982 1982
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1983 1983
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1984 1984
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1985
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
1985
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
1986 1986
 
1987 1987
 .c.obj:
1988 1988
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
1989 1989
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1990 1990
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1991 1991
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1992
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
1992
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
1993 1993
 
1994 1994
 .c.lo:
1995 1995
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -5437,26 +5491,15 @@ clean-libtool:
5437 5437
 distclean-libtool:
5438 5438
 	-rm -f libtool config.lt
5439 5439
 
5440
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
5441
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
5442
-	unique=`for i in $$list; do \
5443
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
5444
-	  done | \
5445
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
5446
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
5447
-	mkid -fID $$unique
5448
-tags: TAGS
5449
-
5450
-TAGS:  $(HEADERS) $(SOURCES) clamavcxx-config.h.in $(TAGS_DEPENDENCIES) \
5451
-		$(TAGS_FILES) $(LISP)
5440
+ID: $(am__tagged_files)
5441
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
5442
+tags: tags-am
5443
+TAGS: tags
5444
+
5445
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
5452 5446
 	set x; \
5453 5447
 	here=`pwd`; \
5454
-	list='$(SOURCES) $(HEADERS) clamavcxx-config.h.in $(LISP) $(TAGS_FILES)'; \
5455
-	unique=`for i in $$list; do \
5456
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
5457
-	  done | \
5458
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
5459
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
5448
+	$(am__define_uniq_tagged_files); \
5460 5449
 	shift; \
5461 5450
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
5462 5451
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -5468,15 +5511,11 @@ TAGS:  $(HEADERS) $(SOURCES) clamavcxx-config.h.in $(TAGS_DEPENDENCIES) \
5468 5468
 	      $$unique; \
5469 5469
 	  fi; \
5470 5470
 	fi
5471
-ctags: CTAGS
5472
-CTAGS:  $(HEADERS) $(SOURCES) clamavcxx-config.h.in $(TAGS_DEPENDENCIES) \
5473
-		$(TAGS_FILES) $(LISP)
5474
-	list='$(SOURCES) $(HEADERS) clamavcxx-config.h.in $(LISP) $(TAGS_FILES)'; \
5475
-	unique=`for i in $$list; do \
5476
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
5477
-	  done | \
5478
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
5479
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
5471
+ctags: ctags-am
5472
+
5473
+CTAGS: ctags
5474
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
5475
+	$(am__define_uniq_tagged_files); \
5480 5476
 	test -z "$(CTAGS_ARGS)$$unique" \
5481 5477
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
5482 5478
 	     $$unique
... ...
@@ -5485,18 +5524,16 @@ GTAGS:
5485 5485
 	here=`$(am__cd) $(top_builddir) && pwd` \
5486 5486
 	  && $(am__cd) $(top_srcdir) \
5487 5487
 	  && gtags -i $(GTAGS_ARGS) "$$here"
5488
-
5489 5488
 cscope: cscope.files
5490 5489
 	test ! -s cscope.files \
5491 5490
 	  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
5492
-
5493 5491
 clean-cscope:
5494 5492
 	-rm -f cscope.files
5493
+cscope.files: clean-cscope cscopelist
5494
+cscopelist: cscopelist-am
5495 5495
 
5496
-cscope.files: clean-cscope  cscopelist
5497
-
5498
-cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
5499
-	list='$(SOURCES) $(HEADERS) $(LISP)'; \
5496
+cscopelist-am: $(am__tagged_files)
5497
+	list='$(am__tagged_files)'; \
5500 5498
 	case "$(srcdir)" in \
5501 5499
 	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
5502 5500
 	  *) sdir=$(subdir)/$(srcdir) ;; \
... ...
@@ -5572,10 +5609,16 @@ dist-xz: distdir
5572 5572
 	$(am__post_remove_distdir)
5573 5573
 
5574 5574
 dist-tarZ: distdir
5575
+	@echo WARNING: "Support for shar distribution archives is" \
5576
+	               "deprecated." >&2
5577
+	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
5575 5578
 	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
5576 5579
 	$(am__post_remove_distdir)
5577 5580
 
5578 5581
 dist-shar: distdir
5582
+	@echo WARNING: "Support for distribution archives compressed with" \
5583
+		       "legacy program 'compress' is deprecated." >&2
5584
+	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
5579 5585
 	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
5580 5586
 	$(am__post_remove_distdir)
5581 5587
 
... ...
@@ -5787,23 +5830,23 @@ uninstall-am:
5787 5787
 
5788 5788
 .MAKE: all check install install-am install-strip
5789 5789
 
5790
-.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
5790
+.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-am clean \
5791 5791
 	clean-cscope clean-generic clean-libtool clean-local \
5792
-	clean-noinstLTLIBRARIES clean-noinstPROGRAMS cscope cscopelist \
5793
-	ctags dist dist-all dist-bzip2 dist-gzip dist-hook dist-lzip \
5794
-	dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \
5795
-	distclean-compile distclean-generic distclean-hdr \
5796
-	distclean-libtool distclean-local distclean-tags \
5797
-	distcleancheck distdir distuninstallcheck dvi dvi-am html \
5798
-	html-am info info-am install install-am install-data \
5799
-	install-data-am install-dvi install-dvi-am install-exec \
5800
-	install-exec-am install-html install-html-am install-info \
5801
-	install-info-am install-man install-pdf install-pdf-am \
5802
-	install-ps install-ps-am install-strip installcheck \
5803
-	installcheck-am installdirs maintainer-clean \
5804
-	maintainer-clean-generic mostlyclean mostlyclean-compile \
5805
-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
5806
-	tags uninstall uninstall-am
5792
+	clean-noinstLTLIBRARIES clean-noinstPROGRAMS cscope \
5793
+	cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
5794
+	dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
5795
+	dist-zip distcheck distclean distclean-compile \
5796
+	distclean-generic distclean-hdr distclean-libtool \
5797
+	distclean-local distclean-tags distcleancheck distdir \
5798
+	distuninstallcheck dvi dvi-am html html-am info info-am \
5799
+	install install-am install-data install-data-am install-dvi \
5800
+	install-dvi-am install-exec install-exec-am install-html \
5801
+	install-html-am install-info install-info-am install-man \
5802
+	install-pdf install-pdf-am install-ps install-ps-am \
5803
+	install-strip installcheck installcheck-am installdirs \
5804
+	maintainer-clean maintainer-clean-generic mostlyclean \
5805
+	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
5806
+	pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am
5807 5807
 
5808 5808
 
5809 5809
 @BUILD_EXTERNAL_LLVM_FALSE@@MAINTAINER_MODE_TRUE@llvm/include/llvm/Intrinsics.gen: llvm/include/llvm/Intrinsics.td $(TBLGEN)
... ...
@@ -1,6 +1,6 @@
1
-# generated automatically by aclocal 1.12.6 -*- Autoconf -*-
1
+# generated automatically by aclocal 1.14 -*- Autoconf -*-
2 2
 
3
-# Copyright (C) 1996-2012 Free Software Foundation, Inc.
3
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
4 4
 
5 5
 # This file is free software; the Free Software Foundation
6 6
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -11,6 +11,7 @@
11 11
 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 12
 # PARTICULAR PURPOSE.
13 13
 
14
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
14 15
 m4_ifndef([AC_AUTOCONF_VERSION],
15 16
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16 17
 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
... ...
@@ -19,7 +20,7 @@ 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 20
 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
21 21
 
22
-# Copyright (C) 2002-2012 Free Software Foundation, Inc.
22
+# Copyright (C) 2002-2013 Free Software Foundation, Inc.
23 23
 #
24 24
 # This file is free software; the Free Software Foundation
25 25
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -31,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
31 31
 # generated from the m4 files accompanying Automake X.Y.
32 32
 # (This private macro should not be called outside this file.)
33 33
 AC_DEFUN([AM_AUTOMAKE_VERSION],
34
-[am__api_version='1.12'
34
+[am__api_version='1.14'
35 35
 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
36 36
 dnl require some minimum version.  Point them to the right macro.
37
-m4_if([$1], [1.12.6], [],
37
+m4_if([$1], [1.14], [],
38 38
       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
39 39
 ])
40 40
 
... ...
@@ -50,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], [])
50 50
 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
51 51
 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
52 52
 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
53
-[AM_AUTOMAKE_VERSION([1.12.6])dnl
53
+[AM_AUTOMAKE_VERSION([1.14])dnl
54 54
 m4_ifndef([AC_AUTOCONF_VERSION],
55 55
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
56 56
 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
57 57
 
58 58
 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
59 59
 
60
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
60
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
61 61
 #
62 62
 # This file is free software; the Free Software Foundation
63 63
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -110,7 +111,7 @@ am_aux_dir=`cd $ac_aux_dir && pwd`
110 110
 
111 111
 # AM_CONDITIONAL                                            -*- Autoconf -*-
112 112
 
113
-# Copyright (C) 1997-2012 Free Software Foundation, Inc.
113
+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
114 114
 #
115 115
 # This file is free software; the Free Software Foundation
116 116
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -141,7 +142,7 @@ AC_CONFIG_COMMANDS_PRE(
141 141
 Usually this means the macro was only invoked conditionally.]])
142 142
 fi])])
143 143
 
144
-# Copyright (C) 1999-2012 Free Software Foundation, Inc.
144
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
145 145
 #
146 146
 # This file is free software; the Free Software Foundation
147 147
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -332,7 +333,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
332 332
 
333 333
 # Generate code to set up dependency tracking.              -*- Autoconf -*-
334 334
 
335
-# Copyright (C) 1999-2012 Free Software Foundation, Inc.
335
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
336 336
 #
337 337
 # This file is free software; the Free Software Foundation
338 338
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -343,7 +344,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
343 343
 # ------------------------------
344 344
 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
345 345
 [{
346
-  # Autoconf 2.62 quotes --file arguments for eval, but not when files
346
+  # Older Autoconf quotes --file arguments for eval, but not when files
347 347
   # are listed without --file.  Let's play safe and only enable the eval
348 348
   # if we detect the quoting.
349 349
   case $CONFIG_FILES in
... ...
@@ -372,7 +373,7 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
372 372
     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
373 373
     test -z "$DEPDIR" && continue
374 374
     am__include=`sed -n 's/^am__include = //p' < "$mf"`
375
-    test -z "am__include" && continue
375
+    test -z "$am__include" && continue
376 376
     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
377 377
     # Find all dependency output files, they are included files with
378 378
     # $(DEPDIR) in their names.  We invoke sed twice because it is the
... ...
@@ -408,7 +409,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
408 408
 
409 409
 # Do all the work for Automake.                             -*- Autoconf -*-
410 410
 
411
-# Copyright (C) 1996-2012 Free Software Foundation, Inc.
411
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
412 412
 #
413 413
 # This file is free software; the Free Software Foundation
414 414
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -417,6 +418,12 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
417 417
 # This macro actually does too much.  Some checks are only needed if
418 418
 # your package does certain things.  But this isn't really a big deal.
419 419
 
420
+dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
421
+m4_define([AC_PROG_CC],
422
+m4_defn([AC_PROG_CC])
423
+[_AM_PROG_CC_C_O
424
+])
425
+
420 426
 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
421 427
 # AM_INIT_AUTOMAKE([OPTIONS])
422 428
 # -----------------------------------------------
... ...
@@ -429,7 +436,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
429 429
 # arguments mandatory, and then we can depend on a new Autoconf
430 430
 # release and drop the old call support.
431 431
 AC_DEFUN([AM_INIT_AUTOMAKE],
432
-[AC_PREREQ([2.62])dnl
432
+[AC_PREREQ([2.65])dnl
433 433
 dnl Autoconf wants to disallow AM_ names.  We explicitly allow
434 434
 dnl the ones we care about.
435 435
 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
... ...
@@ -459,8 +466,7 @@ AC_SUBST([CYGPATH_W])
459 459
 dnl Distinguish between old-style and new-style calls.
460 460
 m4_ifval([$2],
461 461
 [AC_DIAGNOSE([obsolete],
462
-[$0: two- and three-arguments forms are deprecated.  For more info, see:
463
-http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
462
+             [$0: two- and three-arguments forms are deprecated.])
464 463
 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
465 464
  AC_SUBST([PACKAGE], [$1])dnl
466 465
  AC_SUBST([VERSION], [$2])],
... ...
@@ -514,22 +520,60 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
514 514
 		  [_AM_DEPENDENCIES([OBJC])],
515 515
 		  [m4_define([AC_PROG_OBJC],
516 516
 			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
517
-dnl Support for Objective C++ was only introduced in Autoconf 2.65,
518
-dnl but we still cater to Autoconf 2.62.
519
-m4_ifdef([AC_PROG_OBJCXX],
520
-[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
517
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
521 518
 		  [_AM_DEPENDENCIES([OBJCXX])],
522 519
 		  [m4_define([AC_PROG_OBJCXX],
523
-			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
520
+			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
524 521
 ])
525
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
526
-dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
527
-dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
528
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
522
+AC_REQUIRE([AM_SILENT_RULES])dnl
523
+dnl The testsuite driver may need to know about EXEEXT, so add the
524
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
525
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
529 526
 AC_CONFIG_COMMANDS_PRE(dnl
530 527
 [m4_provide_if([_AM_COMPILER_EXEEXT],
531 528
   [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
532
-])
529
+
530
+# POSIX will say in a future version that running "rm -f" with no argument
531
+# is OK; and we want to be able to make that assumption in our Makefile
532
+# recipes.  So use an aggressive probe to check that the usage we want is
533
+# actually supported "in the wild" to an acceptable degree.
534
+# See automake bug#10828.
535
+# To make any issue more visible, cause the running configure to be aborted
536
+# by default if the 'rm' program in use doesn't match our expectations; the
537
+# user can still override this though.
538
+if rm -f && rm -fr && rm -rf; then : OK; else
539
+  cat >&2 <<'END'
540
+Oops!
541
+
542
+Your 'rm' program seems unable to run without file operands specified
543
+on the command line, even when the '-f' option is present.  This is contrary
544
+to the behaviour of most rm programs out there, and not conforming with
545
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
546
+
547
+Please tell bug-automake@gnu.org about your system, including the value
548
+of your $PATH and any error possibly output before this message.  This
549
+can help us improve future automake versions.
550
+
551
+END
552
+  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
553
+    echo 'Configuration will proceed anyway, since you have set the' >&2
554
+    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
555
+    echo >&2
556
+  else
557
+    cat >&2 <<'END'
558
+Aborting the configuration process, to ensure you take notice of the issue.
559
+
560
+You can download and install GNU coreutils to get an 'rm' implementation
561
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
562
+
563
+If you want to complete the configuration process using your problematic
564
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
565
+to "yes", and re-run configure.
566
+
567
+END
568
+    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
569
+  fi
570
+fi])
533 571
 
534 572
 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
535 573
 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
... ...
@@ -537,7 +581,6 @@ dnl mangled by Autoconf and run in a shell conditional statement.
537 537
 m4_define([_AC_COMPILER_EXEEXT],
538 538
 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
539 539
 
540
-
541 540
 # When config.status generates a header, we must update the stamp-h file.
542 541
 # This file resides in the same directory as the config header
543 542
 # that is generated.  The stamp files are numbered to have different names.
... ...
@@ -559,7 +602,7 @@ for _am_header in $config_headers :; do
559 559
 done
560 560
 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
561 561
 
562
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
562
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
563 563
 #
564 564
 # This file is free software; the Free Software Foundation
565 565
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -580,7 +623,7 @@ if test x"${install_sh}" != xset; then
580 580
 fi
581 581
 AC_SUBST([install_sh])])
582 582
 
583
-# Copyright (C) 2003-2012 Free Software Foundation, Inc.
583
+# Copyright (C) 2003-2013 Free Software Foundation, Inc.
584 584
 #
585 585
 # This file is free software; the Free Software Foundation
586 586
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -602,7 +645,7 @@ AC_SUBST([am__leading_dot])])
602 602
 # Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
603 603
 # From Jim Meyering
604 604
 
605
-# Copyright (C) 1996-2012 Free Software Foundation, Inc.
605
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
606 606
 #
607 607
 # This file is free software; the Free Software Foundation
608 608
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -635,11 +678,9 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
635 635
 ]
636 636
 )
637 637
 
638
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
639
-
640 638
 # Check to see how 'make' treats includes.	            -*- Autoconf -*-
641 639
 
642
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
640
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
643 641
 #
644 642
 # This file is free software; the Free Software Foundation
645 643
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -689,7 +730,7 @@ rm -f confinc confmf
689 689
 
690 690
 # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
691 691
 
692
-# Copyright (C) 1997-2012 Free Software Foundation, Inc.
692
+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
693 693
 #
694 694
 # This file is free software; the Free Software Foundation
695 695
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -704,8 +745,8 @@ AC_SUBST($1)])
704 704
 
705 705
 # AM_MISSING_HAS_RUN
706 706
 # ------------------
707
-# Define MISSING if not defined so far and test if it supports --run.
708
-# If it does, set am_missing_run to use it, otherwise, to nothing.
707
+# Define MISSING if not defined so far and test if it is modern enough.
708
+# If it is, set am_missing_run to use it, otherwise, to nothing.
709 709
 AC_DEFUN([AM_MISSING_HAS_RUN],
710 710
 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
711 711
 AC_REQUIRE_AUX_FILE([missing])dnl
... ...
@@ -718,8 +759,8 @@ if test x"${MISSING+set}" != xset; then
718 718
   esac
719 719
 fi
720 720
 # Use eval to expand $SHELL
721
-if eval "$MISSING --run true"; then
722
-  am_missing_run="$MISSING --run "
721
+if eval "$MISSING --is-lightweight"; then
722
+  am_missing_run="$MISSING "
723 723
 else
724 724
   am_missing_run=
725 725
   AC_MSG_WARN(['missing' script is too old or missing])
... ...
@@ -728,7 +769,7 @@ fi
728 728
 
729 729
 # Helper functions for option handling.                     -*- Autoconf -*-
730 730
 
731
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
731
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
732 732
 #
733 733
 # This file is free software; the Free Software Foundation
734 734
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -757,7 +798,54 @@ AC_DEFUN([_AM_SET_OPTIONS],
757 757
 AC_DEFUN([_AM_IF_OPTION],
758 758
 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
759 759
 
760
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
760
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
761
+#
762
+# This file is free software; the Free Software Foundation
763
+# gives unlimited permission to copy and/or distribute it,
764
+# with or without modifications, as long as this notice is preserved.
765
+
766
+# _AM_PROG_CC_C_O
767
+# ---------------
768
+# Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC
769
+# to automatically call this.
770
+AC_DEFUN([_AM_PROG_CC_C_O],
771
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
772
+AC_REQUIRE_AUX_FILE([compile])dnl
773
+AC_LANG_PUSH([C])dnl
774
+AC_CACHE_CHECK(
775
+  [whether $CC understands -c and -o together],
776
+  [am_cv_prog_cc_c_o],
777
+  [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
778
+  # Make sure it works both with $CC and with simple cc.
779
+  # Following AC_PROG_CC_C_O, we do the test twice because some
780
+  # compilers refuse to overwrite an existing .o file with -o,
781
+  # though they will create one.
782
+  am_cv_prog_cc_c_o=yes
783
+  for am_i in 1 2; do
784
+    if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
785
+         && test -f conftest2.$ac_objext; then
786
+      : OK
787
+    else
788
+      am_cv_prog_cc_c_o=no
789
+      break
790
+    fi
791
+  done
792
+  rm -f core conftest*
793
+  unset am_i])
794
+if test "$am_cv_prog_cc_c_o" != yes; then
795
+   # Losing compiler, so override with the script.
796
+   # FIXME: It is wrong to rewrite CC.
797
+   # But if we don't then we get into trouble of one sort or another.
798
+   # A longer-term fix would be to have automake use am__CC in this case,
799
+   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
800
+   CC="$am_aux_dir/compile $CC"
801
+fi
802
+AC_LANG_POP([C])])
803
+
804
+# For backward compatibility.
805
+AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
806
+
807
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
761 808
 #
762 809
 # This file is free software; the Free Software Foundation
763 810
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -776,7 +864,7 @@ AC_DEFUN([AM_RUN_LOG],
776 776
 
777 777
 # Check to make sure that the build environment is sane.    -*- Autoconf -*-
778 778
 
779
-# Copyright (C) 1996-2012 Free Software Foundation, Inc.
779
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
780 780
 #
781 781
 # This file is free software; the Free Software Foundation
782 782
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -857,7 +945,7 @@ AC_CONFIG_COMMANDS_PRE(
857 857
 rm -f conftest.file
858 858
 ])
859 859
 
860
-# Copyright (C) 2009-2012 Free Software Foundation, Inc.
860
+# Copyright (C) 2009-2013 Free Software Foundation, Inc.
861 861
 #
862 862
 # This file is free software; the Free Software Foundation
863 863
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -917,7 +1005,7 @@ AC_SUBST([AM_BACKSLASH])dnl
917 917
 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
918 918
 ])
919 919
 
920
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
920
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
921 921
 #
922 922
 # This file is free software; the Free Software Foundation
923 923
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -945,7 +1033,7 @@ fi
945 945
 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
946 946
 AC_SUBST([INSTALL_STRIP_PROGRAM])])
947 947
 
948
-# Copyright (C) 2006-2012 Free Software Foundation, Inc.
948
+# Copyright (C) 2006-2013 Free Software Foundation, Inc.
949 949
 #
950 950
 # This file is free software; the Free Software Foundation
951 951
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -964,7 +1052,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
964 964
 
965 965
 # Check how to create a tarball.                            -*- Autoconf -*-
966 966
 
967
-# Copyright (C) 2004-2012 Free Software Foundation, Inc.
967
+# Copyright (C) 2004-2013 Free Software Foundation, Inc.
968 968
 #
969 969
 # This file is free software; the Free Software Foundation
970 970
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -983,76 +1071,114 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
983 983
 # Substitute a variable $(am__untar) that extract such
984 984
 # a tarball read from stdin.
985 985
 #     $(am__untar) < result.tar
986
+#
986 987
 AC_DEFUN([_AM_PROG_TAR],
987 988
 [# Always define AMTAR for backward compatibility.  Yes, it's still used
988 989
 # in the wild :-(  We should find a proper way to deprecate it ...
989 990
 AC_SUBST([AMTAR], ['$${TAR-tar}'])
990
-m4_if([$1], [v7],
991
-     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
992
-     [m4_case([$1], [ustar],, [pax],,
993
-              [m4_fatal([Unknown tar format])])
994
-AC_MSG_CHECKING([how to create a $1 tar archive])
995
-# Loop over all known methods to create a tar archive until one works.
991
+
992
+# We'll loop over all known methods to create a tar archive until one works.
996 993
 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
997
-_am_tools=${am_cv_prog_tar_$1-$_am_tools}
998
-# Do not fold the above two line into one, because Tru64 sh and
999
-# Solaris sh will not grok spaces in the rhs of '-'.
1000
-for _am_tool in $_am_tools
1001
-do
1002
-  case $_am_tool in
1003
-  gnutar)
1004
-    for _am_tar in tar gnutar gtar;
1005
-    do
1006
-      AM_RUN_LOG([$_am_tar --version]) && break
1007
-    done
1008
-    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1009
-    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1010
-    am__untar="$_am_tar -xf -"
1011
-    ;;
1012
-  plaintar)
1013
-    # Must skip GNU tar: if it does not support --format= it doesn't create
1014
-    # ustar tarball either.
1015
-    (tar --version) >/dev/null 2>&1 && continue
1016
-    am__tar='tar chf - "$$tardir"'
1017
-    am__tar_='tar chf - "$tardir"'
1018
-    am__untar='tar xf -'
1019
-    ;;
1020
-  pax)
1021
-    am__tar='pax -L -x $1 -w "$$tardir"'
1022
-    am__tar_='pax -L -x $1 -w "$tardir"'
1023
-    am__untar='pax -r'
1024
-    ;;
1025
-  cpio)
1026
-    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1027
-    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1028
-    am__untar='cpio -i -H $1 -d'
1029
-    ;;
1030
-  none)
1031
-    am__tar=false
1032
-    am__tar_=false
1033
-    am__untar=false
1034
-    ;;
1035
-  esac
1036 994
 
1037
-  # If the value was cached, stop now.  We just wanted to have am__tar
1038
-  # and am__untar set.
1039
-  test -n "${am_cv_prog_tar_$1}" && break
995
+m4_if([$1], [v7],
996
+  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
997
+
998
+  [m4_case([$1],
999
+    [ustar],
1000
+     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
1001
+      # There is notably a 21 bits limit for the UID and the GID.  In fact,
1002
+      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
1003
+      # and bug#13588).
1004
+      am_max_uid=2097151 # 2^21 - 1
1005
+      am_max_gid=$am_max_uid
1006
+      # The $UID and $GID variables are not portable, so we need to resort
1007
+      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
1008
+      # below are definitely unexpected, so allow the users to see them
1009
+      # (that is, avoid stderr redirection).
1010
+      am_uid=`id -u || echo unknown`
1011
+      am_gid=`id -g || echo unknown`
1012
+      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
1013
+      if test $am_uid -le $am_max_uid; then
1014
+         AC_MSG_RESULT([yes])
1015
+      else
1016
+         AC_MSG_RESULT([no])
1017
+         _am_tools=none
1018
+      fi
1019
+      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
1020
+      if test $am_gid -le $am_max_gid; then
1021
+         AC_MSG_RESULT([yes])
1022
+      else
1023
+        AC_MSG_RESULT([no])
1024
+        _am_tools=none
1025
+      fi],
1026
+
1027
+  [pax],
1028
+    [],
1029
+
1030
+  [m4_fatal([Unknown tar format])])
1031
+
1032
+  AC_MSG_CHECKING([how to create a $1 tar archive])
1033
+
1034
+  # Go ahead even if we have the value already cached.  We do so because we
1035
+  # need to set the values for the 'am__tar' and 'am__untar' variables.
1036
+  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1037
+
1038
+  for _am_tool in $_am_tools; do
1039
+    case $_am_tool in
1040
+    gnutar)
1041
+      for _am_tar in tar gnutar gtar; do
1042
+        AM_RUN_LOG([$_am_tar --version]) && break
1043
+      done
1044
+      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1045
+      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1046
+      am__untar="$_am_tar -xf -"
1047
+      ;;
1048
+    plaintar)
1049
+      # Must skip GNU tar: if it does not support --format= it doesn't create
1050
+      # ustar tarball either.
1051
+      (tar --version) >/dev/null 2>&1 && continue
1052
+      am__tar='tar chf - "$$tardir"'
1053
+      am__tar_='tar chf - "$tardir"'
1054
+      am__untar='tar xf -'
1055
+      ;;
1056
+    pax)
1057
+      am__tar='pax -L -x $1 -w "$$tardir"'
1058
+      am__tar_='pax -L -x $1 -w "$tardir"'
1059
+      am__untar='pax -r'
1060
+      ;;
1061
+    cpio)
1062
+      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1063
+      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1064
+      am__untar='cpio -i -H $1 -d'
1065
+      ;;
1066
+    none)
1067
+      am__tar=false
1068
+      am__tar_=false
1069
+      am__untar=false
1070
+      ;;
1071
+    esac
1040 1072
 
1041
-  # tar/untar a dummy directory, and stop if the command works
1042
-  rm -rf conftest.dir
1043
-  mkdir conftest.dir
1044
-  echo GrepMe > conftest.dir/file
1045
-  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1073
+    # If the value was cached, stop now.  We just wanted to have am__tar
1074
+    # and am__untar set.
1075
+    test -n "${am_cv_prog_tar_$1}" && break
1076
+
1077
+    # tar/untar a dummy directory, and stop if the command works.
1078
+    rm -rf conftest.dir
1079
+    mkdir conftest.dir
1080
+    echo GrepMe > conftest.dir/file
1081
+    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1082
+    rm -rf conftest.dir
1083
+    if test -s conftest.tar; then
1084
+      AM_RUN_LOG([$am__untar <conftest.tar])
1085
+      AM_RUN_LOG([cat conftest.dir/file])
1086
+      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1087
+    fi
1088
+  done
1046 1089
   rm -rf conftest.dir
1047
-  if test -s conftest.tar; then
1048
-    AM_RUN_LOG([$am__untar <conftest.tar])
1049
-    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1050
-  fi
1051
-done
1052
-rm -rf conftest.dir
1053 1090
 
1054
-AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1055
-AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1091
+  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1092
+  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1093
+
1056 1094
 AC_SUBST([am__tar])
1057 1095
 AC_SUBST([am__untar])
1058 1096
 ]) # _AM_PROG_TAR
... ...
@@ -2480,7 +2480,7 @@ test -n "$target_alias" &&
2480 2480
   test "$program_prefix$program_suffix$program_transform_name" = \
2481 2481
     NONENONEs,x,x, &&
2482 2482
   program_prefix=${target_alias}-
2483
-am__api_version='1.12'
2483
+am__api_version='1.14'
2484 2484
 
2485 2485
 # Find a good install program.  We prefer a C program (faster),
2486 2486
 # so one script is as good as another.  But avoid the broken or
... ...
@@ -2664,8 +2664,8 @@ if test x"${MISSING+set}" != xset; then
2664 2664
   esac
2665 2665
 fi
2666 2666
 # Use eval to expand $SHELL
2667
-if eval "$MISSING --run true"; then
2668
-  am_missing_run="$MISSING --run "
2667
+if eval "$MISSING --is-lightweight"; then
2668
+  am_missing_run="$MISSING "
2669 2669
 else
2670 2670
   am_missing_run=
2671 2671
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
... ...
@@ -2905,6 +2905,45 @@ else
2905 2905
 fi
2906 2906
 rmdir .tst 2>/dev/null
2907 2907
 
2908
+# Check whether --enable-silent-rules was given.
2909
+if test "${enable_silent_rules+set}" = set; then :
2910
+  enableval=$enable_silent_rules;
2911
+fi
2912
+
2913
+case $enable_silent_rules in # (((
2914
+  yes) AM_DEFAULT_VERBOSITY=0;;
2915
+   no) AM_DEFAULT_VERBOSITY=1;;
2916
+    *) AM_DEFAULT_VERBOSITY=1;;
2917
+esac
2918
+am_make=${MAKE-make}
2919
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2920
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2921
+if ${am_cv_make_support_nested_variables+:} false; then :
2922
+  $as_echo_n "(cached) " >&6
2923
+else
2924
+  if $as_echo 'TRUE=$(BAR$(V))
2925
+BAR0=false
2926
+BAR1=true
2927
+V=1
2928
+am__doit:
2929
+	@$(TRUE)
2930
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2931
+  am_cv_make_support_nested_variables=yes
2932
+else
2933
+  am_cv_make_support_nested_variables=no
2934
+fi
2935
+fi
2936
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2937
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
2938
+if test $am_cv_make_support_nested_variables = yes; then
2939
+    AM_V='$(V)'
2940
+  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2941
+else
2942
+  AM_V=$AM_DEFAULT_VERBOSITY
2943
+  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2944
+fi
2945
+AM_BACKSLASH='\'
2946
+
2908 2947
 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2909 2948
   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2910 2949
   # is not polluted with repeated "-I."
... ...
@@ -2959,92 +2998,142 @@ mkdir_p='$(MKDIR_P)'
2959 2959
 AMTAR='$${TAR-tar}'
2960 2960
 
2961 2961
 
2962
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2963
-$as_echo_n "checking how to create a pax tar archive... " >&6; }
2964
-# Loop over all known methods to create a tar archive until one works.
2962
+# We'll loop over all known methods to create a tar archive until one works.
2965 2963
 _am_tools='gnutar  pax cpio none'
2966
-_am_tools=${am_cv_prog_tar_pax-$_am_tools}
2967
-# Do not fold the above two line into one, because Tru64 sh and
2968
-# Solaris sh will not grok spaces in the rhs of '-'.
2969
-for _am_tool in $_am_tools
2970
-do
2971
-  case $_am_tool in
2972
-  gnutar)
2973
-    for _am_tar in tar gnutar gtar;
2974
-    do
2975
-      { echo "$as_me:$LINENO: $_am_tar --version" >&5
2964
+
2965
+
2966
+
2967
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2968
+$as_echo_n "checking how to create a pax tar archive... " >&6; }
2969
+
2970
+  # Go ahead even if we have the value already cached.  We do so because we
2971
+  # need to set the values for the 'am__tar' and 'am__untar' variables.
2972
+  _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2973
+
2974
+  for _am_tool in $_am_tools; do
2975
+    case $_am_tool in
2976
+    gnutar)
2977
+      for _am_tar in tar gnutar gtar; do
2978
+        { echo "$as_me:$LINENO: $_am_tar --version" >&5
2976 2979
    ($_am_tar --version) >&5 2>&5
2977 2980
    ac_status=$?
2978 2981
    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 2982
    (exit $ac_status); } && break
2980
-    done
2981
-    am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2982
-    am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2983
-    am__untar="$_am_tar -xf -"
2984
-    ;;
2985
-  plaintar)
2986
-    # Must skip GNU tar: if it does not support --format= it doesn't create
2987
-    # ustar tarball either.
2988
-    (tar --version) >/dev/null 2>&1 && continue
2989
-    am__tar='tar chf - "$$tardir"'
2990
-    am__tar_='tar chf - "$tardir"'
2991
-    am__untar='tar xf -'
2992
-    ;;
2993
-  pax)
2994
-    am__tar='pax -L -x pax -w "$$tardir"'
2995
-    am__tar_='pax -L -x pax -w "$tardir"'
2996
-    am__untar='pax -r'
2997
-    ;;
2998
-  cpio)
2999
-    am__tar='find "$$tardir" -print | cpio -o -H pax -L'
3000
-    am__tar_='find "$tardir" -print | cpio -o -H pax -L'
3001
-    am__untar='cpio -i -H pax -d'
3002
-    ;;
3003
-  none)
3004
-    am__tar=false
3005
-    am__tar_=false
3006
-    am__untar=false
3007
-    ;;
3008
-  esac
2983
+      done
2984
+      am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2985
+      am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2986
+      am__untar="$_am_tar -xf -"
2987
+      ;;
2988
+    plaintar)
2989
+      # Must skip GNU tar: if it does not support --format= it doesn't create
2990
+      # ustar tarball either.
2991
+      (tar --version) >/dev/null 2>&1 && continue
2992
+      am__tar='tar chf - "$$tardir"'
2993
+      am__tar_='tar chf - "$tardir"'
2994
+      am__untar='tar xf -'
2995
+      ;;
2996
+    pax)
2997
+      am__tar='pax -L -x pax -w "$$tardir"'
2998
+      am__tar_='pax -L -x pax -w "$tardir"'
2999
+      am__untar='pax -r'
3000
+      ;;
3001
+    cpio)
3002
+      am__tar='find "$$tardir" -print | cpio -o -H pax -L'
3003
+      am__tar_='find "$tardir" -print | cpio -o -H pax -L'
3004
+      am__untar='cpio -i -H pax -d'
3005
+      ;;
3006
+    none)
3007
+      am__tar=false
3008
+      am__tar_=false
3009
+      am__untar=false
3010
+      ;;
3011
+    esac
3009 3012
 
3010
-  # If the value was cached, stop now.  We just wanted to have am__tar
3011
-  # and am__untar set.
3012
-  test -n "${am_cv_prog_tar_pax}" && break
3013
+    # If the value was cached, stop now.  We just wanted to have am__tar
3014
+    # and am__untar set.
3015
+    test -n "${am_cv_prog_tar_pax}" && break
3013 3016
 
3014
-  # tar/untar a dummy directory, and stop if the command works
3015
-  rm -rf conftest.dir
3016
-  mkdir conftest.dir
3017
-  echo GrepMe > conftest.dir/file
3018
-  { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3017
+    # tar/untar a dummy directory, and stop if the command works.
3018
+    rm -rf conftest.dir
3019
+    mkdir conftest.dir
3020
+    echo GrepMe > conftest.dir/file
3021
+    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3019 3022
    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3020 3023
    ac_status=$?
3021 3024
    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022 3025
    (exit $ac_status); }
3023
-  rm -rf conftest.dir
3024
-  if test -s conftest.tar; then
3025
-    { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3026
+    rm -rf conftest.dir
3027
+    if test -s conftest.tar; then
3028
+      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3026 3029
    ($am__untar <conftest.tar) >&5 2>&5
3027 3030
    ac_status=$?
3028 3031
    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 3032
    (exit $ac_status); }
3030
-    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3031
-  fi
3032
-done
3033
-rm -rf conftest.dir
3033
+      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3034
+   (cat conftest.dir/file) >&5 2>&5
3035
+   ac_status=$?
3036
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037
+   (exit $ac_status); }
3038
+      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3039
+    fi
3040
+  done
3041
+  rm -rf conftest.dir
3034 3042
 
3035
-if ${am_cv_prog_tar_pax+:} false; then :
3043
+  if ${am_cv_prog_tar_pax+:} false; then :
3036 3044
   $as_echo_n "(cached) " >&6
3037 3045
 else
3038 3046
   am_cv_prog_tar_pax=$_am_tool
3039 3047
 fi
3040 3048
 
3041
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
3049
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
3042 3050
 $as_echo "$am_cv_prog_tar_pax" >&6; }
3043 3051
 
3044 3052
 
3045 3053
 
3046 3054
 
3047 3055
 
3056
+
3057
+# POSIX will say in a future version that running "rm -f" with no argument
3058
+# is OK; and we want to be able to make that assumption in our Makefile
3059
+# recipes.  So use an aggressive probe to check that the usage we want is
3060
+# actually supported "in the wild" to an acceptable degree.
3061
+# See automake bug#10828.
3062
+# To make any issue more visible, cause the running configure to be aborted
3063
+# by default if the 'rm' program in use doesn't match our expectations; the
3064
+# user can still override this though.
3065
+if rm -f && rm -fr && rm -rf; then : OK; else
3066
+  cat >&2 <<'END'
3067
+Oops!
3068
+
3069
+Your 'rm' program seems unable to run without file operands specified
3070
+on the command line, even when the '-f' option is present.  This is contrary
3071
+to the behaviour of most rm programs out there, and not conforming with
3072
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3073
+
3074
+Please tell bug-automake@gnu.org about your system, including the value
3075
+of your $PATH and any error possibly output before this message.  This
3076
+can help us improve future automake versions.
3077
+
3078
+END
3079
+  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3080
+    echo 'Configuration will proceed anyway, since you have set the' >&2
3081
+    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3082
+    echo >&2
3083
+  else
3084
+    cat >&2 <<'END'
3085
+Aborting the configuration process, to ensure you take notice of the issue.
3086
+
3087
+You can download and install GNU coreutils to get an 'rm' implementation
3088
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
3089
+
3090
+If you want to complete the configuration process using your problematic
3091
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3092
+to "yes", and re-run configure.
3093
+
3094
+END
3095
+    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3096
+  fi
3097
+fi
3048 3098
 # Check whether --enable-silent-rules was given.
3049 3099
 if test "${enable_silent_rules+set}" = set; then :
3050 3100
   enableval=$enable_silent_rules;
... ...
@@ -4323,6 +4412,65 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4323 4323
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4324 4324
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4325 4325
 
4326
+ac_ext=c
4327
+ac_cpp='$CPP $CPPFLAGS'
4328
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4329
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4330
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
4331
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4332
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4333
+if ${am_cv_prog_cc_c_o+:} false; then :
4334
+  $as_echo_n "(cached) " >&6
4335
+else
4336
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4337
+/* end confdefs.h.  */
4338
+
4339
+int
4340
+main ()
4341
+{
4342
+
4343
+  ;
4344
+  return 0;
4345
+}
4346
+_ACEOF
4347
+  # Make sure it works both with $CC and with simple cc.
4348
+  # Following AC_PROG_CC_C_O, we do the test twice because some
4349
+  # compilers refuse to overwrite an existing .o file with -o,
4350
+  # though they will create one.
4351
+  am_cv_prog_cc_c_o=yes
4352
+  for am_i in 1 2; do
4353
+    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4354
+   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4355
+   ac_status=$?
4356
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357
+   (exit $ac_status); } \
4358
+         && test -f conftest2.$ac_objext; then
4359
+      : OK
4360
+    else
4361
+      am_cv_prog_cc_c_o=no
4362
+      break
4363
+    fi
4364
+  done
4365
+  rm -f core conftest*
4366
+  unset am_i
4367
+fi
4368
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4369
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
4370
+if test "$am_cv_prog_cc_c_o" != yes; then
4371
+   # Losing compiler, so override with the script.
4372
+   # FIXME: It is wrong to rewrite CC.
4373
+   # But if we don't then we get into trouble of one sort or another.
4374
+   # A longer-term fix would be to have automake use am__CC in this case,
4375
+   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4376
+   CC="$am_aux_dir/compile $CC"
4377
+fi
4378
+ac_ext=c
4379
+ac_cpp='$CPP $CPPFLAGS'
4380
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4381
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4382
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
4383
+
4384
+
4326 4385
 depcc="$CC"   am_compiler_list=
4327 4386
 
4328 4387
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
... ...
@@ -17627,7 +17775,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
17627 17627
 
17628 17628
   case $ac_file$ac_mode in
17629 17629
     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17630
-  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17630
+  # Older Autoconf quotes --file arguments for eval, but not when files
17631 17631
   # are listed without --file.  Let's play safe and only enable the eval
17632 17632
   # if we detect the quoting.
17633 17633
   case $CONFIG_FILES in
... ...
@@ -17678,7 +17826,7 @@ $as_echo X"$mf" |
17678 17678
     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17679 17679
     test -z "$DEPDIR" && continue
17680 17680
     am__include=`sed -n 's/^am__include = //p' < "$mf"`
17681
-    test -z "am__include" && continue
17681
+    test -z "$am__include" && continue
17682 17682
     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17683 17683
     # Find all dependency output files, they are included files with
17684 17684
     # $(DEPDIR) in their names.  We invoke sed twice because it is the
... ...
@@ -71,23 +71,12 @@ static	char	const	rcsid[] = "$Id: pdf.c,v 1.61 2007/02/12 20:46:09 njh Exp $";
71 71
  *Save the file being worked on in tmp */
72 72
 #endif
73 73
 
74
-#define PDF_EXTRACT_OBJ_NONE 0x0
75
-#define PDF_EXTRACT_OBJ_SCAN 0x1
76
-
77 74
 struct pdf_struct;
78 75
 
79 76
 static	int	asciihexdecode(const char *buf, off_t len, char *output);
80 77
 static	int	ascii85decode(const char *buf, off_t len, unsigned char *output);
81 78
 static	const	char	*pdf_nextlinestart(const char *ptr, size_t len);
82 79
 static	const	char	*pdf_nextobject(const char *ptr, size_t len);
83
-static char *pdf_parse_string(struct pdf_struct *pdf, struct pdf_obj *obj, const char *objstart, size_t objsize, const char *str, char **endchar);
84
-static struct pdf_array *pdf_parse_array(struct pdf_struct *pdf, struct pdf_obj *obj, size_t objsz, char *begin, char **endchar);
85
-static struct pdf_dict *pdf_parse_dict(struct pdf_struct *pdf, struct pdf_obj *obj, size_t objsz, char *begin, char **endchar);
86
-static int is_object_reference(char *begin, char **endchar, uint32_t *id);
87
-static void pdf_free_dict(struct pdf_dict *dict);
88
-static void pdf_free_array(struct pdf_array *array);
89
-static int pdf_extract_obj(struct pdf_struct *pdf, struct pdf_obj *obj, uint32_t flags);
90
-static char *pdf_convert_utf(char *begin, size_t sz);
91 80
 
92 81
 /* PDF statistics callbacks and related */
93 82
 struct pdf_action;
... ...
@@ -151,72 +140,6 @@ static int xrefCheck(const char *xref, const char *eof)
151 151
     return -1;
152 152
 }
153 153
 
154
-enum enc_method {
155
-    ENC_UNKNOWN,
156
-    ENC_NONE,
157
-    ENC_IDENTITY,
158
-    ENC_V2,
159
-    ENC_AESV2,
160
-    ENC_AESV3
161
-};
162
-
163
-struct pdf_stats {
164
-    int32_t ninvalidobjs;     /* Number of invalid objects */
165
-    int32_t njs;              /* Number of javascript objects */
166
-    int32_t nflate;           /* Number of flate-encoded objects */
167
-    int32_t nactivex;         /* Number of ActiveX objects */
168
-    int32_t nflash;           /* Number of flash objects */
169
-    int32_t ncolors;          /* Number of colors */
170
-    int32_t nasciihexdecode;  /* Number of ASCIIHexDecode-filtered objects */
171
-    int32_t nascii85decode;   /* Number of ASCII85Decode-filtered objects */
172
-    int32_t nembeddedfile;    /* Number of embedded files */
173
-    int32_t nimage;           /* Number of image objects */
174
-    int32_t nlzw;             /* Number of LZW-filtered objects */
175
-    int32_t nrunlengthdecode; /* Number of RunLengthDecode-filtered objects */
176
-    int32_t nfaxdecode;       /* Number of CCITT-filtered objects */
177
-    int32_t njbig2decode;     /* Number of JBIG2Decode-filtered objects */
178
-    int32_t ndctdecode;       /* Number of DCTDecode-filtered objects */
179
-    int32_t njpxdecode;       /* Number of JPXDecode-filtered objects */
180
-    int32_t ncrypt;           /* Number of Crypt-filtered objects */
181
-    int32_t nstandard;        /* Number of Standard-filtered objects */
182
-    int32_t nsigned;          /* Number of Signed objects */
183
-    int32_t nopenaction;      /* Number of OpenAction objects */
184
-    int32_t nlaunch;          /* Number of Launch objects */
185
-    int32_t npage;            /* Number of Page objects */
186
-    char *author;             /* Author of the PDF */
187
-    char *creator;            /* Application used to create the PDF */
188
-    char *producer;           /* Application used to produce the PDF */
189
-    char *creationdate;       /* Date the PDF was created */
190
-    char *modificationdate;   /* Date the PDF was modified */
191
-    char *title;              /* Title of the PDF */
192
-    char *subject;            /* Subject of the PDF */
193
-    char *keywords;           /* Keywords of the PDF */
194
-};
195
-
196
-struct pdf_struct {
197
-    struct pdf_obj *objs;
198
-    unsigned nobjs;
199
-    unsigned flags;
200
-    unsigned enc_method_stream;
201
-    unsigned enc_method_string;
202
-    unsigned enc_method_embeddedfile;
203
-    const char *CF;
204
-    long CF_n;
205
-    const char *map;
206
-    off_t size;
207
-    off_t offset;
208
-    off_t startoff;
209
-    cli_ctx *ctx;
210
-    const char *dir;
211
-    unsigned files;
212
-    uint32_t enc_objid;
213
-    char *fileID;
214
-    unsigned fileIDlen;
215
-    char *key;
216
-    unsigned keylen;
217
-    struct pdf_stats stats;
218
-};
219
-
220 154
 /* define this to be noisy about things that we can't parse properly */
221 155
 /*#define NOISY*/
222 156
 
... ...
@@ -274,7 +197,7 @@ static int find_stream_bounds(const char *start, off_t bytesleft, off_t byteslef
274 274
 }
275 275
 
276 276
 /* Expected returns: 1 if success, 0 if no more objects, -1 if error */
277
-static int pdf_findobj(struct pdf_struct *pdf)
277
+int pdf_findobj(struct pdf_struct *pdf)
278 278
 {
279 279
     const char *start, *q, *q2, *q3, *eof;
280 280
     struct pdf_obj *obj;
... ...
@@ -593,7 +516,7 @@ static int filter_flatedecode(struct pdf_struct *pdf, struct pdf_obj *obj, const
593 593
     return CL_CLEAN;
594 594
 }
595 595
 
596
-static struct pdf_obj *find_obj(struct pdf_struct *pdf, struct pdf_obj *obj, uint32_t objid)
596
+struct pdf_obj *find_obj(struct pdf_struct *pdf, struct pdf_obj *obj, uint32_t objid)
597 597
 {
598 598
     uint32_t j;
599 599
     uint32_t i;
... ...
@@ -1021,7 +944,7 @@ static char *pdf_readval(const char *q, int len, const char *key);
1021 1021
 static enum enc_method parse_enc_method(const char *dict, unsigned len, const char *key, enum enc_method def);
1022 1022
 static char *pdf_readstring(const char *q0, int len, const char *key, unsigned *slen, const char **qend, int noescape);
1023 1023
 
1024
-static int pdf_extract_obj(struct pdf_struct *pdf, struct pdf_obj *obj, uint32_t flags)
1024
+int pdf_extract_obj(struct pdf_struct *pdf, struct pdf_obj *obj, uint32_t flags)
1025 1025
 {
1026 1026
     char fullname[NAME_MAX + 1];
1027 1027
     int fout;
... ...
@@ -1539,7 +1462,7 @@ static void pdf_parse_trailer(struct pdf_struct *pdf, const char *s, long length
1539 1539
     }
1540 1540
 }
1541 1541
 
1542
-static void pdf_parseobj(struct pdf_struct *pdf, struct pdf_obj *obj)
1542
+void pdf_parseobj(struct pdf_struct *pdf, struct pdf_obj *obj)
1543 1543
 {
1544 1544
     /* enough to hold common pdf names, we don't need all the names */
1545 1545
     char pdfname[64];
... ...
@@ -2408,6 +2331,9 @@ int cli_pdf(const char *dir, cli_ctx *ctx, off_t offset)
2408 2408
     const char *pdfver, *start, *eofmap, *q, *eof;
2409 2409
     int rc, badobjects = 0;
2410 2410
     unsigned i, alerts = 0;
2411
+#if HAVE_JSON
2412
+    json_object *pdfobj=NULL;
2413
+#endif
2411 2414
 
2412 2415
     cli_dbgmsg("in cli_pdf(%s)\n", dir);
2413 2416
     memset(&pdf, 0, sizeof(pdf));
... ...
@@ -2423,6 +2349,11 @@ int cli_pdf(const char *dir, cli_ctx *ctx, off_t offset)
2423 2423
         return CL_EMAP;
2424 2424
     }
2425 2425
 
2426
+#if HAVE_JSON
2427
+    if (ctx->wrkproperty)
2428
+        pdfobj = cli_jsonobj(ctx->wrkproperty, "PDFStats");
2429
+#endif
2430
+
2426 2431
     /* offset is 0 when coming from filetype2 */
2427 2432
     pdfver = cli_memstr(pdfver, versize, "%PDF-", 5);
2428 2433
     if (!pdfver) {
... ...
@@ -2437,11 +2368,19 @@ int cli_pdf(const char *dir, cli_ctx *ctx, off_t offset)
2437 2437
         pdfver[7] < '1' || pdfver[7] > '9') {
2438 2438
         pdf.flags |= 1 << BAD_PDF_VERSION;
2439 2439
         cli_dbgmsg("cli_pdf: bad pdf version: %.8s\n", pdfver);
2440
+#if HAVE_JSON
2441
+        if (pdfobj)
2442
+            cli_jsonbool(pdfobj, "BadVersion", 1);
2443
+#endif
2440 2444
     }
2441 2445
 
2442 2446
     if (pdfver != start || offset) {
2443 2447
         pdf.flags |= 1 << BAD_PDF_HEADERPOS;
2444 2448
         cli_dbgmsg("cli_pdf: PDF header is not at position 0: %ld\n",pdfver-start+offset);
2449
+#if HAVE_JSON
2450
+        if (pdfobj)
2451
+            cli_jsonbool(pdfobj, "BadVersionLocation", 1);
2452
+#endif
2445 2453
     }
2446 2454
 
2447 2455
     offset += pdfver - start;
... ...
@@ -2836,820 +2775,6 @@ pdf_nextobject(const char *ptr, size_t len)
2836 2836
     return NULL;
2837 2837
 }
2838 2838
 
2839
-static char *pdf_convert_utf(char *begin, size_t sz)
2840
-{
2841
-    char *res=NULL;
2842
-#if HAVE_ICONV
2843
-    char *buf, *outbuf, *p1, *p2;
2844
-    size_t inlen, outlen, i;
2845
-    char *encodings[] = {
2846
-        "UTF-16",
2847
-        NULL
2848
-    };
2849
-    iconv_t cd;
2850
-
2851
-    buf = cli_calloc(1, sz);
2852
-    if (!(buf))
2853
-        return NULL;
2854
-
2855
-    memcpy(buf, begin, sz);
2856
-    p1 = buf;
2857
-
2858
-    p2 = outbuf = cli_calloc(1, sz+1);
2859
-    if (!(outbuf)) {
2860
-        free(buf);
2861
-        return NULL;
2862
-    }
2863
-
2864
-    for (i=0; encodings[i] != NULL; i++) {
2865
-        p1 = buf;
2866
-        p2 = outbuf;
2867
-        inlen = outlen = sz;
2868
-
2869
-        cd = iconv_open("UTF-8", encodings[i]);
2870
-        if (cd == (iconv_t)(-1)) {
2871
-            cli_errmsg("Could not initialize iconv\n");
2872
-            continue;
2873
-        }
2874
-
2875
-        iconv(cd, &p1, &inlen, &p2, &outlen);
2876
-
2877
-        if (outlen == sz) {
2878
-            /* Decoding unsuccessful right from the start */
2879
-            iconv_close(cd);
2880
-            continue;
2881
-        }
2882
-
2883
-        outbuf[sz - outlen] = '\0';
2884
-
2885
-        res = strdup(outbuf);
2886
-        iconv_close(cd);
2887
-        break;
2888
-    }
2889
-
2890
-    free(buf);
2891
-    free(outbuf);
2892
-
2893
-    return res;
2894
-#else
2895
-    res = cli_calloc(begin, sz+1);
2896
-    if ((res)) {
2897
-        memcpy(res, begin, sz);
2898
-        res[sz] = '\0';
2899
-    }
2900
-
2901
-    return res;
2902
-#endif
2903
-}
2904
-
2905
-static int is_object_reference(char *begin, char **endchar, uint32_t *id)
2906
-{
2907
-    char *end = *endchar;
2908
-    char *p1=begin, *p2;
2909
-    unsigned long n;
2910
-    uint32_t t=0;
2911
-
2912
-    /*
2913
-     * Object references are always this format:
2914
-     * XXXX YYYY R
2915
-     * Where XXXX is the object ID and YYYY is the revision ID of the object.
2916
-     * The letter R signifies that this is a reference.
2917
-     *
2918
-     * In between each item can be an arbitrary amount of whitespace.
2919
-     */
2920
-
2921
-    /* Skip whitespace */
2922
-    while (p1 < end && isspace(p1[0]))
2923
-        p1++;
2924
-
2925
-    if (p1 == end)
2926
-        return 0;
2927
-
2928
-    if (!isnumber(p1[0]))
2929
-        return 0;
2930
-
2931
-    /* Ensure strtoul() isn't going to go past our buffer */
2932
-    p2 = p1+1;
2933
-    while (p2 < end && !isspace(p2[0]))
2934
-        p2++;
2935
-
2936
-    if (p2 == end)
2937
-        return 0;
2938
-
2939
-    n = strtoul(p1, &p2, 10);
2940
-    if (n == ULONG_MAX && errno)
2941
-        return 0;
2942
-
2943
-    t = n<<8;
2944
-
2945
-    /* Skip more whitespace */
2946
-    p1 = p2;
2947
-    while (p1 < end && isspace(p1[0]))
2948
-        p1++;
2949
-
2950
-    if (p1 == end)
2951
-        return 0;
2952
-
2953
-    if (!isnumber(p1[0]))
2954
-        return 0;
2955
-
2956
-    /* Ensure strtoul() is going to go past our buffer */
2957
-    p2 = p1+1;
2958
-    while (p2 < end && !isspace(p2[0]))
2959
-        p2++;
2960
-
2961
-    if (p2 == end)
2962
-        return 0;
2963
-
2964
-    n = strtoul(p1, &p2, 10);
2965
-    if (n == ULONG_MAX && errno)
2966
-        return 0;
2967
-
2968
-    t |= (n&0xff);
2969
-
2970
-    p1 = p2;
2971
-    while (p1 < end && isspace(p1[0]))
2972
-        p1++;
2973
-
2974
-    if (p1 == end)
2975
-        return 0;
2976
-
2977
-    if (p1[0] == 'R') {
2978
-        *endchar = p1+1;
2979
-        if (id)
2980
-            *id = t;
2981
-
2982
-        return 1;
2983
-    }
2984
-
2985
-    return 0;
2986
-}
2987
-
2988
-static char *pdf_parse_string(struct pdf_struct *pdf, struct pdf_obj *obj, const char *objstart, size_t objsize, const char *str, char **endchar)
2989
-{
2990
-    const char *q = objstart;
2991
-    char *p1, *p2;
2992
-    size_t inlen, outlen, len, checklen;
2993
-    char *buf, *outbuf, *res;
2994
-    int likelyutf = 0;
2995
-    unsigned int i;
2996
-    uint32_t objid;
2997
-
2998
-    /*
2999
-     * Yes, all of this is required to find the start and end of a potentially UTF-* string
3000
-     *
3001
-     * First, find the key of the key/value pair we're looking for in this object.
3002
-     * Second, determine whether the value points to another object (NOTE: this is sketchy behavior)
3003
-     * Third, attempt to determine if we're ASCII or UTF-*
3004
-     * If we're ASCII, just copy the ASCII string into a new heap-allocated string and return that
3005
-     * Fourth, Attempt to decode from UTF-* to UTF-8
3006
-     */
3007
-
3008
-    res = NULL;
3009
-
3010
-    if (str) {
3011
-        checklen = strlen(str);
3012
-
3013
-        if (objsize < strlen(str) + 3)
3014
-            return NULL;
3015
-
3016
-        for (p1=(char *)q; (p1 - q) < objsize-checklen; p1++)
3017
-            if (!strncmp(p1, str, checklen))
3018
-                break;
3019
-
3020
-        if (p1 - q == objsize - checklen)
3021
-            return NULL;
3022
-
3023
-        p1 += checklen;
3024
-    } else {
3025
-        p1 = q;
3026
-    }
3027
-
3028
-    while ((p1 - q) < objsize && isspace(p1[0]))
3029
-        p1++;
3030
-
3031
-    if ((p1 - q) == objsize)
3032
-        return NULL;
3033
-
3034
-    /* We should be at the start of the string, minus 1 */
3035
-
3036
-    p2 = q + objsize;
3037
-    if (is_object_reference(p1, &p2, &objid)) {
3038
-        struct pdf_obj *newobj;
3039
-        char *end, *begin;
3040
-        STATBUF sb;
3041
-        uint32_t objflags;
3042
-        int fd;
3043
-
3044
-        newobj = find_obj(pdf, obj, objid);
3045
-        if (!(newobj))
3046
-            return NULL;
3047
-
3048
-        if (newobj == obj)
3049
-            return NULL;
3050
-
3051
-        /* 
3052
-         * If pdf_handlename hasn't been called for this object,
3053
-         * then parse the object prior to extracting it
3054
-         */
3055
-        if (!(newobj->statsflags & OBJ_FLAG_PDFNAME_DONE))
3056
-            pdf_parseobj(pdf, newobj);
3057
-
3058
-        /* Extract the object. Force pdf_extract_obj() to dump this object. */
3059
-        objflags = newobj->flags;
3060
-        newobj->flags |= (1 << OBJ_FORCEDUMP);
3061
-
3062
-        if (pdf_extract_obj(pdf, newobj, PDF_EXTRACT_OBJ_NONE) != CL_SUCCESS)
3063
-            return NULL;
3064
-
3065
-        newobj->flags = objflags;
3066
-
3067
-        if (!(newobj->path))
3068
-            return NULL;
3069
-
3070
-        fd = open(newobj->path, O_RDONLY);
3071
-        if (fd == -1) {
3072
-            cli_unlink(newobj->path);
3073
-            free(newobj->path);
3074
-            newobj->path = NULL;
3075
-            return NULL;
3076
-        }
3077
-
3078
-        if (FSTAT(fd, &sb)) {
3079
-            close(fd);
3080
-            cli_unlink(newobj->path);
3081
-            free(newobj->path);
3082
-            newobj->path = NULL;
3083
-            return NULL;
3084
-        }
3085
-
3086
-        if (sb.st_size) {
3087
-            begin = calloc(1, sb.st_size);
3088
-            if (!(begin)) {
3089
-                close(fd);
3090
-                cli_unlink(newobj->path);
3091
-                free(newobj->path);
3092
-                newobj->path = NULL;
3093
-                return NULL;
3094
-            }
3095
-
3096
-            if (read(fd, begin, sb.st_size) != sb.st_size) {
3097
-                close(fd);
3098
-                cli_unlink(newobj->path);
3099
-                free(newobj->path);
3100
-                newobj->path = NULL;
3101
-                free(begin);
3102
-                return NULL;
3103
-            }
3104
-
3105
-            switch (begin[0]) {
3106
-                case '(':
3107
-                case '<':
3108
-                    res = pdf_parse_string(pdf, obj, begin, sb.st_size, NULL, NULL);
3109
-                    free(begin);
3110
-                    break;
3111
-                default:
3112
-                    res = pdf_convert_utf(begin, sb.st_size);
3113
-                    if (!(res))
3114
-                        res = begin;
3115
-                    else
3116
-                        free(begin);
3117
-            }
3118
-        }
3119
-
3120
-        close(fd);
3121
-        cli_unlink(newobj->path);
3122
-        free(newobj->path);
3123
-        newobj->path = NULL;
3124
-
3125
-        if (endchar)
3126
-            *endchar = p2;
3127
-
3128
-        return res;
3129
-    }
3130
-
3131
-    if (*p1 == '<') {
3132
-        size_t sz;
3133
-
3134
-        /* Hex string */
3135
-
3136
-        p2 = p1+1;
3137
-        while ((p2 - q) < objsize && *p2 != '>')
3138
-            p2++;
3139
-
3140
-        if (p2 - q == objsize) {
3141
-            return NULL;
3142
-        }
3143
-
3144
-        res = cli_calloc(1, (p2 - p1) + 2);
3145
-        if (!(res))
3146
-            return NULL;
3147
-
3148
-        strncpy(res, p1, (p2 - p1) + 1);
3149
-        if (endchar)
3150
-            *endchar = p2;
3151
-
3152
-        return res;
3153
-    }
3154
-
3155
-    /* We should be at the start of a string literal (...) here */
3156
-    if (*p1 != '(')
3157
-        return NULL;
3158
-
3159
-    /* Make a best effort to find the end of the string and determine if UTF-* */
3160
-    p2 = ++p1;
3161
-    while (1) {
3162
-        int shouldbreak=1;
3163
-        unsigned int upperlimit=1;
3164
-
3165
-        while ((p2 - q) < objsize && *p2 != ')') {
3166
-            if (!likelyutf && (*((unsigned char *)p2) > (unsigned char)0x7f || *p2 == '\0'))
3167
-                likelyutf = 1;
3168
-
3169
-            p2++;
3170
-        }
3171
-
3172
-        if ((p2 - q) == objsize || *p2 != ')')
3173
-            return NULL;
3174
-
3175
-        if (likelyutf)
3176
-            upperlimit = 3;
3177
-
3178
-        for (i=0; i <= upperlimit && p2 - i > p1; i++) {
3179
-            if (*(p2-i) == '\\' && *(p2 - i - 1) != '\\') {
3180
-                shouldbreak=0;
3181
-                p2++;
3182
-            }
3183
-        }
3184
-
3185
-        if (shouldbreak) {
3186
-            p2--;
3187
-            break;
3188
-        }
3189
-    }
3190
-
3191
-    /* If we're an empty string (), p2 would be at the left paren and p1 would be at the right paren */
3192
-    if (p2 < p1)
3193
-        return NULL;
3194
-
3195
-    len = (size_t)(p2 - p1) + 1;
3196
-
3197
-    if (likelyutf == 0) {
3198
-        /* We're not UTF-*, so just make a copy of the string and return that */
3199
-        res = cli_calloc(1, len+1);
3200
-        if (!(res))
3201
-            return NULL;
3202
-
3203
-        memcpy(res, p1, len);
3204
-        res[len] = '\0';
3205
-        if (endchar)
3206
-            *endchar = p2;
3207
-
3208
-        return res;
3209
-    }
3210
-
3211
-    res = pdf_convert_utf(p1, len);
3212
-
3213
-    if (res && endchar)
3214
-        *endchar = p2;
3215
-
3216
-    return res;
3217
-}
3218
-
3219
-static struct pdf_dict *pdf_parse_dict(struct pdf_struct *pdf, struct pdf_obj *obj, size_t objsz, char *begin, char **endchar)
3220
-{
3221
-    struct pdf_dict *res=NULL;
3222
-    struct pdf_dict_node *node=NULL;
3223
-    const char *objstart;
3224
-    char *end;
3225
-    unsigned int in_string=0, ninner=0;
3226
-
3227
-    /* Sanity checking */
3228
-    if (!(pdf) || !(obj) || !(begin))
3229
-        return NULL;
3230
-
3231
-    objstart = (const char *)(obj->start + pdf->map);
3232
-
3233
-    if (begin < objstart || begin - objstart >= objsz - 2)
3234
-        return NULL;
3235
-
3236
-    if (begin[0] != '<' || begin[1] != '<')
3237
-        return NULL;
3238
-
3239
-    /* Find the end of the dictionary */
3240
-    end = begin;
3241
-    while (end - objstart < objsz) {
3242
-        if (in_string) {
3243
-            if (*end == ')')
3244
-                in_string = 0;
3245
-
3246
-            end++;
3247
-            continue;
3248
-        }
3249
-
3250
-        switch (*end) {
3251
-            case '(':
3252
-                in_string=1;
3253
-                break;
3254
-            case '<':
3255
-                if (end - objstart <= objsz - 2 && end[1] == '<')
3256
-                    ninner++;
3257
-                break;
3258
-            case '>':
3259
-                if (end - objstart <= objsz - 2 && end[1] == '>')
3260
-                    ninner--;
3261
-                break;
3262
-            case '\\':
3263
-                end += 2;
3264
-                if (end - objstart >= objsz)
3265
-                    return NULL;
3266
-        }
3267
-
3268
-        if (end - objstart <= objsz - 2)
3269
-            if (end[0] == '>' && end[1] == '>' && ninner == 0)
3270
-                break;
3271
-
3272
-        end++;
3273
-    }
3274
-
3275
-    /* More sanity checking */
3276
-    if (end - objstart >= objsz - 1)
3277
-        return NULL;
3278
-
3279
-    if (end[0] != '>' || end[1] != '>')
3280
-        return NULL;
3281
-
3282
-    res = cli_calloc(1, sizeof(struct pdf_dict));
3283
-    if (!(res))
3284
-        return NULL;
3285
-
3286
-    /* Loop through each element of the dictionary */
3287
-    begin += 2;
3288
-    while (begin < end) {
3289
-        char *val=NULL, *key=NULL, *p1;
3290
-        struct pdf_dict *dict=NULL;
3291
-        struct pdf_array *arr=NULL;
3292
-
3293
-        /* Skip any whitespaces */
3294
-        while (begin < end && isspace(begin[0]))
3295
-            begin++;
3296
-
3297
-        if (begin == end)
3298
-            break;
3299
-
3300
-        /* Get the key */
3301
-        p1 = begin+1;
3302
-        while (p1 < end && isalpha(p1[0]))
3303
-            p1++;
3304
-
3305
-        if (p1 == end)
3306
-            break;
3307
-
3308
-        key = cli_calloc((p1 - begin) + 2, 1);
3309
-        if (!(key))
3310
-            break;
3311
-
3312
-        strncpy(key, begin, p1 - begin);
3313
-        key[p1 - begin] = '\0';
3314
-
3315
-        /* Now for the value */
3316
-        begin = p1;
3317
-
3318
-        /* Skip any whitespaces */
3319
-        while (begin < end && isspace(begin[0]))
3320
-            begin++;
3321
-
3322
-        if (begin == end) {
3323
-            free(key);
3324
-            break;
3325
-        }
3326
-
3327
-        switch (begin[0]) {
3328
-            case '(':
3329
-                val = pdf_parse_string(pdf, obj, begin, objsz, NULL, &p1);
3330
-                begin = p1+2;
3331
-                break;
3332
-            case '[':
3333
-                arr = pdf_parse_array(pdf, obj, objsz, begin, &p1);
3334
-                begin = p1+1;
3335
-                break;
3336
-            case '<':
3337
-                if (begin - objstart < objsz - 2) {
3338
-                    if (begin[1] == '<') {
3339
-                        dict = pdf_parse_dict(pdf, obj, objsz, begin, &p1);
3340
-                        begin = p1+2;
3341
-                        break;
3342
-                    }
3343
-                }
3344
-
3345
-                val = pdf_parse_string(pdf, obj, begin, objsz, NULL, &p1);
3346
-                begin = p1+2;
3347
-                break;
3348
-            default:
3349
-                p1 = (begin[0] == '/') ? begin+1 : begin;
3350
-                while (p1 < end) {
3351
-                    int shouldbreak = 0;
3352
-                    switch (p1[0]) {
3353
-                        case '>':
3354
-                        case '/':
3355
-                            shouldbreak=1;
3356
-                            break;
3357
-                    }
3358
-
3359
-                    if (shouldbreak)
3360
-                        break;
3361
-
3362
-                    p1++;
3363
-                }
3364
-
3365
-                is_object_reference(begin, &p1, NULL);
3366
-
3367
-                val = cli_calloc((p1 - begin) + 2, 1);
3368
-                if (!(val))
3369
-                    break;
3370
-
3371
-                strncpy(val, begin, p1 - begin);
3372
-                val[p1 - begin] = '\0';
3373
-
3374
-                if (p1[0] != '/')
3375
-                    begin = p1+1;
3376
-                else
3377
-                    begin = p1;
3378
-
3379
-                break;
3380
-        }
3381
-
3382
-        if (!(val) && !(dict) && !(arr)) {
3383
-            free(key);
3384
-            break;
3385
-        }
3386
-
3387
-        if (!(res->nodes)) {
3388
-            res->nodes = res->tail = node = cli_calloc(1, sizeof(struct pdf_dict_node));
3389
-            if (!(node)) {
3390
-                free(key);
3391
-                break;
3392
-            }
3393
-        } else {
3394
-            node = calloc(1, sizeof(struct pdf_dict_node));
3395
-            if (!(node)) {
3396
-                free(key);
3397
-                break;
3398
-            }
3399
-
3400
-            node->prev = res->tail;
3401
-            if (res->tail)
3402
-                res->tail->next = node;
3403
-            res->tail = node;
3404
-        }
3405
-
3406
-        node->key = key;
3407
-        if ((val)) {
3408
-            node->value = val;
3409
-            node->valuesz = strlen(val);
3410
-            node->type = PDF_DICT_STRING;
3411
-        } else if ((arr)) {
3412
-            node->value = arr;
3413
-            node->valuesz = sizeof(struct pdf_array);
3414
-            node->type = PDF_DICT_ARRAY;
3415
-        } else if ((dict)) {
3416
-            node->value = dict;
3417
-            node->valuesz = sizeof(struct pdf_dict);
3418
-            node->type = PDF_DICT_DICT;
3419
-        }
3420
-    }
3421
-
3422
-    if (endchar)
3423
-        *endchar = end;
3424
-
3425
-    return res;
3426
-}
3427
-
3428
-static struct pdf_array *pdf_parse_array(struct pdf_struct *pdf, struct pdf_obj *obj, size_t objsz, char *begin, char **endchar)
3429
-{
3430
-    struct pdf_array *res=NULL;
3431
-    struct pdf_array_node *node=NULL;
3432
-    const char *objstart = obj->start + pdf->map;
3433
-    char *end, *tempend;
3434
-    int in_string=0, ninner=0;
3435
-
3436
-    /* Sanity checking */
3437
-    if (!(pdf) || !(obj) || !(begin))
3438
-        return NULL;
3439
-
3440
-    if (begin < objstart || begin - objstart >= objsz)
3441
-        return NULL;
3442
-
3443
-    if (begin[0] != '[')
3444
-        return NULL;
3445
-
3446
-    /* Find the end of the array */
3447
-    end = begin;
3448
-    while (end - objstart < objsz) {
3449
-        if (in_string) {
3450
-            if (*end == ')')
3451
-                in_string = 0;
3452
-
3453
-            end++;
3454
-            continue;
3455
-        }
3456
-
3457
-        switch (*end) {
3458
-            case '(':
3459
-                in_string=1;
3460
-                break;
3461
-            case '[':
3462
-                ninner++;
3463
-                break;
3464
-            case ']':
3465
-                ninner--;
3466
-                break;
3467
-            case '\\':
3468
-                end += 2;
3469
-                if (end - objstart >= objsz)
3470
-                    return NULL;
3471
-        }
3472
-
3473
-        if (*end == ']' && ninner == 0)
3474
-            break;
3475
-
3476
-        end++;
3477
-    }
3478
-
3479
-    /* More sanity checking */
3480
-    if (end - objstart == objsz)
3481
-        return NULL;
3482
-
3483
-    if (*end != ']')
3484
-        return NULL;
3485
-
3486
-    res = cli_calloc(1, sizeof(struct pdf_array));
3487
-    if (!(res))
3488
-        return NULL;
3489
-
3490
-    begin++;
3491
-    while (begin < end) {
3492
-        char *val=NULL, *p1;
3493
-        struct pdf_array *arr=NULL;
3494
-        struct pdf_dict *dict=NULL;
3495
-
3496
-        while (begin < end && isspace(begin[0]))
3497
-            begin++;
3498
-
3499
-        if (begin == end)
3500
-            break;
3501
-
3502
-        switch (begin[0]) {
3503
-            case '<':
3504
-                if (begin - objstart < objsz - 2 && begin[1] == '<') {
3505
-                    dict = pdf_parse_dict(pdf, obj, objsz, begin, &begin);
3506
-                    break;
3507
-                }
3508
-
3509
-                /* Not a dictionary. Intentially fall through. */
3510
-            case '(':
3511
-                val = pdf_parse_string(pdf, obj, begin, objsz, NULL, &begin);
3512
-                break;
3513
-            case '[':
3514
-                /* XXX We should have a recursion counter here */
3515
-                arr = pdf_parse_array(pdf, obj, objsz, begin, &begin);
3516
-                break;
3517
-            default:
3518
-                /* This should just be a number or the letter R */
3519
-                p1 = end;
3520
-                if (!is_object_reference(begin, &p1, NULL)) {
3521
-                    p1 = begin+1;
3522
-                    while (p1 < end && !isspace(p1[0]))
3523
-                        p1++;
3524
-                }
3525
-
3526
-                val = cli_calloc((p1 - begin) + 2, 1);
3527
-                if (!(val))
3528
-                    break;
3529
-
3530
-                strncpy(val, begin, p1 - begin);
3531
-                val[p1 - begin] = '\0';
3532
-
3533
-                begin = p1;
3534
-                break;
3535
-        }
3536
-
3537
-        /* Parse error, just return what we could */
3538
-        if (!(val) && !(arr) && !(dict))
3539
-            break;
3540
-
3541
-        if (!(node)) {
3542
-            res->nodes = res->tail = node = calloc(1, sizeof(struct pdf_array_node));
3543
-            if (!(node))
3544
-                break;
3545
-        } else {
3546
-            node = calloc(1, sizeof(struct pdf_array_node));
3547
-            if (!(node))
3548
-                break;
3549
-
3550
-            node->prev = res->tail;
3551
-            if (res->tail)
3552
-                res->tail->next = node;
3553
-            res->tail = node;
3554
-        }
3555
-
3556
-        if (val != NULL) {
3557
-            node->type = PDF_ARR_STRING;
3558
-            node->data = val;
3559
-            node->datasz = strlen(val);
3560
-        } else if (dict != NULL) {
3561
-            node->type = PDF_ARR_DICT;
3562
-            node->data = dict;
3563
-            node->datasz = sizeof(struct pdf_dict);
3564
-        } else {
3565
-            node->type = PDF_ARR_ARRAY;
3566
-            node->data = arr;
3567
-            node->datasz = sizeof(struct pdf_array);
3568
-        }
3569
-    }
3570
-
3571
-    if (endchar)
3572
-        *endchar = end;
3573
-
3574
-    return res;
3575
-}
3576
-
3577
-static void pdf_free_dict(struct pdf_dict *dict)
3578
-{
3579
-    struct pdf_dict_node *node, *next;
3580
-
3581
-    node = dict->nodes;
3582
-    while (node != NULL) {
3583
-        free(node->key);
3584
-
3585
-        if (node->type == PDF_DICT_STRING)
3586
-            free(node->value);
3587
-        else if (node->type == PDF_DICT_ARRAY)
3588
-            pdf_free_array((struct pdf_array *)(node->value));
3589
-        else if (node->type == PDF_DICT_DICT)
3590
-            pdf_free_dict((struct pdf_dict *)(node->value));
3591
-
3592
-        next = node->next;
3593
-        free(node);
3594
-        node = next;
3595
-    }
3596
-
3597
-    free(dict);
3598
-}
3599
-
3600
-static void pdf_free_array(struct pdf_array *array)
3601
-{
3602
-    struct pdf_array_node *node, *next;
3603
-
3604
-    if (!(array))
3605
-        return;
3606
-
3607
-    node = array->nodes;
3608
-    while (node != NULL) {
3609
-        if (node->type == PDF_ARR_ARRAY)
3610
-            pdf_free_array((struct pdf_array *)(node->data));
3611
-        else if (node->type == PDF_ARR_DICT)
3612
-            pdf_free_dict((struct pdf_dict *)(node->data));
3613
-        else
3614
-            free(node->data);
3615
-
3616
-        next = node->next;
3617
-        free(node);
3618
-        node = next;
3619
-    }
3620
-
3621
-    free(array);
3622
-}
3623
-
3624
-static void pdf_print_array(struct pdf_array *array, unsigned long depth)
3625
-{
3626
-    struct pdf_array_node *node;
3627
-    unsigned long i;
3628
-
3629
-    for (i=0, node = array->nodes; node != NULL; node = node->next, i++) {
3630
-        if (node->type == PDF_ARR_STRING)
3631
-            cli_errmsg("array[%lu][%lu]: %s\n", depth, i, (char *)(node->data));
3632
-        else
3633
-            pdf_print_array((struct pdf_array *)(node->data), depth+1);
3634
-    }
3635
-}
3636
-
3637
-static void pdf_print_dict(struct pdf_dict *dict, unsigned long depth)
3638
-{
3639
-    struct pdf_dict_node *node;
3640
-
3641
-    for (node = dict->nodes; node != NULL; node = node->next) {
3642
-        if (node->type == PDF_DICT_STRING) {
3643
-            cli_errmsg("dict[%lu][%s]: %s\n", depth, node->key, (char *)(node->value));
3644
-        } else if (node->type == PDF_DICT_ARRAY) {
3645
-            cli_errmsg("dict[%lu][%s]: Array =>\n", depth, node->key);
3646
-            pdf_print_array((struct pdf_array *)(node->value), depth);
3647
-        } else if (node->type == PDF_DICT_DICT) {
3648
-            pdf_print_dict((struct pdf_dict *)(node->value), depth+1);
3649
-        }
3650
-    }
3651
-}
3652
-
3653 2839
 /* PDF statistics */
3654 2840
 static void ASCIIHexDecode_cb(struct pdf_struct *pdf, struct pdf_obj *obj, struct pdf_action *act)
3655 2841
 {
... ...
@@ -62,9 +62,89 @@ struct pdf_dict {
62 62
     struct pdf_dict_node *tail;
63 63
 };
64 64
 
65
+struct pdf_stats {
66
+    int32_t ninvalidobjs;     /* Number of invalid objects */
67
+    int32_t njs;              /* Number of javascript objects */
68
+    int32_t nflate;           /* Number of flate-encoded objects */
69
+    int32_t nactivex;         /* Number of ActiveX objects */
70
+    int32_t nflash;           /* Number of flash objects */
71
+    int32_t ncolors;          /* Number of colors */
72
+    int32_t nasciihexdecode;  /* Number of ASCIIHexDecode-filtered objects */
73
+    int32_t nascii85decode;   /* Number of ASCII85Decode-filtered objects */
74
+    int32_t nembeddedfile;    /* Number of embedded files */
75
+    int32_t nimage;           /* Number of image objects */
76
+    int32_t nlzw;             /* Number of LZW-filtered objects */
77
+    int32_t nrunlengthdecode; /* Number of RunLengthDecode-filtered objects */
78
+    int32_t nfaxdecode;       /* Number of CCITT-filtered objects */
79
+    int32_t njbig2decode;     /* Number of JBIG2Decode-filtered objects */
80
+    int32_t ndctdecode;       /* Number of DCTDecode-filtered objects */
81
+    int32_t njpxdecode;       /* Number of JPXDecode-filtered objects */
82
+    int32_t ncrypt;           /* Number of Crypt-filtered objects */
83
+    int32_t nstandard;        /* Number of Standard-filtered objects */
84
+    int32_t nsigned;          /* Number of Signed objects */
85
+    int32_t nopenaction;      /* Number of OpenAction objects */
86
+    int32_t nlaunch;          /* Number of Launch objects */
87
+    int32_t npage;            /* Number of Page objects */
88
+    char *author;             /* Author of the PDF */
89
+    char *creator;            /* Application used to create the PDF */
90
+    char *producer;           /* Application used to produce the PDF */
91
+    char *creationdate;       /* Date the PDF was created */
92
+    char *modificationdate;   /* Date the PDF was modified */
93
+    char *title;              /* Title of the PDF */
94
+    char *subject;            /* Subject of the PDF */
95
+    char *keywords;           /* Keywords of the PDF */
96
+};
97
+
98
+
99
+enum enc_method {
100
+    ENC_UNKNOWN,
101
+    ENC_NONE,
102
+    ENC_IDENTITY,
103
+    ENC_V2,
104
+    ENC_AESV2,
105
+    ENC_AESV3
106
+};
107
+
108
+struct pdf_struct {
109
+    struct pdf_obj *objs;
110
+    unsigned nobjs;
111
+    unsigned flags;
112
+    unsigned enc_method_stream;
113
+    unsigned enc_method_string;
114
+    unsigned enc_method_embeddedfile;
115
+    const char *CF;
116
+    long CF_n;
117
+    const char *map;
118
+    off_t size;
119
+    off_t offset;
120
+    off_t startoff;
121
+    cli_ctx *ctx;
122
+    const char *dir;
123
+    unsigned files;
124
+    uint32_t enc_objid;
125
+    char *fileID;
126
+    unsigned fileIDlen;
127
+    char *key;
128
+    unsigned keylen;
129
+    struct pdf_stats stats;
130
+};
131
+
65 132
 #define OBJ_FLAG_PDFNAME_NONE 0x0
66 133
 #define OBJ_FLAG_PDFNAME_DONE 0x1
67 134
 
135
+#define PDF_EXTRACT_OBJ_NONE 0x0
136
+#define PDF_EXTRACT_OBJ_SCAN 0x1
137
+
68 138
 int cli_pdf(const char *dir, cli_ctx *ctx, off_t offset);
139
+int pdf_extract_obj(struct pdf_struct *pdf, struct pdf_obj *obj, uint32_t flags);
140
+int pdf_findobj(struct pdf_struct *pdf);
141
+struct pdf_obj *find_obj(struct pdf_struct *pdf, struct pdf_obj *obj, uint32_t objid);
142
+
143
+char *pdf_parse_string(struct pdf_struct *pdf, struct pdf_obj *obj, const char *objstart, size_t objsize, const char *str, char **endchar);
144
+struct pdf_array *pdf_parse_array(struct pdf_struct *pdf, struct pdf_obj *obj, size_t objsz, char *begin, char **endchar);
145
+struct pdf_dict *pdf_parse_dict(struct pdf_struct *pdf, struct pdf_obj *obj, size_t objsz, char *begin, char **endchar);
146
+int is_object_reference(char *begin, char **endchar, uint32_t *id);
147
+void pdf_free_dict(struct pdf_dict *dict);
148
+void pdf_free_array(struct pdf_array *array);
69 149
 
70 150
 #endif
... ...
@@ -1,7 +1,7 @@
1
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14 from Makefile.am.
2 2
 # @configure_input@
3 3
 
4
-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
4
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5 5
 
6 6
 # This Makefile.in is free software; the Free Software Foundation
7 7
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -18,23 +18,51 @@
18 18
 
19 19
 
20 20
 VPATH = @srcdir@
21
-am__make_dryrun = \
22
-  { \
23
-    am__dry=no; \
21
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
22
+am__make_running_with_option = \
23
+  case $${target_option-} in \
24
+      ?) ;; \
25
+      *) echo "am__make_running_with_option: internal error: invalid" \
26
+              "target option '$${target_option-}' specified" >&2; \
27
+         exit 1;; \
28
+  esac; \
29
+  has_opt=no; \
30
+  sane_makeflags=$$MAKEFLAGS; \
31
+  if $(am__is_gnu_make); then \
32
+    sane_makeflags=$$MFLAGS; \
33
+  else \
24 34
     case $$MAKEFLAGS in \
25 35
       *\\[\ \	]*) \
26
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
27
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
28
-      *) \
29
-        for am__flg in $$MAKEFLAGS; do \
30
-          case $$am__flg in \
31
-            *=*|--*) ;; \
32
-            *n*) am__dry=yes; break;; \
33
-          esac; \
34
-        done;; \
36
+        bs=\\; \
37
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
38
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
35 39
     esac; \
36
-    test $$am__dry = yes; \
37
-  }
40
+  fi; \
41
+  skip_next=no; \
42
+  strip_trailopt () \
43
+  { \
44
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
45
+  }; \
46
+  for flg in $$sane_makeflags; do \
47
+    test $$skip_next = yes && { skip_next=no; continue; }; \
48
+    case $$flg in \
49
+      *=*|--*) continue;; \
50
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
51
+      -*I?*) strip_trailopt 'I';; \
52
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
53
+      -*O?*) strip_trailopt 'O';; \
54
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
55
+      -*l?*) strip_trailopt 'l';; \
56
+      -[dEDm]) skip_next=yes;; \
57
+      -[JT]) skip_next=yes;; \
58
+    esac; \
59
+    case $$flg in \
60
+      *$$target_option*) has_opt=yes; break;; \
61
+    esac; \
62
+  done; \
63
+  test $$has_opt = yes
64
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
65
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
38 66
 pkgdatadir = $(datadir)/@PACKAGE@
39 67
 pkgincludedir = $(includedir)/@PACKAGE@
40 68
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -58,9 +86,9 @@ target_triplet = @target@
58 58
 @INSTALL_LTDL_TRUE@am__append_2 = libltdl.la
59 59
 @CONVENIENCE_LTDL_TRUE@am__append_3 = libltdlc.la
60 60
 subdir = libltdl
61
-DIST_COMMON = README $(am__include_HEADERS_DIST) \
62
-	$(am__ltdlinclude_HEADERS_DIST) $(srcdir)/Makefile.am \
63
-	$(srcdir)/Makefile.in $(top_srcdir)/config/depcomp COPYING.LIB
61
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
62
+	$(top_srcdir)/config/depcomp $(am__include_HEADERS_DIST) \
63
+	$(am__ltdlinclude_HEADERS_DIST) COPYING.LIB README
64 64
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
65 65
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
66 66
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -276,6 +304,23 @@ am__include_HEADERS_DIST = ltdl.h
276 276
 am__ltdlinclude_HEADERS_DIST = libltdl/lt_system.h libltdl/lt_error.h \
277 277
 	libltdl/lt_dlloader.h
278 278
 HEADERS = $(include_HEADERS) $(ltdlinclude_HEADERS)
279
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
280
+# Read a list of newline-separated strings from the standard input,
281
+# and print each of them once, without duplicates.  Input order is
282
+# *not* preserved.
283
+am__uniquify_input = $(AWK) '\
284
+  BEGIN { nonempty = 0; } \
285
+  { items[$$0] = 1; nonempty = 1; } \
286
+  END { if (nonempty) { for (i in items) print i; }; } \
287
+'
288
+# Make sure the list of sources is unique.  This is necessary because,
289
+# e.g., the same source file might be shared among _SOURCES variables
290
+# for different programs/libraries.
291
+am__define_uniq_tagged_files = \
292
+  list='$(am__tagged_files)'; \
293
+  unique=`for i in $$list; do \
294
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
295
+  done | $(am__uniquify_input)`
279 296
 ETAGS = etags
280 297
 CTAGS = ctags
281 298
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -571,6 +616,7 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
571 571
 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
572 572
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
573 573
 $(am__aclocal_m4_deps):
574
+
574 575
 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
575 576
 	@$(NORMAL_INSTALL)
576 577
 	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
... ...
@@ -616,20 +662,28 @@ clean-noinstLTLIBRARIES:
616 616
 	  echo rm -f $${locs}; \
617 617
 	  rm -f $${locs}; \
618 618
 	}
619
+
619 620
 dld_link.la: $(dld_link_la_OBJECTS) $(dld_link_la_DEPENDENCIES) $(EXTRA_dld_link_la_DEPENDENCIES) 
620 621
 	$(AM_V_CCLD)$(dld_link_la_LINK)  $(dld_link_la_OBJECTS) $(dld_link_la_LIBADD) $(LIBS)
622
+
621 623
 dlopen.la: $(dlopen_la_OBJECTS) $(dlopen_la_DEPENDENCIES) $(EXTRA_dlopen_la_DEPENDENCIES) 
622 624
 	$(AM_V_CCLD)$(dlopen_la_LINK)  $(dlopen_la_OBJECTS) $(dlopen_la_LIBADD) $(LIBS)
625
+
623 626
 dyld.la: $(dyld_la_OBJECTS) $(dyld_la_DEPENDENCIES) $(EXTRA_dyld_la_DEPENDENCIES) 
624 627
 	$(AM_V_CCLD)$(dyld_la_LINK)  $(dyld_la_OBJECTS) $(dyld_la_LIBADD) $(LIBS)
628
+
625 629
 libltdl.la: $(libltdl_la_OBJECTS) $(libltdl_la_DEPENDENCIES) $(EXTRA_libltdl_la_DEPENDENCIES) 
626 630
 	$(AM_V_CCLD)$(libltdl_la_LINK) $(am_libltdl_la_rpath) $(libltdl_la_OBJECTS) $(libltdl_la_LIBADD) $(LIBS)
631
+
627 632
 libltdlc.la: $(libltdlc_la_OBJECTS) $(libltdlc_la_DEPENDENCIES) $(EXTRA_libltdlc_la_DEPENDENCIES) 
628 633
 	$(AM_V_CCLD)$(libltdlc_la_LINK) $(am_libltdlc_la_rpath) $(libltdlc_la_OBJECTS) $(libltdlc_la_LIBADD) $(LIBS)
634
+
629 635
 load_add_on.la: $(load_add_on_la_OBJECTS) $(load_add_on_la_DEPENDENCIES) $(EXTRA_load_add_on_la_DEPENDENCIES) 
630 636
 	$(AM_V_CCLD)$(load_add_on_la_LINK)  $(load_add_on_la_OBJECTS) $(load_add_on_la_LIBADD) $(LIBS)
637
+
631 638
 loadlibrary.la: $(loadlibrary_la_OBJECTS) $(loadlibrary_la_DEPENDENCIES) $(EXTRA_loadlibrary_la_DEPENDENCIES) 
632 639
 	$(AM_V_CCLD)$(loadlibrary_la_LINK)  $(loadlibrary_la_OBJECTS) $(loadlibrary_la_LIBADD) $(LIBS)
640
+
633 641
 shl_load.la: $(shl_load_la_OBJECTS) $(shl_load_la_DEPENDENCIES) $(EXTRA_shl_load_la_DEPENDENCIES) 
634 642
 	$(AM_V_CCLD)$(shl_load_la_LINK)  $(shl_load_la_OBJECTS) $(shl_load_la_LIBADD) $(LIBS)
635 643
 
... ...
@@ -663,14 +717,14 @@ distclean-compile:
663 663
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
664 664
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
665 665
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
666
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
666
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
667 667
 
668 668
 .c.obj:
669 669
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
670 670
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
671 671
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
672 672
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
673
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
673
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
674 674
 
675 675
 .c.lo:
676 676
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -853,26 +907,15 @@ uninstall-ltdlincludeHEADERS:
853 853
 	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
854 854
 	dir='$(DESTDIR)$(ltdlincludedir)'; $(am__uninstall_files_from_dir)
855 855
 
856
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
857
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
858
-	unique=`for i in $$list; do \
859
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
860
-	  done | \
861
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
862
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
863
-	mkid -fID $$unique
864
-tags: TAGS
865
-
866
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
867
-		$(TAGS_FILES) $(LISP)
856
+ID: $(am__tagged_files)
857
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
858
+tags: tags-am
859
+TAGS: tags
860
+
861
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
868 862
 	set x; \
869 863
 	here=`pwd`; \
870
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
871
-	unique=`for i in $$list; do \
872
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
873
-	  done | \
874
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
875
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
864
+	$(am__define_uniq_tagged_files); \
876 865
 	shift; \
877 866
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
878 867
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -884,15 +927,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
884 884
 	      $$unique; \
885 885
 	  fi; \
886 886
 	fi
887
-ctags: CTAGS
888
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
889
-		$(TAGS_FILES) $(LISP)
890
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
891
-	unique=`for i in $$list; do \
892
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
893
-	  done | \
894
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
895
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
887
+ctags: ctags-am
888
+
889
+CTAGS: ctags
890
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
891
+	$(am__define_uniq_tagged_files); \
896 892
 	test -z "$(CTAGS_ARGS)$$unique" \
897 893
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
898 894
 	     $$unique
... ...
@@ -901,9 +940,10 @@ GTAGS:
901 901
 	here=`$(am__cd) $(top_builddir) && pwd` \
902 902
 	  && $(am__cd) $(top_srcdir) \
903 903
 	  && gtags -i $(GTAGS_ARGS) "$$here"
904
+cscopelist: cscopelist-am
904 905
 
905
-cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
906
-	list='$(SOURCES) $(HEADERS) $(LISP)'; \
906
+cscopelist-am: $(am__tagged_files)
907
+	list='$(am__tagged_files)'; \
907 908
 	case "$(srcdir)" in \
908 909
 	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
909 910
 	  *) sdir=$(subdir)/$(srcdir) ;; \
... ...
@@ -1065,20 +1105,20 @@ uninstall-am: uninstall-includeHEADERS uninstall-libLTLIBRARIES \
1065 1065
 
1066 1066
 .MAKE: all check install install-am install-strip
1067 1067
 
1068
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
1068
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
1069 1069
 	clean-libLTLIBRARIES clean-libtool clean-noinstLTLIBRARIES \
1070
-	cscopelist ctags distclean distclean-compile distclean-generic \
1071
-	distclean-libtool distclean-tags distdir dvi dvi-am html \
1072
-	html-am info info-am install install-am install-data \
1073
-	install-data-am install-dvi install-dvi-am install-exec \
1074
-	install-exec-am install-html install-html-am \
1070
+	cscopelist-am ctags ctags-am distclean distclean-compile \
1071
+	distclean-generic distclean-libtool distclean-tags distdir dvi \
1072
+	dvi-am html html-am info info-am install install-am \
1073
+	install-data install-data-am install-dvi install-dvi-am \
1074
+	install-exec install-exec-am install-html install-html-am \
1075 1075
 	install-includeHEADERS install-info install-info-am \
1076 1076
 	install-libLTLIBRARIES install-ltdlincludeHEADERS install-man \
1077 1077
 	install-pdf install-pdf-am install-ps install-ps-am \
1078 1078
 	install-strip installcheck installcheck-am installdirs \
1079 1079
 	maintainer-clean maintainer-clean-generic mostlyclean \
1080 1080
 	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
1081
-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
1081
+	pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \
1082 1082
 	uninstall-includeHEADERS uninstall-libLTLIBRARIES \
1083 1083
 	uninstall-ltdlincludeHEADERS
1084 1084
 
... ...
@@ -1,7 +1,7 @@
1
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14 from Makefile.am.
2 2
 # @configure_input@
3 3
 
4
-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
4
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5 5
 
6 6
 # This Makefile.in is free software; the Free Software Foundation
7 7
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -33,23 +33,51 @@
33 33
 #  MA 02110-1301, USA.
34 34
 
35 35
 VPATH = @srcdir@
36
-am__make_dryrun = \
37
-  { \
38
-    am__dry=no; \
36
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
37
+am__make_running_with_option = \
38
+  case $${target_option-} in \
39
+      ?) ;; \
40
+      *) echo "am__make_running_with_option: internal error: invalid" \
41
+              "target option '$${target_option-}' specified" >&2; \
42
+         exit 1;; \
43
+  esac; \
44
+  has_opt=no; \
45
+  sane_makeflags=$$MAKEFLAGS; \
46
+  if $(am__is_gnu_make); then \
47
+    sane_makeflags=$$MFLAGS; \
48
+  else \
39 49
     case $$MAKEFLAGS in \
40 50
       *\\[\ \	]*) \
41
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
42
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
43
-      *) \
44
-        for am__flg in $$MAKEFLAGS; do \
45
-          case $$am__flg in \
46
-            *=*|--*) ;; \
47
-            *n*) am__dry=yes; break;; \
48
-          esac; \
49
-        done;; \
51
+        bs=\\; \
52
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
53
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
54
+    esac; \
55
+  fi; \
56
+  skip_next=no; \
57
+  strip_trailopt () \
58
+  { \
59
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
60
+  }; \
61
+  for flg in $$sane_makeflags; do \
62
+    test $$skip_next = yes && { skip_next=no; continue; }; \
63
+    case $$flg in \
64
+      *=*|--*) continue;; \
65
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
66
+      -*I?*) strip_trailopt 'I';; \
67
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
68
+      -*O?*) strip_trailopt 'O';; \
69
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
70
+      -*l?*) strip_trailopt 'l';; \
71
+      -[dEDm]) skip_next=yes;; \
72
+      -[JT]) skip_next=yes;; \
73
+    esac; \
74
+    case $$flg in \
75
+      *$$target_option*) has_opt=yes; break;; \
50 76
     esac; \
51
-    test $$am__dry = yes; \
52
-  }
77
+  done; \
78
+  test $$has_opt = yes
79
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
80
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
53 81
 pkgdatadir = $(datadir)/@PACKAGE@
54 82
 pkgincludedir = $(includedir)/@PACKAGE@
55 83
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -71,7 +99,7 @@ host_triplet = @host@
71 71
 target_triplet = @target@
72 72
 bin_PROGRAMS = sigtool$(EXEEXT)
73 73
 subdir = sigtool
74
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
74
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
75 75
 	$(top_srcdir)/config/depcomp
76 76
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
77 77
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
... ...
@@ -198,6 +226,23 @@ am__can_run_installinfo = \
198 198
     n|no|NO) false;; \
199 199
     *) (install-info --version) >/dev/null 2>&1;; \
200 200
   esac
201
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
202
+# Read a list of newline-separated strings from the standard input,
203
+# and print each of them once, without duplicates.  Input order is
204
+# *not* preserved.
205
+am__uniquify_input = $(AWK) '\
206
+  BEGIN { nonempty = 0; } \
207
+  { items[$$0] = 1; nonempty = 1; } \
208
+  END { if (nonempty) { for (i in items) print i; }; } \
209
+'
210
+# Make sure the list of sources is unique.  This is necessary because,
211
+# e.g., the same source file might be shared among _SOURCES variables
212
+# for different programs/libraries.
213
+am__define_uniq_tagged_files = \
214
+  list='$(am__tagged_files)'; \
215
+  unique=`for i in $$list; do \
216
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
217
+  done | $(am__uniquify_input)`
201 218
 ETAGS = etags
202 219
 CTAGS = ctags
203 220
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -456,10 +501,12 @@ install-binPROGRAMS: $(bin_PROGRAMS)
456 456
 	fi; \
457 457
 	for p in $$list; do echo "$$p $$p"; done | \
458 458
 	sed 's/$(EXEEXT)$$//' | \
459
-	while read p p1; do if test -f $$p || test -f $$p1; \
460
-	  then echo "$$p"; echo "$$p"; else :; fi; \
459
+	while read p p1; do if test -f $$p \
460
+	 || test -f $$p1 \
461
+	  ; then echo "$$p"; echo "$$p"; else :; fi; \
461 462
 	done | \
462
-	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
463
+	sed -e 'p;s,.*/,,;n;h' \
464
+	    -e 's|.*|.|' \
463 465
 	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
464 466
 	sed 'N;N;N;s,\n, ,g' | \
465 467
 	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
... ...
@@ -480,7 +527,8 @@ uninstall-binPROGRAMS:
480 480
 	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
481 481
 	files=`for p in $$list; do echo "$$p"; done | \
482 482
 	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
483
-	      -e 's/$$/$(EXEEXT)/' `; \
483
+	      -e 's/$$/$(EXEEXT)/' \
484
+	`; \
484 485
 	test -n "$$list" || exit 0; \
485 486
 	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
486 487
 	cd "$(DESTDIR)$(bindir)" && rm -f $$files
... ...
@@ -509,6 +557,7 @@ installcheck-binPROGRAMS: $(bin_PROGRAMS)
509 509
 	    else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \
510 510
 	  done; \
511 511
 	done; rm -f c$${pid}_.???; exit $$bad
512
+
512 513
 sigtool$(EXEEXT): $(sigtool_OBJECTS) $(sigtool_DEPENDENCIES) $(EXTRA_sigtool_DEPENDENCIES) 
513 514
 	@rm -f sigtool$(EXEEXT)
514 515
 	$(AM_V_CCLD)$(LINK) $(sigtool_OBJECTS) $(sigtool_LDADD) $(LIBS)
... ...
@@ -533,14 +582,14 @@ distclean-compile:
533 533
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
534 534
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
535 535
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
536
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
536
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
537 537
 
538 538
 .c.obj:
539 539
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
540 540
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
541 541
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
542 542
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
543
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
543
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
544 544
 
545 545
 .c.lo:
546 546
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -639,26 +688,15 @@ mostlyclean-libtool:
639 639
 clean-libtool:
640 640
 	-rm -rf .libs _libs
641 641
 
642
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
643
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
644
-	unique=`for i in $$list; do \
645
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
646
-	  done | \
647
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
648
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
649
-	mkid -fID $$unique
650
-tags: TAGS
651
-
652
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
653
-		$(TAGS_FILES) $(LISP)
642
+ID: $(am__tagged_files)
643
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
644
+tags: tags-am
645
+TAGS: tags
646
+
647
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
654 648
 	set x; \
655 649
 	here=`pwd`; \
656
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
657
-	unique=`for i in $$list; do \
658
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
659
-	  done | \
660
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
661
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
650
+	$(am__define_uniq_tagged_files); \
662 651
 	shift; \
663 652
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
664 653
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -670,15 +708,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
670 670
 	      $$unique; \
671 671
 	  fi; \
672 672
 	fi
673
-ctags: CTAGS
674
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
675
-		$(TAGS_FILES) $(LISP)
676
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
677
-	unique=`for i in $$list; do \
678
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
679
-	  done | \
680
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
681
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
673
+ctags: ctags-am
674
+
675
+CTAGS: ctags
676
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
677
+	$(am__define_uniq_tagged_files); \
682 678
 	test -z "$(CTAGS_ARGS)$$unique" \
683 679
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
684 680
 	     $$unique
... ...
@@ -687,9 +721,10 @@ GTAGS:
687 687
 	here=`$(am__cd) $(top_builddir) && pwd` \
688 688
 	  && $(am__cd) $(top_srcdir) \
689 689
 	  && gtags -i $(GTAGS_ARGS) "$$here"
690
+cscopelist: cscopelist-am
690 691
 
691
-cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
692
-	list='$(SOURCES) $(HEADERS) $(LISP)'; \
692
+cscopelist-am: $(am__tagged_files)
693
+	list='$(am__tagged_files)'; \
693 694
 	case "$(srcdir)" in \
694 695
 	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
695 696
 	  *) sdir=$(subdir)/$(srcdir) ;; \
... ...
@@ -845,20 +880,20 @@ uninstall-am: uninstall-binPROGRAMS
845 845
 
846 846
 .MAKE: install-am install-strip
847 847
 
848
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
849
-	clean-generic clean-libtool cscopelist ctags distclean \
850
-	distclean-compile distclean-generic distclean-libtool \
851
-	distclean-tags distdir dvi dvi-am html html-am info info-am \
852
-	install install-am install-binPROGRAMS install-data \
853
-	install-data-am install-dvi install-dvi-am install-exec \
854
-	install-exec-am install-html install-html-am install-info \
855
-	install-info-am install-man install-pdf install-pdf-am \
856
-	install-ps install-ps-am install-strip installcheck \
857
-	installcheck-am installcheck-binPROGRAMS installdirs \
858
-	maintainer-clean maintainer-clean-generic mostlyclean \
859
-	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
860
-	pdf pdf-am ps ps-am tags uninstall uninstall-am \
861
-	uninstall-binPROGRAMS
848
+.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
849
+	clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
850
+	ctags ctags-am distclean distclean-compile distclean-generic \
851
+	distclean-libtool distclean-tags distdir dvi dvi-am html \
852
+	html-am info info-am install install-am install-binPROGRAMS \
853
+	install-data install-data-am install-dvi install-dvi-am \
854
+	install-exec install-exec-am install-html install-html-am \
855
+	install-info install-info-am install-man install-pdf \
856
+	install-pdf-am install-ps install-ps-am install-strip \
857
+	installcheck installcheck-am installcheck-binPROGRAMS \
858
+	installdirs maintainer-clean maintainer-clean-generic \
859
+	mostlyclean mostlyclean-compile mostlyclean-generic \
860
+	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
861
+	uninstall-am uninstall-binPROGRAMS
862 862
 
863 863
 
864 864
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
@@ -1,7 +1,7 @@
1
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14 from Makefile.am.
2 2
 # @configure_input@
3 3
 
4
-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
4
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5 5
 
6 6
 # This Makefile.in is free software; the Free Software Foundation
7 7
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -14,23 +14,51 @@
14 14
 
15 15
 @SET_MAKE@
16 16
 VPATH = @srcdir@
17
-am__make_dryrun = \
18
-  { \
19
-    am__dry=no; \
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 \
20 30
     case $$MAKEFLAGS in \
21 31
       *\\[\ \	]*) \
22
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
23
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
24
-      *) \
25
-        for am__flg in $$MAKEFLAGS; do \
26
-          case $$am__flg in \
27
-            *=*|--*) ;; \
28
-            *n*) am__dry=yes; break;; \
29
-          esac; \
30
-        done;; \
32
+        bs=\\; \
33
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
34
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
35
+    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;; \
31 57
     esac; \
32
-    test $$am__dry = yes; \
33
-  }
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))
34 62
 pkgdatadir = $(datadir)/@PACKAGE@
35 63
 pkgincludedir = $(includedir)/@PACKAGE@
36 64
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -53,7 +81,7 @@ target_triplet = @target@
53 53
 @ENABLE_UNRAR_TRUE@am__append_1 = clam-v2.rar clam-v3.rar
54 54
 @HAVE_LIBBZ2_TRUE@am__append_2 = clam.exe.bz2 clam.bz2.zip
55 55
 subdir = test
56
-DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
56
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am README
57 57
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
58 58
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
59 59
 	$(top_srcdir)/m4/argz.m4 \
... ...
@@ -146,6 +174,7 @@ am__can_run_installinfo = \
146 146
     n|no|NO) false;; \
147 147
     *) (install-info --version) >/dev/null 2>&1;; \
148 148
   esac
149
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
149 150
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
150 151
 ACLOCAL = @ACLOCAL@
151 152
 AMTAR = @AMTAR@
... ...
@@ -394,11 +423,9 @@ mostlyclean-libtool:
394 394
 
395 395
 clean-libtool:
396 396
 	-rm -rf .libs _libs
397
-tags: TAGS
398
-TAGS:
397
+tags TAGS:
399 398
 
400
-ctags: CTAGS
401
-CTAGS:
399
+ctags CTAGS:
402 400
 
403 401
 cscope cscopelist:
404 402
 
... ...
@@ -536,16 +563,16 @@ uninstall-am:
536 536
 .MAKE: install-am install-strip
537 537
 
538 538
 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
539
-	clean-local distclean distclean-generic distclean-libtool \
540
-	distdir dvi dvi-am html html-am info info-am install \
541
-	install-am install-data install-data-am install-dvi \
539
+	clean-local cscopelist-am ctags-am distclean distclean-generic \
540
+	distclean-libtool distdir dvi dvi-am html html-am info info-am \
541
+	install install-am install-data install-data-am install-dvi \
542 542
 	install-dvi-am install-exec install-exec-am install-html \
543 543
 	install-html-am install-info install-info-am install-man \
544 544
 	install-pdf install-pdf-am install-ps install-ps-am \
545 545
 	install-strip installcheck installcheck-am installdirs \
546 546
 	maintainer-clean maintainer-clean-generic mostlyclean \
547 547
 	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
548
-	uninstall uninstall-am
548
+	tags-am uninstall uninstall-am
549 549
 
550 550
 
551 551
 all: $(FILES)
... ...
@@ -1,7 +1,7 @@
1
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
1
+# Makefile.in generated by automake 1.14 from Makefile.am.
2 2
 # @configure_input@
3 3
 
4
-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
4
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5 5
 
6 6
 # This Makefile.in is free software; the Free Software Foundation
7 7
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -14,23 +14,51 @@
14 14
 
15 15
 @SET_MAKE@
16 16
 VPATH = @srcdir@
17
-am__make_dryrun = \
18
-  { \
19
-    am__dry=no; \
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 \
20 30
     case $$MAKEFLAGS in \
21 31
       *\\[\ \	]*) \
22
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
23
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
24
-      *) \
25
-        for am__flg in $$MAKEFLAGS; do \
26
-          case $$am__flg in \
27
-            *=*|--*) ;; \
28
-            *n*) am__dry=yes; break;; \
29
-          esac; \
30
-        done;; \
32
+        bs=\\; \
33
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
34
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
31 35
     esac; \
32
-    test $$am__dry = yes; \
33
-  }
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))
34 62
 pkgdatadir = $(datadir)/@PACKAGE@
35 63
 pkgincludedir = $(includedir)/@PACKAGE@
36 64
 pkglibdir = $(libdir)/@PACKAGE@
... ...
@@ -54,7 +82,7 @@ target_triplet = @target@
54 54
 TESTS = $(am__EXEEXT_1) $(scripts)
55 55
 check_PROGRAMS = $(am__EXEEXT_1) check_clamd$(EXEEXT) $(am__EXEEXT_2)
56 56
 subdir = unit_tests
57
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
57
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
58 58
 	$(top_srcdir)/config/depcomp $(top_srcdir)/config/test-driver
59 59
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
60 60
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
... ...
@@ -211,6 +239,23 @@ am__can_run_installinfo = \
211 211
     n|no|NO) false;; \
212 212
     *) (install-info --version) >/dev/null 2>&1;; \
213 213
   esac
214
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
215
+# Read a list of newline-separated strings from the standard input,
216
+# and print each of them once, without duplicates.  Input order is
217
+# *not* preserved.
218
+am__uniquify_input = $(AWK) '\
219
+  BEGIN { nonempty = 0; } \
220
+  { items[$$0] = 1; nonempty = 1; } \
221
+  END { if (nonempty) { for (i in items) print i; }; } \
222
+'
223
+# Make sure the list of sources is unique.  This is necessary because,
224
+# e.g., the same source file might be shared among _SOURCES variables
225
+# for different programs/libraries.
226
+am__define_uniq_tagged_files = \
227
+  list='$(am__tagged_files)'; \
228
+  unique=`for i in $$list; do \
229
+    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
230
+  done | $(am__uniquify_input)`
214 231
 ETAGS = etags
215 232
 CTAGS = ctags
216 233
 am__tty_colors_dummy = \
... ...
@@ -687,12 +732,15 @@ clean-checkPROGRAMS:
687 687
 	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
688 688
 	echo " rm -f" $$list; \
689 689
 	rm -f $$list
690
+
690 691
 check_clamav$(EXEEXT): $(check_clamav_OBJECTS) $(check_clamav_DEPENDENCIES) $(EXTRA_check_clamav_DEPENDENCIES) 
691 692
 	@rm -f check_clamav$(EXEEXT)
692 693
 	$(AM_V_CCLD)$(LINK) $(check_clamav_OBJECTS) $(check_clamav_LDADD) $(LIBS)
694
+
693 695
 check_clamd$(EXEEXT): $(check_clamd_OBJECTS) $(check_clamd_DEPENDENCIES) $(EXTRA_check_clamd_DEPENDENCIES) 
694 696
 	@rm -f check_clamd$(EXEEXT)
695 697
 	$(AM_V_CCLD)$(LINK) $(check_clamd_OBJECTS) $(check_clamd_LDADD) $(LIBS)
698
+
696 699
 check_fpu_endian$(EXEEXT): $(check_fpu_endian_OBJECTS) $(check_fpu_endian_DEPENDENCIES) $(EXTRA_check_fpu_endian_DEPENDENCIES) 
697 700
 	@rm -f check_fpu_endian$(EXEEXT)
698 701
 	$(AM_V_CCLD)$(LINK) $(check_fpu_endian_OBJECTS) $(check_fpu_endian_LDADD) $(LIBS)
... ...
@@ -722,14 +770,14 @@ distclean-compile:
722 722
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
723 723
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
724 724
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
725
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
725
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
726 726
 
727 727
 .c.obj:
728 728
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
729 729
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
730 730
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
731 731
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
732
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
732
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
733 733
 
734 734
 .c.lo:
735 735
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
... ...
@@ -926,26 +974,15 @@ mostlyclean-libtool:
926 926
 clean-libtool:
927 927
 	-rm -rf .libs _libs
928 928
 
929
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
930
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
931
-	unique=`for i in $$list; do \
932
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
933
-	  done | \
934
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
935
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
936
-	mkid -fID $$unique
937
-tags: TAGS
938
-
939
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
940
-		$(TAGS_FILES) $(LISP)
929
+ID: $(am__tagged_files)
930
+	$(am__define_uniq_tagged_files); mkid -fID $$unique
931
+tags: tags-am
932
+TAGS: tags
933
+
934
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
941 935
 	set x; \
942 936
 	here=`pwd`; \
943
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
944
-	unique=`for i in $$list; do \
945
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
946
-	  done | \
947
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
948
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
937
+	$(am__define_uniq_tagged_files); \
949 938
 	shift; \
950 939
 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
951 940
 	  test -n "$$unique" || unique=$$empty_fix; \
... ...
@@ -957,15 +994,11 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
957 957
 	      $$unique; \
958 958
 	  fi; \
959 959
 	fi
960
-ctags: CTAGS
961
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
962
-		$(TAGS_FILES) $(LISP)
963
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
964
-	unique=`for i in $$list; do \
965
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
966
-	  done | \
967
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
968
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
960
+ctags: ctags-am
961
+
962
+CTAGS: ctags
963
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
964
+	$(am__define_uniq_tagged_files); \
969 965
 	test -z "$(CTAGS_ARGS)$$unique" \
970 966
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
971 967
 	     $$unique
... ...
@@ -974,9 +1007,10 @@ GTAGS:
974 974
 	here=`$(am__cd) $(top_builddir) && pwd` \
975 975
 	  && $(am__cd) $(top_srcdir) \
976 976
 	  && gtags -i $(GTAGS_ARGS) "$$here"
977
+cscopelist: cscopelist-am
977 978
 
978
-cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
979
-	list='$(SOURCES) $(HEADERS) $(LISP)'; \
979
+cscopelist-am: $(am__tagged_files)
980
+	list='$(am__tagged_files)'; \
980 981
 	case "$(srcdir)" in \
981 982
 	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
982 983
 	  *) sdir=$(subdir)/$(srcdir) ;; \
... ...
@@ -1001,7 +1035,7 @@ distclean-tags:
1001 1001
 	$(MAKE) $(AM_MAKEFLAGS) $<
1002 1002
 
1003 1003
 # Leading 'am--fnord' is there to ensure the list of targets does not
1004
-# exand to empty, as could happen e.g. with make check TESTS=''.
1004
+# expand to empty, as could happen e.g. with make check TESTS=''.
1005 1005
 am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
1006 1006
 am--force-recheck:
1007 1007
 	@:
... ...
@@ -1383,19 +1417,19 @@ uninstall-am:
1383 1383
 
1384 1384
 .MAKE: check-am install-am install-strip
1385 1385
 
1386
-.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
1386
+.PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \
1387 1387
 	clean-checkPROGRAMS clean-generic clean-libtool clean-local \
1388
-	cscopelist ctags distclean distclean-compile distclean-generic \
1389
-	distclean-libtool distclean-tags distdir dvi dvi-am html \
1390
-	html-am info info-am install install-am install-data \
1391
-	install-data-am install-dvi install-dvi-am install-exec \
1392
-	install-exec-am install-html install-html-am install-info \
1393
-	install-info-am install-man install-pdf install-pdf-am \
1394
-	install-ps install-ps-am install-strip installcheck \
1395
-	installcheck-am installdirs maintainer-clean \
1388
+	cscopelist-am ctags ctags-am distclean distclean-compile \
1389
+	distclean-generic distclean-libtool distclean-tags distdir dvi \
1390
+	dvi-am html html-am info info-am install install-am \
1391
+	install-data install-data-am install-dvi install-dvi-am \
1392
+	install-exec install-exec-am install-html install-html-am \
1393
+	install-info install-info-am install-man install-pdf \
1394
+	install-pdf-am install-ps install-ps-am install-strip \
1395
+	installcheck installcheck-am installdirs maintainer-clean \
1396 1396
 	maintainer-clean-generic mostlyclean mostlyclean-compile \
1397 1397
 	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1398
-	recheck tags uninstall uninstall-am
1398
+	recheck tags tags-am uninstall uninstall-am
1399 1399
 
1400 1400
 
1401 1401
 check_unit_vg.sh: $(FILES)