blob: 89bf68febc484556532c1f6cd8d4773ea6538ddd [file] [log] [blame]
Haibo Huangfd5e81a2019-06-20 12:09:36 -07001# Makefile.in generated by automake 1.16.1 from Makefile.am.
Haibo Huangb16e0172018-07-02 14:40:07 -07002# @configure_input@
3
Haibo Huangfd5e81a2019-06-20 12:09:36 -07004# Copyright (C) 1994-2018 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#
25# Copyright (c) 2017 Expat development team
26# Licensed under the MIT license:
27#
28# Permission is hereby granted, free of charge, to any person obtaining
29# a copy of this software and associated documentation files (the
30# "Software"), to deal in the Software without restriction, including
31# without limitation the rights to use, copy, modify, merge, publish,
32# distribute, sublicense, and/or sell copies of the Software, and to permit
33# persons to whom the Software is furnished to do so, subject to the
34# following conditions:
35#
36# The above copyright notice and this permission notice shall be included
37# in all copies or substantial portions of the Software.
38#
39# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
40# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
41# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
42# NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
43# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
44# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
45# USE OR OTHER DEALINGS IN THE SOFTWARE.
46
47VPATH = @srcdir@
48am__is_gnu_make = { \
49 if test -z '$(MAKELEVEL)'; then \
50 false; \
51 elif test -n '$(MAKE_HOST)'; then \
52 true; \
53 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
54 true; \
55 else \
56 false; \
57 fi; \
58}
59am__make_running_with_option = \
60 case $${target_option-} in \
61 ?) ;; \
62 *) echo "am__make_running_with_option: internal error: invalid" \
63 "target option '$${target_option-}' specified" >&2; \
64 exit 1;; \
65 esac; \
66 has_opt=no; \
67 sane_makeflags=$$MAKEFLAGS; \
68 if $(am__is_gnu_make); then \
69 sane_makeflags=$$MFLAGS; \
70 else \
71 case $$MAKEFLAGS in \
72 *\\[\ \ ]*) \
73 bs=\\; \
74 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
75 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
76 esac; \
77 fi; \
78 skip_next=no; \
79 strip_trailopt () \
80 { \
81 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
82 }; \
83 for flg in $$sane_makeflags; do \
84 test $$skip_next = yes && { skip_next=no; continue; }; \
85 case $$flg in \
86 *=*|--*) continue;; \
87 -*I) strip_trailopt 'I'; skip_next=yes;; \
88 -*I?*) strip_trailopt 'I';; \
89 -*O) strip_trailopt 'O'; skip_next=yes;; \
90 -*O?*) strip_trailopt 'O';; \
91 -*l) strip_trailopt 'l'; skip_next=yes;; \
92 -*l?*) strip_trailopt 'l';; \
93 -[dEDm]) skip_next=yes;; \
94 -[JT]) skip_next=yes;; \
95 esac; \
96 case $$flg in \
97 *$$target_option*) has_opt=yes; break;; \
98 esac; \
99 done; \
100 test $$has_opt = yes
101am__make_dryrun = (target_option=n; $(am__make_running_with_option))
102am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
103pkgdatadir = $(datadir)/@PACKAGE@
104pkgincludedir = $(includedir)/@PACKAGE@
105pkglibdir = $(libdir)/@PACKAGE@
106pkglibexecdir = $(libexecdir)/@PACKAGE@
107am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
108install_sh_DATA = $(install_sh) -c -m 644
109install_sh_PROGRAM = $(install_sh) -c
110install_sh_SCRIPT = $(install_sh) -c
111INSTALL_HEADER = $(INSTALL_DATA)
112transform = $(program_transform_name)
113NORMAL_INSTALL = :
114PRE_INSTALL = :
115POST_INSTALL = :
116NORMAL_UNINSTALL = :
117PRE_UNINSTALL = :
118POST_UNINSTALL = :
119build_triplet = @build@
120host_triplet = @host@
Haibo Huangfd5e81a2019-06-20 12:09:36 -0700121@WITH_EXAMPLES_TRUE@am__append_1 = examples
122@WITH_TESTS_TRUE@am__append_2 = tests
123@WITH_XMLWF_TRUE@am__append_3 = xmlwf doc
Haibo Huangb16e0172018-07-02 14:40:07 -0700124subdir = .
125ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
126am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
127 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
128 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
Haibo Huangfd5e81a2019-06-20 12:09:36 -0700129 $(top_srcdir)/acinclude.m4 \
130 $(top_srcdir)/conftools/ax-require-defined.m4 \
131 $(top_srcdir)/conftools/ax-check-compile-flag.m4 \
132 $(top_srcdir)/conftools/ax-check-link-flag.m4 \
133 $(top_srcdir)/conftools/ax-append-flag.m4 \
134 $(top_srcdir)/conftools/ax-append-compile-flags.m4 \
135 $(top_srcdir)/conftools/ax-append-link-flags.m4 \
136 $(top_srcdir)/conftools/expatcfg-compiler-supports-visibility.m4 \
Haibo Huangb16e0172018-07-02 14:40:07 -0700137 $(top_srcdir)/configure.ac
138am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
139 $(ACLOCAL_M4)
140DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
141 $(am__configure_deps) $(am__DIST_COMMON)
142am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
143 configure.lineno config.status.lineno
144mkinstalldirs = $(install_sh) -d
145CONFIG_HEADER = expat_config.h
146CONFIG_CLEAN_FILES = expat.pc run.sh
147CONFIG_CLEAN_VPATH_FILES =
148AM_V_P = $(am__v_P_@AM_V@)
149am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
150am__v_P_0 = false
151am__v_P_1 = :
152AM_V_GEN = $(am__v_GEN_@AM_V@)
153am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
154am__v_GEN_0 = @echo " GEN " $@;
155am__v_GEN_1 =
156AM_V_at = $(am__v_at_@AM_V@)
157am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
158am__v_at_0 = @
159am__v_at_1 =
160SOURCES =
161DIST_SOURCES =
162RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
163 ctags-recursive dvi-recursive html-recursive info-recursive \
164 install-data-recursive install-dvi-recursive \
165 install-exec-recursive install-html-recursive \
166 install-info-recursive install-pdf-recursive \
167 install-ps-recursive install-recursive installcheck-recursive \
168 installdirs-recursive pdf-recursive ps-recursive \
169 tags-recursive uninstall-recursive
170am__can_run_installinfo = \
171 case $$AM_UPDATE_INFO_DIR in \
172 n|no|NO) false;; \
173 *) (install-info --version) >/dev/null 2>&1;; \
174 esac
175am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
176am__vpath_adj = case $$p in \
177 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
178 *) f=$$p;; \
179 esac;
180am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
181am__install_max = 40
182am__nobase_strip_setup = \
183 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
184am__nobase_strip = \
185 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
186am__nobase_list = $(am__nobase_strip_setup); \
187 for p in $$list; do echo "$$p $$p"; done | \
188 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
189 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
190 if (++n[$$2] == $(am__install_max)) \
191 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
192 END { for (dir in files) print dir, files[dir] }'
193am__base_list = \
194 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
195 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
196am__uninstall_files_from_dir = { \
197 test -z "$$files" \
198 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
199 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
200 $(am__cd) "$$dir" && rm -f $$files; }; \
201 }
202am__installdirs = "$(DESTDIR)$(pkgconfigdir)"
203DATA = $(pkgconfig_DATA)
204RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
205 distclean-recursive maintainer-clean-recursive
206am__recursive_targets = \
207 $(RECURSIVE_TARGETS) \
208 $(RECURSIVE_CLEAN_TARGETS) \
209 $(am__extra_recursive_targets)
210AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
Haibo Huangfd5e81a2019-06-20 12:09:36 -0700211 cscope distdir distdir-am dist dist-all distcheck
Haibo Huangb16e0172018-07-02 14:40:07 -0700212am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
213 $(LISP)expat_config.h.in
214# Read a list of newline-separated strings from the standard input,
215# and print each of them once, without duplicates. Input order is
216# *not* preserved.
217am__uniquify_input = $(AWK) '\
218 BEGIN { nonempty = 0; } \
219 { items[$$0] = 1; nonempty = 1; } \
220 END { if (nonempty) { for (i in items) print i; }; } \
221'
222# Make sure the list of sources is unique. This is necessary because,
223# e.g., the same source file might be shared among _SOURCES variables
224# for different programs/libraries.
225am__define_uniq_tagged_files = \
226 list='$(am__tagged_files)'; \
227 unique=`for i in $$list; do \
228 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
229 done | $(am__uniquify_input)`
230ETAGS = etags
231CTAGS = ctags
232CSCOPE = cscope
233DIST_SUBDIRS = lib examples tests xmlwf doc
234am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/expat.pc.in \
235 $(srcdir)/expat_config.h.in $(srcdir)/run.sh.in \
Haibo Huangfd5e81a2019-06-20 12:09:36 -0700236 $(top_srcdir)/conftools/ar-lib $(top_srcdir)/conftools/compile \
Haibo Huangb16e0172018-07-02 14:40:07 -0700237 $(top_srcdir)/conftools/config.guess \
238 $(top_srcdir)/conftools/config.sub \
239 $(top_srcdir)/conftools/install-sh \
240 $(top_srcdir)/conftools/ltmain.sh \
241 $(top_srcdir)/conftools/missing AUTHORS COPYING \
Haibo Huangfd5e81a2019-06-20 12:09:36 -0700242 conftools/ar-lib conftools/compile conftools/config.guess \
243 conftools/config.sub conftools/depcomp conftools/install-sh \
244 conftools/ltmain.sh conftools/missing
Haibo Huangb16e0172018-07-02 14:40:07 -0700245DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
246distdir = $(PACKAGE)-$(VERSION)
247top_distdir = $(distdir)
248am__remove_distdir = \
249 if test -d "$(distdir)"; then \
250 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
251 && rm -rf "$(distdir)" \
252 || { sleep 5 && rm -rf "$(distdir)"; }; \
253 else :; fi
254am__post_remove_distdir = $(am__remove_distdir)
255am__relativize = \
256 dir0=`pwd`; \
257 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
258 sed_rest='s,^[^/]*/*,,'; \
259 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
260 sed_butlast='s,/*[^/]*$$,,'; \
261 while test -n "$$dir1"; do \
262 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
263 if test "$$first" != "."; then \
264 if test "$$first" = ".."; then \
265 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
266 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
267 else \
268 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
269 if test "$$first2" = "$$first"; then \
270 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
271 else \
272 dir2="../$$dir2"; \
273 fi; \
274 dir0="$$dir0"/"$$first"; \
275 fi; \
276 fi; \
277 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
278 done; \
279 reldir="$$dir2"
Haibo Huangfd5e81a2019-06-20 12:09:36 -0700280DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 $(distdir).tar.lz \
281 $(distdir).tar.xz
Haibo Huangb16e0172018-07-02 14:40:07 -0700282GZIP_ENV = --best
Haibo Huangfd5e81a2019-06-20 12:09:36 -0700283DIST_TARGETS = dist-lzip dist-xz dist-bzip2 dist-gzip
Haibo Huangb16e0172018-07-02 14:40:07 -0700284distuninstallcheck_listfiles = find . -type f -print
285am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
286 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
287distcleancheck_listfiles = find . -type f -print
288ACLOCAL = @ACLOCAL@
289AMTAR = @AMTAR@
290AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
291AR = @AR@
292AS = @AS@
293AUTOCONF = @AUTOCONF@
294AUTOHEADER = @AUTOHEADER@
295AUTOMAKE = @AUTOMAKE@
296AWK = @AWK@
297CC = @CC@
298CCDEPMODE = @CCDEPMODE@
299CFLAGS = @CFLAGS@
300CPP = @CPP@
301CPPFLAGS = @CPPFLAGS@
302CXX = @CXX@
303CXXCPP = @CXXCPP@
304CXXDEPMODE = @CXXDEPMODE@
305CXXFLAGS = @CXXFLAGS@
306CYGPATH_W = @CYGPATH_W@
307DEFS = @DEFS@
308DEPDIR = @DEPDIR@
309DLLTOOL = @DLLTOOL@
310DOCBOOK_TO_MAN = @DOCBOOK_TO_MAN@
311DSYMUTIL = @DSYMUTIL@
312DUMPBIN = @DUMPBIN@
313ECHO_C = @ECHO_C@
314ECHO_N = @ECHO_N@
315ECHO_T = @ECHO_T@
316EGREP = @EGREP@
317EXEEXT = @EXEEXT@
318FGREP = @FGREP@
319FILEMAP = @FILEMAP@
320GREP = @GREP@
321INSTALL = @INSTALL@
322INSTALL_DATA = @INSTALL_DATA@
323INSTALL_PROGRAM = @INSTALL_PROGRAM@
324INSTALL_SCRIPT = @INSTALL_SCRIPT@
325INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
326LD = @LD@
327LDFLAGS = @LDFLAGS@
328LIBAGE = @LIBAGE@
329LIBCURRENT = @LIBCURRENT@
330LIBOBJS = @LIBOBJS@
331LIBREVISION = @LIBREVISION@
332LIBS = @LIBS@
333LIBTOOL = @LIBTOOL@
334LIPO = @LIPO@
335LN_S = @LN_S@
336LTLIBOBJS = @LTLIBOBJS@
337LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
338MAKEINFO = @MAKEINFO@
339MANIFEST_TOOL = @MANIFEST_TOOL@
340MKDIR_P = @MKDIR_P@
341NM = @NM@
342NMEDIT = @NMEDIT@
343OBJDUMP = @OBJDUMP@
344OBJEXT = @OBJEXT@
345OTOOL = @OTOOL@
346OTOOL64 = @OTOOL64@
347PACKAGE = @PACKAGE@
348PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
349PACKAGE_NAME = @PACKAGE_NAME@
350PACKAGE_STRING = @PACKAGE_STRING@
351PACKAGE_TARNAME = @PACKAGE_TARNAME@
352PACKAGE_URL = @PACKAGE_URL@
353PACKAGE_VERSION = @PACKAGE_VERSION@
354PATH_SEPARATOR = @PATH_SEPARATOR@
355RANLIB = @RANLIB@
356SED = @SED@
357SET_MAKE = @SET_MAKE@
358SHELL = @SHELL@
359STRIP = @STRIP@
360VERSION = @VERSION@
361abs_builddir = @abs_builddir@
362abs_srcdir = @abs_srcdir@
363abs_top_builddir = @abs_top_builddir@
364abs_top_srcdir = @abs_top_srcdir@
365ac_ct_AR = @ac_ct_AR@
366ac_ct_CC = @ac_ct_CC@
367ac_ct_CXX = @ac_ct_CXX@
368ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
369am__include = @am__include@
370am__leading_dot = @am__leading_dot@
371am__quote = @am__quote@
372am__tar = @am__tar@
373am__untar = @am__untar@
374bindir = @bindir@
375build = @build@
376build_alias = @build_alias@
377build_cpu = @build_cpu@
378build_os = @build_os@
379build_vendor = @build_vendor@
380builddir = @builddir@
381datadir = @datadir@
382datarootdir = @datarootdir@
383docdir = @docdir@
384dvidir = @dvidir@
385exec_prefix = @exec_prefix@
386host = @host@
387host_alias = @host_alias@
388host_cpu = @host_cpu@
389host_os = @host_os@
390host_vendor = @host_vendor@
391htmldir = @htmldir@
392includedir = @includedir@
393infodir = @infodir@
394install_sh = @install_sh@
395libdir = @libdir@
396libexecdir = @libexecdir@
397localedir = @localedir@
398localstatedir = @localstatedir@
399mandir = @mandir@
400mkdir_p = @mkdir_p@
401oldincludedir = @oldincludedir@
402pdfdir = @pdfdir@
403prefix = @prefix@
404program_transform_name = @program_transform_name@
405psdir = @psdir@
406sbindir = @sbindir@
407sharedstatedir = @sharedstatedir@
408srcdir = @srcdir@
409sysconfdir = @sysconfdir@
410target_alias = @target_alias@
411top_build_prefix = @top_build_prefix@
412top_builddir = @top_builddir@
413top_srcdir = @top_srcdir@
414AUTOMAKE_OPTIONS = \
415 dist-bzip2 \
Haibo Huangfd5e81a2019-06-20 12:09:36 -0700416 dist-lzip \
417 dist-xz \
Haibo Huangb16e0172018-07-02 14:40:07 -0700418 foreign \
Haibo Huangb16e0172018-07-02 14:40:07 -0700419 subdir-objects
420
421ACLOCAL_AMFLAGS = -I m4
422LIBTOOLFLAGS = --verbose
Haibo Huangfd5e81a2019-06-20 12:09:36 -0700423SUBDIRS = lib $(am__append_1) $(am__append_2) $(am__append_3)
Haibo Huangb16e0172018-07-02 14:40:07 -0700424pkgconfig_DATA = expat.pc
425pkgconfigdir = $(libdir)/pkgconfig
426_EXTRA_DIST_CMAKE = \
Haibo Huang40a71912019-10-11 11:13:39 -0700427 cmake/expat-config.cmake.in \
428 cmake/mingw-toolchain.cmake \
429 \
Haibo Huangb16e0172018-07-02 14:40:07 -0700430 CMakeLists.txt \
431 CMake.README \
432 ConfigureChecks.cmake \
433 expat_config.h.cmake
434
435_EXTRA_DIST_WINDOWS = \
Haibo Huang40a71912019-10-11 11:13:39 -0700436 win32/build_expat_iss.bat \
Haibo Huangb16e0172018-07-02 14:40:07 -0700437 win32/expat.iss \
438 win32/MANIFEST.txt \
Haibo Huang40a71912019-10-11 11:13:39 -0700439 win32/README.txt
Haibo Huangb16e0172018-07-02 14:40:07 -0700440
441EXTRA_DIST = \
442 $(_EXTRA_DIST_CMAKE) \
443 $(_EXTRA_DIST_WINDOWS) \
444 \
445 conftools/expat.m4 \
446 conftools/get-version.sh \
447 conftools/PrintPath \
448 \
Haibo Huang40a71912019-10-11 11:13:39 -0700449 xmlwf/xmlwf_helpgen.py \
450 xmlwf/xmlwf_helpgen.sh \
451 \
Haibo Huangb16e0172018-07-02 14:40:07 -0700452 Changes \
453 README.md \
Haibo Huang40a71912019-10-11 11:13:39 -0700454 \
455 fix-xmltest-log.sh \
Haibo Huangb16e0172018-07-02 14:40:07 -0700456 test-driver-wrapper.sh
457
458all: expat_config.h
459 $(MAKE) $(AM_MAKEFLAGS) all-recursive
460
461.SUFFIXES:
462am--refresh: Makefile
463 @:
464$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
465 @for dep in $?; do \
466 case '$(am__configure_deps)' in \
467 *$$dep*) \
468 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
469 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
470 && exit 0; \
471 exit 1;; \
472 esac; \
473 done; \
474 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
475 $(am__cd) $(top_srcdir) && \
476 $(AUTOMAKE) --foreign Makefile
477Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
478 @case '$?' in \
479 *config.status*) \
480 echo ' $(SHELL) ./config.status'; \
481 $(SHELL) ./config.status;; \
482 *) \
Haibo Huangfd5e81a2019-06-20 12:09:36 -0700483 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
484 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
Haibo Huangb16e0172018-07-02 14:40:07 -0700485 esac;
486
487$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
488 $(SHELL) ./config.status --recheck
489
490$(top_srcdir)/configure: $(am__configure_deps)
491 $(am__cd) $(srcdir) && $(AUTOCONF)
492$(ACLOCAL_M4): $(am__aclocal_m4_deps)
493 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
494$(am__aclocal_m4_deps):
495
496expat_config.h: stamp-h1
497 @test -f $@ || rm -f stamp-h1
498 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
499
500stamp-h1: $(srcdir)/expat_config.h.in $(top_builddir)/config.status
501 @rm -f stamp-h1
502 cd $(top_builddir) && $(SHELL) ./config.status expat_config.h
503$(srcdir)/expat_config.h.in: $(am__configure_deps)
504 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
505 rm -f stamp-h1
506 touch $@
507
508distclean-hdr:
509 -rm -f expat_config.h stamp-h1
510expat.pc: $(top_builddir)/config.status $(srcdir)/expat.pc.in
511 cd $(top_builddir) && $(SHELL) ./config.status $@
512run.sh: $(top_builddir)/config.status $(srcdir)/run.sh.in
513 cd $(top_builddir) && $(SHELL) ./config.status $@
514
515mostlyclean-libtool:
516 -rm -f *.lo
517
518clean-libtool:
519 -rm -rf .libs _libs
520
521distclean-libtool:
522 -rm -f libtool config.lt
523install-pkgconfigDATA: $(pkgconfig_DATA)
524 @$(NORMAL_INSTALL)
525 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
526 if test -n "$$list"; then \
527 echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
528 $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
529 fi; \
530 for p in $$list; do \
531 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
532 echo "$$d$$p"; \
533 done | $(am__base_list) | \
534 while read files; do \
535 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
536 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
537 done
538
539uninstall-pkgconfigDATA:
540 @$(NORMAL_UNINSTALL)
541 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
542 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
543 dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
544
545# This directory's subdirectories are mostly independent; you can cd
546# into them and run 'make' without going through this Makefile.
547# To change the values of 'make' variables: instead of editing Makefiles,
548# (1) if the variable is set in 'config.status', edit 'config.status'
549# (which will cause the Makefiles to be regenerated when you run 'make');
550# (2) otherwise, pass the desired values on the 'make' command line.
551$(am__recursive_targets):
552 @fail=; \
553 if $(am__make_keepgoing); then \
554 failcom='fail=yes'; \
555 else \
556 failcom='exit 1'; \
557 fi; \
558 dot_seen=no; \
559 target=`echo $@ | sed s/-recursive//`; \
560 case "$@" in \
561 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
562 *) list='$(SUBDIRS)' ;; \
563 esac; \
564 for subdir in $$list; do \
565 echo "Making $$target in $$subdir"; \
566 if test "$$subdir" = "."; then \
567 dot_seen=yes; \
568 local_target="$$target-am"; \
569 else \
570 local_target="$$target"; \
571 fi; \
572 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
573 || eval $$failcom; \
574 done; \
575 if test "$$dot_seen" = "no"; then \
576 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
577 fi; test -z "$$fail"
578
579ID: $(am__tagged_files)
580 $(am__define_uniq_tagged_files); mkid -fID $$unique
581tags: tags-recursive
582TAGS: tags
583
584tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
585 set x; \
586 here=`pwd`; \
587 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
588 include_option=--etags-include; \
589 empty_fix=.; \
590 else \
591 include_option=--include; \
592 empty_fix=; \
593 fi; \
594 list='$(SUBDIRS)'; for subdir in $$list; do \
595 if test "$$subdir" = .; then :; else \
596 test ! -f $$subdir/TAGS || \
597 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
598 fi; \
599 done; \
600 $(am__define_uniq_tagged_files); \
601 shift; \
602 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
603 test -n "$$unique" || unique=$$empty_fix; \
604 if test $$# -gt 0; then \
605 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
606 "$$@" $$unique; \
607 else \
608 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
609 $$unique; \
610 fi; \
611 fi
612ctags: ctags-recursive
613
614CTAGS: ctags
615ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
616 $(am__define_uniq_tagged_files); \
617 test -z "$(CTAGS_ARGS)$$unique" \
618 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
619 $$unique
620
621GTAGS:
622 here=`$(am__cd) $(top_builddir) && pwd` \
623 && $(am__cd) $(top_srcdir) \
624 && gtags -i $(GTAGS_ARGS) "$$here"
625cscope: cscope.files
626 test ! -s cscope.files \
627 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
628clean-cscope:
629 -rm -f cscope.files
630cscope.files: clean-cscope cscopelist
631cscopelist: cscopelist-recursive
632
633cscopelist-am: $(am__tagged_files)
634 list='$(am__tagged_files)'; \
635 case "$(srcdir)" in \
636 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
637 *) sdir=$(subdir)/$(srcdir) ;; \
638 esac; \
639 for i in $$list; do \
640 if test -f "$$i"; then \
641 echo "$(subdir)/$$i"; \
642 else \
643 echo "$$sdir/$$i"; \
644 fi; \
645 done >> $(top_builddir)/cscope.files
646
647distclean-tags:
648 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
649 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
650
Haibo Huangfd5e81a2019-06-20 12:09:36 -0700651distdir: $(BUILT_SOURCES)
652 $(MAKE) $(AM_MAKEFLAGS) distdir-am
653
654distdir-am: $(DISTFILES)
Haibo Huangb16e0172018-07-02 14:40:07 -0700655 $(am__remove_distdir)
656 test -d "$(distdir)" || mkdir "$(distdir)"
657 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
658 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
659 list='$(DISTFILES)'; \
660 dist_files=`for file in $$list; do echo $$file; done | \
661 sed -e "s|^$$srcdirstrip/||;t" \
662 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
663 case $$dist_files in \
664 */*) $(MKDIR_P) `echo "$$dist_files" | \
665 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
666 sort -u` ;; \
667 esac; \
668 for file in $$dist_files; do \
669 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
670 if test -d $$d/$$file; then \
671 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
672 if test -d "$(distdir)/$$file"; then \
673 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
674 fi; \
675 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
676 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
677 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
678 fi; \
679 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
680 else \
681 test -f "$(distdir)/$$file" \
682 || cp -p $$d/$$file "$(distdir)/$$file" \
683 || exit 1; \
684 fi; \
685 done
686 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
687 if test "$$subdir" = .; then :; else \
688 $(am__make_dryrun) \
689 || test -d "$(distdir)/$$subdir" \
690 || $(MKDIR_P) "$(distdir)/$$subdir" \
691 || exit 1; \
692 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
693 $(am__relativize); \
694 new_distdir=$$reldir; \
695 dir1=$$subdir; dir2="$(top_distdir)"; \
696 $(am__relativize); \
697 new_top_distdir=$$reldir; \
698 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
699 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
700 ($(am__cd) $$subdir && \
701 $(MAKE) $(AM_MAKEFLAGS) \
702 top_distdir="$$new_top_distdir" \
703 distdir="$$new_distdir" \
704 am__remove_distdir=: \
705 am__skip_length_check=: \
706 am__skip_mode_fix=: \
707 distdir) \
708 || exit 1; \
709 fi; \
710 done
711 -test -n "$(am__skip_mode_fix)" \
712 || find "$(distdir)" -type d ! -perm -755 \
713 -exec chmod u+rwx,go+rx {} \; -o \
714 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
715 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
716 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
717 || chmod -R a+r "$(distdir)"
718dist-gzip: distdir
719 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
720 $(am__post_remove_distdir)
721dist-bzip2: distdir
722 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
723 $(am__post_remove_distdir)
Haibo Huangb16e0172018-07-02 14:40:07 -0700724dist-lzip: distdir
725 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
726 $(am__post_remove_distdir)
Haibo Huangb16e0172018-07-02 14:40:07 -0700727dist-xz: distdir
728 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
729 $(am__post_remove_distdir)
730
731dist-tarZ: distdir
732 @echo WARNING: "Support for distribution archives compressed with" \
733 "legacy program 'compress' is deprecated." >&2
734 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
735 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
736 $(am__post_remove_distdir)
737
738dist-shar: distdir
739 @echo WARNING: "Support for shar distribution archives is" \
740 "deprecated." >&2
741 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
742 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
743 $(am__post_remove_distdir)
744
745dist-zip: distdir
746 -rm -f $(distdir).zip
747 zip -rq $(distdir).zip $(distdir)
748 $(am__post_remove_distdir)
749
750dist dist-all:
751 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
752 $(am__post_remove_distdir)
753
754# This target untars the dist file and tries a VPATH configuration. Then
755# it guarantees that the distribution is self-contained by making another
756# tarfile.
757distcheck: dist
758 case '$(DIST_ARCHIVES)' in \
759 *.tar.gz*) \
760 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
761 *.tar.bz2*) \
762 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
763 *.tar.lz*) \
764 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
765 *.tar.xz*) \
766 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
767 *.tar.Z*) \
768 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
769 *.shar.gz*) \
770 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
771 *.zip*) \
772 unzip $(distdir).zip ;;\
773 esac
774 chmod -R a-w $(distdir)
775 chmod u+w $(distdir)
776 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
777 chmod a-w $(distdir)
778 test -d $(distdir)/_build || exit 0; \
779 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
780 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
781 && am__cwd=`pwd` \
782 && $(am__cd) $(distdir)/_build/sub \
783 && ../../configure \
784 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
785 $(DISTCHECK_CONFIGURE_FLAGS) \
786 --srcdir=../.. --prefix="$$dc_install_base" \
787 && $(MAKE) $(AM_MAKEFLAGS) \
788 && $(MAKE) $(AM_MAKEFLAGS) dvi \
789 && $(MAKE) $(AM_MAKEFLAGS) check \
790 && $(MAKE) $(AM_MAKEFLAGS) install \
791 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
792 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
793 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
794 distuninstallcheck \
795 && chmod -R a-w "$$dc_install_base" \
796 && ({ \
797 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
798 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
799 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
800 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
801 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
802 } || { rm -rf "$$dc_destdir"; exit 1; }) \
803 && rm -rf "$$dc_destdir" \
804 && $(MAKE) $(AM_MAKEFLAGS) dist \
805 && rm -rf $(DIST_ARCHIVES) \
806 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
807 && cd "$$am__cwd" \
808 || exit 1
809 $(am__post_remove_distdir)
810 @(echo "$(distdir) archives ready for distribution: "; \
811 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
812 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
813distuninstallcheck:
814 @test -n '$(distuninstallcheck_dir)' || { \
815 echo 'ERROR: trying to run $@ with an empty' \
816 '$$(distuninstallcheck_dir)' >&2; \
817 exit 1; \
818 }; \
819 $(am__cd) '$(distuninstallcheck_dir)' || { \
820 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
821 exit 1; \
822 }; \
823 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
824 || { echo "ERROR: files left after uninstall:" ; \
825 if test -n "$(DESTDIR)"; then \
826 echo " (check DESTDIR support)"; \
827 fi ; \
828 $(distuninstallcheck_listfiles) ; \
829 exit 1; } >&2
830distcleancheck: distclean
831 @if test '$(srcdir)' = . ; then \
832 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
833 exit 1 ; \
834 fi
835 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
836 || { echo "ERROR: files left in build directory after distclean:" ; \
837 $(distcleancheck_listfiles) ; \
838 exit 1; } >&2
839check-am: all-am
840check: check-recursive
841all-am: Makefile $(DATA) expat_config.h
842installdirs: installdirs-recursive
843installdirs-am:
844 for dir in "$(DESTDIR)$(pkgconfigdir)"; do \
845 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
846 done
847install: install-recursive
848install-exec: install-exec-recursive
849install-data: install-data-recursive
850uninstall: uninstall-recursive
851
852install-am: all-am
853 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
854
855installcheck: installcheck-recursive
856install-strip:
857 if test -z '$(STRIP)'; then \
858 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
859 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
860 install; \
861 else \
862 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
863 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
864 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
865 fi
866mostlyclean-generic:
867
868clean-generic:
869
870distclean-generic:
871 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
872 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
873
874maintainer-clean-generic:
875 @echo "This command is intended for maintainers to use"
876 @echo "it deletes files that may require special tools to rebuild."
877clean: clean-recursive
878
879clean-am: clean-generic clean-libtool mostlyclean-am
880
881distclean: distclean-recursive
882 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
883 -rm -f Makefile
884distclean-am: clean-am distclean-generic distclean-hdr \
885 distclean-libtool distclean-tags
886
887dvi: dvi-recursive
888
889dvi-am:
890
891html: html-recursive
892
893html-am:
894
895info: info-recursive
896
897info-am:
898
899install-data-am: install-pkgconfigDATA
900
901install-dvi: install-dvi-recursive
902
903install-dvi-am:
904
905install-exec-am:
906
907install-html: install-html-recursive
908
909install-html-am:
910
911install-info: install-info-recursive
912
913install-info-am:
914
915install-man:
916
917install-pdf: install-pdf-recursive
918
919install-pdf-am:
920
921install-ps: install-ps-recursive
922
923install-ps-am:
924
925installcheck-am:
926
927maintainer-clean: maintainer-clean-recursive
928 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
929 -rm -rf $(top_srcdir)/autom4te.cache
930 -rm -f Makefile
931maintainer-clean-am: distclean-am maintainer-clean-generic
932
933mostlyclean: mostlyclean-recursive
934
935mostlyclean-am: mostlyclean-generic mostlyclean-libtool
936
937pdf: pdf-recursive
938
939pdf-am:
940
941ps: ps-recursive
942
943ps-am:
944
945uninstall-am: uninstall-pkgconfigDATA
946
947.MAKE: $(am__recursive_targets) all install-am install-strip
948
949.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
950 am--refresh check check-am clean clean-cscope clean-generic \
951 clean-libtool cscope cscopelist-am ctags ctags-am dist \
952 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
953 dist-xz dist-zip distcheck distclean distclean-generic \
954 distclean-hdr distclean-libtool distclean-tags distcleancheck \
955 distdir distuninstallcheck dvi dvi-am html html-am info \
956 info-am install install-am install-data install-data-am \
957 install-dvi install-dvi-am install-exec install-exec-am \
958 install-html install-html-am install-info install-info-am \
959 install-man install-pdf install-pdf-am install-pkgconfigDATA \
960 install-ps install-ps-am install-strip installcheck \
961 installcheck-am installdirs installdirs-am maintainer-clean \
962 maintainer-clean-generic mostlyclean mostlyclean-generic \
963 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
964 uninstall-am uninstall-pkgconfigDATA
965
966.PRECIOUS: Makefile
967
968
969.PHONY: buildlib
970buildlib:
971 @echo 'ERROR: Running "make buildlib LIBRARY=libexpatw.la"' >&2
972 @echo 'ERROR: is no longer supported. INSTEAD please:' >&2
973 @echo 'ERROR:' >&2
974 @echo 'ERROR: * Mass-patch Makefile.am, e.g.' >&2
975 @echo 'ERROR: # find -name Makefile.am -exec sed \' >&2
976 @echo 'ERROR: -e "s,libexpat\.la,libexpatw.la," \' >&2
977 @echo 'ERROR: -e "s,libexpat_la,libexpatw_la," \' >&2
978 @echo 'ERROR: -i {} +' >&2
979 @echo 'ERROR:' >&2
980 @echo 'ERROR: * Run automake to re-generate Makefile.in files' >&2
981 @echo 'ERROR:' >&2
982 @echo 'ERROR: * Use "./configure --without-xmlwf" and/or' >&2
983 @echo 'ERROR: "make -C lib all install" to bypass compilation' >&2
984 @echo 'ERROR: of xmlwf (e.g. with -DXML_UNICODE)' >&2
985 @echo 'ERROR:' >&2
986 @false
987
988.PHONY: run-benchmark
989run-benchmark:
990 $(MAKE) -C tests/benchmark
991 ./run.sh tests/benchmark/benchmark@EXEEXT@ -n $(top_srcdir)/../testdata/largefiles/recset.xml 65535 3
992
Haibo Huang40a71912019-10-11 11:13:39 -0700993.PHONY: download-xmlts-zip
994download-xmlts-zip:
Haibo Huangb16e0172018-07-02 14:40:07 -0700995 if test "$(XMLTS_ZIP)" = ""; then \
996 wget --output-document=tests/xmlts.zip \
997 https://www.w3.org/XML/Test/xmlts20080827.zip; \
998 else \
999 cp $(XMLTS_ZIP) tests/xmlts.zip; \
1000 fi
1001
Haibo Huang40a71912019-10-11 11:13:39 -07001002tests/xmlts.zip:
1003 $(MAKE) download-xmlts-zip
1004
1005.PHONY: extract-xmlts-zip
1006extract-xmlts-zip: tests/xmlts.zip
1007 [ -f $(builddir)/tests/xmlts.zip ] || $(MAKE) download-xmlts-zip # vpath workaround
Haibo Huangb16e0172018-07-02 14:40:07 -07001008 cd tests && unzip -q xmlts.zip
1009
Haibo Huang40a71912019-10-11 11:13:39 -07001010tests/xmlconf: tests/xmlts.zip
1011 $(MAKE) extract-xmlts-zip
1012
Haibo Huangb16e0172018-07-02 14:40:07 -07001013.PHONY: run-xmltest
1014run-xmltest: tests/xmlconf
Haibo Huang40a71912019-10-11 11:13:39 -07001015@WITH_XMLWF_TRUE@ [ -d $(builddir)/tests/xmlconf ] || $(MAKE) extract-xmlts-zip # vpath workaround
1016@WITH_XMLWF_TRUE@ $(MAKE) -C lib
Haibo Huangb16e0172018-07-02 14:40:07 -07001017@WITH_XMLWF_TRUE@ $(MAKE) -C xmlwf
Haibo Huang40a71912019-10-11 11:13:39 -07001018@WITH_XMLWF_TRUE@ $(srcdir)/tests/xmltest.sh "$(abs_builddir)/run.sh $(abs_builddir)/xmlwf/xmlwf@EXEEXT@" 2>&1 | tee $(builddir)/tests/xmltest.log
1019@WITH_XMLWF_TRUE@ $(srcdir)/fix-xmltest-log.sh $(builddir)/tests/xmltest.log
1020@WITH_XMLWF_TRUE@ diff -u $(srcdir)/tests/xmltest.log.expected $(builddir)/tests/xmltest.log
Haibo Huangb16e0172018-07-02 14:40:07 -07001021@WITH_XMLWF_FALSE@ @echo 'ERROR: xmlwf is needed for "make run-xmltest".' >&2
1022@WITH_XMLWF_FALSE@ @echo 'ERROR: Please re-configure without --without-xmlwf.' >&2
1023@WITH_XMLWF_FALSE@ @false
1024
1025.PHONY: qa
1026qa:
Haibo Huang40a71912019-10-11 11:13:39 -07001027 QA_COMPILER=clang QA_SANITIZER=address ./qa.sh
1028 QA_COMPILER=clang QA_SANITIZER=memory ./qa.sh
1029 QA_COMPILER=clang QA_SANITIZER=undefined ./qa.sh
1030 QA_COMPILER=gcc QA_PROCESSOR=gcov ./qa.sh
Haibo Huangb16e0172018-07-02 14:40:07 -07001031
1032# Tell versions [3.59,3.63) of GNU make to not export all variables.
1033# Otherwise a system limit (for SysV at least) may be exceeded.
1034.NOEXPORT: