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 CMAKE_SHARED_LIBRARY_PREFIX = @CMAKE_SHARED_LIBRARY_PREFIX@
310 CPPFLAGS = @CPPFLAGS@
315 CXXDEPMODE = @CXXDEPMODE@
316 CXXFLAGS = @CXXFLAGS@
317 CYGPATH_W = @CYGPATH_W@
321 DOCBOOK_TO_MAN = @DOCBOOK_TO_MAN@
322 DSYMUTIL = @DSYMUTIL@
330 EXPAT_ATTR_INFO = @EXPAT_ATTR_INFO@
331 EXPAT_CHAR_TYPE = @EXPAT_CHAR_TYPE@
332 EXPAT_CONTEXT_BYTES = @EXPAT_CONTEXT_BYTES@
333 EXPAT_DTD = @EXPAT_DTD@
334 EXPAT_LARGE_SIZE = @EXPAT_LARGE_SIZE@
335 EXPAT_MIN_SIZE = @EXPAT_MIN_SIZE@
336 EXPAT_NS = @EXPAT_NS@
341 INSTALL_DATA = @INSTALL_DATA@
342 INSTALL_PROGRAM = @INSTALL_PROGRAM@
343 INSTALL_SCRIPT = @INSTALL_SCRIPT@
344 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
348 LIBCURRENT = @LIBCURRENT@
349 LIBDIR_BASENAME = @LIBDIR_BASENAME@
352 LIBREVISION = @LIBREVISION@
357 LTLIBOBJS = @LTLIBOBJS@
358 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
359 MAKEINFO = @MAKEINFO@
360 MANIFEST_TOOL = @MANIFEST_TOOL@
369 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
370 PACKAGE_NAME = @PACKAGE_NAME@
371 PACKAGE_STRING = @PACKAGE_STRING@
372 PACKAGE_TARNAME = @PACKAGE_TARNAME@
373 PACKAGE_URL = @PACKAGE_URL@
374 PACKAGE_VERSION = @PACKAGE_VERSION@
375 PATH_SEPARATOR = @PATH_SEPARATOR@
378 SET_MAKE = @SET_MAKE@
380 SO_MAJOR = @SO_MAJOR@
381 SO_MINOR = @SO_MINOR@
382 SO_PATCH = @SO_PATCH@
385 abs_builddir = @abs_builddir@
386 abs_srcdir = @abs_srcdir@
387 abs_top_builddir = @abs_top_builddir@
388 abs_top_srcdir = @abs_top_srcdir@
389 ac_ct_AR = @ac_ct_AR@
390 ac_ct_CC = @ac_ct_CC@
391 ac_ct_CXX = @ac_ct_CXX@
392 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
393 ac_cv_sizeof_void_p = @ac_cv_sizeof_void_p@
394 am__include = @am__include@
395 am__leading_dot = @am__leading_dot@
396 am__quote = @am__quote@
398 am__untar = @am__untar@
401 build_alias = @build_alias@
402 build_cpu = @build_cpu@
403 build_os = @build_os@
404 build_vendor = @build_vendor@
405 builddir = @builddir@
407 datarootdir = @datarootdir@
410 exec_prefix = @exec_prefix@
412 host_alias = @host_alias@
413 host_cpu = @host_cpu@
415 host_vendor = @host_vendor@
417 includedir = @includedir@
419 install_sh = @install_sh@
421 libexecdir = @libexecdir@
422 localedir = @localedir@
423 localstatedir = @localstatedir@
426 oldincludedir = @oldincludedir@
429 program_transform_name = @program_transform_name@
431 runstatedir = @runstatedir@
433 sharedstatedir = @sharedstatedir@
435 sysconfdir = @sysconfdir@
436 target_alias = @target_alias@
437 top_build_prefix = @top_build_prefix@
438 top_builddir = @top_builddir@
439 top_srcdir = @top_srcdir@
447 ACLOCAL_AMFLAGS = -I m4
448 LIBTOOLFLAGS = --verbose
449 SUBDIRS = lib $(am__append_1) $(am__append_2) $(am__append_3)
450 pkgconfig_DATA = expat.pc
451 pkgconfigdir = $(libdir)/pkgconfig
453 cmake/autotools/expat.cmake
455 nodist_cmake_DATA = \
456 cmake/autotools/expat-config-version.cmake \
457 cmake/autotools/expat-noconfig.cmake \
458 cmake/expat-config.cmake
460 cmakedir = $(libdir)/cmake/expat-@PACKAGE_VERSION@
461 _EXTRA_DIST_CMAKE = \
462 cmake/autotools/expat-noconfig__linux.cmake.in \
463 cmake/autotools/expat-noconfig__macos.cmake.in \
464 cmake/autotools/expat-noconfig__windows.cmake.in \
465 cmake/autotools/expat-package-init.cmake \
466 cmake/mingw-toolchain.cmake \
470 ConfigureChecks.cmake \
474 _EXTRA_DIST_WINDOWS = \
475 win32/build_expat_iss.bat \
481 $(_EXTRA_DIST_CMAKE) \
482 $(_EXTRA_DIST_WINDOWS) \
485 conftools/get-version.sh \
487 fuzz/xml_parsebuffer_fuzzer.c \
488 fuzz/xml_parse_fuzzer.c \
490 xmlwf/xmlwf_helpgen.py \
491 xmlwf/xmlwf_helpgen.sh \
498 test-driver-wrapper.sh
501 $(MAKE) $(AM_MAKEFLAGS) all-recursive
504 am--refresh: Makefile
506 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
508 case '$(am__configure_deps)' in \
510 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
511 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
516 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
517 $(am__cd) $(top_srcdir) && \
518 $(AUTOMAKE) --foreign Makefile
519 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
522 echo ' $(SHELL) ./config.status'; \
523 $(SHELL) ./config.status;; \
525 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
526 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
529 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
530 $(SHELL) ./config.status --recheck
532 $(top_srcdir)/configure: $(am__configure_deps)
533 $(am__cd) $(srcdir) && $(AUTOCONF)
534 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
535 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
536 $(am__aclocal_m4_deps):
538 expat_config.h: stamp-h1
539 @test -f $@ || rm -f stamp-h1
540 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
542 stamp-h1: $(srcdir)/expat_config.h.in $(top_builddir)/config.status
544 cd $(top_builddir) && $(SHELL) ./config.status expat_config.h
545 $(srcdir)/expat_config.h.in: $(am__configure_deps)
546 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
551 -rm -f expat_config.h stamp-h1
552 expat.pc: $(top_builddir)/config.status $(srcdir)/expat.pc.in
553 cd $(top_builddir) && $(SHELL) ./config.status $@
554 cmake/expat-config.cmake: $(top_builddir)/config.status $(top_srcdir)/cmake/expat-config.cmake.in
555 cd $(top_builddir) && $(SHELL) ./config.status $@
556 cmake/autotools/expat-config-version.cmake: $(top_builddir)/config.status $(top_srcdir)/cmake/autotools/expat-config-version.cmake.in
557 cd $(top_builddir) && $(SHELL) ./config.status $@
558 cmake/autotools/expat-noconfig.cmake: $(top_builddir)/config.status
559 cd $(top_builddir) && $(SHELL) ./config.status $@
560 run.sh: $(top_builddir)/config.status $(srcdir)/run.sh.in
561 cd $(top_builddir) && $(SHELL) ./config.status $@
570 -rm -f libtool config.lt
571 install-dist_cmakeDATA: $(dist_cmake_DATA)
573 @list='$(dist_cmake_DATA)'; test -n "$(cmakedir)" || list=; \
574 if test -n "$$list"; then \
575 echo " $(MKDIR_P) '$(DESTDIR)$(cmakedir)'"; \
576 $(MKDIR_P) "$(DESTDIR)$(cmakedir)" || exit 1; \
578 for p in $$list; do \
579 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
581 done | $(am__base_list) | \
582 while read files; do \
583 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(cmakedir)'"; \
584 $(INSTALL_DATA) $$files "$(DESTDIR)$(cmakedir)" || exit $$?; \
587 uninstall-dist_cmakeDATA:
589 @list='$(dist_cmake_DATA)'; test -n "$(cmakedir)" || list=; \
590 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
591 dir='$(DESTDIR)$(cmakedir)'; $(am__uninstall_files_from_dir)
592 install-nodist_cmakeDATA: $(nodist_cmake_DATA)
594 @list='$(nodist_cmake_DATA)'; test -n "$(cmakedir)" || list=; \
595 if test -n "$$list"; then \
596 echo " $(MKDIR_P) '$(DESTDIR)$(cmakedir)'"; \
597 $(MKDIR_P) "$(DESTDIR)$(cmakedir)" || exit 1; \
599 for p in $$list; do \
600 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
602 done | $(am__base_list) | \
603 while read files; do \
604 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(cmakedir)'"; \
605 $(INSTALL_DATA) $$files "$(DESTDIR)$(cmakedir)" || exit $$?; \
608 uninstall-nodist_cmakeDATA:
610 @list='$(nodist_cmake_DATA)'; test -n "$(cmakedir)" || list=; \
611 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
612 dir='$(DESTDIR)$(cmakedir)'; $(am__uninstall_files_from_dir)
613 install-pkgconfigDATA: $(pkgconfig_DATA)
615 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
616 if test -n "$$list"; then \
617 echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
618 $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
620 for p in $$list; do \
621 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
623 done | $(am__base_list) | \
624 while read files; do \
625 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
626 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
629 uninstall-pkgconfigDATA:
631 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
632 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
633 dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
635 # This directory's subdirectories are mostly independent; you can cd
636 # into them and run 'make' without going through this Makefile.
637 # To change the values of 'make' variables: instead of editing Makefiles,
638 # (1) if the variable is set in 'config.status', edit 'config.status'
639 # (which will cause the Makefiles to be regenerated when you run 'make');
640 # (2) otherwise, pass the desired values on the 'make' command line.
641 $(am__recursive_targets):
643 if $(am__make_keepgoing); then \
644 failcom='fail=yes'; \
649 target=`echo $@ | sed s/-recursive//`; \
651 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
652 *) list='$(SUBDIRS)' ;; \
654 for subdir in $$list; do \
655 echo "Making $$target in $$subdir"; \
656 if test "$$subdir" = "."; then \
658 local_target="$$target-am"; \
660 local_target="$$target"; \
662 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
665 if test "$$dot_seen" = "no"; then \
666 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
669 ID: $(am__tagged_files)
670 $(am__define_uniq_tagged_files); mkid -fID $$unique
674 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
677 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
678 include_option=--etags-include; \
681 include_option=--include; \
684 list='$(SUBDIRS)'; for subdir in $$list; do \
685 if test "$$subdir" = .; then :; else \
686 test ! -f $$subdir/TAGS || \
687 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
690 $(am__define_uniq_tagged_files); \
692 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
693 test -n "$$unique" || unique=$$empty_fix; \
694 if test $$# -gt 0; then \
695 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
698 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
702 ctags: ctags-recursive
705 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
706 $(am__define_uniq_tagged_files); \
707 test -z "$(CTAGS_ARGS)$$unique" \
708 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
712 here=`$(am__cd) $(top_builddir) && pwd` \
713 && $(am__cd) $(top_srcdir) \
714 && gtags -i $(GTAGS_ARGS) "$$here"
716 test ! -s cscope.files \
717 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
720 cscope.files: clean-cscope cscopelist
721 cscopelist: cscopelist-recursive
723 cscopelist-am: $(am__tagged_files)
724 list='$(am__tagged_files)'; \
725 case "$(srcdir)" in \
726 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
727 *) sdir=$(subdir)/$(srcdir) ;; \
729 for i in $$list; do \
730 if test -f "$$i"; then \
731 echo "$(subdir)/$$i"; \
735 done >> $(top_builddir)/cscope.files
738 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
739 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
740 distdir: $(BUILT_SOURCES)
741 $(MAKE) $(AM_MAKEFLAGS) distdir-am
743 distdir-am: $(DISTFILES)
744 $(am__remove_distdir)
745 test -d "$(distdir)" || mkdir "$(distdir)"
746 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
747 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
748 list='$(DISTFILES)'; \
749 dist_files=`for file in $$list; do echo $$file; done | \
750 sed -e "s|^$$srcdirstrip/||;t" \
751 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
752 case $$dist_files in \
753 */*) $(MKDIR_P) `echo "$$dist_files" | \
754 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
757 for file in $$dist_files; do \
758 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
759 if test -d $$d/$$file; then \
760 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
761 if test -d "$(distdir)/$$file"; then \
762 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
764 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
765 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
766 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
768 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
770 test -f "$(distdir)/$$file" \
771 || cp -p $$d/$$file "$(distdir)/$$file" \
775 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
776 if test "$$subdir" = .; then :; else \
778 || test -d "$(distdir)/$$subdir" \
779 || $(MKDIR_P) "$(distdir)/$$subdir" \
781 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
783 new_distdir=$$reldir; \
784 dir1=$$subdir; dir2="$(top_distdir)"; \
786 new_top_distdir=$$reldir; \
787 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
788 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
789 ($(am__cd) $$subdir && \
790 $(MAKE) $(AM_MAKEFLAGS) \
791 top_distdir="$$new_top_distdir" \
792 distdir="$$new_distdir" \
793 am__remove_distdir=: \
794 am__skip_length_check=: \
795 am__skip_mode_fix=: \
800 -test -n "$(am__skip_mode_fix)" \
801 || find "$(distdir)" -type d ! -perm -755 \
802 -exec chmod u+rwx,go+rx {} \; -o \
803 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
804 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
805 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
806 || chmod -R a+r "$(distdir)"
808 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
809 $(am__post_remove_distdir)
811 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
812 $(am__post_remove_distdir)
814 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
815 $(am__post_remove_distdir)
817 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
818 $(am__post_remove_distdir)
821 tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
822 $(am__post_remove_distdir)
825 @echo WARNING: "Support for distribution archives compressed with" \
826 "legacy program 'compress' is deprecated." >&2
827 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
828 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
829 $(am__post_remove_distdir)
832 @echo WARNING: "Support for shar distribution archives is" \
834 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
835 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
836 $(am__post_remove_distdir)
839 -rm -f $(distdir).zip
840 zip -rq $(distdir).zip $(distdir)
841 $(am__post_remove_distdir)
844 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
845 $(am__post_remove_distdir)
847 # This target untars the dist file and tries a VPATH configuration. Then
848 # it guarantees that the distribution is self-contained by making another
851 case '$(DIST_ARCHIVES)' in \
853 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
855 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
857 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
859 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
861 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
863 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
865 unzip $(distdir).zip ;;\
867 zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
869 chmod -R a-w $(distdir)
871 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
873 test -d $(distdir)/_build || exit 0; \
874 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
875 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
877 && $(am__cd) $(distdir)/_build/sub \
879 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
880 $(DISTCHECK_CONFIGURE_FLAGS) \
881 --srcdir=../.. --prefix="$$dc_install_base" \
882 && $(MAKE) $(AM_MAKEFLAGS) \
883 && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
884 && $(MAKE) $(AM_MAKEFLAGS) check \
885 && $(MAKE) $(AM_MAKEFLAGS) install \
886 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
887 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
888 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
890 && chmod -R a-w "$$dc_install_base" \
892 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
893 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
894 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
895 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
896 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
897 } || { rm -rf "$$dc_destdir"; exit 1; }) \
898 && rm -rf "$$dc_destdir" \
899 && $(MAKE) $(AM_MAKEFLAGS) dist \
900 && rm -rf $(DIST_ARCHIVES) \
901 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
904 $(am__post_remove_distdir)
905 @(echo "$(distdir) archives ready for distribution: "; \
906 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
907 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
909 @test -n '$(distuninstallcheck_dir)' || { \
910 echo 'ERROR: trying to run $@ with an empty' \
911 '$$(distuninstallcheck_dir)' >&2; \
914 $(am__cd) '$(distuninstallcheck_dir)' || { \
915 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
918 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
919 || { echo "ERROR: files left after uninstall:" ; \
920 if test -n "$(DESTDIR)"; then \
921 echo " (check DESTDIR support)"; \
923 $(distuninstallcheck_listfiles) ; \
925 distcleancheck: distclean
926 @if test '$(srcdir)' = . ; then \
927 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
930 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
931 || { echo "ERROR: files left in build directory after distclean:" ; \
932 $(distcleancheck_listfiles) ; \
935 check: check-recursive
936 all-am: Makefile $(DATA) expat_config.h
937 installdirs: installdirs-recursive
939 for dir in "$(DESTDIR)$(cmakedir)" "$(DESTDIR)$(cmakedir)" "$(DESTDIR)$(pkgconfigdir)"; do \
940 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
942 install: install-recursive
943 install-exec: install-exec-recursive
944 install-data: install-data-recursive
945 uninstall: uninstall-recursive
948 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
950 installcheck: installcheck-recursive
952 if test -z '$(STRIP)'; then \
953 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
954 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
957 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
958 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
959 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
966 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
967 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
969 maintainer-clean-generic:
970 @echo "This command is intended for maintainers to use"
971 @echo "it deletes files that may require special tools to rebuild."
972 clean: clean-recursive
974 clean-am: clean-generic clean-libtool mostlyclean-am
976 distclean: distclean-recursive
977 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
979 distclean-am: clean-am distclean-generic distclean-hdr \
980 distclean-libtool distclean-tags
994 install-data-am: install-dist_cmakeDATA install-nodist_cmakeDATA \
995 install-pkgconfigDATA
997 install-dvi: install-dvi-recursive
1003 install-html: install-html-recursive
1007 install-info: install-info-recursive
1013 install-pdf: install-pdf-recursive
1017 install-ps: install-ps-recursive
1023 maintainer-clean: maintainer-clean-recursive
1024 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1025 -rm -rf $(top_srcdir)/autom4te.cache
1027 maintainer-clean-am: distclean-am maintainer-clean-generic
1029 mostlyclean: mostlyclean-recursive
1031 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1041 uninstall-am: uninstall-dist_cmakeDATA uninstall-nodist_cmakeDATA \
1042 uninstall-pkgconfigDATA
1044 .MAKE: $(am__recursive_targets) all install-am install-strip
1046 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1047 am--refresh check check-am clean clean-cscope clean-generic \
1048 clean-libtool cscope cscopelist-am ctags ctags-am dist \
1049 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
1050 dist-xz dist-zip dist-zstd distcheck distclean \
1051 distclean-generic distclean-hdr distclean-libtool \
1052 distclean-tags distcleancheck distdir distuninstallcheck dvi \
1053 dvi-am html html-am info info-am install install-am \
1054 install-data install-data-am install-dist_cmakeDATA \
1055 install-dvi install-dvi-am install-exec install-exec-am \
1056 install-html install-html-am install-info install-info-am \
1057 install-man install-nodist_cmakeDATA install-pdf \
1058 install-pdf-am install-pkgconfigDATA install-ps install-ps-am \
1059 install-strip installcheck installcheck-am installdirs \
1060 installdirs-am maintainer-clean maintainer-clean-generic \
1061 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
1062 ps ps-am tags tags-am uninstall uninstall-am \
1063 uninstall-dist_cmakeDATA uninstall-nodist_cmakeDATA \
1064 uninstall-pkgconfigDATA
1071 @echo 'ERROR: Running "make buildlib LIBRARY=libexpatw.la"' >&2
1072 @echo 'ERROR: is no longer supported. INSTEAD please:' >&2
1074 @echo 'ERROR: * Mass-patch Makefile.am, e.g.' >&2
1075 @echo 'ERROR: # find -name Makefile.am -exec sed \' >&2
1076 @echo 'ERROR: -e "s,libexpat\.la,libexpatw.la," \' >&2
1077 @echo 'ERROR: -e "s,libexpat_la,libexpatw_la," \' >&2
1078 @echo 'ERROR: -i {} +' >&2
1080 @echo 'ERROR: * Run automake to re-generate Makefile.in files' >&2
1082 @echo 'ERROR: * Use "./configure --without-xmlwf" and/or' >&2
1083 @echo 'ERROR: "make -C lib all install" to bypass compilation' >&2
1084 @echo 'ERROR: of xmlwf (e.g. with -DXML_UNICODE)' >&2
1088 .PHONY: run-benchmark
1090 $(MAKE) -C tests/benchmark
1091 ./run.sh tests/benchmark/benchmark@EXEEXT@ -n $(top_srcdir)/../testdata/largefiles/recset.xml 65535 3
1093 .PHONY: download-xmlts-zip
1095 if test "$(XMLTS_ZIP)" = ""; then \
1096 wget --output-document=tests/xmlts.zip \
1097 https://www.w3.org/XML/Test/xmlts20080827.zip; \
1099 cp $(XMLTS_ZIP) tests/xmlts.zip; \
1103 $(MAKE) download-xmlts-zip
1105 .PHONY: extract-xmlts-zip
1106 extract-xmlts-zip: tests/xmlts.zip
1107 [ -f $(builddir)/tests/xmlts.zip ] || $(MAKE) download-xmlts-zip # vpath workaround
1108 cd tests && unzip -q xmlts.zip
1110 tests/xmlconf: tests/xmlts.zip
1111 $(MAKE) extract-xmlts-zip
1114 run-xmltest: tests/xmlconf
1115 @WITH_XMLWF_TRUE@ [ -d $(builddir)/tests/xmlconf ] || $(MAKE) extract-xmlts-zip # vpath workaround
1116 @WITH_XMLWF_TRUE@ $(MAKE) -C lib
1117 @WITH_XMLWF_TRUE@ $(MAKE) -C xmlwf
1118 @WITH_XMLWF_TRUE@ $(srcdir)/tests/xmltest.sh "$(abs_builddir)/run.sh $(abs_builddir)/xmlwf/xmlwf@EXEEXT@" 2>&1 | tee $(builddir)/tests/xmltest.log
1119 @WITH_XMLWF_TRUE@ $(srcdir)/fix-xmltest-log.sh $(builddir)/tests/xmltest.log
1120 @WITH_XMLWF_TRUE@ diff -u $(srcdir)/tests/xmltest.log.expected $(builddir)/tests/xmltest.log
1121 @WITH_XMLWF_FALSE@ @echo 'ERROR: xmlwf is needed for "make run-xmltest".' >&2
1122 @WITH_XMLWF_FALSE@ @echo 'ERROR: Please re-configure without --without-xmlwf.' >&2
1123 @WITH_XMLWF_FALSE@ @false
1127 QA_COMPILER=clang QA_SANITIZER=address ./qa.sh
1128 QA_COMPILER=clang QA_SANITIZER=memory ./qa.sh
1129 QA_COMPILER=clang QA_SANITIZER=undefined ./qa.sh
1130 QA_COMPILER=gcc QA_PROCESSOR=gcov ./qa.sh
1132 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1133 # Otherwise a system limit (for SysV at least) may be exceeded.