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 # Copyright (c) 2022 Johnny Jazeix <jazeix@gmail.com>
28 # Licensed under the MIT license:
30 # Permission is hereby granted, free of charge, to any person obtaining
31 # a copy of this software and associated documentation files (the
32 # "Software"), to deal in the Software without restriction, including
33 # without limitation the rights to use, copy, modify, merge, publish,
34 # distribute, sublicense, and/or sell copies of the Software, and to permit
35 # persons to whom the Software is furnished to do so, subject to the
36 # following conditions:
38 # The above copyright notice and this permission notice shall be included
39 # in all copies or substantial portions of the Software.
41 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
42 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
43 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
44 # NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
45 # DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
46 # OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
47 # USE OR OTHER DEALINGS IN THE SOFTWARE.
51 if test -z '$(MAKELEVEL)'; then \
53 elif test -n '$(MAKE_HOST)'; then \
55 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
61 am__make_running_with_option = \
62 case $${target_option-} in \
64 *) echo "am__make_running_with_option: internal error: invalid" \
65 "target option '$${target_option-}' specified" >&2; \
69 sane_makeflags=$$MAKEFLAGS; \
70 if $(am__is_gnu_make); then \
71 sane_makeflags=$$MFLAGS; \
76 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
77 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
83 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
85 for flg in $$sane_makeflags; do \
86 test $$skip_next = yes && { skip_next=no; continue; }; \
89 -*I) strip_trailopt 'I'; skip_next=yes;; \
90 -*I?*) strip_trailopt 'I';; \
91 -*O) strip_trailopt 'O'; skip_next=yes;; \
92 -*O?*) strip_trailopt 'O';; \
93 -*l) strip_trailopt 'l'; skip_next=yes;; \
94 -*l?*) strip_trailopt 'l';; \
95 -[dEDm]) skip_next=yes;; \
96 -[JT]) skip_next=yes;; \
99 *$$target_option*) has_opt=yes; break;; \
103 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
104 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
105 pkgdatadir = $(datadir)/@PACKAGE@
106 pkgincludedir = $(includedir)/@PACKAGE@
107 pkglibdir = $(libdir)/@PACKAGE@
108 pkglibexecdir = $(libexecdir)/@PACKAGE@
109 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
110 install_sh_DATA = $(install_sh) -c -m 644
111 install_sh_PROGRAM = $(install_sh) -c
112 install_sh_SCRIPT = $(install_sh) -c
113 INSTALL_HEADER = $(INSTALL_DATA)
114 transform = $(program_transform_name)
121 build_triplet = @build@
122 host_triplet = @host@
123 @WITH_EXAMPLES_TRUE@am__append_1 = examples
124 @WITH_TESTS_TRUE@am__append_2 = tests
125 @WITH_XMLWF_TRUE@am__append_3 = xmlwf doc
127 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
128 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
129 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
130 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
131 $(top_srcdir)/acinclude.m4 \
132 $(top_srcdir)/conftools/ax-require-defined.m4 \
133 $(top_srcdir)/conftools/ax-check-compile-flag.m4 \
134 $(top_srcdir)/conftools/ax-check-link-flag.m4 \
135 $(top_srcdir)/conftools/ax-append-flag.m4 \
136 $(top_srcdir)/conftools/ax-append-compile-flags.m4 \
137 $(top_srcdir)/conftools/ax-append-link-flags.m4 \
138 $(top_srcdir)/conftools/expatcfg-compiler-supports-visibility.m4 \
139 $(top_srcdir)/configure.ac
140 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
142 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
143 $(am__configure_deps) $(dist_cmake_DATA) $(am__DIST_COMMON)
144 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
145 configure.lineno config.status.lineno
146 mkinstalldirs = $(install_sh) -d
147 CONFIG_HEADER = expat_config.h
148 CONFIG_CLEAN_FILES = expat.pc cmake/expat-config.cmake \
149 cmake/autotools/expat-config-version.cmake \
150 cmake/autotools/expat-noconfig.cmake run.sh
151 CONFIG_CLEAN_VPATH_FILES =
152 AM_V_P = $(am__v_P_@AM_V@)
153 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
156 AM_V_GEN = $(am__v_GEN_@AM_V@)
157 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
158 am__v_GEN_0 = @echo " GEN " $@;
160 AM_V_at = $(am__v_at_@AM_V@)
161 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
166 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
167 ctags-recursive dvi-recursive html-recursive info-recursive \
168 install-data-recursive install-dvi-recursive \
169 install-exec-recursive install-html-recursive \
170 install-info-recursive install-pdf-recursive \
171 install-ps-recursive install-recursive installcheck-recursive \
172 installdirs-recursive pdf-recursive ps-recursive \
173 tags-recursive uninstall-recursive
174 am__can_run_installinfo = \
175 case $$AM_UPDATE_INFO_DIR in \
177 *) (install-info --version) >/dev/null 2>&1;; \
179 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
180 am__vpath_adj = case $$p in \
181 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
184 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
186 am__nobase_strip_setup = \
187 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
189 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
190 am__nobase_list = $(am__nobase_strip_setup); \
191 for p in $$list; do echo "$$p $$p"; done | \
192 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
193 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
194 if (++n[$$2] == $(am__install_max)) \
195 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
196 END { for (dir in files) print dir, files[dir] }'
198 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
199 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
200 am__uninstall_files_from_dir = { \
202 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
203 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
204 $(am__cd) "$$dir" && rm -f $$files; }; \
206 am__installdirs = "$(DESTDIR)$(cmakedir)" "$(DESTDIR)$(cmakedir)" \
207 "$(DESTDIR)$(pkgconfigdir)"
208 DATA = $(dist_cmake_DATA) $(nodist_cmake_DATA) $(pkgconfig_DATA)
209 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
210 distclean-recursive maintainer-clean-recursive
211 am__recursive_targets = \
212 $(RECURSIVE_TARGETS) \
213 $(RECURSIVE_CLEAN_TARGETS) \
214 $(am__extra_recursive_targets)
215 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
216 cscope distdir distdir-am dist dist-all distcheck
217 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
219 # Read a list of newline-separated strings from the standard input,
220 # and print each of them once, without duplicates. Input order is
222 am__uniquify_input = $(AWK) '\
223 BEGIN { nonempty = 0; } \
224 { items[$$0] = 1; nonempty = 1; } \
225 END { if (nonempty) { for (i in items) print i; }; } \
227 # Make sure the list of sources is unique. This is necessary because,
228 # e.g., the same source file might be shared among _SOURCES variables
229 # for different programs/libraries.
230 am__define_uniq_tagged_files = \
231 list='$(am__tagged_files)'; \
232 unique=`for i in $$list; do \
233 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
234 done | $(am__uniquify_input)`
235 DIST_SUBDIRS = lib examples tests xmlwf doc
236 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/expat.pc.in \
237 $(srcdir)/expat_config.h.in $(srcdir)/run.sh.in \
238 $(top_srcdir)/cmake/autotools/expat-config-version.cmake.in \
239 $(top_srcdir)/cmake/expat-config.cmake.in \
240 $(top_srcdir)/conftools/ar-lib $(top_srcdir)/conftools/compile \
241 $(top_srcdir)/conftools/config.guess \
242 $(top_srcdir)/conftools/config.sub \
243 $(top_srcdir)/conftools/install-sh \
244 $(top_srcdir)/conftools/ltmain.sh \
245 $(top_srcdir)/conftools/missing AUTHORS COPYING README.md \
246 conftools/ar-lib conftools/compile conftools/config.guess \
247 conftools/config.sub conftools/depcomp conftools/install-sh \
248 conftools/ltmain.sh conftools/missing
249 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
250 distdir = $(PACKAGE)-$(VERSION)
251 top_distdir = $(distdir)
252 am__remove_distdir = \
253 if test -d "$(distdir)"; then \
254 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
255 && rm -rf "$(distdir)" \
256 || { sleep 5 && rm -rf "$(distdir)"; }; \
258 am__post_remove_distdir = $(am__remove_distdir)
261 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
262 sed_rest='s,^[^/]*/*,,'; \
263 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
264 sed_butlast='s,/*[^/]*$$,,'; \
265 while test -n "$$dir1"; do \
266 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
267 if test "$$first" != "."; then \
268 if test "$$first" = ".."; then \
269 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
270 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
272 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
273 if test "$$first2" = "$$first"; then \
274 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
278 dir0="$$dir0"/"$$first"; \
281 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
284 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 $(distdir).tar.lz \
287 DIST_TARGETS = dist-lzip dist-xz dist-bzip2 dist-gzip
288 # Exists only to be overridden by the user if desired.
289 AM_DISTCHECK_DVI_TARGET = dvi
290 distuninstallcheck_listfiles = find . -type f -print
291 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
292 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
293 distcleancheck_listfiles = find . -type f -print
296 AM_CFLAGS = @AM_CFLAGS@
297 AM_CPPFLAGS = @AM_CPPFLAGS@
298 AM_CXXFLAGS = @AM_CXXFLAGS@
299 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
300 AM_LDFLAGS = @AM_LDFLAGS@
303 AUTOCONF = @AUTOCONF@
304 AUTOHEADER = @AUTOHEADER@
305 AUTOMAKE = @AUTOMAKE@
308 CCDEPMODE = @CCDEPMODE@
310 CMAKE_SHARED_LIBRARY_PREFIX = @CMAKE_SHARED_LIBRARY_PREFIX@
311 CPPFLAGS = @CPPFLAGS@
316 CXXDEPMODE = @CXXDEPMODE@
317 CXXFLAGS = @CXXFLAGS@
318 CYGPATH_W = @CYGPATH_W@
322 DOCBOOK_TO_MAN = @DOCBOOK_TO_MAN@
323 DSYMUTIL = @DSYMUTIL@
331 EXPAT_ATTR_INFO = @EXPAT_ATTR_INFO@
332 EXPAT_CHAR_TYPE = @EXPAT_CHAR_TYPE@
333 EXPAT_CONTEXT_BYTES = @EXPAT_CONTEXT_BYTES@
334 EXPAT_DTD = @EXPAT_DTD@
335 EXPAT_LARGE_SIZE = @EXPAT_LARGE_SIZE@
336 EXPAT_MIN_SIZE = @EXPAT_MIN_SIZE@
337 EXPAT_NS = @EXPAT_NS@
343 INSTALL_DATA = @INSTALL_DATA@
344 INSTALL_PROGRAM = @INSTALL_PROGRAM@
345 INSTALL_SCRIPT = @INSTALL_SCRIPT@
346 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
350 LIBCURRENT = @LIBCURRENT@
351 LIBDIR_BASENAME = @LIBDIR_BASENAME@
354 LIBREVISION = @LIBREVISION@
359 LTLIBOBJS = @LTLIBOBJS@
360 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
361 MAKEINFO = @MAKEINFO@
362 MANIFEST_TOOL = @MANIFEST_TOOL@
371 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
372 PACKAGE_NAME = @PACKAGE_NAME@
373 PACKAGE_STRING = @PACKAGE_STRING@
374 PACKAGE_TARNAME = @PACKAGE_TARNAME@
375 PACKAGE_URL = @PACKAGE_URL@
376 PACKAGE_VERSION = @PACKAGE_VERSION@
377 PATH_SEPARATOR = @PATH_SEPARATOR@
380 SET_MAKE = @SET_MAKE@
382 SO_MAJOR = @SO_MAJOR@
383 SO_MINOR = @SO_MINOR@
384 SO_PATCH = @SO_PATCH@
387 abs_builddir = @abs_builddir@
388 abs_srcdir = @abs_srcdir@
389 abs_top_builddir = @abs_top_builddir@
390 abs_top_srcdir = @abs_top_srcdir@
391 ac_ct_AR = @ac_ct_AR@
392 ac_ct_CC = @ac_ct_CC@
393 ac_ct_CXX = @ac_ct_CXX@
394 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
395 ac_cv_sizeof_void_p = @ac_cv_sizeof_void_p@
396 am__include = @am__include@
397 am__leading_dot = @am__leading_dot@
398 am__quote = @am__quote@
400 am__untar = @am__untar@
403 build_alias = @build_alias@
404 build_cpu = @build_cpu@
405 build_os = @build_os@
406 build_vendor = @build_vendor@
407 builddir = @builddir@
409 datarootdir = @datarootdir@
412 exec_prefix = @exec_prefix@
414 host_alias = @host_alias@
415 host_cpu = @host_cpu@
417 host_vendor = @host_vendor@
419 includedir = @includedir@
421 install_sh = @install_sh@
423 libexecdir = @libexecdir@
424 localedir = @localedir@
425 localstatedir = @localstatedir@
428 oldincludedir = @oldincludedir@
431 program_transform_name = @program_transform_name@
433 runstatedir = @runstatedir@
435 sharedstatedir = @sharedstatedir@
437 sysconfdir = @sysconfdir@
438 target_alias = @target_alias@
439 top_build_prefix = @top_build_prefix@
440 top_builddir = @top_builddir@
441 top_srcdir = @top_srcdir@
449 ACLOCAL_AMFLAGS = -I m4
450 LIBTOOLFLAGS = --verbose
451 SUBDIRS = lib $(am__append_1) $(am__append_2) $(am__append_3)
452 pkgconfig_DATA = expat.pc
453 pkgconfigdir = $(libdir)/pkgconfig
455 cmake/autotools/expat.cmake
457 nodist_cmake_DATA = \
458 cmake/autotools/expat-config-version.cmake \
459 cmake/autotools/expat-noconfig.cmake \
460 cmake/expat-config.cmake
462 cmakedir = $(libdir)/cmake/expat-@PACKAGE_VERSION@
463 _EXTRA_DIST_CMAKE = \
464 cmake/autotools/expat-noconfig__linux.cmake.in \
465 cmake/autotools/expat-noconfig__macos.cmake.in \
466 cmake/autotools/expat-noconfig__windows.cmake.in \
467 cmake/autotools/expat-package-init.cmake \
468 cmake/mingw-toolchain.cmake \
472 ConfigureChecks.cmake \
476 _EXTRA_DIST_WINDOWS = \
477 win32/build_expat_iss.bat \
484 $(_EXTRA_DIST_CMAKE) \
485 $(_EXTRA_DIST_WINDOWS) \
488 conftools/get-version.sh \
490 fuzz/xml_parsebuffer_fuzzer.c \
491 fuzz/xml_parse_fuzzer.c \
493 xmlwf/xmlwf_helpgen.py \
494 xmlwf/xmlwf_helpgen.sh \
501 test-driver-wrapper.sh
504 $(MAKE) $(AM_MAKEFLAGS) all-recursive
507 am--refresh: Makefile
509 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
511 case '$(am__configure_deps)' in \
513 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
514 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
519 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
520 $(am__cd) $(top_srcdir) && \
521 $(AUTOMAKE) --foreign Makefile
522 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
525 echo ' $(SHELL) ./config.status'; \
526 $(SHELL) ./config.status;; \
528 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
529 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
532 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
533 $(SHELL) ./config.status --recheck
535 $(top_srcdir)/configure: $(am__configure_deps)
536 $(am__cd) $(srcdir) && $(AUTOCONF)
537 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
538 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
539 $(am__aclocal_m4_deps):
541 expat_config.h: stamp-h1
542 @test -f $@ || rm -f stamp-h1
543 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
545 stamp-h1: $(srcdir)/expat_config.h.in $(top_builddir)/config.status
547 cd $(top_builddir) && $(SHELL) ./config.status expat_config.h
548 $(srcdir)/expat_config.h.in: $(am__configure_deps)
549 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
554 -rm -f expat_config.h stamp-h1
555 expat.pc: $(top_builddir)/config.status $(srcdir)/expat.pc.in
556 cd $(top_builddir) && $(SHELL) ./config.status $@
557 cmake/expat-config.cmake: $(top_builddir)/config.status $(top_srcdir)/cmake/expat-config.cmake.in
558 cd $(top_builddir) && $(SHELL) ./config.status $@
559 cmake/autotools/expat-config-version.cmake: $(top_builddir)/config.status $(top_srcdir)/cmake/autotools/expat-config-version.cmake.in
560 cd $(top_builddir) && $(SHELL) ./config.status $@
561 cmake/autotools/expat-noconfig.cmake: $(top_builddir)/config.status
562 cd $(top_builddir) && $(SHELL) ./config.status $@
563 run.sh: $(top_builddir)/config.status $(srcdir)/run.sh.in
564 cd $(top_builddir) && $(SHELL) ./config.status $@
573 -rm -f libtool config.lt
574 install-dist_cmakeDATA: $(dist_cmake_DATA)
576 @list='$(dist_cmake_DATA)'; test -n "$(cmakedir)" || list=; \
577 if test -n "$$list"; then \
578 echo " $(MKDIR_P) '$(DESTDIR)$(cmakedir)'"; \
579 $(MKDIR_P) "$(DESTDIR)$(cmakedir)" || exit 1; \
581 for p in $$list; do \
582 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
584 done | $(am__base_list) | \
585 while read files; do \
586 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(cmakedir)'"; \
587 $(INSTALL_DATA) $$files "$(DESTDIR)$(cmakedir)" || exit $$?; \
590 uninstall-dist_cmakeDATA:
592 @list='$(dist_cmake_DATA)'; test -n "$(cmakedir)" || list=; \
593 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
594 dir='$(DESTDIR)$(cmakedir)'; $(am__uninstall_files_from_dir)
595 install-nodist_cmakeDATA: $(nodist_cmake_DATA)
597 @list='$(nodist_cmake_DATA)'; test -n "$(cmakedir)" || list=; \
598 if test -n "$$list"; then \
599 echo " $(MKDIR_P) '$(DESTDIR)$(cmakedir)'"; \
600 $(MKDIR_P) "$(DESTDIR)$(cmakedir)" || exit 1; \
602 for p in $$list; do \
603 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
605 done | $(am__base_list) | \
606 while read files; do \
607 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(cmakedir)'"; \
608 $(INSTALL_DATA) $$files "$(DESTDIR)$(cmakedir)" || exit $$?; \
611 uninstall-nodist_cmakeDATA:
613 @list='$(nodist_cmake_DATA)'; test -n "$(cmakedir)" || list=; \
614 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
615 dir='$(DESTDIR)$(cmakedir)'; $(am__uninstall_files_from_dir)
616 install-pkgconfigDATA: $(pkgconfig_DATA)
618 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
619 if test -n "$$list"; then \
620 echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
621 $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
623 for p in $$list; do \
624 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
626 done | $(am__base_list) | \
627 while read files; do \
628 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
629 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
632 uninstall-pkgconfigDATA:
634 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
635 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
636 dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
638 # This directory's subdirectories are mostly independent; you can cd
639 # into them and run 'make' without going through this Makefile.
640 # To change the values of 'make' variables: instead of editing Makefiles,
641 # (1) if the variable is set in 'config.status', edit 'config.status'
642 # (which will cause the Makefiles to be regenerated when you run 'make');
643 # (2) otherwise, pass the desired values on the 'make' command line.
644 $(am__recursive_targets):
646 if $(am__make_keepgoing); then \
647 failcom='fail=yes'; \
652 target=`echo $@ | sed s/-recursive//`; \
654 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
655 *) list='$(SUBDIRS)' ;; \
657 for subdir in $$list; do \
658 echo "Making $$target in $$subdir"; \
659 if test "$$subdir" = "."; then \
661 local_target="$$target-am"; \
663 local_target="$$target"; \
665 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
668 if test "$$dot_seen" = "no"; then \
669 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
672 ID: $(am__tagged_files)
673 $(am__define_uniq_tagged_files); mkid -fID $$unique
677 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
680 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
681 include_option=--etags-include; \
684 include_option=--include; \
687 list='$(SUBDIRS)'; for subdir in $$list; do \
688 if test "$$subdir" = .; then :; else \
689 test ! -f $$subdir/TAGS || \
690 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
693 $(am__define_uniq_tagged_files); \
695 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
696 test -n "$$unique" || unique=$$empty_fix; \
697 if test $$# -gt 0; then \
698 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
701 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
705 ctags: ctags-recursive
708 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
709 $(am__define_uniq_tagged_files); \
710 test -z "$(CTAGS_ARGS)$$unique" \
711 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
715 here=`$(am__cd) $(top_builddir) && pwd` \
716 && $(am__cd) $(top_srcdir) \
717 && gtags -i $(GTAGS_ARGS) "$$here"
719 test ! -s cscope.files \
720 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
723 cscope.files: clean-cscope cscopelist
724 cscopelist: cscopelist-recursive
726 cscopelist-am: $(am__tagged_files)
727 list='$(am__tagged_files)'; \
728 case "$(srcdir)" in \
729 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
730 *) sdir=$(subdir)/$(srcdir) ;; \
732 for i in $$list; do \
733 if test -f "$$i"; then \
734 echo "$(subdir)/$$i"; \
738 done >> $(top_builddir)/cscope.files
741 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
742 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
743 distdir: $(BUILT_SOURCES)
744 $(MAKE) $(AM_MAKEFLAGS) distdir-am
746 distdir-am: $(DISTFILES)
747 $(am__remove_distdir)
748 test -d "$(distdir)" || mkdir "$(distdir)"
749 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
750 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
751 list='$(DISTFILES)'; \
752 dist_files=`for file in $$list; do echo $$file; done | \
753 sed -e "s|^$$srcdirstrip/||;t" \
754 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
755 case $$dist_files in \
756 */*) $(MKDIR_P) `echo "$$dist_files" | \
757 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
760 for file in $$dist_files; do \
761 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
762 if test -d $$d/$$file; then \
763 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
764 if test -d "$(distdir)/$$file"; then \
765 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
767 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
768 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
769 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
771 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
773 test -f "$(distdir)/$$file" \
774 || cp -p $$d/$$file "$(distdir)/$$file" \
778 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
779 if test "$$subdir" = .; then :; else \
781 || test -d "$(distdir)/$$subdir" \
782 || $(MKDIR_P) "$(distdir)/$$subdir" \
784 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
786 new_distdir=$$reldir; \
787 dir1=$$subdir; dir2="$(top_distdir)"; \
789 new_top_distdir=$$reldir; \
790 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
791 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
792 ($(am__cd) $$subdir && \
793 $(MAKE) $(AM_MAKEFLAGS) \
794 top_distdir="$$new_top_distdir" \
795 distdir="$$new_distdir" \
796 am__remove_distdir=: \
797 am__skip_length_check=: \
798 am__skip_mode_fix=: \
803 -test -n "$(am__skip_mode_fix)" \
804 || find "$(distdir)" -type d ! -perm -755 \
805 -exec chmod u+rwx,go+rx {} \; -o \
806 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
807 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
808 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
809 || chmod -R a+r "$(distdir)"
811 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
812 $(am__post_remove_distdir)
814 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
815 $(am__post_remove_distdir)
817 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
818 $(am__post_remove_distdir)
820 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
821 $(am__post_remove_distdir)
824 tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
825 $(am__post_remove_distdir)
828 @echo WARNING: "Support for distribution archives compressed with" \
829 "legacy program 'compress' is deprecated." >&2
830 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
831 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
832 $(am__post_remove_distdir)
835 @echo WARNING: "Support for shar distribution archives is" \
837 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
838 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
839 $(am__post_remove_distdir)
842 -rm -f $(distdir).zip
843 zip -rq $(distdir).zip $(distdir)
844 $(am__post_remove_distdir)
847 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
848 $(am__post_remove_distdir)
850 # This target untars the dist file and tries a VPATH configuration. Then
851 # it guarantees that the distribution is self-contained by making another
854 case '$(DIST_ARCHIVES)' in \
856 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
858 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
860 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
862 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
864 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
866 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
868 unzip $(distdir).zip ;;\
870 zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
872 chmod -R a-w $(distdir)
874 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
876 test -d $(distdir)/_build || exit 0; \
877 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
878 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
880 && $(am__cd) $(distdir)/_build/sub \
882 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
883 $(DISTCHECK_CONFIGURE_FLAGS) \
884 --srcdir=../.. --prefix="$$dc_install_base" \
885 && $(MAKE) $(AM_MAKEFLAGS) \
886 && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
887 && $(MAKE) $(AM_MAKEFLAGS) check \
888 && $(MAKE) $(AM_MAKEFLAGS) install \
889 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
890 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
891 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
893 && chmod -R a-w "$$dc_install_base" \
895 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
896 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
897 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
898 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
899 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
900 } || { rm -rf "$$dc_destdir"; exit 1; }) \
901 && rm -rf "$$dc_destdir" \
902 && $(MAKE) $(AM_MAKEFLAGS) dist \
903 && rm -rf $(DIST_ARCHIVES) \
904 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
907 $(am__post_remove_distdir)
908 @(echo "$(distdir) archives ready for distribution: "; \
909 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
910 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
912 @test -n '$(distuninstallcheck_dir)' || { \
913 echo 'ERROR: trying to run $@ with an empty' \
914 '$$(distuninstallcheck_dir)' >&2; \
917 $(am__cd) '$(distuninstallcheck_dir)' || { \
918 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
921 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
922 || { echo "ERROR: files left after uninstall:" ; \
923 if test -n "$(DESTDIR)"; then \
924 echo " (check DESTDIR support)"; \
926 $(distuninstallcheck_listfiles) ; \
928 distcleancheck: distclean
929 @if test '$(srcdir)' = . ; then \
930 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
933 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
934 || { echo "ERROR: files left in build directory after distclean:" ; \
935 $(distcleancheck_listfiles) ; \
938 check: check-recursive
939 all-am: Makefile $(DATA) expat_config.h
940 installdirs: installdirs-recursive
942 for dir in "$(DESTDIR)$(cmakedir)" "$(DESTDIR)$(cmakedir)" "$(DESTDIR)$(pkgconfigdir)"; do \
943 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
945 install: install-recursive
946 install-exec: install-exec-recursive
947 install-data: install-data-recursive
948 uninstall: uninstall-recursive
951 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
953 installcheck: installcheck-recursive
955 if test -z '$(STRIP)'; then \
956 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
957 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
960 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
961 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
962 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
969 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
970 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
972 maintainer-clean-generic:
973 @echo "This command is intended for maintainers to use"
974 @echo "it deletes files that may require special tools to rebuild."
975 clean: clean-recursive
977 clean-am: clean-generic clean-libtool mostlyclean-am
979 distclean: distclean-recursive
980 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
982 distclean-am: clean-am distclean-generic distclean-hdr \
983 distclean-libtool distclean-tags
997 install-data-am: install-dist_cmakeDATA install-nodist_cmakeDATA \
998 install-pkgconfigDATA
1000 install-dvi: install-dvi-recursive
1006 install-html: install-html-recursive
1010 install-info: install-info-recursive
1016 install-pdf: install-pdf-recursive
1020 install-ps: install-ps-recursive
1026 maintainer-clean: maintainer-clean-recursive
1027 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1028 -rm -rf $(top_srcdir)/autom4te.cache
1030 maintainer-clean-am: distclean-am maintainer-clean-generic
1032 mostlyclean: mostlyclean-recursive
1034 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1044 uninstall-am: uninstall-dist_cmakeDATA uninstall-nodist_cmakeDATA \
1045 uninstall-pkgconfigDATA
1047 .MAKE: $(am__recursive_targets) all install-am install-strip
1049 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1050 am--refresh check check-am clean clean-cscope clean-generic \
1051 clean-libtool cscope cscopelist-am ctags ctags-am dist \
1052 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
1053 dist-xz dist-zip dist-zstd distcheck distclean \
1054 distclean-generic distclean-hdr distclean-libtool \
1055 distclean-tags distcleancheck distdir distuninstallcheck dvi \
1056 dvi-am html html-am info info-am install install-am \
1057 install-data install-data-am install-dist_cmakeDATA \
1058 install-dvi install-dvi-am install-exec install-exec-am \
1059 install-html install-html-am install-info install-info-am \
1060 install-man install-nodist_cmakeDATA install-pdf \
1061 install-pdf-am install-pkgconfigDATA install-ps install-ps-am \
1062 install-strip installcheck installcheck-am installdirs \
1063 installdirs-am maintainer-clean maintainer-clean-generic \
1064 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
1065 ps ps-am tags tags-am uninstall uninstall-am \
1066 uninstall-dist_cmakeDATA uninstall-nodist_cmakeDATA \
1067 uninstall-pkgconfigDATA
1074 @echo 'ERROR: Running "make buildlib LIBRARY=libexpatw.la"' >&2
1075 @echo 'ERROR: is no longer supported. INSTEAD please:' >&2
1077 @echo 'ERROR: * Mass-patch Makefile.am, e.g.' >&2
1078 @echo 'ERROR: # find -name Makefile.am -exec sed \' >&2
1079 @echo 'ERROR: -e "s,libexpat\.la,libexpatw.la," \' >&2
1080 @echo 'ERROR: -e "s,libexpat_la,libexpatw_la," \' >&2
1081 @echo 'ERROR: -i {} +' >&2
1083 @echo 'ERROR: * Run automake to re-generate Makefile.in files' >&2
1085 @echo 'ERROR: * Use "./configure --without-xmlwf" and/or' >&2
1086 @echo 'ERROR: "make -C lib all install" to bypass compilation' >&2
1087 @echo 'ERROR: of xmlwf (e.g. with -DXML_UNICODE)' >&2
1091 .PHONY: run-benchmark
1093 $(MAKE) -C tests/benchmark
1094 ./run.sh tests/benchmark/benchmark@EXEEXT@ -n $(top_srcdir)/../testdata/largefiles/recset.xml 65535 3
1096 .PHONY: download-xmlts-zip
1098 if test "$(XMLTS_ZIP)" = ""; then \
1099 wget --output-document=tests/xmlts.zip \
1100 https://www.w3.org/XML/Test/xmlts20080827.zip; \
1102 cp $(XMLTS_ZIP) tests/xmlts.zip; \
1106 $(MAKE) download-xmlts-zip
1108 .PHONY: extract-xmlts-zip
1109 extract-xmlts-zip: tests/xmlts.zip
1110 [ -f $(builddir)/tests/xmlts.zip ] || $(MAKE) download-xmlts-zip # vpath workaround
1111 cd tests && unzip -q xmlts.zip
1113 tests/xmlconf: tests/xmlts.zip
1114 $(MAKE) extract-xmlts-zip
1117 run-xmltest: tests/xmlconf
1118 @WITH_XMLWF_TRUE@ [ -d $(builddir)/tests/xmlconf ] || $(MAKE) extract-xmlts-zip # vpath workaround
1119 @WITH_XMLWF_TRUE@ $(MAKE) -C lib
1120 @WITH_XMLWF_TRUE@ $(MAKE) -C xmlwf
1121 @WITH_XMLWF_TRUE@ $(srcdir)/tests/xmltest.sh "$(abs_builddir)/run.sh $(abs_builddir)/xmlwf/xmlwf@EXEEXT@" 2>&1 | tee $(builddir)/tests/xmltest.log
1122 @WITH_XMLWF_TRUE@ $(srcdir)/fix-xmltest-log.sh $(builddir)/tests/xmltest.log
1123 @WITH_XMLWF_TRUE@ diff -u $(srcdir)/tests/xmltest.log.expected $(builddir)/tests/xmltest.log
1124 @WITH_XMLWF_FALSE@ @echo 'ERROR: xmlwf is needed for "make run-xmltest".' >&2
1125 @WITH_XMLWF_FALSE@ @echo 'ERROR: Please re-configure without --without-xmlwf.' >&2
1126 @WITH_XMLWF_FALSE@ @false
1130 QA_COMPILER=clang QA_SANITIZER=address ./qa.sh
1131 QA_COMPILER=clang QA_SANITIZER=memory ./qa.sh
1132 QA_COMPILER=clang QA_SANITIZER=undefined ./qa.sh
1133 QA_COMPILER=gcc QA_PROCESSOR=gcov ./qa.sh
1135 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1136 # Otherwise a system limit (for SysV at least) may be exceeded.