1 # Makefile.in generated by automake 1.15.1 from Makefile.am.
4 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
19 # ___\ \/ /_ __ __ _| |_
20 # / _ \\ /| '_ \ / _` | __|
21 # | __// \| |_) | (_| | |_
22 # \___/_/\_\ .__/ \__,_|\__|
25 # Copyright (c) 2017 Expat development team
26 # Licensed under the MIT license:
28 # Permission is hereby granted, free of charge, to any person obtaining
29 # a copy of this software and associated documentation files (the
30 # "Software"), to deal in the Software without restriction, including
31 # without limitation the rights to use, copy, modify, merge, publish,
32 # distribute, sublicense, and/or sell copies of the Software, and to permit
33 # persons to whom the Software is furnished to do so, subject to the
34 # following conditions:
36 # The above copyright notice and this permission notice shall be included
37 # in all copies or substantial portions of the Software.
39 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
40 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
41 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
42 # NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
43 # DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
44 # OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
45 # USE OR OTHER DEALINGS IN THE SOFTWARE.
49 if test -z '$(MAKELEVEL)'; then \
51 elif test -n '$(MAKE_HOST)'; then \
53 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
59 am__make_running_with_option = \
60 case $${target_option-} in \
62 *) echo "am__make_running_with_option: internal error: invalid" \
63 "target option '$${target_option-}' specified" >&2; \
67 sane_makeflags=$$MAKEFLAGS; \
68 if $(am__is_gnu_make); then \
69 sane_makeflags=$$MFLAGS; \
74 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
75 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
81 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
83 for flg in $$sane_makeflags; do \
84 test $$skip_next = yes && { skip_next=no; continue; }; \
87 -*I) strip_trailopt 'I'; skip_next=yes;; \
88 -*I?*) strip_trailopt 'I';; \
89 -*O) strip_trailopt 'O'; skip_next=yes;; \
90 -*O?*) strip_trailopt 'O';; \
91 -*l) strip_trailopt 'l'; skip_next=yes;; \
92 -*l?*) strip_trailopt 'l';; \
93 -[dEDm]) skip_next=yes;; \
94 -[JT]) skip_next=yes;; \
97 *$$target_option*) has_opt=yes; break;; \
101 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
102 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
103 pkgdatadir = $(datadir)/@PACKAGE@
104 pkgincludedir = $(includedir)/@PACKAGE@
105 pkglibdir = $(libdir)/@PACKAGE@
106 pkglibexecdir = $(libexecdir)/@PACKAGE@
107 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
108 install_sh_DATA = $(install_sh) -c -m 644
109 install_sh_PROGRAM = $(install_sh) -c
110 install_sh_SCRIPT = $(install_sh) -c
111 INSTALL_HEADER = $(INSTALL_DATA)
112 transform = $(program_transform_name)
119 build_triplet = @build@
120 host_triplet = @host@
121 @WITH_XMLWF_TRUE@am__append_1 = xmlwf doc
123 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
124 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
125 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
126 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
127 $(top_srcdir)/conftools/ac_c_bigendian_cross.m4 \
128 $(top_srcdir)/configure.ac
129 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
131 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
132 $(am__configure_deps) $(am__DIST_COMMON)
133 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
134 configure.lineno config.status.lineno
135 mkinstalldirs = $(install_sh) -d
136 CONFIG_HEADER = expat_config.h
137 CONFIG_CLEAN_FILES = expat.pc run.sh
138 CONFIG_CLEAN_VPATH_FILES =
139 AM_V_P = $(am__v_P_@AM_V@)
140 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
143 AM_V_GEN = $(am__v_GEN_@AM_V@)
144 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
145 am__v_GEN_0 = @echo " GEN " $@;
147 AM_V_at = $(am__v_at_@AM_V@)
148 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
153 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
154 ctags-recursive dvi-recursive html-recursive info-recursive \
155 install-data-recursive install-dvi-recursive \
156 install-exec-recursive install-html-recursive \
157 install-info-recursive install-pdf-recursive \
158 install-ps-recursive install-recursive installcheck-recursive \
159 installdirs-recursive pdf-recursive ps-recursive \
160 tags-recursive uninstall-recursive
161 am__can_run_installinfo = \
162 case $$AM_UPDATE_INFO_DIR in \
164 *) (install-info --version) >/dev/null 2>&1;; \
166 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
167 am__vpath_adj = case $$p in \
168 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
171 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
173 am__nobase_strip_setup = \
174 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
176 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
177 am__nobase_list = $(am__nobase_strip_setup); \
178 for p in $$list; do echo "$$p $$p"; done | \
179 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
180 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
181 if (++n[$$2] == $(am__install_max)) \
182 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
183 END { for (dir in files) print dir, files[dir] }'
185 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
186 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
187 am__uninstall_files_from_dir = { \
189 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
190 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
191 $(am__cd) "$$dir" && rm -f $$files; }; \
193 am__installdirs = "$(DESTDIR)$(pkgconfigdir)"
194 DATA = $(pkgconfig_DATA)
195 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
196 distclean-recursive maintainer-clean-recursive
197 am__recursive_targets = \
198 $(RECURSIVE_TARGETS) \
199 $(RECURSIVE_CLEAN_TARGETS) \
200 $(am__extra_recursive_targets)
201 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
202 cscope distdir dist dist-all distcheck
203 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
204 $(LISP)expat_config.h.in
205 # Read a list of newline-separated strings from the standard input,
206 # and print each of them once, without duplicates. Input order is
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; }; } \
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)`
224 DIST_SUBDIRS = lib examples tests xmlwf doc
225 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/expat.pc.in \
226 $(srcdir)/expat_config.h.in $(srcdir)/run.sh.in \
227 $(top_srcdir)/conftools/compile \
228 $(top_srcdir)/conftools/config.guess \
229 $(top_srcdir)/conftools/config.sub \
230 $(top_srcdir)/conftools/install-sh \
231 $(top_srcdir)/conftools/ltmain.sh \
232 $(top_srcdir)/conftools/missing AUTHORS COPYING \
233 conftools/compile conftools/config.guess conftools/config.sub \
234 conftools/install-sh conftools/ltmain.sh conftools/missing
235 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
236 distdir = $(PACKAGE)-$(VERSION)
237 top_distdir = $(distdir)
238 am__remove_distdir = \
239 if test -d "$(distdir)"; then \
240 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
241 && rm -rf "$(distdir)" \
242 || { sleep 5 && rm -rf "$(distdir)"; }; \
244 am__post_remove_distdir = $(am__remove_distdir)
247 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
248 sed_rest='s,^[^/]*/*,,'; \
249 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
250 sed_butlast='s,/*[^/]*$$,,'; \
251 while test -n "$$dir1"; do \
252 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
253 if test "$$first" != "."; then \
254 if test "$$first" = ".."; then \
255 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
256 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
258 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
259 if test "$$first2" = "$$first"; then \
260 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
264 dir0="$$dir0"/"$$first"; \
267 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
271 DIST_ARCHIVES = $(distdir).tar.bz2
272 DIST_TARGETS = dist-bzip2
273 distuninstallcheck_listfiles = find . -type f -print
274 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
275 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
276 distcleancheck_listfiles = find . -type f -print
279 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
282 AUTOCONF = @AUTOCONF@
283 AUTOHEADER = @AUTOHEADER@
284 AUTOMAKE = @AUTOMAKE@
287 CCDEPMODE = @CCDEPMODE@
290 CPPFLAGS = @CPPFLAGS@
293 CXXDEPMODE = @CXXDEPMODE@
294 CXXFLAGS = @CXXFLAGS@
295 CYGPATH_W = @CYGPATH_W@
299 DOCBOOK_TO_MAN = @DOCBOOK_TO_MAN@
300 DSYMUTIL = @DSYMUTIL@
311 INSTALL_DATA = @INSTALL_DATA@
312 INSTALL_PROGRAM = @INSTALL_PROGRAM@
313 INSTALL_SCRIPT = @INSTALL_SCRIPT@
314 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
318 LIBCURRENT = @LIBCURRENT@
320 LIBREVISION = @LIBREVISION@
325 LTLIBOBJS = @LTLIBOBJS@
326 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
327 MAKEINFO = @MAKEINFO@
328 MANIFEST_TOOL = @MANIFEST_TOOL@
337 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
338 PACKAGE_NAME = @PACKAGE_NAME@
339 PACKAGE_STRING = @PACKAGE_STRING@
340 PACKAGE_TARNAME = @PACKAGE_TARNAME@
341 PACKAGE_URL = @PACKAGE_URL@
342 PACKAGE_VERSION = @PACKAGE_VERSION@
343 PATH_SEPARATOR = @PATH_SEPARATOR@
346 SET_MAKE = @SET_MAKE@
350 abs_builddir = @abs_builddir@
351 abs_srcdir = @abs_srcdir@
352 abs_top_builddir = @abs_top_builddir@
353 abs_top_srcdir = @abs_top_srcdir@
354 ac_ct_AR = @ac_ct_AR@
355 ac_ct_CC = @ac_ct_CC@
356 ac_ct_CXX = @ac_ct_CXX@
357 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
358 am__include = @am__include@
359 am__leading_dot = @am__leading_dot@
360 am__quote = @am__quote@
362 am__untar = @am__untar@
365 build_alias = @build_alias@
366 build_cpu = @build_cpu@
367 build_os = @build_os@
368 build_vendor = @build_vendor@
369 builddir = @builddir@
371 datarootdir = @datarootdir@
374 exec_prefix = @exec_prefix@
376 host_alias = @host_alias@
377 host_cpu = @host_cpu@
379 host_vendor = @host_vendor@
381 includedir = @includedir@
383 install_sh = @install_sh@
385 libexecdir = @libexecdir@
386 localedir = @localedir@
387 localstatedir = @localstatedir@
390 oldincludedir = @oldincludedir@
393 program_transform_name = @program_transform_name@
396 sharedstatedir = @sharedstatedir@
398 sysconfdir = @sysconfdir@
399 target_alias = @target_alias@
400 top_build_prefix = @top_build_prefix@
401 top_builddir = @top_builddir@
402 top_srcdir = @top_srcdir@
409 ACLOCAL_AMFLAGS = -I m4
410 LIBTOOLFLAGS = --verbose
411 SUBDIRS = lib examples tests $(am__append_1)
412 pkgconfig_DATA = expat.pc
413 pkgconfigdir = $(libdir)/pkgconfig
414 _EXTRA_DIST_CMAKE = \
417 ConfigureChecks.cmake \
420 _EXTRA_DIST_WINDOWS = \
421 examples/elements.vcxproj \
422 examples/elements.vcxproj.filters \
423 examples/outline.vcxproj \
424 examples/outline.vcxproj.filters \
426 lib/expat_static.vcxproj \
427 lib/expat_static.vcxproj.filters \
429 lib/expat.vcxproj.filters \
430 lib/expatw_static.vcxproj \
431 lib/expatw_static.vcxproj.filters \
433 lib/expatw.vcxproj.filters \
435 tests/benchmark/benchmark.sln \
436 tests/benchmark/benchmark.vcxproj \
439 tests/runtests.vcxproj \
440 tests/runtests.vcxproj.filters \
446 xmlwf/xmlwf.vcxproj \
447 xmlwf/xmlwf.vcxproj.filters \
452 $(_EXTRA_DIST_CMAKE) \
453 $(_EXTRA_DIST_WINDOWS) \
456 conftools/get-version.sh \
457 conftools/PrintPath \
461 test-driver-wrapper.sh
464 $(MAKE) $(AM_MAKEFLAGS) all-recursive
467 am--refresh: Makefile
469 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
471 case '$(am__configure_deps)' in \
473 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
474 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
479 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
480 $(am__cd) $(top_srcdir) && \
481 $(AUTOMAKE) --foreign Makefile
482 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
485 echo ' $(SHELL) ./config.status'; \
486 $(SHELL) ./config.status;; \
488 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
489 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
492 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
493 $(SHELL) ./config.status --recheck
495 $(top_srcdir)/configure: $(am__configure_deps)
496 $(am__cd) $(srcdir) && $(AUTOCONF)
497 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
498 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
499 $(am__aclocal_m4_deps):
501 expat_config.h: stamp-h1
502 @test -f $@ || rm -f stamp-h1
503 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
505 stamp-h1: $(srcdir)/expat_config.h.in $(top_builddir)/config.status
507 cd $(top_builddir) && $(SHELL) ./config.status expat_config.h
508 $(srcdir)/expat_config.h.in: $(am__configure_deps)
509 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
514 -rm -f expat_config.h stamp-h1
515 expat.pc: $(top_builddir)/config.status $(srcdir)/expat.pc.in
516 cd $(top_builddir) && $(SHELL) ./config.status $@
517 run.sh: $(top_builddir)/config.status $(srcdir)/run.sh.in
518 cd $(top_builddir) && $(SHELL) ./config.status $@
527 -rm -f libtool config.lt
528 install-pkgconfigDATA: $(pkgconfig_DATA)
530 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
531 if test -n "$$list"; then \
532 echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
533 $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
535 for p in $$list; do \
536 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
538 done | $(am__base_list) | \
539 while read files; do \
540 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
541 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
544 uninstall-pkgconfigDATA:
546 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
547 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
548 dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
550 # This directory's subdirectories are mostly independent; you can cd
551 # into them and run 'make' without going through this Makefile.
552 # To change the values of 'make' variables: instead of editing Makefiles,
553 # (1) if the variable is set in 'config.status', edit 'config.status'
554 # (which will cause the Makefiles to be regenerated when you run 'make');
555 # (2) otherwise, pass the desired values on the 'make' command line.
556 $(am__recursive_targets):
558 if $(am__make_keepgoing); then \
559 failcom='fail=yes'; \
564 target=`echo $@ | sed s/-recursive//`; \
566 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
567 *) list='$(SUBDIRS)' ;; \
569 for subdir in $$list; do \
570 echo "Making $$target in $$subdir"; \
571 if test "$$subdir" = "."; then \
573 local_target="$$target-am"; \
575 local_target="$$target"; \
577 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
580 if test "$$dot_seen" = "no"; then \
581 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
584 ID: $(am__tagged_files)
585 $(am__define_uniq_tagged_files); mkid -fID $$unique
589 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
592 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
593 include_option=--etags-include; \
596 include_option=--include; \
599 list='$(SUBDIRS)'; for subdir in $$list; do \
600 if test "$$subdir" = .; then :; else \
601 test ! -f $$subdir/TAGS || \
602 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
605 $(am__define_uniq_tagged_files); \
607 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
608 test -n "$$unique" || unique=$$empty_fix; \
609 if test $$# -gt 0; then \
610 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
613 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
617 ctags: ctags-recursive
620 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
621 $(am__define_uniq_tagged_files); \
622 test -z "$(CTAGS_ARGS)$$unique" \
623 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
627 here=`$(am__cd) $(top_builddir) && pwd` \
628 && $(am__cd) $(top_srcdir) \
629 && gtags -i $(GTAGS_ARGS) "$$here"
631 test ! -s cscope.files \
632 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
635 cscope.files: clean-cscope cscopelist
636 cscopelist: cscopelist-recursive
638 cscopelist-am: $(am__tagged_files)
639 list='$(am__tagged_files)'; \
640 case "$(srcdir)" in \
641 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
642 *) sdir=$(subdir)/$(srcdir) ;; \
644 for i in $$list; do \
645 if test -f "$$i"; then \
646 echo "$(subdir)/$$i"; \
650 done >> $(top_builddir)/cscope.files
653 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
654 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
656 distdir: $(DISTFILES)
657 $(am__remove_distdir)
658 test -d "$(distdir)" || mkdir "$(distdir)"
659 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
660 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
661 list='$(DISTFILES)'; \
662 dist_files=`for file in $$list; do echo $$file; done | \
663 sed -e "s|^$$srcdirstrip/||;t" \
664 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
665 case $$dist_files in \
666 */*) $(MKDIR_P) `echo "$$dist_files" | \
667 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
670 for file in $$dist_files; do \
671 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
672 if test -d $$d/$$file; then \
673 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
674 if test -d "$(distdir)/$$file"; then \
675 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
677 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
678 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
679 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
681 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
683 test -f "$(distdir)/$$file" \
684 || cp -p $$d/$$file "$(distdir)/$$file" \
688 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
689 if test "$$subdir" = .; then :; else \
691 || test -d "$(distdir)/$$subdir" \
692 || $(MKDIR_P) "$(distdir)/$$subdir" \
694 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
696 new_distdir=$$reldir; \
697 dir1=$$subdir; dir2="$(top_distdir)"; \
699 new_top_distdir=$$reldir; \
700 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
701 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
702 ($(am__cd) $$subdir && \
703 $(MAKE) $(AM_MAKEFLAGS) \
704 top_distdir="$$new_top_distdir" \
705 distdir="$$new_distdir" \
706 am__remove_distdir=: \
707 am__skip_length_check=: \
708 am__skip_mode_fix=: \
713 -test -n "$(am__skip_mode_fix)" \
714 || find "$(distdir)" -type d ! -perm -755 \
715 -exec chmod u+rwx,go+rx {} \; -o \
716 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
717 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
718 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
719 || chmod -R a+r "$(distdir)"
721 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
722 $(am__post_remove_distdir)
724 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
725 $(am__post_remove_distdir)
728 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
729 $(am__post_remove_distdir)
732 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
733 $(am__post_remove_distdir)
736 @echo WARNING: "Support for distribution archives compressed with" \
737 "legacy program 'compress' is deprecated." >&2
738 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
739 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
740 $(am__post_remove_distdir)
743 @echo WARNING: "Support for shar distribution archives is" \
745 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
746 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
747 $(am__post_remove_distdir)
750 -rm -f $(distdir).zip
751 zip -rq $(distdir).zip $(distdir)
752 $(am__post_remove_distdir)
755 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
756 $(am__post_remove_distdir)
758 # This target untars the dist file and tries a VPATH configuration. Then
759 # it guarantees that the distribution is self-contained by making another
762 case '$(DIST_ARCHIVES)' in \
764 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
766 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
768 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
770 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
772 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
774 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
776 unzip $(distdir).zip ;;\
778 chmod -R a-w $(distdir)
780 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
782 test -d $(distdir)/_build || exit 0; \
783 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
784 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
786 && $(am__cd) $(distdir)/_build/sub \
788 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
789 $(DISTCHECK_CONFIGURE_FLAGS) \
790 --srcdir=../.. --prefix="$$dc_install_base" \
791 && $(MAKE) $(AM_MAKEFLAGS) \
792 && $(MAKE) $(AM_MAKEFLAGS) dvi \
793 && $(MAKE) $(AM_MAKEFLAGS) check \
794 && $(MAKE) $(AM_MAKEFLAGS) install \
795 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
796 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
797 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
799 && chmod -R a-w "$$dc_install_base" \
801 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
802 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
803 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
804 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
805 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
806 } || { rm -rf "$$dc_destdir"; exit 1; }) \
807 && rm -rf "$$dc_destdir" \
808 && $(MAKE) $(AM_MAKEFLAGS) dist \
809 && rm -rf $(DIST_ARCHIVES) \
810 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
813 $(am__post_remove_distdir)
814 @(echo "$(distdir) archives ready for distribution: "; \
815 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
816 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
818 @test -n '$(distuninstallcheck_dir)' || { \
819 echo 'ERROR: trying to run $@ with an empty' \
820 '$$(distuninstallcheck_dir)' >&2; \
823 $(am__cd) '$(distuninstallcheck_dir)' || { \
824 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
827 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
828 || { echo "ERROR: files left after uninstall:" ; \
829 if test -n "$(DESTDIR)"; then \
830 echo " (check DESTDIR support)"; \
832 $(distuninstallcheck_listfiles) ; \
834 distcleancheck: distclean
835 @if test '$(srcdir)' = . ; then \
836 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
839 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
840 || { echo "ERROR: files left in build directory after distclean:" ; \
841 $(distcleancheck_listfiles) ; \
844 check: check-recursive
845 all-am: Makefile $(DATA) expat_config.h
846 installdirs: installdirs-recursive
848 for dir in "$(DESTDIR)$(pkgconfigdir)"; do \
849 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
851 install: install-recursive
852 install-exec: install-exec-recursive
853 install-data: install-data-recursive
854 uninstall: uninstall-recursive
857 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
859 installcheck: installcheck-recursive
861 if test -z '$(STRIP)'; then \
862 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
863 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
866 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
867 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
868 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
875 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
876 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
878 maintainer-clean-generic:
879 @echo "This command is intended for maintainers to use"
880 @echo "it deletes files that may require special tools to rebuild."
881 clean: clean-recursive
883 clean-am: clean-generic clean-libtool mostlyclean-am
885 distclean: distclean-recursive
886 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
888 distclean-am: clean-am distclean-generic distclean-hdr \
889 distclean-libtool distclean-tags
903 install-data-am: install-pkgconfigDATA
905 install-dvi: install-dvi-recursive
911 install-html: install-html-recursive
915 install-info: install-info-recursive
921 install-pdf: install-pdf-recursive
925 install-ps: install-ps-recursive
931 maintainer-clean: maintainer-clean-recursive
932 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
933 -rm -rf $(top_srcdir)/autom4te.cache
935 maintainer-clean-am: distclean-am maintainer-clean-generic
937 mostlyclean: mostlyclean-recursive
939 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
949 uninstall-am: uninstall-pkgconfigDATA
951 .MAKE: $(am__recursive_targets) all install-am install-strip
953 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
954 am--refresh check check-am clean clean-cscope clean-generic \
955 clean-libtool cscope cscopelist-am ctags ctags-am dist \
956 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
957 dist-xz dist-zip distcheck distclean distclean-generic \
958 distclean-hdr distclean-libtool distclean-tags distcleancheck \
959 distdir distuninstallcheck dvi dvi-am html html-am info \
960 info-am install install-am install-data install-data-am \
961 install-dvi install-dvi-am install-exec install-exec-am \
962 install-html install-html-am install-info install-info-am \
963 install-man install-pdf install-pdf-am install-pkgconfigDATA \
964 install-ps install-ps-am install-strip installcheck \
965 installcheck-am installdirs installdirs-am maintainer-clean \
966 maintainer-clean-generic mostlyclean mostlyclean-generic \
967 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
968 uninstall-am uninstall-pkgconfigDATA
975 @echo 'ERROR: Running "make buildlib LIBRARY=libexpatw.la"' >&2
976 @echo 'ERROR: is no longer supported. INSTEAD please:' >&2
978 @echo 'ERROR: * Mass-patch Makefile.am, e.g.' >&2
979 @echo 'ERROR: # find -name Makefile.am -exec sed \' >&2
980 @echo 'ERROR: -e "s,libexpat\.la,libexpatw.la," \' >&2
981 @echo 'ERROR: -e "s,libexpat_la,libexpatw_la," \' >&2
982 @echo 'ERROR: -i {} +' >&2
984 @echo 'ERROR: * Run automake to re-generate Makefile.in files' >&2
986 @echo 'ERROR: * Use "./configure --without-xmlwf" and/or' >&2
987 @echo 'ERROR: "make -C lib all install" to bypass compilation' >&2
988 @echo 'ERROR: of xmlwf (e.g. with -DXML_UNICODE)' >&2
992 .PHONY: run-benchmark
994 $(MAKE) -C tests/benchmark
995 ./run.sh tests/benchmark/benchmark@EXEEXT@ -n $(top_srcdir)/../testdata/largefiles/recset.xml 65535 3
998 if test "$(XMLTS_ZIP)" = ""; then \
999 wget --output-document=tests/xmlts.zip \
1000 https://www.w3.org/XML/Test/xmlts20080827.zip; \
1002 cp $(XMLTS_ZIP) tests/xmlts.zip; \
1005 tests/xmlconf: tests/xmlts.zip
1006 cd tests && unzip -q xmlts.zip
1009 run-xmltest: tests/xmlconf
1010 @WITH_XMLWF_TRUE@ $(MAKE) -C xmlwf
1011 @WITH_XMLWF_TRUE@ tests/xmltest.sh "$(PWD)/run.sh $(PWD)/xmlwf/xmlwf@EXEEXT@" 2>&1 | tee tests/xmltest.log
1012 @WITH_XMLWF_TRUE@ dos2unix tests/xmltest.log
1013 @WITH_XMLWF_TRUE@ diff -u tests/xmltest.log.expected tests/xmltest.log
1014 @WITH_XMLWF_FALSE@ @echo 'ERROR: xmlwf is needed for "make run-xmltest".' >&2
1015 @WITH_XMLWF_FALSE@ @echo 'ERROR: Please re-configure without --without-xmlwf.' >&2
1016 @WITH_XMLWF_FALSE@ @false
1025 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1026 # Otherwise a system limit (for SysV at least) may be exceeded.