blob: 7c6551fca2cfaeba3e850b07ccf39de110fa9b32 [file] [log] [blame]
Elliott Hughesf898dc22022-02-23 17:34:51 -08001# Makefile.in generated by automake 1.16.5 from Makefile.am.
Haibo Huangb16e0172018-07-02 14:40:07 -07002# @configure_input@
3
Elliott Hughesf898dc22022-02-23 17:34:51 -08004# Copyright (C) 1994-2021 Free Software Foundation, Inc.
Haibo Huangb16e0172018-07-02 14:40:07 -07005
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.
9
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
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17#
18# __ __ _
19# ___\ \/ /_ __ __ _| |_
20# / _ \\ /| '_ \ / _` | __|
21# | __// \| |_) | (_| | |_
22# \___/_/\_\ .__/ \__,_|\__|
23# |_| XML parser
24#
Elliott Hughes33bf9752021-08-10 17:33:34 -070025# Copyright (c) 2017-2021 Sebastian Pipping <sebastian@pipping.org>
26# Copyright (c) 2018 KangLin <kl222@126.com>
Haibo Huangb16e0172018-07-02 14:40:07 -070027# Licensed under the MIT license:
28#
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:
36#
37# The above copyright notice and this permission notice shall be included
38# in all copies or substantial portions of the Software.
39#
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.
47
48VPATH = @srcdir@
49am__is_gnu_make = { \
50 if test -z '$(MAKELEVEL)'; then \
51 false; \
52 elif test -n '$(MAKE_HOST)'; then \
53 true; \
54 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
55 true; \
56 else \
57 false; \
58 fi; \
59}
60am__make_running_with_option = \
61 case $${target_option-} in \
62 ?) ;; \
63 *) echo "am__make_running_with_option: internal error: invalid" \
64 "target option '$${target_option-}' specified" >&2; \
65 exit 1;; \
66 esac; \
67 has_opt=no; \
68 sane_makeflags=$$MAKEFLAGS; \
69 if $(am__is_gnu_make); then \
70 sane_makeflags=$$MFLAGS; \
71 else \
72 case $$MAKEFLAGS in \
73 *\\[\ \ ]*) \
74 bs=\\; \
75 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
76 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
77 esac; \
78 fi; \
79 skip_next=no; \
80 strip_trailopt () \
81 { \
82 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
83 }; \
84 for flg in $$sane_makeflags; do \
85 test $$skip_next = yes && { skip_next=no; continue; }; \
86 case $$flg in \
87 *=*|--*) 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;; \
96 esac; \
97 case $$flg in \
98 *$$target_option*) has_opt=yes; break;; \
99 esac; \
100 done; \
101 test $$has_opt = yes
102am__make_dryrun = (target_option=n; $(am__make_running_with_option))
103am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
104pkgdatadir = $(datadir)/@PACKAGE@
105pkgincludedir = $(includedir)/@PACKAGE@
106pkglibdir = $(libdir)/@PACKAGE@
107pkglibexecdir = $(libexecdir)/@PACKAGE@
108am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
109install_sh_DATA = $(install_sh) -c -m 644
110install_sh_PROGRAM = $(install_sh) -c
111install_sh_SCRIPT = $(install_sh) -c
112INSTALL_HEADER = $(INSTALL_DATA)
113transform = $(program_transform_name)
114NORMAL_INSTALL = :
115PRE_INSTALL = :
116POST_INSTALL = :
117NORMAL_UNINSTALL = :
118PRE_UNINSTALL = :
119POST_UNINSTALL = :
120build_triplet = @build@
121host_triplet = @host@
Haibo Huangfd5e81a2019-06-20 12:09:36 -0700122@WITH_EXAMPLES_TRUE@am__append_1 = examples
123@WITH_TESTS_TRUE@am__append_2 = tests
124@WITH_XMLWF_TRUE@am__append_3 = xmlwf doc
Haibo Huangb16e0172018-07-02 14:40:07 -0700125subdir = .
126ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
127am__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 \
Haibo Huangfd5e81a2019-06-20 12:09:36 -0700130 $(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 \
Haibo Huangb16e0172018-07-02 14:40:07 -0700138 $(top_srcdir)/configure.ac
139am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
140 $(ACLOCAL_M4)
141DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
Elliott Hughesf648a292021-04-01 15:10:13 -0700142 $(am__configure_deps) $(dist_cmake_DATA) $(am__DIST_COMMON)
Haibo Huangb16e0172018-07-02 14:40:07 -0700143am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
144 configure.lineno config.status.lineno
145mkinstalldirs = $(install_sh) -d
146CONFIG_HEADER = expat_config.h
Elliott Hughesf648a292021-04-01 15:10:13 -0700147CONFIG_CLEAN_FILES = expat.pc cmake/expat-config.cmake \
148 cmake/autotools/expat-config-version.cmake \
149 cmake/autotools/expat-noconfig.cmake run.sh
Haibo Huangb16e0172018-07-02 14:40:07 -0700150CONFIG_CLEAN_VPATH_FILES =
151AM_V_P = $(am__v_P_@AM_V@)
152am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
153am__v_P_0 = false
154am__v_P_1 = :
155AM_V_GEN = $(am__v_GEN_@AM_V@)
156am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
157am__v_GEN_0 = @echo " GEN " $@;
158am__v_GEN_1 =
159AM_V_at = $(am__v_at_@AM_V@)
160am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
161am__v_at_0 = @
162am__v_at_1 =
163SOURCES =
164DIST_SOURCES =
165RECURSIVE_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
173am__can_run_installinfo = \
174 case $$AM_UPDATE_INFO_DIR in \
175 n|no|NO) false;; \
176 *) (install-info --version) >/dev/null 2>&1;; \
177 esac
178am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
179am__vpath_adj = case $$p in \
180 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
181 *) f=$$p;; \
182 esac;
183am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
184am__install_max = 40
185am__nobase_strip_setup = \
186 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
187am__nobase_strip = \
188 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
189am__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] }'
196am__base_list = \
197 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
198 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
199am__uninstall_files_from_dir = { \
200 test -z "$$files" \
201 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
202 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
203 $(am__cd) "$$dir" && rm -f $$files; }; \
204 }
Elliott Hughesf648a292021-04-01 15:10:13 -0700205am__installdirs = "$(DESTDIR)$(cmakedir)" "$(DESTDIR)$(cmakedir)" \
206 "$(DESTDIR)$(pkgconfigdir)"
207DATA = $(dist_cmake_DATA) $(nodist_cmake_DATA) $(pkgconfig_DATA)
Haibo Huangb16e0172018-07-02 14:40:07 -0700208RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
209 distclean-recursive maintainer-clean-recursive
210am__recursive_targets = \
211 $(RECURSIVE_TARGETS) \
212 $(RECURSIVE_CLEAN_TARGETS) \
213 $(am__extra_recursive_targets)
214AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
Haibo Huangfd5e81a2019-06-20 12:09:36 -0700215 cscope distdir distdir-am dist dist-all distcheck
Haibo Huangd1a324a2020-10-28 22:19:36 -0700216am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
217 expat_config.h.in
Haibo Huangb16e0172018-07-02 14:40:07 -0700218# Read a list of newline-separated strings from the standard input,
219# and print each of them once, without duplicates. Input order is
220# *not* preserved.
221am__uniquify_input = $(AWK) '\
222 BEGIN { nonempty = 0; } \
223 { items[$$0] = 1; nonempty = 1; } \
224 END { if (nonempty) { for (i in items) print i; }; } \
225'
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.
229am__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)`
Haibo Huangb16e0172018-07-02 14:40:07 -0700234DIST_SUBDIRS = lib examples tests xmlwf doc
235am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/expat.pc.in \
236 $(srcdir)/expat_config.h.in $(srcdir)/run.sh.in \
Elliott Hughesf648a292021-04-01 15:10:13 -0700237 $(top_srcdir)/cmake/autotools/expat-config-version.cmake.in \
Elliott Hughesf648a292021-04-01 15:10:13 -0700238 $(top_srcdir)/cmake/expat-config.cmake.in \
Haibo Huangfd5e81a2019-06-20 12:09:36 -0700239 $(top_srcdir)/conftools/ar-lib $(top_srcdir)/conftools/compile \
Haibo Huangb16e0172018-07-02 14:40:07 -0700240 $(top_srcdir)/conftools/config.guess \
241 $(top_srcdir)/conftools/config.sub \
242 $(top_srcdir)/conftools/install-sh \
243 $(top_srcdir)/conftools/ltmain.sh \
Elliott Hughesf898dc22022-02-23 17:34:51 -0800244 $(top_srcdir)/conftools/missing AUTHORS COPYING README.md \
Haibo Huangfd5e81a2019-06-20 12:09:36 -0700245 conftools/ar-lib conftools/compile conftools/config.guess \
246 conftools/config.sub conftools/depcomp conftools/install-sh \
247 conftools/ltmain.sh conftools/missing
Haibo Huangb16e0172018-07-02 14:40:07 -0700248DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
249distdir = $(PACKAGE)-$(VERSION)
250top_distdir = $(distdir)
251am__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)"; }; \
256 else :; fi
257am__post_remove_distdir = $(am__remove_distdir)
258am__relativize = \
259 dir0=`pwd`; \
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"`; \
270 else \
271 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
272 if test "$$first2" = "$$first"; then \
273 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
274 else \
275 dir2="../$$dir2"; \
276 fi; \
277 dir0="$$dir0"/"$$first"; \
278 fi; \
279 fi; \
280 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
281 done; \
282 reldir="$$dir2"
Haibo Huangfd5e81a2019-06-20 12:09:36 -0700283DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 $(distdir).tar.lz \
284 $(distdir).tar.xz
Haibo Huangb16e0172018-07-02 14:40:07 -0700285GZIP_ENV = --best
Haibo Huangfd5e81a2019-06-20 12:09:36 -0700286DIST_TARGETS = dist-lzip dist-xz dist-bzip2 dist-gzip
Elliott Hughesf648a292021-04-01 15:10:13 -0700287# Exists only to be overridden by the user if desired.
288AM_DISTCHECK_DVI_TARGET = dvi
Haibo Huangb16e0172018-07-02 14:40:07 -0700289distuninstallcheck_listfiles = find . -type f -print
290am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
291 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
292distcleancheck_listfiles = find . -type f -print
293ACLOCAL = @ACLOCAL@
294AMTAR = @AMTAR@
Haibo Huangd1a324a2020-10-28 22:19:36 -0700295AM_CFLAGS = @AM_CFLAGS@
296AM_CPPFLAGS = @AM_CPPFLAGS@
297AM_CXXFLAGS = @AM_CXXFLAGS@
Haibo Huangb16e0172018-07-02 14:40:07 -0700298AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
Haibo Huangd1a324a2020-10-28 22:19:36 -0700299AM_LDFLAGS = @AM_LDFLAGS@
Haibo Huangb16e0172018-07-02 14:40:07 -0700300AR = @AR@
301AS = @AS@
302AUTOCONF = @AUTOCONF@
303AUTOHEADER = @AUTOHEADER@
304AUTOMAKE = @AUTOMAKE@
305AWK = @AWK@
306CC = @CC@
307CCDEPMODE = @CCDEPMODE@
308CFLAGS = @CFLAGS@
Elliott Hughesf898dc22022-02-23 17:34:51 -0800309CMAKE_SHARED_LIBRARY_PREFIX = @CMAKE_SHARED_LIBRARY_PREFIX@
Haibo Huangb16e0172018-07-02 14:40:07 -0700310CPPFLAGS = @CPPFLAGS@
Elliott Hughesf898dc22022-02-23 17:34:51 -0800311CSCOPE = @CSCOPE@
312CTAGS = @CTAGS@
Haibo Huangb16e0172018-07-02 14:40:07 -0700313CXX = @CXX@
314CXXCPP = @CXXCPP@
315CXXDEPMODE = @CXXDEPMODE@
316CXXFLAGS = @CXXFLAGS@
317CYGPATH_W = @CYGPATH_W@
318DEFS = @DEFS@
319DEPDIR = @DEPDIR@
320DLLTOOL = @DLLTOOL@
321DOCBOOK_TO_MAN = @DOCBOOK_TO_MAN@
322DSYMUTIL = @DSYMUTIL@
323DUMPBIN = @DUMPBIN@
324ECHO_C = @ECHO_C@
325ECHO_N = @ECHO_N@
326ECHO_T = @ECHO_T@
327EGREP = @EGREP@
Elliott Hughesf898dc22022-02-23 17:34:51 -0800328ETAGS = @ETAGS@
Haibo Huangb16e0172018-07-02 14:40:07 -0700329EXEEXT = @EXEEXT@
Elliott Hughesf648a292021-04-01 15:10:13 -0700330EXPAT_ATTR_INFO = @EXPAT_ATTR_INFO@
331EXPAT_CHAR_TYPE = @EXPAT_CHAR_TYPE@
332EXPAT_CONTEXT_BYTES = @EXPAT_CONTEXT_BYTES@
333EXPAT_DTD = @EXPAT_DTD@
334EXPAT_LARGE_SIZE = @EXPAT_LARGE_SIZE@
335EXPAT_MIN_SIZE = @EXPAT_MIN_SIZE@
336EXPAT_NS = @EXPAT_NS@
Haibo Huangb16e0172018-07-02 14:40:07 -0700337FGREP = @FGREP@
338FILEMAP = @FILEMAP@
339GREP = @GREP@
340INSTALL = @INSTALL@
341INSTALL_DATA = @INSTALL_DATA@
342INSTALL_PROGRAM = @INSTALL_PROGRAM@
343INSTALL_SCRIPT = @INSTALL_SCRIPT@
344INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
345LD = @LD@
346LDFLAGS = @LDFLAGS@
347LIBAGE = @LIBAGE@
348LIBCURRENT = @LIBCURRENT@
Elliott Hughesf648a292021-04-01 15:10:13 -0700349LIBDIR_BASENAME = @LIBDIR_BASENAME@
Elliott Hughesf898dc22022-02-23 17:34:51 -0800350LIBM = @LIBM@
Haibo Huangb16e0172018-07-02 14:40:07 -0700351LIBOBJS = @LIBOBJS@
352LIBREVISION = @LIBREVISION@
353LIBS = @LIBS@
354LIBTOOL = @LIBTOOL@
355LIPO = @LIPO@
356LN_S = @LN_S@
357LTLIBOBJS = @LTLIBOBJS@
358LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
359MAKEINFO = @MAKEINFO@
360MANIFEST_TOOL = @MANIFEST_TOOL@
361MKDIR_P = @MKDIR_P@
362NM = @NM@
363NMEDIT = @NMEDIT@
364OBJDUMP = @OBJDUMP@
365OBJEXT = @OBJEXT@
366OTOOL = @OTOOL@
367OTOOL64 = @OTOOL64@
368PACKAGE = @PACKAGE@
369PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
370PACKAGE_NAME = @PACKAGE_NAME@
371PACKAGE_STRING = @PACKAGE_STRING@
372PACKAGE_TARNAME = @PACKAGE_TARNAME@
373PACKAGE_URL = @PACKAGE_URL@
374PACKAGE_VERSION = @PACKAGE_VERSION@
375PATH_SEPARATOR = @PATH_SEPARATOR@
376RANLIB = @RANLIB@
377SED = @SED@
378SET_MAKE = @SET_MAKE@
379SHELL = @SHELL@
Elliott Hughesf648a292021-04-01 15:10:13 -0700380SO_MAJOR = @SO_MAJOR@
381SO_MINOR = @SO_MINOR@
382SO_PATCH = @SO_PATCH@
Haibo Huangb16e0172018-07-02 14:40:07 -0700383STRIP = @STRIP@
384VERSION = @VERSION@
385abs_builddir = @abs_builddir@
386abs_srcdir = @abs_srcdir@
387abs_top_builddir = @abs_top_builddir@
388abs_top_srcdir = @abs_top_srcdir@
389ac_ct_AR = @ac_ct_AR@
390ac_ct_CC = @ac_ct_CC@
391ac_ct_CXX = @ac_ct_CXX@
392ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
Elliott Hughes33bf9752021-08-10 17:33:34 -0700393ac_cv_sizeof_void_p = @ac_cv_sizeof_void_p@
Haibo Huangb16e0172018-07-02 14:40:07 -0700394am__include = @am__include@
395am__leading_dot = @am__leading_dot@
396am__quote = @am__quote@
397am__tar = @am__tar@
398am__untar = @am__untar@
399bindir = @bindir@
400build = @build@
401build_alias = @build_alias@
402build_cpu = @build_cpu@
403build_os = @build_os@
404build_vendor = @build_vendor@
405builddir = @builddir@
406datadir = @datadir@
407datarootdir = @datarootdir@
408docdir = @docdir@
409dvidir = @dvidir@
410exec_prefix = @exec_prefix@
411host = @host@
412host_alias = @host_alias@
413host_cpu = @host_cpu@
414host_os = @host_os@
415host_vendor = @host_vendor@
416htmldir = @htmldir@
417includedir = @includedir@
418infodir = @infodir@
419install_sh = @install_sh@
420libdir = @libdir@
421libexecdir = @libexecdir@
422localedir = @localedir@
423localstatedir = @localstatedir@
424mandir = @mandir@
425mkdir_p = @mkdir_p@
426oldincludedir = @oldincludedir@
427pdfdir = @pdfdir@
428prefix = @prefix@
429program_transform_name = @program_transform_name@
430psdir = @psdir@
Haibo Huangd1a324a2020-10-28 22:19:36 -0700431runstatedir = @runstatedir@
Haibo Huangb16e0172018-07-02 14:40:07 -0700432sbindir = @sbindir@
433sharedstatedir = @sharedstatedir@
434srcdir = @srcdir@
435sysconfdir = @sysconfdir@
436target_alias = @target_alias@
437top_build_prefix = @top_build_prefix@
438top_builddir = @top_builddir@
439top_srcdir = @top_srcdir@
440AUTOMAKE_OPTIONS = \
441 dist-bzip2 \
Haibo Huangfd5e81a2019-06-20 12:09:36 -0700442 dist-lzip \
443 dist-xz \
Haibo Huangb16e0172018-07-02 14:40:07 -0700444 foreign \
Haibo Huangb16e0172018-07-02 14:40:07 -0700445 subdir-objects
446
447ACLOCAL_AMFLAGS = -I m4
448LIBTOOLFLAGS = --verbose
Haibo Huangfd5e81a2019-06-20 12:09:36 -0700449SUBDIRS = lib $(am__append_1) $(am__append_2) $(am__append_3)
Haibo Huangb16e0172018-07-02 14:40:07 -0700450pkgconfig_DATA = expat.pc
451pkgconfigdir = $(libdir)/pkgconfig
Elliott Hughesf648a292021-04-01 15:10:13 -0700452dist_cmake_DATA = \
453 cmake/autotools/expat.cmake
454
455nodist_cmake_DATA = \
456 cmake/autotools/expat-config-version.cmake \
457 cmake/autotools/expat-noconfig.cmake \
458 cmake/expat-config.cmake
459
460cmakedir = $(libdir)/cmake/expat-@PACKAGE_VERSION@
Haibo Huangb16e0172018-07-02 14:40:07 -0700461_EXTRA_DIST_CMAKE = \
Elliott Hughes33bf9752021-08-10 17:33:34 -0700462 cmake/autotools/expat-noconfig__linux.cmake.in \
463 cmake/autotools/expat-noconfig__macos.cmake.in \
464 cmake/autotools/expat-noconfig__windows.cmake.in \
Elliott Hughesf648a292021-04-01 15:10:13 -0700465 cmake/autotools/expat-package-init.cmake \
Haibo Huang40a71912019-10-11 11:13:39 -0700466 cmake/mingw-toolchain.cmake \
467 \
Haibo Huangb16e0172018-07-02 14:40:07 -0700468 CMakeLists.txt \
469 CMake.README \
470 ConfigureChecks.cmake \
Elliott Hughesf898dc22022-02-23 17:34:51 -0800471 expat.pc.cmake \
Haibo Huangb16e0172018-07-02 14:40:07 -0700472 expat_config.h.cmake
473
474_EXTRA_DIST_WINDOWS = \
Haibo Huang40a71912019-10-11 11:13:39 -0700475 win32/build_expat_iss.bat \
Haibo Huangb16e0172018-07-02 14:40:07 -0700476 win32/expat.iss \
477 win32/MANIFEST.txt \
Haibo Huang40a71912019-10-11 11:13:39 -0700478 win32/README.txt
Haibo Huangb16e0172018-07-02 14:40:07 -0700479
480EXTRA_DIST = \
481 $(_EXTRA_DIST_CMAKE) \
482 $(_EXTRA_DIST_WINDOWS) \
483 \
484 conftools/expat.m4 \
485 conftools/get-version.sh \
Haibo Huangb16e0172018-07-02 14:40:07 -0700486 \
Elliott Hughesf898dc22022-02-23 17:34:51 -0800487 fuzz/xml_parsebuffer_fuzzer.c \
488 fuzz/xml_parse_fuzzer.c \
489 \
Haibo Huang40a71912019-10-11 11:13:39 -0700490 xmlwf/xmlwf_helpgen.py \
491 xmlwf/xmlwf_helpgen.sh \
492 \
Elliott Hughesf898dc22022-02-23 17:34:51 -0800493 buildconf.sh \
Haibo Huangb16e0172018-07-02 14:40:07 -0700494 Changes \
495 README.md \
Haibo Huang40a71912019-10-11 11:13:39 -0700496 \
497 fix-xmltest-log.sh \
Haibo Huangb16e0172018-07-02 14:40:07 -0700498 test-driver-wrapper.sh
499
500all: expat_config.h
501 $(MAKE) $(AM_MAKEFLAGS) all-recursive
502
503.SUFFIXES:
504am--refresh: Makefile
505 @:
506$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
507 @for dep in $?; do \
508 case '$(am__configure_deps)' in \
509 *$$dep*) \
510 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
511 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
512 && exit 0; \
513 exit 1;; \
514 esac; \
515 done; \
516 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
517 $(am__cd) $(top_srcdir) && \
518 $(AUTOMAKE) --foreign Makefile
519Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
520 @case '$?' in \
521 *config.status*) \
522 echo ' $(SHELL) ./config.status'; \
523 $(SHELL) ./config.status;; \
524 *) \
Haibo Huangfd5e81a2019-06-20 12:09:36 -0700525 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
526 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
Haibo Huangb16e0172018-07-02 14:40:07 -0700527 esac;
528
529$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
530 $(SHELL) ./config.status --recheck
531
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):
537
538expat_config.h: stamp-h1
539 @test -f $@ || rm -f stamp-h1
540 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
541
542stamp-h1: $(srcdir)/expat_config.h.in $(top_builddir)/config.status
543 @rm -f stamp-h1
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))
547 rm -f stamp-h1
548 touch $@
549
550distclean-hdr:
551 -rm -f expat_config.h stamp-h1
552expat.pc: $(top_builddir)/config.status $(srcdir)/expat.pc.in
553 cd $(top_builddir) && $(SHELL) ./config.status $@
Elliott Hughesf648a292021-04-01 15:10:13 -0700554cmake/expat-config.cmake: $(top_builddir)/config.status $(top_srcdir)/cmake/expat-config.cmake.in
555 cd $(top_builddir) && $(SHELL) ./config.status $@
556cmake/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 $@
Elliott Hughes33bf9752021-08-10 17:33:34 -0700558cmake/autotools/expat-noconfig.cmake: $(top_builddir)/config.status
Elliott Hughesf648a292021-04-01 15:10:13 -0700559 cd $(top_builddir) && $(SHELL) ./config.status $@
Haibo Huangb16e0172018-07-02 14:40:07 -0700560run.sh: $(top_builddir)/config.status $(srcdir)/run.sh.in
561 cd $(top_builddir) && $(SHELL) ./config.status $@
562
563mostlyclean-libtool:
564 -rm -f *.lo
565
566clean-libtool:
567 -rm -rf .libs _libs
568
569distclean-libtool:
570 -rm -f libtool config.lt
Elliott Hughesf648a292021-04-01 15:10:13 -0700571install-dist_cmakeDATA: $(dist_cmake_DATA)
572 @$(NORMAL_INSTALL)
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; \
577 fi; \
578 for p in $$list; do \
579 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
580 echo "$$d$$p"; \
581 done | $(am__base_list) | \
582 while read files; do \
583 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(cmakedir)'"; \
584 $(INSTALL_DATA) $$files "$(DESTDIR)$(cmakedir)" || exit $$?; \
585 done
586
587uninstall-dist_cmakeDATA:
588 @$(NORMAL_UNINSTALL)
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)
592install-nodist_cmakeDATA: $(nodist_cmake_DATA)
593 @$(NORMAL_INSTALL)
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; \
598 fi; \
599 for p in $$list; do \
600 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
601 echo "$$d$$p"; \
602 done | $(am__base_list) | \
603 while read files; do \
604 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(cmakedir)'"; \
605 $(INSTALL_DATA) $$files "$(DESTDIR)$(cmakedir)" || exit $$?; \
606 done
607
608uninstall-nodist_cmakeDATA:
609 @$(NORMAL_UNINSTALL)
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)
Haibo Huangb16e0172018-07-02 14:40:07 -0700613install-pkgconfigDATA: $(pkgconfig_DATA)
614 @$(NORMAL_INSTALL)
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; \
619 fi; \
620 for p in $$list; do \
621 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
622 echo "$$d$$p"; \
623 done | $(am__base_list) | \
624 while read files; do \
625 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
626 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
627 done
628
629uninstall-pkgconfigDATA:
630 @$(NORMAL_UNINSTALL)
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)
634
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):
642 @fail=; \
643 if $(am__make_keepgoing); then \
644 failcom='fail=yes'; \
645 else \
646 failcom='exit 1'; \
647 fi; \
648 dot_seen=no; \
649 target=`echo $@ | sed s/-recursive//`; \
650 case "$@" in \
651 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
652 *) list='$(SUBDIRS)' ;; \
653 esac; \
654 for subdir in $$list; do \
655 echo "Making $$target in $$subdir"; \
656 if test "$$subdir" = "."; then \
657 dot_seen=yes; \
658 local_target="$$target-am"; \
659 else \
660 local_target="$$target"; \
661 fi; \
662 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
663 || eval $$failcom; \
664 done; \
665 if test "$$dot_seen" = "no"; then \
666 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
667 fi; test -z "$$fail"
668
669ID: $(am__tagged_files)
670 $(am__define_uniq_tagged_files); mkid -fID $$unique
671tags: tags-recursive
672TAGS: tags
673
674tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
675 set x; \
676 here=`pwd`; \
677 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
678 include_option=--etags-include; \
679 empty_fix=.; \
680 else \
681 include_option=--include; \
682 empty_fix=; \
683 fi; \
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"; \
688 fi; \
689 done; \
690 $(am__define_uniq_tagged_files); \
691 shift; \
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) \
696 "$$@" $$unique; \
697 else \
698 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
699 $$unique; \
700 fi; \
701 fi
702ctags: ctags-recursive
703
704CTAGS: ctags
705ctags-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) \
709 $$unique
710
711GTAGS:
712 here=`$(am__cd) $(top_builddir) && pwd` \
713 && $(am__cd) $(top_srcdir) \
714 && gtags -i $(GTAGS_ARGS) "$$here"
715cscope: cscope.files
716 test ! -s cscope.files \
717 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
718clean-cscope:
719 -rm -f cscope.files
720cscope.files: clean-cscope cscopelist
721cscopelist: cscopelist-recursive
722
723cscopelist-am: $(am__tagged_files)
724 list='$(am__tagged_files)'; \
725 case "$(srcdir)" in \
726 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
727 *) sdir=$(subdir)/$(srcdir) ;; \
728 esac; \
729 for i in $$list; do \
730 if test -f "$$i"; then \
731 echo "$(subdir)/$$i"; \
732 else \
733 echo "$$sdir/$$i"; \
734 fi; \
735 done >> $(top_builddir)/cscope.files
736
737distclean-tags:
738 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
739 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
Haibo Huangfd5e81a2019-06-20 12:09:36 -0700740distdir: $(BUILT_SOURCES)
741 $(MAKE) $(AM_MAKEFLAGS) distdir-am
742
743distdir-am: $(DISTFILES)
Haibo Huangb16e0172018-07-02 14:40:07 -0700744 $(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,/[^/]*$$,,' | \
755 sort -u` ;; \
756 esac; \
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 {} \;; \
763 fi; \
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 {} \;; \
767 fi; \
768 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
769 else \
770 test -f "$(distdir)/$$file" \
771 || cp -p $$d/$$file "$(distdir)/$$file" \
772 || exit 1; \
773 fi; \
774 done
775 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
776 if test "$$subdir" = .; then :; else \
777 $(am__make_dryrun) \
778 || test -d "$(distdir)/$$subdir" \
779 || $(MKDIR_P) "$(distdir)/$$subdir" \
780 || exit 1; \
781 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
782 $(am__relativize); \
783 new_distdir=$$reldir; \
784 dir1=$$subdir; dir2="$(top_distdir)"; \
785 $(am__relativize); \
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=: \
796 distdir) \
797 || exit 1; \
798 fi; \
799 done
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)"
807dist-gzip: distdir
808 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
809 $(am__post_remove_distdir)
810dist-bzip2: distdir
811 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
812 $(am__post_remove_distdir)
Haibo Huangb16e0172018-07-02 14:40:07 -0700813dist-lzip: distdir
814 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
815 $(am__post_remove_distdir)
Haibo Huangb16e0172018-07-02 14:40:07 -0700816dist-xz: distdir
817 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
818 $(am__post_remove_distdir)
819
Haibo Huangd1a324a2020-10-28 22:19:36 -0700820dist-zstd: distdir
821 tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
822 $(am__post_remove_distdir)
823
Haibo Huangb16e0172018-07-02 14:40:07 -0700824dist-tarZ: 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)
830
831dist-shar: distdir
832 @echo WARNING: "Support for shar distribution archives is" \
833 "deprecated." >&2
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)
837
838dist-zip: distdir
839 -rm -f $(distdir).zip
840 zip -rq $(distdir).zip $(distdir)
841 $(am__post_remove_distdir)
842
843dist dist-all:
844 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
845 $(am__post_remove_distdir)
846
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
849# tarfile.
850distcheck: dist
851 case '$(DIST_ARCHIVES)' in \
852 *.tar.gz*) \
853 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
854 *.tar.bz2*) \
855 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
856 *.tar.lz*) \
857 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
858 *.tar.xz*) \
859 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
860 *.tar.Z*) \
861 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
862 *.shar.gz*) \
863 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
864 *.zip*) \
865 unzip $(distdir).zip ;;\
Haibo Huangd1a324a2020-10-28 22:19:36 -0700866 *.tar.zst*) \
867 zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
Haibo Huangb16e0172018-07-02 14:40:07 -0700868 esac
869 chmod -R a-w $(distdir)
870 chmod u+w $(distdir)
871 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
872 chmod a-w $(distdir)
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-$$$$/" \
876 && am__cwd=`pwd` \
877 && $(am__cd) $(distdir)/_build/sub \
878 && ../../configure \
879 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
880 $(DISTCHECK_CONFIGURE_FLAGS) \
881 --srcdir=../.. --prefix="$$dc_install_base" \
882 && $(MAKE) $(AM_MAKEFLAGS) \
Elliott Hughesf648a292021-04-01 15:10:13 -0700883 && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
Haibo Huangb16e0172018-07-02 14:40:07 -0700884 && $(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" \
889 distuninstallcheck \
890 && chmod -R a-w "$$dc_install_base" \
891 && ({ \
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 \
902 && cd "$$am__cwd" \
903 || exit 1
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'
908distuninstallcheck:
909 @test -n '$(distuninstallcheck_dir)' || { \
910 echo 'ERROR: trying to run $@ with an empty' \
911 '$$(distuninstallcheck_dir)' >&2; \
912 exit 1; \
913 }; \
914 $(am__cd) '$(distuninstallcheck_dir)' || { \
915 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
916 exit 1; \
917 }; \
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)"; \
922 fi ; \
923 $(distuninstallcheck_listfiles) ; \
924 exit 1; } >&2
925distcleancheck: distclean
926 @if test '$(srcdir)' = . ; then \
927 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
928 exit 1 ; \
929 fi
930 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
931 || { echo "ERROR: files left in build directory after distclean:" ; \
932 $(distcleancheck_listfiles) ; \
933 exit 1; } >&2
934check-am: all-am
935check: check-recursive
936all-am: Makefile $(DATA) expat_config.h
937installdirs: installdirs-recursive
938installdirs-am:
Elliott Hughesf648a292021-04-01 15:10:13 -0700939 for dir in "$(DESTDIR)$(cmakedir)" "$(DESTDIR)$(cmakedir)" "$(DESTDIR)$(pkgconfigdir)"; do \
Haibo Huangb16e0172018-07-02 14:40:07 -0700940 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
941 done
942install: install-recursive
943install-exec: install-exec-recursive
944install-data: install-data-recursive
945uninstall: uninstall-recursive
946
947install-am: all-am
948 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
949
950installcheck: installcheck-recursive
951install-strip:
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 \
955 install; \
956 else \
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; \
960 fi
961mostlyclean-generic:
962
963clean-generic:
964
965distclean-generic:
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)
968
969maintainer-clean-generic:
970 @echo "This command is intended for maintainers to use"
971 @echo "it deletes files that may require special tools to rebuild."
972clean: clean-recursive
973
974clean-am: clean-generic clean-libtool mostlyclean-am
975
976distclean: distclean-recursive
977 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
978 -rm -f Makefile
979distclean-am: clean-am distclean-generic distclean-hdr \
980 distclean-libtool distclean-tags
981
982dvi: dvi-recursive
983
984dvi-am:
985
986html: html-recursive
987
988html-am:
989
990info: info-recursive
991
992info-am:
993
Elliott Hughesf648a292021-04-01 15:10:13 -0700994install-data-am: install-dist_cmakeDATA install-nodist_cmakeDATA \
995 install-pkgconfigDATA
Haibo Huangb16e0172018-07-02 14:40:07 -0700996
997install-dvi: install-dvi-recursive
998
999install-dvi-am:
1000
1001install-exec-am:
1002
1003install-html: install-html-recursive
1004
1005install-html-am:
1006
1007install-info: install-info-recursive
1008
1009install-info-am:
1010
1011install-man:
1012
1013install-pdf: install-pdf-recursive
1014
1015install-pdf-am:
1016
1017install-ps: install-ps-recursive
1018
1019install-ps-am:
1020
1021installcheck-am:
1022
1023maintainer-clean: maintainer-clean-recursive
1024 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1025 -rm -rf $(top_srcdir)/autom4te.cache
1026 -rm -f Makefile
1027maintainer-clean-am: distclean-am maintainer-clean-generic
1028
1029mostlyclean: mostlyclean-recursive
1030
1031mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1032
1033pdf: pdf-recursive
1034
1035pdf-am:
1036
1037ps: ps-recursive
1038
1039ps-am:
1040
Elliott Hughesf648a292021-04-01 15:10:13 -07001041uninstall-am: uninstall-dist_cmakeDATA uninstall-nodist_cmakeDATA \
1042 uninstall-pkgconfigDATA
Haibo Huangb16e0172018-07-02 14:40:07 -07001043
1044.MAKE: $(am__recursive_targets) all install-am install-strip
1045
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 \
Haibo Huangd1a324a2020-10-28 22:19:36 -07001050 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 \
Elliott Hughesf648a292021-04-01 15:10:13 -07001054 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 \
Haibo Huangd1a324a2020-10-28 22:19:36 -07001058 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 \
Elliott Hughesf648a292021-04-01 15:10:13 -07001063 uninstall-dist_cmakeDATA uninstall-nodist_cmakeDATA \
Haibo Huangd1a324a2020-10-28 22:19:36 -07001064 uninstall-pkgconfigDATA
Haibo Huangb16e0172018-07-02 14:40:07 -07001065
1066.PRECIOUS: Makefile
1067
1068
1069.PHONY: buildlib
1070buildlib:
1071 @echo 'ERROR: Running "make buildlib LIBRARY=libexpatw.la"' >&2
1072 @echo 'ERROR: is no longer supported. INSTEAD please:' >&2
1073 @echo 'ERROR:' >&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
1079 @echo 'ERROR:' >&2
1080 @echo 'ERROR: * Run automake to re-generate Makefile.in files' >&2
1081 @echo 'ERROR:' >&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
1085 @echo 'ERROR:' >&2
1086 @false
1087
1088.PHONY: run-benchmark
1089run-benchmark:
1090 $(MAKE) -C tests/benchmark
1091 ./run.sh tests/benchmark/benchmark@EXEEXT@ -n $(top_srcdir)/../testdata/largefiles/recset.xml 65535 3
1092
Haibo Huang40a71912019-10-11 11:13:39 -07001093.PHONY: download-xmlts-zip
1094download-xmlts-zip:
Haibo Huangb16e0172018-07-02 14:40:07 -07001095 if test "$(XMLTS_ZIP)" = ""; then \
1096 wget --output-document=tests/xmlts.zip \
1097 https://www.w3.org/XML/Test/xmlts20080827.zip; \
1098 else \
1099 cp $(XMLTS_ZIP) tests/xmlts.zip; \
1100 fi
1101
Haibo Huang40a71912019-10-11 11:13:39 -07001102tests/xmlts.zip:
1103 $(MAKE) download-xmlts-zip
1104
1105.PHONY: extract-xmlts-zip
1106extract-xmlts-zip: tests/xmlts.zip
1107 [ -f $(builddir)/tests/xmlts.zip ] || $(MAKE) download-xmlts-zip # vpath workaround
Haibo Huangb16e0172018-07-02 14:40:07 -07001108 cd tests && unzip -q xmlts.zip
1109
Haibo Huang40a71912019-10-11 11:13:39 -07001110tests/xmlconf: tests/xmlts.zip
1111 $(MAKE) extract-xmlts-zip
1112
Haibo Huangb16e0172018-07-02 14:40:07 -07001113.PHONY: run-xmltest
1114run-xmltest: tests/xmlconf
Haibo Huang40a71912019-10-11 11:13:39 -07001115@WITH_XMLWF_TRUE@ [ -d $(builddir)/tests/xmlconf ] || $(MAKE) extract-xmlts-zip # vpath workaround
1116@WITH_XMLWF_TRUE@ $(MAKE) -C lib
Haibo Huangb16e0172018-07-02 14:40:07 -07001117@WITH_XMLWF_TRUE@ $(MAKE) -C xmlwf
Haibo Huang40a71912019-10-11 11:13:39 -07001118@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
Haibo Huangb16e0172018-07-02 14:40:07 -07001121@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
1124
1125.PHONY: qa
1126qa:
Haibo Huang40a71912019-10-11 11:13:39 -07001127 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
Haibo Huangb16e0172018-07-02 14:40:07 -07001131
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.
1134.NOEXPORT: