1 # Makefile.in generated by automake 1.16.5 from Makefile.am.
4 # Copyright (C) 1994-2021 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-2021 Sebastian Pipping <sebastian@pipping.org>
26 # Copyright (c) 2018 KangLin <kl222@126.com>
27 # Licensed under the MIT license:
29 # Permission is hereby granted, free of charge, to any person obtaining
30 # a copy of this software and associated documentation files (the
31 # "Software"), to deal in the Software without restriction, including
32 # without limitation the rights to use, copy, modify, merge, publish,
33 # distribute, sublicense, and/or sell copies of the Software, and to permit
34 # persons to whom the Software is furnished to do so, subject to the
35 # following conditions:
37 # The above copyright notice and this permission notice shall be included
38 # in all copies or substantial portions of the Software.
40 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
41 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
42 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
43 # NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
44 # DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
45 # OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
46 # USE OR OTHER DEALINGS IN THE SOFTWARE.
50 if test -z '$(MAKELEVEL)'; then \
52 elif test -n '$(MAKE_HOST)'; then \
54 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
60 am__make_running_with_option = \
61 case $${target_option-} in \
63 *) echo "am__make_running_with_option: internal error: invalid" \
64 "target option '$${target_option-}' specified" >&2; \
68 sane_makeflags=$$MAKEFLAGS; \
69 if $(am__is_gnu_make); then \
70 sane_makeflags=$$MFLAGS; \
75 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
76 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
82 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
84 for flg in $$sane_makeflags; do \
85 test $$skip_next = yes && { skip_next=no; continue; }; \
88 -*I) strip_trailopt 'I'; skip_next=yes;; \
89 -*I?*) strip_trailopt 'I';; \
90 -*O) strip_trailopt 'O'; skip_next=yes;; \
91 -*O?*) strip_trailopt 'O';; \
92 -*l) strip_trailopt 'l'; skip_next=yes;; \
93 -*l?*) strip_trailopt 'l';; \
94 -[dEDm]) skip_next=yes;; \
95 -[JT]) skip_next=yes;; \
98 *$$target_option*) has_opt=yes; break;; \
102 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
103 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
104 pkgdatadir = $(datadir)/@PACKAGE@
105 pkgincludedir = $(includedir)/@PACKAGE@
106 pkglibdir = $(libdir)/@PACKAGE@
107 pkglibexecdir = $(libexecdir)/@PACKAGE@
108 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
109 install_sh_DATA = $(install_sh) -c -m 644
110 install_sh_PROGRAM = $(install_sh) -c
111 install_sh_SCRIPT = $(install_sh) -c
112 INSTALL_HEADER = $(INSTALL_DATA)
113 transform = $(program_transform_name)
120 build_triplet = @build@
121 host_triplet = @host@
122 @WITH_EXAMPLES_TRUE@am__append_1 = examples
123 @WITH_TESTS_TRUE@am__append_2 = tests
124 @WITH_XMLWF_TRUE@am__append_3 = xmlwf doc
126 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
127 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
128 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
129 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
130 $(top_srcdir)/acinclude.m4 \
131 $(top_srcdir)/conftools/ax-require-defined.m4 \
132 $(top_srcdir)/conftools/ax-check-compile-flag.m4 \
133 $(top_srcdir)/conftools/ax-check-link-flag.m4 \
134 $(top_srcdir)/conftools/ax-append-flag.m4 \
135 $(top_srcdir)/conftools/ax-append-compile-flags.m4 \
136 $(top_srcdir)/conftools/ax-append-link-flags.m4 \
137 $(top_srcdir)/conftools/expatcfg-compiler-supports-visibility.m4 \
138 $(top_srcdir)/configure.ac
139 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
141 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
142 $(am__configure_deps) $(dist_cmake_DATA) $(am__DIST_COMMON)
143 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
144 configure.lineno config.status.lineno
145 mkinstalldirs = $(install_sh) -d
146 CONFIG_HEADER = expat_config.h
147 CONFIG_CLEAN_FILES = expat.pc cmake/expat-config.cmake \
148 cmake/autotools/expat-config-version.cmake \
149 cmake/autotools/expat-noconfig.cmake run.sh
150 CONFIG_CLEAN_VPATH_FILES =
151 AM_V_P = $(am__v_P_@AM_V@)
152 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
155 AM_V_GEN = $(am__v_GEN_@AM_V@)
156 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
157 am__v_GEN_0 = @echo " GEN " $@;
159 AM_V_at = $(am__v_at_@AM_V@)
160 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
165 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
166 ctags-recursive dvi-recursive html-recursive info-recursive \
167 install-data-recursive install-dvi-recursive \
168 install-exec-recursive install-html-recursive \
169 install-info-recursive install-pdf-recursive \
170 install-ps-recursive install-recursive installcheck-recursive \
171 installdirs-recursive pdf-recursive ps-recursive \
172 tags-recursive uninstall-recursive
173 am__can_run_installinfo = \
174 case $$AM_UPDATE_INFO_DIR in \
176 *) (install-info --version) >/dev/null 2>&1;; \
178 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
179 am__vpath_adj = case $$p in \
180 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
183 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
185 am__nobase_strip_setup = \
186 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
188 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
189 am__nobase_list = $(am__nobase_strip_setup); \
190 for p in $$list; do echo "$$p $$p"; done | \
191 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
192 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
193 if (++n[$$2] == $(am__install_max)) \
194 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
195 END { for (dir in files) print dir, files[dir] }'
197 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
198 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
199 am__uninstall_files_from_dir = { \
201 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
202 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
203 $(am__cd) "$$dir" && rm -f $$files; }; \
205 am__installdirs = "$(DESTDIR)$(cmakedir)" "$(DESTDIR)$(cmakedir)" \
206 "$(DESTDIR)$(pkgconfigdir)"
207 DATA = $(dist_cmake_DATA) $(nodist_cmake_DATA) $(pkgconfig_DATA)
208 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
209 distclean-recursive maintainer-clean-recursive
210 am__recursive_targets = \
211 $(RECURSIVE_TARGETS) \
212 $(RECURSIVE_CLEAN_TARGETS) \
213 $(am__extra_recursive_targets)
214 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
215 cscope distdir distdir-am dist dist-all distcheck
216 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
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; }; } \
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)`
234 DIST_SUBDIRS = lib examples tests xmlwf doc
235 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/expat.pc.in \
236 $(srcdir)/expat_config.h.in $(srcdir)/run.sh.in \
237 $(top_srcdir)/cmake/autotools/expat-config-version.cmake.in \
238 $(top_srcdir)/cmake/expat-config.cmake.in \
239 $(top_srcdir)/conftools/ar-lib $(top_srcdir)/conftools/compile \
240 $(top_srcdir)/conftools/config.guess \
241 $(top_srcdir)/conftools/config.sub \
242 $(top_srcdir)/conftools/install-sh \
243 $(top_srcdir)/conftools/ltmain.sh \
244 $(top_srcdir)/conftools/missing AUTHORS COPYING README.md \
245 conftools/ar-lib conftools/compile conftools/config.guess \
246 conftools/config.sub conftools/depcomp conftools/install-sh \
247 conftools/ltmain.sh conftools/missing
248 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
249 distdir = $(PACKAGE)-$(VERSION)
250 top_distdir = $(distdir)
251 am__remove_distdir = \
252 if test -d "$(distdir)"; then \
253 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
254 && rm -rf "$(distdir)" \
255 || { sleep 5 && rm -rf "$(distdir)"; }; \
257 am__post_remove_distdir = $(am__remove_distdir)
260 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
261 sed_rest='s,^[^/]*/*,,'; \
262 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
263 sed_butlast='s,/*[^/]*$$,,'; \
264 while test -n "$$dir1"; do \
265 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
266 if test "$$first" != "."; then \
267 if test "$$first" = ".."; then \
268 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
269 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
271 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
272 if test "$$first2" = "$$first"; then \
273 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
277 dir0="$$dir0"/"$$first"; \
280 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
283 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 $(distdir).tar.lz \
286 DIST_TARGETS = dist-lzip dist-xz dist-bzip2 dist-gzip
287 # Exists only to be overridden by the user if desired.
288 AM_DISTCHECK_DVI_TARGET = dvi
289 distuninstallcheck_listfiles = find . -type f -print
290 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
291 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
292 distcleancheck_listfiles = find . -type f -print
295 AM_CFLAGS = @AM_CFLAGS@
296 AM_CPPFLAGS = @AM_CPPFLAGS@
297 AM_CXXFLAGS = @AM_CXXFLAGS@
298 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
299 AM_LDFLAGS = @AM_LDFLAGS@
302 AUTOCONF = @AUTOCONF@
303 AUTOHEADER = @AUTOHEADER@
304 AUTOMAKE = @AUTOMAKE@
307 CCDEPMODE = @CCDEPMODE@
309 CPPFLAGS = @CPPFLAGS@
314 CXXDEPMODE = @CXXDEPMODE@
315 CXXFLAGS = @CXXFLAGS@
316 CYGPATH_W = @CYGPATH_W@
320 DOCBOOK_TO_MAN = @DOCBOOK_TO_MAN@
321 DSYMUTIL = @DSYMUTIL@
329 EXPAT_ATTR_INFO = @EXPAT_ATTR_INFO@
330 EXPAT_CHAR_TYPE = @EXPAT_CHAR_TYPE@
331 EXPAT_CONTEXT_BYTES = @EXPAT_CONTEXT_BYTES@
332 EXPAT_DTD = @EXPAT_DTD@
333 EXPAT_LARGE_SIZE = @EXPAT_LARGE_SIZE@
334 EXPAT_MIN_SIZE = @EXPAT_MIN_SIZE@
335 EXPAT_NS = @EXPAT_NS@
340 INSTALL_DATA = @INSTALL_DATA@
341 INSTALL_PROGRAM = @INSTALL_PROGRAM@
342 INSTALL_SCRIPT = @INSTALL_SCRIPT@
343 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
347 LIBCURRENT = @LIBCURRENT@
348 LIBDIR_BASENAME = @LIBDIR_BASENAME@
351 LIBREVISION = @LIBREVISION@
356 LTLIBOBJS = @LTLIBOBJS@
357 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
358 MAKEINFO = @MAKEINFO@
359 MANIFEST_TOOL = @MANIFEST_TOOL@
368 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
369 PACKAGE_NAME = @PACKAGE_NAME@
370 PACKAGE_STRING = @PACKAGE_STRING@
371 PACKAGE_TARNAME = @PACKAGE_TARNAME@
372 PACKAGE_URL = @PACKAGE_URL@
373 PACKAGE_VERSION = @PACKAGE_VERSION@
374 PATH_SEPARATOR = @PATH_SEPARATOR@
377 SET_MAKE = @SET_MAKE@
379 SO_MAJOR = @SO_MAJOR@
380 SO_MINOR = @SO_MINOR@
381 SO_PATCH = @SO_PATCH@
384 abs_builddir = @abs_builddir@
385 abs_srcdir = @abs_srcdir@
386 abs_top_builddir = @abs_top_builddir@
387 abs_top_srcdir = @abs_top_srcdir@
388 ac_ct_AR = @ac_ct_AR@
389 ac_ct_CC = @ac_ct_CC@
390 ac_ct_CXX = @ac_ct_CXX@
391 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
392 ac_cv_sizeof_void_p = @ac_cv_sizeof_void_p@
393 am__include = @am__include@
394 am__leading_dot = @am__leading_dot@
395 am__quote = @am__quote@
397 am__untar = @am__untar@
400 build_alias = @build_alias@
401 build_cpu = @build_cpu@
402 build_os = @build_os@
403 build_vendor = @build_vendor@
404 builddir = @builddir@
406 datarootdir = @datarootdir@
409 exec_prefix = @exec_prefix@
411 host_alias = @host_alias@
412 host_cpu = @host_cpu@
414 host_vendor = @host_vendor@
416 includedir = @includedir@
418 install_sh = @install_sh@
420 libexecdir = @libexecdir@
421 localedir = @localedir@
422 localstatedir = @localstatedir@
425 oldincludedir = @oldincludedir@
428 program_transform_name = @program_transform_name@
430 runstatedir = @runstatedir@
432 sharedstatedir = @sharedstatedir@
434 sysconfdir = @sysconfdir@
435 target_alias = @target_alias@
436 top_build_prefix = @top_build_prefix@
437 top_builddir = @top_builddir@
438 top_srcdir = @top_srcdir@
446 ACLOCAL_AMFLAGS = -I m4
447 LIBTOOLFLAGS = --verbose
448 SUBDIRS = lib $(am__append_1) $(am__append_2) $(am__append_3)
449 pkgconfig_DATA = expat.pc
450 pkgconfigdir = $(libdir)/pkgconfig
452 cmake/autotools/expat.cmake
454 nodist_cmake_DATA = \
455 cmake/autotools/expat-config-version.cmake \
456 cmake/autotools/expat-noconfig.cmake \
457 cmake/expat-config.cmake
459 cmakedir = $(libdir)/cmake/expat-@PACKAGE_VERSION@
460 _EXTRA_DIST_CMAKE = \
461 cmake/autotools/expat-noconfig__linux.cmake.in \
462 cmake/autotools/expat-noconfig__macos.cmake.in \
463 cmake/autotools/expat-noconfig__windows.cmake.in \
464 cmake/autotools/expat-package-init.cmake \
465 cmake/mingw-toolchain.cmake \
469 ConfigureChecks.cmake \
473 _EXTRA_DIST_WINDOWS = \
474 win32/build_expat_iss.bat \
480 $(_EXTRA_DIST_CMAKE) \
481 $(_EXTRA_DIST_WINDOWS) \
484 conftools/get-version.sh \
486 fuzz/xml_parsebuffer_fuzzer.c \
487 fuzz/xml_parse_fuzzer.c \
489 xmlwf/xmlwf_helpgen.py \
490 xmlwf/xmlwf_helpgen.sh \
497 test-driver-wrapper.sh
500 $(MAKE) $(AM_MAKEFLAGS) all-recursive
503 am--refresh: Makefile
505 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
507 case '$(am__configure_deps)' in \
509 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
510 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
515 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
516 $(am__cd) $(top_srcdir) && \
517 $(AUTOMAKE) --foreign Makefile
518 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
521 echo ' $(SHELL) ./config.status'; \
522 $(SHELL) ./config.status;; \
524 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
525 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
528 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
529 $(SHELL) ./config.status --recheck
531 $(top_srcdir)/configure: $(am__configure_deps)
532 $(am__cd) $(srcdir) && $(AUTOCONF)
533 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
534 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
535 $(am__aclocal_m4_deps):
537 expat_config.h: stamp-h1
538 @test -f $@ || rm -f stamp-h1
539 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
541 stamp-h1: $(srcdir)/expat_config.h.in $(top_builddir)/config.status
543 cd $(top_builddir) && $(SHELL) ./config.status expat_config.h
544 $(srcdir)/expat_config.h.in: $(am__configure_deps)
545 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
550 -rm -f expat_config.h stamp-h1
551 expat.pc: $(top_builddir)/config.status $(srcdir)/expat.pc.in
552 cd $(top_builddir) && $(SHELL) ./config.status $@
553 cmake/expat-config.cmake: $(top_builddir)/config.status $(top_srcdir)/cmake/expat-config.cmake.in
554 cd $(top_builddir) && $(SHELL) ./config.status $@
555 cmake/autotools/expat-config-version.cmake: $(top_builddir)/config.status $(top_srcdir)/cmake/autotools/expat-config-version.cmake.in
556 cd $(top_builddir) && $(SHELL) ./config.status $@
557 cmake/autotools/expat-noconfig.cmake: $(top_builddir)/config.status
558 cd $(top_builddir) && $(SHELL) ./config.status $@
559 run.sh: $(top_builddir)/config.status $(srcdir)/run.sh.in
560 cd $(top_builddir) && $(SHELL) ./config.status $@
569 -rm -f libtool config.lt
570 install-dist_cmakeDATA: $(dist_cmake_DATA)
572 @list='$(dist_cmake_DATA)'; test -n "$(cmakedir)" || list=; \
573 if test -n "$$list"; then \
574 echo " $(MKDIR_P) '$(DESTDIR)$(cmakedir)'"; \
575 $(MKDIR_P) "$(DESTDIR)$(cmakedir)" || exit 1; \
577 for p in $$list; do \
578 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
580 done | $(am__base_list) | \
581 while read files; do \
582 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(cmakedir)'"; \
583 $(INSTALL_DATA) $$files "$(DESTDIR)$(cmakedir)" || exit $$?; \
586 uninstall-dist_cmakeDATA:
588 @list='$(dist_cmake_DATA)'; test -n "$(cmakedir)" || list=; \
589 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
590 dir='$(DESTDIR)$(cmakedir)'; $(am__uninstall_files_from_dir)
591 install-nodist_cmakeDATA: $(nodist_cmake_DATA)
593 @list='$(nodist_cmake_DATA)'; test -n "$(cmakedir)" || list=; \
594 if test -n "$$list"; then \
595 echo " $(MKDIR_P) '$(DESTDIR)$(cmakedir)'"; \
596 $(MKDIR_P) "$(DESTDIR)$(cmakedir)" || exit 1; \
598 for p in $$list; do \
599 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
601 done | $(am__base_list) | \
602 while read files; do \
603 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(cmakedir)'"; \
604 $(INSTALL_DATA) $$files "$(DESTDIR)$(cmakedir)" || exit $$?; \
607 uninstall-nodist_cmakeDATA:
609 @list='$(nodist_cmake_DATA)'; test -n "$(cmakedir)" || list=; \
610 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
611 dir='$(DESTDIR)$(cmakedir)'; $(am__uninstall_files_from_dir)
612 install-pkgconfigDATA: $(pkgconfig_DATA)
614 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
615 if test -n "$$list"; then \
616 echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
617 $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
619 for p in $$list; do \
620 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
622 done | $(am__base_list) | \
623 while read files; do \
624 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
625 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
628 uninstall-pkgconfigDATA:
630 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
631 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
632 dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
634 # This directory's subdirectories are mostly independent; you can cd
635 # into them and run 'make' without going through this Makefile.
636 # To change the values of 'make' variables: instead of editing Makefiles,
637 # (1) if the variable is set in 'config.status', edit 'config.status'
638 # (which will cause the Makefiles to be regenerated when you run 'make');
639 # (2) otherwise, pass the desired values on the 'make' command line.
640 $(am__recursive_targets):
642 if $(am__make_keepgoing); then \
643 failcom='fail=yes'; \
648 target=`echo $@ | sed s/-recursive//`; \
650 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
651 *) list='$(SUBDIRS)' ;; \
653 for subdir in $$list; do \
654 echo "Making $$target in $$subdir"; \
655 if test "$$subdir" = "."; then \
657 local_target="$$target-am"; \
659 local_target="$$target"; \
661 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
664 if test "$$dot_seen" = "no"; then \
665 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
668 ID: $(am__tagged_files)
669 $(am__define_uniq_tagged_files); mkid -fID $$unique
673 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
676 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
677 include_option=--etags-include; \
680 include_option=--include; \
683 list='$(SUBDIRS)'; for subdir in $$list; do \
684 if test "$$subdir" = .; then :; else \
685 test ! -f $$subdir/TAGS || \
686 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
689 $(am__define_uniq_tagged_files); \
691 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
692 test -n "$$unique" || unique=$$empty_fix; \
693 if test $$# -gt 0; then \
694 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
697 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
701 ctags: ctags-recursive
704 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
705 $(am__define_uniq_tagged_files); \
706 test -z "$(CTAGS_ARGS)$$unique" \
707 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
711 here=`$(am__cd) $(top_builddir) && pwd` \
712 && $(am__cd) $(top_srcdir) \
713 && gtags -i $(GTAGS_ARGS) "$$here"
715 test ! -s cscope.files \
716 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
719 cscope.files: clean-cscope cscopelist
720 cscopelist: cscopelist-recursive
722 cscopelist-am: $(am__tagged_files)
723 list='$(am__tagged_files)'; \
724 case "$(srcdir)" in \
725 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
726 *) sdir=$(subdir)/$(srcdir) ;; \
728 for i in $$list; do \
729 if test -f "$$i"; then \
730 echo "$(subdir)/$$i"; \
734 done >> $(top_builddir)/cscope.files
737 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
738 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
739 distdir: $(BUILT_SOURCES)
740 $(MAKE) $(AM_MAKEFLAGS) distdir-am
742 distdir-am: $(DISTFILES)
743 $(am__remove_distdir)
744 test -d "$(distdir)" || mkdir "$(distdir)"
745 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
746 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
747 list='$(DISTFILES)'; \
748 dist_files=`for file in $$list; do echo $$file; done | \
749 sed -e "s|^$$srcdirstrip/||;t" \
750 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
751 case $$dist_files in \
752 */*) $(MKDIR_P) `echo "$$dist_files" | \
753 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
756 for file in $$dist_files; do \
757 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
758 if test -d $$d/$$file; then \
759 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
760 if test -d "$(distdir)/$$file"; then \
761 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
763 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
764 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
765 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
767 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
769 test -f "$(distdir)/$$file" \
770 || cp -p $$d/$$file "$(distdir)/$$file" \
774 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
775 if test "$$subdir" = .; then :; else \
777 || test -d "$(distdir)/$$subdir" \
778 || $(MKDIR_P) "$(distdir)/$$subdir" \
780 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
782 new_distdir=$$reldir; \
783 dir1=$$subdir; dir2="$(top_distdir)"; \
785 new_top_distdir=$$reldir; \
786 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
787 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
788 ($(am__cd) $$subdir && \
789 $(MAKE) $(AM_MAKEFLAGS) \
790 top_distdir="$$new_top_distdir" \
791 distdir="$$new_distdir" \
792 am__remove_distdir=: \
793 am__skip_length_check=: \
794 am__skip_mode_fix=: \
799 -test -n "$(am__skip_mode_fix)" \
800 || find "$(distdir)" -type d ! -perm -755 \
801 -exec chmod u+rwx,go+rx {} \; -o \
802 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
803 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
804 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
805 || chmod -R a+r "$(distdir)"
807 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
808 $(am__post_remove_distdir)
810 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
811 $(am__post_remove_distdir)
813 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
814 $(am__post_remove_distdir)
816 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
817 $(am__post_remove_distdir)
820 tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
821 $(am__post_remove_distdir)
824 @echo WARNING: "Support for distribution archives compressed with" \
825 "legacy program 'compress' is deprecated." >&2
826 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
827 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
828 $(am__post_remove_distdir)
831 @echo WARNING: "Support for shar distribution archives is" \
833 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
834 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
835 $(am__post_remove_distdir)
838 -rm -f $(distdir).zip
839 zip -rq $(distdir).zip $(distdir)
840 $(am__post_remove_distdir)
843 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
844 $(am__post_remove_distdir)
846 # This target untars the dist file and tries a VPATH configuration. Then
847 # it guarantees that the distribution is self-contained by making another
850 case '$(DIST_ARCHIVES)' in \
852 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
854 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
856 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
858 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
860 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
862 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
864 unzip $(distdir).zip ;;\
866 zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
868 chmod -R a-w $(distdir)
870 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
872 test -d $(distdir)/_build || exit 0; \
873 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
874 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
876 && $(am__cd) $(distdir)/_build/sub \
878 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
879 $(DISTCHECK_CONFIGURE_FLAGS) \
880 --srcdir=../.. --prefix="$$dc_install_base" \
881 && $(MAKE) $(AM_MAKEFLAGS) \
882 && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
883 && $(MAKE) $(AM_MAKEFLAGS) check \
884 && $(MAKE) $(AM_MAKEFLAGS) install \
885 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
886 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
887 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
889 && chmod -R a-w "$$dc_install_base" \
891 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
892 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
893 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
894 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
895 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
896 } || { rm -rf "$$dc_destdir"; exit 1; }) \
897 && rm -rf "$$dc_destdir" \
898 && $(MAKE) $(AM_MAKEFLAGS) dist \
899 && rm -rf $(DIST_ARCHIVES) \
900 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
903 $(am__post_remove_distdir)
904 @(echo "$(distdir) archives ready for distribution: "; \
905 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
906 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
908 @test -n '$(distuninstallcheck_dir)' || { \
909 echo 'ERROR: trying to run $@ with an empty' \
910 '$$(distuninstallcheck_dir)' >&2; \
913 $(am__cd) '$(distuninstallcheck_dir)' || { \
914 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
917 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
918 || { echo "ERROR: files left after uninstall:" ; \
919 if test -n "$(DESTDIR)"; then \
920 echo " (check DESTDIR support)"; \
922 $(distuninstallcheck_listfiles) ; \
924 distcleancheck: distclean
925 @if test '$(srcdir)' = . ; then \
926 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
929 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
930 || { echo "ERROR: files left in build directory after distclean:" ; \
931 $(distcleancheck_listfiles) ; \
934 check: check-recursive
935 all-am: Makefile $(DATA) expat_config.h
936 installdirs: installdirs-recursive
938 for dir in "$(DESTDIR)$(cmakedir)" "$(DESTDIR)$(cmakedir)" "$(DESTDIR)$(pkgconfigdir)"; do \
939 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
941 install: install-recursive
942 install-exec: install-exec-recursive
943 install-data: install-data-recursive
944 uninstall: uninstall-recursive
947 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
949 installcheck: installcheck-recursive
951 if test -z '$(STRIP)'; then \
952 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
953 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
956 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
957 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
958 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
965 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
966 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
968 maintainer-clean-generic:
969 @echo "This command is intended for maintainers to use"
970 @echo "it deletes files that may require special tools to rebuild."
971 clean: clean-recursive
973 clean-am: clean-generic clean-libtool mostlyclean-am
975 distclean: distclean-recursive
976 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
978 distclean-am: clean-am distclean-generic distclean-hdr \
979 distclean-libtool distclean-tags
993 install-data-am: install-dist_cmakeDATA install-nodist_cmakeDATA \
994 install-pkgconfigDATA
996 install-dvi: install-dvi-recursive
1002 install-html: install-html-recursive
1006 install-info: install-info-recursive
1012 install-pdf: install-pdf-recursive
1016 install-ps: install-ps-recursive
1022 maintainer-clean: maintainer-clean-recursive
1023 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1024 -rm -rf $(top_srcdir)/autom4te.cache
1026 maintainer-clean-am: distclean-am maintainer-clean-generic
1028 mostlyclean: mostlyclean-recursive
1030 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1040 uninstall-am: uninstall-dist_cmakeDATA uninstall-nodist_cmakeDATA \
1041 uninstall-pkgconfigDATA
1043 .MAKE: $(am__recursive_targets) all install-am install-strip
1045 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1046 am--refresh check check-am clean clean-cscope clean-generic \
1047 clean-libtool cscope cscopelist-am ctags ctags-am dist \
1048 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
1049 dist-xz dist-zip dist-zstd distcheck distclean \
1050 distclean-generic distclean-hdr distclean-libtool \
1051 distclean-tags distcleancheck distdir distuninstallcheck dvi \
1052 dvi-am html html-am info info-am install install-am \
1053 install-data install-data-am install-dist_cmakeDATA \
1054 install-dvi install-dvi-am install-exec install-exec-am \
1055 install-html install-html-am install-info install-info-am \
1056 install-man install-nodist_cmakeDATA install-pdf \
1057 install-pdf-am install-pkgconfigDATA install-ps install-ps-am \
1058 install-strip installcheck installcheck-am installdirs \
1059 installdirs-am maintainer-clean maintainer-clean-generic \
1060 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
1061 ps ps-am tags tags-am uninstall uninstall-am \
1062 uninstall-dist_cmakeDATA uninstall-nodist_cmakeDATA \
1063 uninstall-pkgconfigDATA
1070 @echo 'ERROR: Running "make buildlib LIBRARY=libexpatw.la"' >&2
1071 @echo 'ERROR: is no longer supported. INSTEAD please:' >&2
1073 @echo 'ERROR: * Mass-patch Makefile.am, e.g.' >&2
1074 @echo 'ERROR: # find -name Makefile.am -exec sed \' >&2
1075 @echo 'ERROR: -e "s,libexpat\.la,libexpatw.la," \' >&2
1076 @echo 'ERROR: -e "s,libexpat_la,libexpatw_la," \' >&2
1077 @echo 'ERROR: -i {} +' >&2
1079 @echo 'ERROR: * Run automake to re-generate Makefile.in files' >&2
1081 @echo 'ERROR: * Use "./configure --without-xmlwf" and/or' >&2
1082 @echo 'ERROR: "make -C lib all install" to bypass compilation' >&2
1083 @echo 'ERROR: of xmlwf (e.g. with -DXML_UNICODE)' >&2
1087 .PHONY: run-benchmark
1089 $(MAKE) -C tests/benchmark
1090 ./run.sh tests/benchmark/benchmark@EXEEXT@ -n $(top_srcdir)/../testdata/largefiles/recset.xml 65535 3
1092 .PHONY: download-xmlts-zip
1094 if test "$(XMLTS_ZIP)" = ""; then \
1095 wget --output-document=tests/xmlts.zip \
1096 https://www.w3.org/XML/Test/xmlts20080827.zip; \
1098 cp $(XMLTS_ZIP) tests/xmlts.zip; \
1102 $(MAKE) download-xmlts-zip
1104 .PHONY: extract-xmlts-zip
1105 extract-xmlts-zip: tests/xmlts.zip
1106 [ -f $(builddir)/tests/xmlts.zip ] || $(MAKE) download-xmlts-zip # vpath workaround
1107 cd tests && unzip -q xmlts.zip
1109 tests/xmlconf: tests/xmlts.zip
1110 $(MAKE) extract-xmlts-zip
1113 run-xmltest: tests/xmlconf
1114 @WITH_XMLWF_TRUE@ [ -d $(builddir)/tests/xmlconf ] || $(MAKE) extract-xmlts-zip # vpath workaround
1115 @WITH_XMLWF_TRUE@ $(MAKE) -C lib
1116 @WITH_XMLWF_TRUE@ $(MAKE) -C xmlwf
1117 @WITH_XMLWF_TRUE@ $(srcdir)/tests/xmltest.sh "$(abs_builddir)/run.sh $(abs_builddir)/xmlwf/xmlwf@EXEEXT@" 2>&1 | tee $(builddir)/tests/xmltest.log
1118 @WITH_XMLWF_TRUE@ $(srcdir)/fix-xmltest-log.sh $(builddir)/tests/xmltest.log
1119 @WITH_XMLWF_TRUE@ diff -u $(srcdir)/tests/xmltest.log.expected $(builddir)/tests/xmltest.log
1120 @WITH_XMLWF_FALSE@ @echo 'ERROR: xmlwf is needed for "make run-xmltest".' >&2
1121 @WITH_XMLWF_FALSE@ @echo 'ERROR: Please re-configure without --without-xmlwf.' >&2
1122 @WITH_XMLWF_FALSE@ @false
1126 QA_COMPILER=clang QA_SANITIZER=address ./qa.sh
1127 QA_COMPILER=clang QA_SANITIZER=memory ./qa.sh
1128 QA_COMPILER=clang QA_SANITIZER=undefined ./qa.sh
1129 QA_COMPILER=gcc QA_PROCESSOR=gcov ./qa.sh
1131 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1132 # Otherwise a system limit (for SysV at least) may be exceeded.