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@
342 INSTALL_DATA = @INSTALL_DATA@
343 INSTALL_PROGRAM = @INSTALL_PROGRAM@
344 INSTALL_SCRIPT = @INSTALL_SCRIPT@
345 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
349 LIBCURRENT = @LIBCURRENT@
350 LIBDIR_BASENAME = @LIBDIR_BASENAME@
353 LIBREVISION = @LIBREVISION@
358 LTLIBOBJS = @LTLIBOBJS@
359 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
360 MAKEINFO = @MAKEINFO@
361 MANIFEST_TOOL = @MANIFEST_TOOL@
370 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
371 PACKAGE_NAME = @PACKAGE_NAME@
372 PACKAGE_STRING = @PACKAGE_STRING@
373 PACKAGE_TARNAME = @PACKAGE_TARNAME@
374 PACKAGE_URL = @PACKAGE_URL@
375 PACKAGE_VERSION = @PACKAGE_VERSION@
376 PATH_SEPARATOR = @PATH_SEPARATOR@
379 SET_MAKE = @SET_MAKE@
381 SO_MAJOR = @SO_MAJOR@
382 SO_MINOR = @SO_MINOR@
383 SO_PATCH = @SO_PATCH@
386 abs_builddir = @abs_builddir@
387 abs_srcdir = @abs_srcdir@
388 abs_top_builddir = @abs_top_builddir@
389 abs_top_srcdir = @abs_top_srcdir@
390 ac_ct_AR = @ac_ct_AR@
391 ac_ct_CC = @ac_ct_CC@
392 ac_ct_CXX = @ac_ct_CXX@
393 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
394 ac_cv_sizeof_void_p = @ac_cv_sizeof_void_p@
395 am__include = @am__include@
396 am__leading_dot = @am__leading_dot@
397 am__quote = @am__quote@
399 am__untar = @am__untar@
402 build_alias = @build_alias@
403 build_cpu = @build_cpu@
404 build_os = @build_os@
405 build_vendor = @build_vendor@
406 builddir = @builddir@
408 datarootdir = @datarootdir@
411 exec_prefix = @exec_prefix@
413 host_alias = @host_alias@
414 host_cpu = @host_cpu@
416 host_vendor = @host_vendor@
418 includedir = @includedir@
420 install_sh = @install_sh@
422 libexecdir = @libexecdir@
423 localedir = @localedir@
424 localstatedir = @localstatedir@
427 oldincludedir = @oldincludedir@
430 program_transform_name = @program_transform_name@
432 runstatedir = @runstatedir@
434 sharedstatedir = @sharedstatedir@
436 sysconfdir = @sysconfdir@
437 target_alias = @target_alias@
438 top_build_prefix = @top_build_prefix@
439 top_builddir = @top_builddir@
440 top_srcdir = @top_srcdir@
448 ACLOCAL_AMFLAGS = -I m4
449 LIBTOOLFLAGS = --verbose
450 SUBDIRS = lib $(am__append_1) $(am__append_2) $(am__append_3)
451 pkgconfig_DATA = expat.pc
452 pkgconfigdir = $(libdir)/pkgconfig
454 cmake/autotools/expat.cmake
456 nodist_cmake_DATA = \
457 cmake/autotools/expat-config-version.cmake \
458 cmake/autotools/expat-noconfig.cmake \
459 cmake/expat-config.cmake
461 cmakedir = $(libdir)/cmake/expat-@PACKAGE_VERSION@
462 _EXTRA_DIST_CMAKE = \
463 cmake/autotools/expat-noconfig__linux.cmake.in \
464 cmake/autotools/expat-noconfig__macos.cmake.in \
465 cmake/autotools/expat-noconfig__windows.cmake.in \
466 cmake/autotools/expat-package-init.cmake \
467 cmake/mingw-toolchain.cmake \
471 ConfigureChecks.cmake \
475 _EXTRA_DIST_WINDOWS = \
476 win32/build_expat_iss.bat \
483 $(_EXTRA_DIST_CMAKE) \
484 $(_EXTRA_DIST_WINDOWS) \
487 conftools/get-version.sh \
489 fuzz/xml_parsebuffer_fuzzer.c \
490 fuzz/xml_parse_fuzzer.c \
492 xmlwf/xmlwf_helpgen.py \
493 xmlwf/xmlwf_helpgen.sh \
500 test-driver-wrapper.sh
503 $(MAKE) $(AM_MAKEFLAGS) all-recursive
506 am--refresh: Makefile
508 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
510 case '$(am__configure_deps)' in \
512 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
513 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
518 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
519 $(am__cd) $(top_srcdir) && \
520 $(AUTOMAKE) --foreign Makefile
521 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
524 echo ' $(SHELL) ./config.status'; \
525 $(SHELL) ./config.status;; \
527 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
528 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
531 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
532 $(SHELL) ./config.status --recheck
534 $(top_srcdir)/configure: $(am__configure_deps)
535 $(am__cd) $(srcdir) && $(AUTOCONF)
536 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
537 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
538 $(am__aclocal_m4_deps):
540 expat_config.h: stamp-h1
541 @test -f $@ || rm -f stamp-h1
542 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
544 stamp-h1: $(srcdir)/expat_config.h.in $(top_builddir)/config.status
546 cd $(top_builddir) && $(SHELL) ./config.status expat_config.h
547 $(srcdir)/expat_config.h.in: $(am__configure_deps)
548 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
553 -rm -f expat_config.h stamp-h1
554 expat.pc: $(top_builddir)/config.status $(srcdir)/expat.pc.in
555 cd $(top_builddir) && $(SHELL) ./config.status $@
556 cmake/expat-config.cmake: $(top_builddir)/config.status $(top_srcdir)/cmake/expat-config.cmake.in
557 cd $(top_builddir) && $(SHELL) ./config.status $@
558 cmake/autotools/expat-config-version.cmake: $(top_builddir)/config.status $(top_srcdir)/cmake/autotools/expat-config-version.cmake.in
559 cd $(top_builddir) && $(SHELL) ./config.status $@
560 cmake/autotools/expat-noconfig.cmake: $(top_builddir)/config.status
561 cd $(top_builddir) && $(SHELL) ./config.status $@
562 run.sh: $(top_builddir)/config.status $(srcdir)/run.sh.in
563 cd $(top_builddir) && $(SHELL) ./config.status $@
572 -rm -f libtool config.lt
573 install-dist_cmakeDATA: $(dist_cmake_DATA)
575 @list='$(dist_cmake_DATA)'; test -n "$(cmakedir)" || list=; \
576 if test -n "$$list"; then \
577 echo " $(MKDIR_P) '$(DESTDIR)$(cmakedir)'"; \
578 $(MKDIR_P) "$(DESTDIR)$(cmakedir)" || exit 1; \
580 for p in $$list; do \
581 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
583 done | $(am__base_list) | \
584 while read files; do \
585 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(cmakedir)'"; \
586 $(INSTALL_DATA) $$files "$(DESTDIR)$(cmakedir)" || exit $$?; \
589 uninstall-dist_cmakeDATA:
591 @list='$(dist_cmake_DATA)'; test -n "$(cmakedir)" || list=; \
592 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
593 dir='$(DESTDIR)$(cmakedir)'; $(am__uninstall_files_from_dir)
594 install-nodist_cmakeDATA: $(nodist_cmake_DATA)
596 @list='$(nodist_cmake_DATA)'; test -n "$(cmakedir)" || list=; \
597 if test -n "$$list"; then \
598 echo " $(MKDIR_P) '$(DESTDIR)$(cmakedir)'"; \
599 $(MKDIR_P) "$(DESTDIR)$(cmakedir)" || exit 1; \
601 for p in $$list; do \
602 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
604 done | $(am__base_list) | \
605 while read files; do \
606 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(cmakedir)'"; \
607 $(INSTALL_DATA) $$files "$(DESTDIR)$(cmakedir)" || exit $$?; \
610 uninstall-nodist_cmakeDATA:
612 @list='$(nodist_cmake_DATA)'; test -n "$(cmakedir)" || list=; \
613 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
614 dir='$(DESTDIR)$(cmakedir)'; $(am__uninstall_files_from_dir)
615 install-pkgconfigDATA: $(pkgconfig_DATA)
617 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
618 if test -n "$$list"; then \
619 echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
620 $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
622 for p in $$list; do \
623 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
625 done | $(am__base_list) | \
626 while read files; do \
627 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
628 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
631 uninstall-pkgconfigDATA:
633 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
634 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
635 dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
637 # This directory's subdirectories are mostly independent; you can cd
638 # into them and run 'make' without going through this Makefile.
639 # To change the values of 'make' variables: instead of editing Makefiles,
640 # (1) if the variable is set in 'config.status', edit 'config.status'
641 # (which will cause the Makefiles to be regenerated when you run 'make');
642 # (2) otherwise, pass the desired values on the 'make' command line.
643 $(am__recursive_targets):
645 if $(am__make_keepgoing); then \
646 failcom='fail=yes'; \
651 target=`echo $@ | sed s/-recursive//`; \
653 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
654 *) list='$(SUBDIRS)' ;; \
656 for subdir in $$list; do \
657 echo "Making $$target in $$subdir"; \
658 if test "$$subdir" = "."; then \
660 local_target="$$target-am"; \
662 local_target="$$target"; \
664 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
667 if test "$$dot_seen" = "no"; then \
668 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
671 ID: $(am__tagged_files)
672 $(am__define_uniq_tagged_files); mkid -fID $$unique
676 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
679 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
680 include_option=--etags-include; \
683 include_option=--include; \
686 list='$(SUBDIRS)'; for subdir in $$list; do \
687 if test "$$subdir" = .; then :; else \
688 test ! -f $$subdir/TAGS || \
689 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
692 $(am__define_uniq_tagged_files); \
694 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
695 test -n "$$unique" || unique=$$empty_fix; \
696 if test $$# -gt 0; then \
697 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
700 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
704 ctags: ctags-recursive
707 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
708 $(am__define_uniq_tagged_files); \
709 test -z "$(CTAGS_ARGS)$$unique" \
710 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
714 here=`$(am__cd) $(top_builddir) && pwd` \
715 && $(am__cd) $(top_srcdir) \
716 && gtags -i $(GTAGS_ARGS) "$$here"
718 test ! -s cscope.files \
719 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
722 cscope.files: clean-cscope cscopelist
723 cscopelist: cscopelist-recursive
725 cscopelist-am: $(am__tagged_files)
726 list='$(am__tagged_files)'; \
727 case "$(srcdir)" in \
728 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
729 *) sdir=$(subdir)/$(srcdir) ;; \
731 for i in $$list; do \
732 if test -f "$$i"; then \
733 echo "$(subdir)/$$i"; \
737 done >> $(top_builddir)/cscope.files
740 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
741 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
742 distdir: $(BUILT_SOURCES)
743 $(MAKE) $(AM_MAKEFLAGS) distdir-am
745 distdir-am: $(DISTFILES)
746 $(am__remove_distdir)
747 test -d "$(distdir)" || mkdir "$(distdir)"
748 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
749 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
750 list='$(DISTFILES)'; \
751 dist_files=`for file in $$list; do echo $$file; done | \
752 sed -e "s|^$$srcdirstrip/||;t" \
753 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
754 case $$dist_files in \
755 */*) $(MKDIR_P) `echo "$$dist_files" | \
756 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
759 for file in $$dist_files; do \
760 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
761 if test -d $$d/$$file; then \
762 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
763 if test -d "$(distdir)/$$file"; then \
764 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
766 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
767 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
768 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
770 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
772 test -f "$(distdir)/$$file" \
773 || cp -p $$d/$$file "$(distdir)/$$file" \
777 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
778 if test "$$subdir" = .; then :; else \
780 || test -d "$(distdir)/$$subdir" \
781 || $(MKDIR_P) "$(distdir)/$$subdir" \
783 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
785 new_distdir=$$reldir; \
786 dir1=$$subdir; dir2="$(top_distdir)"; \
788 new_top_distdir=$$reldir; \
789 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
790 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
791 ($(am__cd) $$subdir && \
792 $(MAKE) $(AM_MAKEFLAGS) \
793 top_distdir="$$new_top_distdir" \
794 distdir="$$new_distdir" \
795 am__remove_distdir=: \
796 am__skip_length_check=: \
797 am__skip_mode_fix=: \
802 -test -n "$(am__skip_mode_fix)" \
803 || find "$(distdir)" -type d ! -perm -755 \
804 -exec chmod u+rwx,go+rx {} \; -o \
805 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
806 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
807 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
808 || chmod -R a+r "$(distdir)"
810 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
811 $(am__post_remove_distdir)
813 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
814 $(am__post_remove_distdir)
816 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
817 $(am__post_remove_distdir)
819 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
820 $(am__post_remove_distdir)
823 tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
824 $(am__post_remove_distdir)
827 @echo WARNING: "Support for distribution archives compressed with" \
828 "legacy program 'compress' is deprecated." >&2
829 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
830 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
831 $(am__post_remove_distdir)
834 @echo WARNING: "Support for shar distribution archives is" \
836 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
837 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
838 $(am__post_remove_distdir)
841 -rm -f $(distdir).zip
842 zip -rq $(distdir).zip $(distdir)
843 $(am__post_remove_distdir)
846 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
847 $(am__post_remove_distdir)
849 # This target untars the dist file and tries a VPATH configuration. Then
850 # it guarantees that the distribution is self-contained by making another
853 case '$(DIST_ARCHIVES)' in \
855 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
857 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
859 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
861 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
863 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
865 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
867 unzip $(distdir).zip ;;\
869 zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
871 chmod -R a-w $(distdir)
873 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
875 test -d $(distdir)/_build || exit 0; \
876 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
877 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
879 && $(am__cd) $(distdir)/_build/sub \
881 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
882 $(DISTCHECK_CONFIGURE_FLAGS) \
883 --srcdir=../.. --prefix="$$dc_install_base" \
884 && $(MAKE) $(AM_MAKEFLAGS) \
885 && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
886 && $(MAKE) $(AM_MAKEFLAGS) check \
887 && $(MAKE) $(AM_MAKEFLAGS) install \
888 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
889 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
890 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
892 && chmod -R a-w "$$dc_install_base" \
894 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
895 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
896 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
897 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
898 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
899 } || { rm -rf "$$dc_destdir"; exit 1; }) \
900 && rm -rf "$$dc_destdir" \
901 && $(MAKE) $(AM_MAKEFLAGS) dist \
902 && rm -rf $(DIST_ARCHIVES) \
903 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
906 $(am__post_remove_distdir)
907 @(echo "$(distdir) archives ready for distribution: "; \
908 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
909 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
911 @test -n '$(distuninstallcheck_dir)' || { \
912 echo 'ERROR: trying to run $@ with an empty' \
913 '$$(distuninstallcheck_dir)' >&2; \
916 $(am__cd) '$(distuninstallcheck_dir)' || { \
917 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
920 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
921 || { echo "ERROR: files left after uninstall:" ; \
922 if test -n "$(DESTDIR)"; then \
923 echo " (check DESTDIR support)"; \
925 $(distuninstallcheck_listfiles) ; \
927 distcleancheck: distclean
928 @if test '$(srcdir)' = . ; then \
929 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
932 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
933 || { echo "ERROR: files left in build directory after distclean:" ; \
934 $(distcleancheck_listfiles) ; \
937 check: check-recursive
938 all-am: Makefile $(DATA) expat_config.h
939 installdirs: installdirs-recursive
941 for dir in "$(DESTDIR)$(cmakedir)" "$(DESTDIR)$(cmakedir)" "$(DESTDIR)$(pkgconfigdir)"; do \
942 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
944 install: install-recursive
945 install-exec: install-exec-recursive
946 install-data: install-data-recursive
947 uninstall: uninstall-recursive
950 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
952 installcheck: installcheck-recursive
954 if test -z '$(STRIP)'; then \
955 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
956 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
959 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
960 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
961 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
968 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
969 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
971 maintainer-clean-generic:
972 @echo "This command is intended for maintainers to use"
973 @echo "it deletes files that may require special tools to rebuild."
974 clean: clean-recursive
976 clean-am: clean-generic clean-libtool mostlyclean-am
978 distclean: distclean-recursive
979 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
981 distclean-am: clean-am distclean-generic distclean-hdr \
982 distclean-libtool distclean-tags
996 install-data-am: install-dist_cmakeDATA install-nodist_cmakeDATA \
997 install-pkgconfigDATA
999 install-dvi: install-dvi-recursive
1005 install-html: install-html-recursive
1009 install-info: install-info-recursive
1015 install-pdf: install-pdf-recursive
1019 install-ps: install-ps-recursive
1025 maintainer-clean: maintainer-clean-recursive
1026 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1027 -rm -rf $(top_srcdir)/autom4te.cache
1029 maintainer-clean-am: distclean-am maintainer-clean-generic
1031 mostlyclean: mostlyclean-recursive
1033 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1043 uninstall-am: uninstall-dist_cmakeDATA uninstall-nodist_cmakeDATA \
1044 uninstall-pkgconfigDATA
1046 .MAKE: $(am__recursive_targets) all install-am install-strip
1048 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1049 am--refresh check check-am clean clean-cscope clean-generic \
1050 clean-libtool cscope cscopelist-am ctags ctags-am dist \
1051 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
1052 dist-xz dist-zip dist-zstd distcheck distclean \
1053 distclean-generic distclean-hdr distclean-libtool \
1054 distclean-tags distcleancheck distdir distuninstallcheck dvi \
1055 dvi-am html html-am info info-am install install-am \
1056 install-data install-data-am install-dist_cmakeDATA \
1057 install-dvi install-dvi-am install-exec install-exec-am \
1058 install-html install-html-am install-info install-info-am \
1059 install-man install-nodist_cmakeDATA install-pdf \
1060 install-pdf-am install-pkgconfigDATA install-ps install-ps-am \
1061 install-strip installcheck installcheck-am installdirs \
1062 installdirs-am maintainer-clean maintainer-clean-generic \
1063 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
1064 ps ps-am tags tags-am uninstall uninstall-am \
1065 uninstall-dist_cmakeDATA uninstall-nodist_cmakeDATA \
1066 uninstall-pkgconfigDATA
1073 @echo 'ERROR: Running "make buildlib LIBRARY=libexpatw.la"' >&2
1074 @echo 'ERROR: is no longer supported. INSTEAD please:' >&2
1076 @echo 'ERROR: * Mass-patch Makefile.am, e.g.' >&2
1077 @echo 'ERROR: # find -name Makefile.am -exec sed \' >&2
1078 @echo 'ERROR: -e "s,libexpat\.la,libexpatw.la," \' >&2
1079 @echo 'ERROR: -e "s,libexpat_la,libexpatw_la," \' >&2
1080 @echo 'ERROR: -i {} +' >&2
1082 @echo 'ERROR: * Run automake to re-generate Makefile.in files' >&2
1084 @echo 'ERROR: * Use "./configure --without-xmlwf" and/or' >&2
1085 @echo 'ERROR: "make -C lib all install" to bypass compilation' >&2
1086 @echo 'ERROR: of xmlwf (e.g. with -DXML_UNICODE)' >&2
1090 .PHONY: run-benchmark
1092 $(MAKE) -C tests/benchmark
1093 ./run.sh tests/benchmark/benchmark@EXEEXT@ -n $(top_srcdir)/../testdata/largefiles/recset.xml 65535 3
1095 .PHONY: download-xmlts-zip
1097 if test "$(XMLTS_ZIP)" = ""; then \
1098 wget --output-document=tests/xmlts.zip \
1099 https://www.w3.org/XML/Test/xmlts20080827.zip; \
1101 cp $(XMLTS_ZIP) tests/xmlts.zip; \
1105 $(MAKE) download-xmlts-zip
1107 .PHONY: extract-xmlts-zip
1108 extract-xmlts-zip: tests/xmlts.zip
1109 [ -f $(builddir)/tests/xmlts.zip ] || $(MAKE) download-xmlts-zip # vpath workaround
1110 cd tests && unzip -q xmlts.zip
1112 tests/xmlconf: tests/xmlts.zip
1113 $(MAKE) extract-xmlts-zip
1116 run-xmltest: tests/xmlconf
1117 @WITH_XMLWF_TRUE@ [ -d $(builddir)/tests/xmlconf ] || $(MAKE) extract-xmlts-zip # vpath workaround
1118 @WITH_XMLWF_TRUE@ $(MAKE) -C lib
1119 @WITH_XMLWF_TRUE@ $(MAKE) -C xmlwf
1120 @WITH_XMLWF_TRUE@ $(srcdir)/tests/xmltest.sh "$(abs_builddir)/run.sh $(abs_builddir)/xmlwf/xmlwf@EXEEXT@" 2>&1 | tee $(builddir)/tests/xmltest.log
1121 @WITH_XMLWF_TRUE@ $(srcdir)/fix-xmltest-log.sh $(builddir)/tests/xmltest.log
1122 @WITH_XMLWF_TRUE@ diff -u $(srcdir)/tests/xmltest.log.expected $(builddir)/tests/xmltest.log
1123 @WITH_XMLWF_FALSE@ @echo 'ERROR: xmlwf is needed for "make run-xmltest".' >&2
1124 @WITH_XMLWF_FALSE@ @echo 'ERROR: Please re-configure without --without-xmlwf.' >&2
1125 @WITH_XMLWF_FALSE@ @false
1129 QA_COMPILER=clang QA_SANITIZER=address ./qa.sh
1130 QA_COMPILER=clang QA_SANITIZER=memory ./qa.sh
1131 QA_COMPILER=clang QA_SANITIZER=undefined ./qa.sh
1132 QA_COMPILER=gcc QA_PROCESSOR=gcov ./qa.sh
1134 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1135 # Otherwise a system limit (for SysV at least) may be exceeded.