xref: /freebsd/contrib/expat/Makefile.in (revision fe9278888fd4414abe2d922e469cf608005f4c65)
1cc68614dSXin LI# Makefile.in generated by automake 1.16.5 from Makefile.am.
20a48773fSEric van Gyzen# @configure_input@
30a48773fSEric van Gyzen
4cc68614dSXin LI# Copyright (C) 1994-2021 Free Software Foundation, Inc.
50a48773fSEric van Gyzen
60a48773fSEric van Gyzen# This Makefile.in is free software; the Free Software Foundation
70a48773fSEric van Gyzen# gives unlimited permission to copy and/or distribute it,
80a48773fSEric van Gyzen# with or without modifications, as long as this notice is preserved.
90a48773fSEric van Gyzen
100a48773fSEric van Gyzen# This program is distributed in the hope that it will be useful,
110a48773fSEric van Gyzen# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
120a48773fSEric van Gyzen# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
130a48773fSEric van Gyzen# PARTICULAR PURPOSE.
140a48773fSEric van Gyzen
150a48773fSEric van Gyzen@SET_MAKE@
160a48773fSEric van Gyzen
175bb6a25fSPoul-Henning Kamp#
180a48773fSEric van Gyzen#                          __  __            _
190a48773fSEric van Gyzen#                       ___\ \/ /_ __   __ _| |_
200a48773fSEric van Gyzen#                      / _ \\  /| '_ \ / _` | __|
210a48773fSEric van Gyzen#                     |  __//  \| |_) | (_| | |_
220a48773fSEric van Gyzen#                      \___/_/\_\ .__/ \__,_|\__|
230a48773fSEric van Gyzen#                               |_| XML parser
245bb6a25fSPoul-Henning Kamp#
25*fe927888SPhilip Paeps# Copyright (c) 2017-2025 Sebastian Pipping <sebastian@pipping.org>
26cc68614dSXin LI# Copyright (c) 2018      KangLin <kl222@126.com>
277ed8e142SXin LI# Copyright (c) 2022      Johnny Jazeix <jazeix@gmail.com>
284543ef51SXin LI# Copyright (c) 2023      Sony Corporation / Snild Dolkow <snild@sony.com>
29ffd294a1SEnji Cooper# Copyright (c) 2024      Alexander Bluhm <alexander.bluhm@gmx.net>
30ffd294a1SEnji Cooper# Copyright (c) 2024      Dag-Erling Smørgrav <des@des.dev>
310a48773fSEric van Gyzen# Licensed under the MIT license:
325bb6a25fSPoul-Henning Kamp#
330a48773fSEric van Gyzen# Permission is  hereby granted,  free of charge,  to any  person obtaining
340a48773fSEric van Gyzen# a  copy  of  this  software   and  associated  documentation  files  (the
350a48773fSEric van Gyzen# "Software"),  to  deal in  the  Software  without restriction,  including
360a48773fSEric van Gyzen# without  limitation the  rights  to use,  copy,  modify, merge,  publish,
370a48773fSEric van Gyzen# distribute, sublicense, and/or sell copies of the Software, and to permit
380a48773fSEric van Gyzen# persons  to whom  the Software  is  furnished to  do so,  subject to  the
390a48773fSEric van Gyzen# following conditions:
405bb6a25fSPoul-Henning Kamp#
410a48773fSEric van Gyzen# The above copyright  notice and this permission notice  shall be included
420a48773fSEric van Gyzen# in all copies or substantial portions of the Software.
430a48773fSEric van Gyzen#
440a48773fSEric van Gyzen# THE  SOFTWARE  IS  PROVIDED  "AS  IS",  WITHOUT  WARRANTY  OF  ANY  KIND,
455bb6a25fSPoul-Henning Kamp# EXPRESS  OR IMPLIED,  INCLUDING  BUT  NOT LIMITED  TO  THE WARRANTIES  OF
460a48773fSEric van Gyzen# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
470a48773fSEric van Gyzen# NO EVENT SHALL THE AUTHORS OR  COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
480a48773fSEric van Gyzen# DAMAGES OR  OTHER LIABILITY, WHETHER  IN AN  ACTION OF CONTRACT,  TORT OR
490a48773fSEric van Gyzen# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
500a48773fSEric van Gyzen# USE OR OTHER DEALINGS IN THE SOFTWARE.
515bb6a25fSPoul-Henning Kamp
525bb6a25fSPoul-Henning KampVPATH = @srcdir@
530a48773fSEric van Gyzenam__is_gnu_make = { \
540a48773fSEric van Gyzen  if test -z '$(MAKELEVEL)'; then \
550a48773fSEric van Gyzen    false; \
560a48773fSEric van Gyzen  elif test -n '$(MAKE_HOST)'; then \
570a48773fSEric van Gyzen    true; \
580a48773fSEric van Gyzen  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
590a48773fSEric van Gyzen    true; \
600a48773fSEric van Gyzen  else \
610a48773fSEric van Gyzen    false; \
620a48773fSEric van Gyzen  fi; \
630a48773fSEric van Gyzen}
640a48773fSEric van Gyzenam__make_running_with_option = \
650a48773fSEric van Gyzen  case $${target_option-} in \
660a48773fSEric van Gyzen      ?) ;; \
670a48773fSEric van Gyzen      *) echo "am__make_running_with_option: internal error: invalid" \
680a48773fSEric van Gyzen              "target option '$${target_option-}' specified" >&2; \
690a48773fSEric van Gyzen         exit 1;; \
700a48773fSEric van Gyzen  esac; \
710a48773fSEric van Gyzen  has_opt=no; \
720a48773fSEric van Gyzen  sane_makeflags=$$MAKEFLAGS; \
730a48773fSEric van Gyzen  if $(am__is_gnu_make); then \
740a48773fSEric van Gyzen    sane_makeflags=$$MFLAGS; \
750a48773fSEric van Gyzen  else \
760a48773fSEric van Gyzen    case $$MAKEFLAGS in \
770a48773fSEric van Gyzen      *\\[\ \	]*) \
780a48773fSEric van Gyzen        bs=\\; \
790a48773fSEric van Gyzen        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
800a48773fSEric van Gyzen          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
810a48773fSEric van Gyzen    esac; \
820a48773fSEric van Gyzen  fi; \
830a48773fSEric van Gyzen  skip_next=no; \
840a48773fSEric van Gyzen  strip_trailopt () \
850a48773fSEric van Gyzen  { \
860a48773fSEric van Gyzen    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
870a48773fSEric van Gyzen  }; \
880a48773fSEric van Gyzen  for flg in $$sane_makeflags; do \
890a48773fSEric van Gyzen    test $$skip_next = yes && { skip_next=no; continue; }; \
900a48773fSEric van Gyzen    case $$flg in \
910a48773fSEric van Gyzen      *=*|--*) continue;; \
920a48773fSEric van Gyzen        -*I) strip_trailopt 'I'; skip_next=yes;; \
930a48773fSEric van Gyzen      -*I?*) strip_trailopt 'I';; \
940a48773fSEric van Gyzen        -*O) strip_trailopt 'O'; skip_next=yes;; \
950a48773fSEric van Gyzen      -*O?*) strip_trailopt 'O';; \
960a48773fSEric van Gyzen        -*l) strip_trailopt 'l'; skip_next=yes;; \
970a48773fSEric van Gyzen      -*l?*) strip_trailopt 'l';; \
980a48773fSEric van Gyzen      -[dEDm]) skip_next=yes;; \
990a48773fSEric van Gyzen      -[JT]) skip_next=yes;; \
1000a48773fSEric van Gyzen    esac; \
1010a48773fSEric van Gyzen    case $$flg in \
1020a48773fSEric van Gyzen      *$$target_option*) has_opt=yes; break;; \
1030a48773fSEric van Gyzen    esac; \
1040a48773fSEric van Gyzen  done; \
1050a48773fSEric van Gyzen  test $$has_opt = yes
1060a48773fSEric van Gyzenam__make_dryrun = (target_option=n; $(am__make_running_with_option))
1070a48773fSEric van Gyzenam__make_keepgoing = (target_option=k; $(am__make_running_with_option))
1080a48773fSEric van Gyzenpkgdatadir = $(datadir)/@PACKAGE@
1090a48773fSEric van Gyzenpkgincludedir = $(includedir)/@PACKAGE@
1100a48773fSEric van Gyzenpkglibdir = $(libdir)/@PACKAGE@
1110a48773fSEric van Gyzenpkglibexecdir = $(libexecdir)/@PACKAGE@
1120a48773fSEric van Gyzenam__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
1130a48773fSEric van Gyzeninstall_sh_DATA = $(install_sh) -c -m 644
1140a48773fSEric van Gyzeninstall_sh_PROGRAM = $(install_sh) -c
1150a48773fSEric van Gyzeninstall_sh_SCRIPT = $(install_sh) -c
1160a48773fSEric van GyzenINSTALL_HEADER = $(INSTALL_DATA)
1170a48773fSEric van Gyzentransform = $(program_transform_name)
1180a48773fSEric van GyzenNORMAL_INSTALL = :
1190a48773fSEric van GyzenPRE_INSTALL = :
1200a48773fSEric van GyzenPOST_INSTALL = :
1210a48773fSEric van GyzenNORMAL_UNINSTALL = :
1220a48773fSEric van GyzenPRE_UNINSTALL = :
1230a48773fSEric van GyzenPOST_UNINSTALL = :
1240a48773fSEric van Gyzenbuild_triplet = @build@
1250a48773fSEric van Gyzenhost_triplet = @host@
1266b2c1e49SXin LI@WITH_EXAMPLES_TRUE@am__append_1 = examples
1276b2c1e49SXin LI@WITH_TESTS_TRUE@am__append_2 = tests
1286b2c1e49SXin LI@WITH_XMLWF_TRUE@am__append_3 = xmlwf doc
1290a48773fSEric van Gyzensubdir = .
1300a48773fSEric van GyzenACLOCAL_M4 = $(top_srcdir)/aclocal.m4
1310a48773fSEric van Gyzenam__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
1320a48773fSEric van Gyzen	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
1330a48773fSEric van Gyzen	$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
1346b2c1e49SXin LI	$(top_srcdir)/acinclude.m4 \
1356b2c1e49SXin LI	$(top_srcdir)/conftools/ax-require-defined.m4 \
1366b2c1e49SXin LI	$(top_srcdir)/conftools/ax-check-compile-flag.m4 \
1376b2c1e49SXin LI	$(top_srcdir)/conftools/ax-check-link-flag.m4 \
1386b2c1e49SXin LI	$(top_srcdir)/conftools/ax-append-flag.m4 \
1396b2c1e49SXin LI	$(top_srcdir)/conftools/ax-append-compile-flags.m4 \
1406b2c1e49SXin LI	$(top_srcdir)/conftools/ax-append-link-flags.m4 \
1416b2c1e49SXin LI	$(top_srcdir)/conftools/expatcfg-compiler-supports-visibility.m4 \
1424543ef51SXin LI	$(top_srcdir)/conftools/ax-cxx-compile-stdcxx.m4 \
1434543ef51SXin LI	$(top_srcdir)/conftools/ax-cxx-compile-stdcxx-11.m4 \
1440a48773fSEric van Gyzen	$(top_srcdir)/configure.ac
1450a48773fSEric van Gyzenam__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
1460a48773fSEric van Gyzen	$(ACLOCAL_M4)
1470a48773fSEric van GyzenDIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
148cc68614dSXin LI	$(am__configure_deps) $(dist_cmake_DATA) $(am__DIST_COMMON)
1490a48773fSEric van Gyzenam__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
1500a48773fSEric van Gyzen configure.lineno config.status.lineno
1510a48773fSEric van Gyzenmkinstalldirs = $(install_sh) -d
1520a48773fSEric van GyzenCONFIG_HEADER = expat_config.h
153cc68614dSXin LICONFIG_CLEAN_FILES = expat.pc cmake/expat-config.cmake \
154cc68614dSXin LI	cmake/autotools/expat-config-version.cmake \
155cc68614dSXin LI	cmake/autotools/expat-noconfig.cmake run.sh
1560a48773fSEric van GyzenCONFIG_CLEAN_VPATH_FILES =
1570a48773fSEric van GyzenAM_V_P = $(am__v_P_@AM_V@)
1580a48773fSEric van Gyzenam__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
1590a48773fSEric van Gyzenam__v_P_0 = false
1600a48773fSEric van Gyzenam__v_P_1 = :
1610a48773fSEric van GyzenAM_V_GEN = $(am__v_GEN_@AM_V@)
1620a48773fSEric van Gyzenam__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
1630a48773fSEric van Gyzenam__v_GEN_0 = @echo "  GEN     " $@;
1640a48773fSEric van Gyzenam__v_GEN_1 =
1650a48773fSEric van GyzenAM_V_at = $(am__v_at_@AM_V@)
1660a48773fSEric van Gyzenam__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
1670a48773fSEric van Gyzenam__v_at_0 = @
1680a48773fSEric van Gyzenam__v_at_1 =
1690a48773fSEric van GyzenSOURCES =
1700a48773fSEric van GyzenDIST_SOURCES =
1710a48773fSEric van GyzenRECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
1720a48773fSEric van Gyzen	ctags-recursive dvi-recursive html-recursive info-recursive \
1730a48773fSEric van Gyzen	install-data-recursive install-dvi-recursive \
1740a48773fSEric van Gyzen	install-exec-recursive install-html-recursive \
1750a48773fSEric van Gyzen	install-info-recursive install-pdf-recursive \
1760a48773fSEric van Gyzen	install-ps-recursive install-recursive installcheck-recursive \
1770a48773fSEric van Gyzen	installdirs-recursive pdf-recursive ps-recursive \
1780a48773fSEric van Gyzen	tags-recursive uninstall-recursive
1790a48773fSEric van Gyzenam__can_run_installinfo = \
1800a48773fSEric van Gyzen  case $$AM_UPDATE_INFO_DIR in \
1810a48773fSEric van Gyzen    n|no|NO) false;; \
1820a48773fSEric van Gyzen    *) (install-info --version) >/dev/null 2>&1;; \
1830a48773fSEric van Gyzen  esac
1840a48773fSEric van Gyzenam__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
1850a48773fSEric van Gyzenam__vpath_adj = case $$p in \
1860a48773fSEric van Gyzen    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
1870a48773fSEric van Gyzen    *) f=$$p;; \
1880a48773fSEric van Gyzen  esac;
1890a48773fSEric van Gyzenam__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
1900a48773fSEric van Gyzenam__install_max = 40
1910a48773fSEric van Gyzenam__nobase_strip_setup = \
1920a48773fSEric van Gyzen  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
1930a48773fSEric van Gyzenam__nobase_strip = \
1940a48773fSEric van Gyzen  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
1950a48773fSEric van Gyzenam__nobase_list = $(am__nobase_strip_setup); \
1960a48773fSEric van Gyzen  for p in $$list; do echo "$$p $$p"; done | \
1970a48773fSEric van Gyzen  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
1980a48773fSEric van Gyzen  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
1990a48773fSEric van Gyzen    if (++n[$$2] == $(am__install_max)) \
2000a48773fSEric van Gyzen      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
2010a48773fSEric van Gyzen    END { for (dir in files) print dir, files[dir] }'
2020a48773fSEric van Gyzenam__base_list = \
2030a48773fSEric van Gyzen  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
2040a48773fSEric van Gyzen  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
2050a48773fSEric van Gyzenam__uninstall_files_from_dir = { \
2060a48773fSEric van Gyzen  test -z "$$files" \
2070a48773fSEric van Gyzen    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
2080a48773fSEric van Gyzen    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
2090a48773fSEric van Gyzen         $(am__cd) "$$dir" && rm -f $$files; }; \
2100a48773fSEric van Gyzen  }
211cc68614dSXin LIam__installdirs = "$(DESTDIR)$(cmakedir)" "$(DESTDIR)$(cmakedir)" \
212cc68614dSXin LI	"$(DESTDIR)$(pkgconfigdir)"
213cc68614dSXin LIDATA = $(dist_cmake_DATA) $(nodist_cmake_DATA) $(pkgconfig_DATA)
2140a48773fSEric van GyzenRECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
2150a48773fSEric van Gyzen  distclean-recursive maintainer-clean-recursive
2160a48773fSEric van Gyzenam__recursive_targets = \
2170a48773fSEric van Gyzen  $(RECURSIVE_TARGETS) \
2180a48773fSEric van Gyzen  $(RECURSIVE_CLEAN_TARGETS) \
2190a48773fSEric van Gyzen  $(am__extra_recursive_targets)
2200a48773fSEric van GyzenAM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
2216b2c1e49SXin LI	cscope distdir distdir-am dist dist-all distcheck
222cc68614dSXin LIam__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
223cc68614dSXin LI	expat_config.h.in
2240a48773fSEric van Gyzen# Read a list of newline-separated strings from the standard input,
2250a48773fSEric van Gyzen# and print each of them once, without duplicates.  Input order is
2260a48773fSEric van Gyzen# *not* preserved.
2270a48773fSEric van Gyzenam__uniquify_input = $(AWK) '\
2280a48773fSEric van Gyzen  BEGIN { nonempty = 0; } \
2290a48773fSEric van Gyzen  { items[$$0] = 1; nonempty = 1; } \
2300a48773fSEric van Gyzen  END { if (nonempty) { for (i in items) print i; }; } \
2310a48773fSEric van Gyzen'
2320a48773fSEric van Gyzen# Make sure the list of sources is unique.  This is necessary because,
2330a48773fSEric van Gyzen# e.g., the same source file might be shared among _SOURCES variables
2340a48773fSEric van Gyzen# for different programs/libraries.
2350a48773fSEric van Gyzenam__define_uniq_tagged_files = \
2360a48773fSEric van Gyzen  list='$(am__tagged_files)'; \
2370a48773fSEric van Gyzen  unique=`for i in $$list; do \
2380a48773fSEric van Gyzen    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
2390a48773fSEric van Gyzen  done | $(am__uniquify_input)`
2400a48773fSEric van GyzenDIST_SUBDIRS = lib examples tests xmlwf doc
2410a48773fSEric van Gyzenam__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/expat.pc.in \
2420a48773fSEric van Gyzen	$(srcdir)/expat_config.h.in $(srcdir)/run.sh.in \
243cc68614dSXin LI	$(top_srcdir)/cmake/autotools/expat-config-version.cmake.in \
244cc68614dSXin LI	$(top_srcdir)/cmake/expat-config.cmake.in \
2456b2c1e49SXin LI	$(top_srcdir)/conftools/ar-lib $(top_srcdir)/conftools/compile \
2460a48773fSEric van Gyzen	$(top_srcdir)/conftools/config.guess \
2470a48773fSEric van Gyzen	$(top_srcdir)/conftools/config.sub \
2480a48773fSEric van Gyzen	$(top_srcdir)/conftools/install-sh \
2490a48773fSEric van Gyzen	$(top_srcdir)/conftools/ltmain.sh \
250cc68614dSXin LI	$(top_srcdir)/conftools/missing AUTHORS COPYING README.md \
2516b2c1e49SXin LI	conftools/ar-lib conftools/compile conftools/config.guess \
2526b2c1e49SXin LI	conftools/config.sub conftools/depcomp conftools/install-sh \
2536b2c1e49SXin LI	conftools/ltmain.sh conftools/missing
2540a48773fSEric van GyzenDISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
2550a48773fSEric van Gyzendistdir = $(PACKAGE)-$(VERSION)
2560a48773fSEric van Gyzentop_distdir = $(distdir)
2570a48773fSEric van Gyzenam__remove_distdir = \
2580a48773fSEric van Gyzen  if test -d "$(distdir)"; then \
2590a48773fSEric van Gyzen    find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
2600a48773fSEric van Gyzen      && rm -rf "$(distdir)" \
2610a48773fSEric van Gyzen      || { sleep 5 && rm -rf "$(distdir)"; }; \
2620a48773fSEric van Gyzen  else :; fi
2630a48773fSEric van Gyzenam__post_remove_distdir = $(am__remove_distdir)
2640a48773fSEric van Gyzenam__relativize = \
2650a48773fSEric van Gyzen  dir0=`pwd`; \
2660a48773fSEric van Gyzen  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
2670a48773fSEric van Gyzen  sed_rest='s,^[^/]*/*,,'; \
2680a48773fSEric van Gyzen  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
2690a48773fSEric van Gyzen  sed_butlast='s,/*[^/]*$$,,'; \
2700a48773fSEric van Gyzen  while test -n "$$dir1"; do \
2710a48773fSEric van Gyzen    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
2720a48773fSEric van Gyzen    if test "$$first" != "."; then \
2730a48773fSEric van Gyzen      if test "$$first" = ".."; then \
2740a48773fSEric van Gyzen        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
2750a48773fSEric van Gyzen        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
2760a48773fSEric van Gyzen      else \
2770a48773fSEric van Gyzen        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
2780a48773fSEric van Gyzen        if test "$$first2" = "$$first"; then \
2790a48773fSEric van Gyzen          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
2800a48773fSEric van Gyzen        else \
2810a48773fSEric van Gyzen          dir2="../$$dir2"; \
2820a48773fSEric van Gyzen        fi; \
2830a48773fSEric van Gyzen        dir0="$$dir0"/"$$first"; \
2840a48773fSEric van Gyzen      fi; \
2850a48773fSEric van Gyzen    fi; \
2860a48773fSEric van Gyzen    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
2870a48773fSEric van Gyzen  done; \
2880a48773fSEric van Gyzen  reldir="$$dir2"
2896b2c1e49SXin LIDIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 $(distdir).tar.lz \
2906b2c1e49SXin LI	$(distdir).tar.xz
2910a48773fSEric van GyzenGZIP_ENV = --best
2926b2c1e49SXin LIDIST_TARGETS = dist-lzip dist-xz dist-bzip2 dist-gzip
293cc68614dSXin LI# Exists only to be overridden by the user if desired.
294cc68614dSXin LIAM_DISTCHECK_DVI_TARGET = dvi
2950a48773fSEric van Gyzendistuninstallcheck_listfiles = find . -type f -print
2960a48773fSEric van Gyzenam__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
2970a48773fSEric van Gyzen  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
2980a48773fSEric van Gyzendistcleancheck_listfiles = find . -type f -print
2990a48773fSEric van GyzenACLOCAL = @ACLOCAL@
3000a48773fSEric van GyzenAMTAR = @AMTAR@
301cc68614dSXin LIAM_CFLAGS = @AM_CFLAGS@
302cc68614dSXin LIAM_CPPFLAGS = @AM_CPPFLAGS@
303cc68614dSXin LIAM_CXXFLAGS = @AM_CXXFLAGS@
3040a48773fSEric van GyzenAM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
305cc68614dSXin LIAM_LDFLAGS = @AM_LDFLAGS@
3060a48773fSEric van GyzenAR = @AR@
3070a48773fSEric van GyzenAS = @AS@
3080a48773fSEric van GyzenAUTOCONF = @AUTOCONF@
3090a48773fSEric van GyzenAUTOHEADER = @AUTOHEADER@
3100a48773fSEric van GyzenAUTOMAKE = @AUTOMAKE@
3110a48773fSEric van GyzenAWK = @AWK@
3125bb6a25fSPoul-Henning KampCC = @CC@
3130a48773fSEric van GyzenCCDEPMODE = @CCDEPMODE@
3145bb6a25fSPoul-Henning KampCFLAGS = @CFLAGS@
315ac69e5d4SEric van GyzenCMAKE_SHARED_LIBRARY_PREFIX = @CMAKE_SHARED_LIBRARY_PREFIX@
3160a48773fSEric van GyzenCPPFLAGS = @CPPFLAGS@
317cc68614dSXin LICSCOPE = @CSCOPE@
318cc68614dSXin LICTAGS = @CTAGS@
3190a48773fSEric van GyzenCXX = @CXX@
3200a48773fSEric van GyzenCXXCPP = @CXXCPP@
3210a48773fSEric van GyzenCXXDEPMODE = @CXXDEPMODE@
322220ed979SColeman KaneCXXFLAGS = @CXXFLAGS@
3230a48773fSEric van GyzenCYGPATH_W = @CYGPATH_W@
3240a48773fSEric van GyzenDEFS = @DEFS@
3250a48773fSEric van GyzenDEPDIR = @DEPDIR@
3260a48773fSEric van GyzenDLLTOOL = @DLLTOOL@
3270a48773fSEric van GyzenDOCBOOK_TO_MAN = @DOCBOOK_TO_MAN@
3280a48773fSEric van GyzenDSYMUTIL = @DSYMUTIL@
3290a48773fSEric van GyzenDUMPBIN = @DUMPBIN@
3300a48773fSEric van GyzenECHO_C = @ECHO_C@
3310a48773fSEric van GyzenECHO_N = @ECHO_N@
3320a48773fSEric van GyzenECHO_T = @ECHO_T@
3330a48773fSEric van GyzenEGREP = @EGREP@
334cc68614dSXin LIETAGS = @ETAGS@
3350a48773fSEric van GyzenEXEEXT = @EXEEXT@
336cc68614dSXin LIEXPAT_ATTR_INFO = @EXPAT_ATTR_INFO@
337cc68614dSXin LIEXPAT_CHAR_TYPE = @EXPAT_CHAR_TYPE@
338cc68614dSXin LIEXPAT_CONTEXT_BYTES = @EXPAT_CONTEXT_BYTES@
339cc68614dSXin LIEXPAT_DTD = @EXPAT_DTD@
340cc68614dSXin LIEXPAT_LARGE_SIZE = @EXPAT_LARGE_SIZE@
341cc68614dSXin LIEXPAT_MIN_SIZE = @EXPAT_MIN_SIZE@
342cc68614dSXin LIEXPAT_NS = @EXPAT_NS@
3430a48773fSEric van GyzenFGREP = @FGREP@
34471f0c44aSXin LIFILECMD = @FILECMD@
3450a48773fSEric van GyzenFILEMAP = @FILEMAP@
3460a48773fSEric van GyzenGREP = @GREP@
3474543ef51SXin LIHAVE_CXX11 = @HAVE_CXX11@
3480a48773fSEric van GyzenINSTALL = @INSTALL@
3490a48773fSEric van GyzenINSTALL_DATA = @INSTALL_DATA@
3500a48773fSEric van GyzenINSTALL_PROGRAM = @INSTALL_PROGRAM@
3510a48773fSEric van GyzenINSTALL_SCRIPT = @INSTALL_SCRIPT@
3520a48773fSEric van GyzenINSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
3530a48773fSEric van GyzenLD = @LD@
3540a48773fSEric van GyzenLDFLAGS = @LDFLAGS@
3550a48773fSEric van GyzenLIBAGE = @LIBAGE@
3560a48773fSEric van GyzenLIBCURRENT = @LIBCURRENT@
357cc68614dSXin LILIBDIR_BASENAME = @LIBDIR_BASENAME@
358cc68614dSXin LILIBM = @LIBM@
3590a48773fSEric van GyzenLIBOBJS = @LIBOBJS@
3600a48773fSEric van GyzenLIBREVISION = @LIBREVISION@
3610a48773fSEric van GyzenLIBS = @LIBS@
3620a48773fSEric van GyzenLIBTOOL = @LIBTOOL@
3630a48773fSEric van GyzenLIPO = @LIPO@
3640a48773fSEric van GyzenLN_S = @LN_S@
3650a48773fSEric van GyzenLTLIBOBJS = @LTLIBOBJS@
3660a48773fSEric van GyzenLT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
3674543ef51SXin LIMAINT = @MAINT@
3680a48773fSEric van GyzenMAKEINFO = @MAKEINFO@
3690a48773fSEric van GyzenMANIFEST_TOOL = @MANIFEST_TOOL@
3700a48773fSEric van GyzenMKDIR_P = @MKDIR_P@
3710a48773fSEric van GyzenNM = @NM@
3720a48773fSEric van GyzenNMEDIT = @NMEDIT@
3730a48773fSEric van GyzenOBJDUMP = @OBJDUMP@
3740a48773fSEric van GyzenOBJEXT = @OBJEXT@
3750a48773fSEric van GyzenOTOOL = @OTOOL@
3760a48773fSEric van GyzenOTOOL64 = @OTOOL64@
3770a48773fSEric van GyzenPACKAGE = @PACKAGE@
3780a48773fSEric van GyzenPACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
3790a48773fSEric van GyzenPACKAGE_NAME = @PACKAGE_NAME@
3800a48773fSEric van GyzenPACKAGE_STRING = @PACKAGE_STRING@
3810a48773fSEric van GyzenPACKAGE_TARNAME = @PACKAGE_TARNAME@
3820a48773fSEric van GyzenPACKAGE_URL = @PACKAGE_URL@
3830a48773fSEric van GyzenPACKAGE_VERSION = @PACKAGE_VERSION@
3840a48773fSEric van GyzenPATH_SEPARATOR = @PATH_SEPARATOR@
3850a48773fSEric van GyzenRANLIB = @RANLIB@
3860a48773fSEric van GyzenSED = @SED@
3870a48773fSEric van GyzenSET_MAKE = @SET_MAKE@
3880a48773fSEric van GyzenSHELL = @SHELL@
389ffd294a1SEnji CooperSIZEOF_VOID_P = @SIZEOF_VOID_P@
390cc68614dSXin LISO_MAJOR = @SO_MAJOR@
391cc68614dSXin LISO_MINOR = @SO_MINOR@
392cc68614dSXin LISO_PATCH = @SO_PATCH@
3930a48773fSEric van GyzenSTRIP = @STRIP@
3940a48773fSEric van GyzenVERSION = @VERSION@
3950a48773fSEric van Gyzenabs_builddir = @abs_builddir@
3960a48773fSEric van Gyzenabs_srcdir = @abs_srcdir@
3970a48773fSEric van Gyzenabs_top_builddir = @abs_top_builddir@
3980a48773fSEric van Gyzenabs_top_srcdir = @abs_top_srcdir@
3990a48773fSEric van Gyzenac_ct_AR = @ac_ct_AR@
4000a48773fSEric van Gyzenac_ct_CC = @ac_ct_CC@
4010a48773fSEric van Gyzenac_ct_CXX = @ac_ct_CXX@
4020a48773fSEric van Gyzenac_ct_DUMPBIN = @ac_ct_DUMPBIN@
4030a48773fSEric van Gyzenam__include = @am__include@
4040a48773fSEric van Gyzenam__leading_dot = @am__leading_dot@
4050a48773fSEric van Gyzenam__quote = @am__quote@
4060a48773fSEric van Gyzenam__tar = @am__tar@
4070a48773fSEric van Gyzenam__untar = @am__untar@
4080a48773fSEric van Gyzenbindir = @bindir@
4090a48773fSEric van Gyzenbuild = @build@
4100a48773fSEric van Gyzenbuild_alias = @build_alias@
4110a48773fSEric van Gyzenbuild_cpu = @build_cpu@
4120a48773fSEric van Gyzenbuild_os = @build_os@
4130a48773fSEric van Gyzenbuild_vendor = @build_vendor@
4140a48773fSEric van Gyzenbuilddir = @builddir@
4150a48773fSEric van Gyzendatadir = @datadir@
4160a48773fSEric van Gyzendatarootdir = @datarootdir@
4170a48773fSEric van Gyzendocdir = @docdir@
4180a48773fSEric van Gyzendvidir = @dvidir@
4190a48773fSEric van Gyzenexec_prefix = @exec_prefix@
4200a48773fSEric van Gyzenhost = @host@
4210a48773fSEric van Gyzenhost_alias = @host_alias@
4220a48773fSEric van Gyzenhost_cpu = @host_cpu@
4230a48773fSEric van Gyzenhost_os = @host_os@
4240a48773fSEric van Gyzenhost_vendor = @host_vendor@
4250a48773fSEric van Gyzenhtmldir = @htmldir@
4260a48773fSEric van Gyzenincludedir = @includedir@
4270a48773fSEric van Gyzeninfodir = @infodir@
4280a48773fSEric van Gyzeninstall_sh = @install_sh@
4290a48773fSEric van Gyzenlibdir = @libdir@
4300a48773fSEric van Gyzenlibexecdir = @libexecdir@
4310a48773fSEric van Gyzenlocaledir = @localedir@
4320a48773fSEric van Gyzenlocalstatedir = @localstatedir@
4330a48773fSEric van Gyzenmandir = @mandir@
4340a48773fSEric van Gyzenmkdir_p = @mkdir_p@
4350a48773fSEric van Gyzenoldincludedir = @oldincludedir@
4360a48773fSEric van Gyzenpdfdir = @pdfdir@
4370a48773fSEric van Gyzenprefix = @prefix@
4380a48773fSEric van Gyzenprogram_transform_name = @program_transform_name@
4390a48773fSEric van Gyzenpsdir = @psdir@
440cc68614dSXin LIrunstatedir = @runstatedir@
4410a48773fSEric van Gyzensbindir = @sbindir@
4420a48773fSEric van Gyzensharedstatedir = @sharedstatedir@
4430a48773fSEric van Gyzensrcdir = @srcdir@
4440a48773fSEric van Gyzensysconfdir = @sysconfdir@
4450a48773fSEric van Gyzentarget_alias = @target_alias@
4460a48773fSEric van Gyzentop_build_prefix = @top_build_prefix@
4470a48773fSEric van Gyzentop_builddir = @top_builddir@
4480a48773fSEric van Gyzentop_srcdir = @top_srcdir@
4490a48773fSEric van GyzenAUTOMAKE_OPTIONS = \
4500a48773fSEric van Gyzen    dist-bzip2 \
4516b2c1e49SXin LI    dist-lzip \
4526b2c1e49SXin LI    dist-xz \
4530a48773fSEric van Gyzen    foreign \
4540a48773fSEric van Gyzen    subdir-objects
4555bb6a25fSPoul-Henning Kamp
4560a48773fSEric van GyzenACLOCAL_AMFLAGS = -I m4
4570a48773fSEric van GyzenLIBTOOLFLAGS = --verbose
4586b2c1e49SXin LISUBDIRS = lib $(am__append_1) $(am__append_2) $(am__append_3)
4590a48773fSEric van Gyzenpkgconfig_DATA = expat.pc
4600a48773fSEric van Gyzenpkgconfigdir = $(libdir)/pkgconfig
461cc68614dSXin LIdist_cmake_DATA = \
462cc68614dSXin LI    cmake/autotools/expat.cmake
463cc68614dSXin LI
464cc68614dSXin LInodist_cmake_DATA = \
465cc68614dSXin LI    cmake/autotools/expat-config-version.cmake \
466cc68614dSXin LI    cmake/autotools/expat-noconfig.cmake \
467cc68614dSXin LI    cmake/expat-config.cmake
468cc68614dSXin LI
469cc68614dSXin LIcmakedir = $(libdir)/cmake/expat-@PACKAGE_VERSION@
4700a48773fSEric van Gyzen_EXTRA_DIST_CMAKE = \
471cc68614dSXin LI    cmake/autotools/expat-noconfig__linux.cmake.in \
472cc68614dSXin LI    cmake/autotools/expat-noconfig__macos.cmake.in \
473cc68614dSXin LI    cmake/autotools/expat-noconfig__windows.cmake.in \
474cc68614dSXin LI    cmake/autotools/expat-package-init.cmake \
4756b2c1e49SXin LI    cmake/mingw-toolchain.cmake \
4766b2c1e49SXin LI    \
4770a48773fSEric van Gyzen    CMakeLists.txt \
4780a48773fSEric van Gyzen    CMake.README \
4790a48773fSEric van Gyzen    ConfigureChecks.cmake \
480cc68614dSXin LI    expat.pc.cmake \
4810a48773fSEric van Gyzen    expat_config.h.cmake
4825bb6a25fSPoul-Henning Kamp
4830a48773fSEric van Gyzen_EXTRA_DIST_WINDOWS = \
4846b2c1e49SXin LI    win32/build_expat_iss.bat \
4850a48773fSEric van Gyzen    win32/expat.iss \
4860a48773fSEric van Gyzen    win32/MANIFEST.txt \
4877ed8e142SXin LI    win32/README.txt \
4884543ef51SXin LI    win32/version.rc.cmake
4895bb6a25fSPoul-Henning Kamp
4900a48773fSEric van GyzenEXTRA_DIST = \
4910a48773fSEric van Gyzen    $(_EXTRA_DIST_CMAKE) \
4920a48773fSEric van Gyzen    $(_EXTRA_DIST_WINDOWS) \
4930a48773fSEric van Gyzen    \
4940a48773fSEric van Gyzen    conftools/expat.m4 \
4950a48773fSEric van Gyzen    conftools/get-version.sh \
496cc68614dSXin LI    \
497*fe927888SPhilip Paeps    fuzz/xml_lpm_fuzzer.cpp \
498*fe927888SPhilip Paeps    fuzz/xml_lpm_fuzzer.proto \
499cc68614dSXin LI    fuzz/xml_parsebuffer_fuzzer.c \
500cc68614dSXin LI    fuzz/xml_parse_fuzzer.c \
5010a48773fSEric van Gyzen    \
5026b2c1e49SXin LI    xmlwf/xmlwf_helpgen.py \
5036b2c1e49SXin LI    xmlwf/xmlwf_helpgen.sh \
5046b2c1e49SXin LI    \
505cc68614dSXin LI    buildconf.sh \
5060a48773fSEric van Gyzen    Changes \
5070a48773fSEric van Gyzen    README.md \
5086b2c1e49SXin LI    \
5096b2c1e49SXin LI    fix-xmltest-log.sh \
5100a48773fSEric van Gyzen    test-driver-wrapper.sh
5115bb6a25fSPoul-Henning Kamp
5120a48773fSEric van Gyzenall: expat_config.h
5130a48773fSEric van Gyzen	$(MAKE) $(AM_MAKEFLAGS) all-recursive
5140a48773fSEric van Gyzen
5150a48773fSEric van Gyzen.SUFFIXES:
5160a48773fSEric van Gyzenam--refresh: Makefile
5170a48773fSEric van Gyzen	@:
5184543ef51SXin LI$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
5190a48773fSEric van Gyzen	@for dep in $?; do \
5200a48773fSEric van Gyzen	  case '$(am__configure_deps)' in \
5210a48773fSEric van Gyzen	    *$$dep*) \
5220a48773fSEric van Gyzen	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
5230a48773fSEric van Gyzen	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
5240a48773fSEric van Gyzen		&& exit 0; \
5250a48773fSEric van Gyzen	      exit 1;; \
5260a48773fSEric van Gyzen	  esac; \
5270a48773fSEric van Gyzen	done; \
5280a48773fSEric van Gyzen	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
5290a48773fSEric van Gyzen	$(am__cd) $(top_srcdir) && \
5300a48773fSEric van Gyzen	  $(AUTOMAKE) --foreign Makefile
5310a48773fSEric van GyzenMakefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
5320a48773fSEric van Gyzen	@case '$?' in \
5330a48773fSEric van Gyzen	  *config.status*) \
5340a48773fSEric van Gyzen	    echo ' $(SHELL) ./config.status'; \
5350a48773fSEric van Gyzen	    $(SHELL) ./config.status;; \
5360a48773fSEric van Gyzen	  *) \
5376b2c1e49SXin LI	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
5386b2c1e49SXin LI	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
5390a48773fSEric van Gyzen	esac;
5400a48773fSEric van Gyzen
5410a48773fSEric van Gyzen$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
5420a48773fSEric van Gyzen	$(SHELL) ./config.status --recheck
5430a48773fSEric van Gyzen
5444543ef51SXin LI$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
5450a48773fSEric van Gyzen	$(am__cd) $(srcdir) && $(AUTOCONF)
5464543ef51SXin LI$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
5470a48773fSEric van Gyzen	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
5480a48773fSEric van Gyzen$(am__aclocal_m4_deps):
5490a48773fSEric van Gyzen
5500a48773fSEric van Gyzenexpat_config.h: stamp-h1
5510a48773fSEric van Gyzen	@test -f $@ || rm -f stamp-h1
5520a48773fSEric van Gyzen	@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
5530a48773fSEric van Gyzen
5540a48773fSEric van Gyzenstamp-h1: $(srcdir)/expat_config.h.in $(top_builddir)/config.status
5550a48773fSEric van Gyzen	@rm -f stamp-h1
5560a48773fSEric van Gyzen	cd $(top_builddir) && $(SHELL) ./config.status expat_config.h
5574543ef51SXin LI$(srcdir)/expat_config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
5580a48773fSEric van Gyzen	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
5590a48773fSEric van Gyzen	rm -f stamp-h1
5600a48773fSEric van Gyzen	touch $@
5610a48773fSEric van Gyzen
5620a48773fSEric van Gyzendistclean-hdr:
5630a48773fSEric van Gyzen	-rm -f expat_config.h stamp-h1
5640a48773fSEric van Gyzenexpat.pc: $(top_builddir)/config.status $(srcdir)/expat.pc.in
5650a48773fSEric van Gyzen	cd $(top_builddir) && $(SHELL) ./config.status $@
566cc68614dSXin LIcmake/expat-config.cmake: $(top_builddir)/config.status $(top_srcdir)/cmake/expat-config.cmake.in
567cc68614dSXin LI	cd $(top_builddir) && $(SHELL) ./config.status $@
568cc68614dSXin LIcmake/autotools/expat-config-version.cmake: $(top_builddir)/config.status $(top_srcdir)/cmake/autotools/expat-config-version.cmake.in
569cc68614dSXin LI	cd $(top_builddir) && $(SHELL) ./config.status $@
570cc68614dSXin LIcmake/autotools/expat-noconfig.cmake: $(top_builddir)/config.status
571cc68614dSXin LI	cd $(top_builddir) && $(SHELL) ./config.status $@
5720a48773fSEric van Gyzenrun.sh: $(top_builddir)/config.status $(srcdir)/run.sh.in
573e3466a89SXin LI	cd $(top_builddir) && $(SHELL) ./config.status $@
574e3466a89SXin LI
5750a48773fSEric van Gyzenmostlyclean-libtool:
5760a48773fSEric van Gyzen	-rm -f *.lo
5775bb6a25fSPoul-Henning Kamp
5780a48773fSEric van Gyzenclean-libtool:
5790a48773fSEric van Gyzen	-rm -rf .libs _libs
5805bb6a25fSPoul-Henning Kamp
5810a48773fSEric van Gyzendistclean-libtool:
5820a48773fSEric van Gyzen	-rm -f libtool config.lt
583cc68614dSXin LIinstall-dist_cmakeDATA: $(dist_cmake_DATA)
584cc68614dSXin LI	@$(NORMAL_INSTALL)
585cc68614dSXin LI	@list='$(dist_cmake_DATA)'; test -n "$(cmakedir)" || list=; \
586cc68614dSXin LI	if test -n "$$list"; then \
587cc68614dSXin LI	  echo " $(MKDIR_P) '$(DESTDIR)$(cmakedir)'"; \
588cc68614dSXin LI	  $(MKDIR_P) "$(DESTDIR)$(cmakedir)" || exit 1; \
589cc68614dSXin LI	fi; \
590cc68614dSXin LI	for p in $$list; do \
591cc68614dSXin LI	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
592cc68614dSXin LI	  echo "$$d$$p"; \
593cc68614dSXin LI	done | $(am__base_list) | \
594cc68614dSXin LI	while read files; do \
595cc68614dSXin LI	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(cmakedir)'"; \
596cc68614dSXin LI	  $(INSTALL_DATA) $$files "$(DESTDIR)$(cmakedir)" || exit $$?; \
597cc68614dSXin LI	done
598cc68614dSXin LI
599cc68614dSXin LIuninstall-dist_cmakeDATA:
600cc68614dSXin LI	@$(NORMAL_UNINSTALL)
601cc68614dSXin LI	@list='$(dist_cmake_DATA)'; test -n "$(cmakedir)" || list=; \
602cc68614dSXin LI	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
603cc68614dSXin LI	dir='$(DESTDIR)$(cmakedir)'; $(am__uninstall_files_from_dir)
604cc68614dSXin LIinstall-nodist_cmakeDATA: $(nodist_cmake_DATA)
605cc68614dSXin LI	@$(NORMAL_INSTALL)
606cc68614dSXin LI	@list='$(nodist_cmake_DATA)'; test -n "$(cmakedir)" || list=; \
607cc68614dSXin LI	if test -n "$$list"; then \
608cc68614dSXin LI	  echo " $(MKDIR_P) '$(DESTDIR)$(cmakedir)'"; \
609cc68614dSXin LI	  $(MKDIR_P) "$(DESTDIR)$(cmakedir)" || exit 1; \
610cc68614dSXin LI	fi; \
611cc68614dSXin LI	for p in $$list; do \
612cc68614dSXin LI	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
613cc68614dSXin LI	  echo "$$d$$p"; \
614cc68614dSXin LI	done | $(am__base_list) | \
615cc68614dSXin LI	while read files; do \
616cc68614dSXin LI	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(cmakedir)'"; \
617cc68614dSXin LI	  $(INSTALL_DATA) $$files "$(DESTDIR)$(cmakedir)" || exit $$?; \
618cc68614dSXin LI	done
619cc68614dSXin LI
620cc68614dSXin LIuninstall-nodist_cmakeDATA:
621cc68614dSXin LI	@$(NORMAL_UNINSTALL)
622cc68614dSXin LI	@list='$(nodist_cmake_DATA)'; test -n "$(cmakedir)" || list=; \
623cc68614dSXin LI	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
624cc68614dSXin LI	dir='$(DESTDIR)$(cmakedir)'; $(am__uninstall_files_from_dir)
6250a48773fSEric van Gyzeninstall-pkgconfigDATA: $(pkgconfig_DATA)
6260a48773fSEric van Gyzen	@$(NORMAL_INSTALL)
6270a48773fSEric van Gyzen	@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
6280a48773fSEric van Gyzen	if test -n "$$list"; then \
6290a48773fSEric van Gyzen	  echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
6300a48773fSEric van Gyzen	  $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
6310a48773fSEric van Gyzen	fi; \
6320a48773fSEric van Gyzen	for p in $$list; do \
6330a48773fSEric van Gyzen	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
6340a48773fSEric van Gyzen	  echo "$$d$$p"; \
6350a48773fSEric van Gyzen	done | $(am__base_list) | \
6360a48773fSEric van Gyzen	while read files; do \
6370a48773fSEric van Gyzen	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
6380a48773fSEric van Gyzen	  $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
6390a48773fSEric van Gyzen	done
6400a48773fSEric van Gyzen
6410a48773fSEric van Gyzenuninstall-pkgconfigDATA:
6420a48773fSEric van Gyzen	@$(NORMAL_UNINSTALL)
6430a48773fSEric van Gyzen	@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
6440a48773fSEric van Gyzen	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
6450a48773fSEric van Gyzen	dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
6460a48773fSEric van Gyzen
6470a48773fSEric van Gyzen# This directory's subdirectories are mostly independent; you can cd
6480a48773fSEric van Gyzen# into them and run 'make' without going through this Makefile.
6490a48773fSEric van Gyzen# To change the values of 'make' variables: instead of editing Makefiles,
6500a48773fSEric van Gyzen# (1) if the variable is set in 'config.status', edit 'config.status'
6510a48773fSEric van Gyzen#     (which will cause the Makefiles to be regenerated when you run 'make');
6520a48773fSEric van Gyzen# (2) otherwise, pass the desired values on the 'make' command line.
6530a48773fSEric van Gyzen$(am__recursive_targets):
6540a48773fSEric van Gyzen	@fail=; \
6550a48773fSEric van Gyzen	if $(am__make_keepgoing); then \
6560a48773fSEric van Gyzen	  failcom='fail=yes'; \
6570a48773fSEric van Gyzen	else \
6580a48773fSEric van Gyzen	  failcom='exit 1'; \
6590a48773fSEric van Gyzen	fi; \
6600a48773fSEric van Gyzen	dot_seen=no; \
6610a48773fSEric van Gyzen	target=`echo $@ | sed s/-recursive//`; \
6620a48773fSEric van Gyzen	case "$@" in \
6630a48773fSEric van Gyzen	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
6640a48773fSEric van Gyzen	  *) list='$(SUBDIRS)' ;; \
6650a48773fSEric van Gyzen	esac; \
6660a48773fSEric van Gyzen	for subdir in $$list; do \
6670a48773fSEric van Gyzen	  echo "Making $$target in $$subdir"; \
6680a48773fSEric van Gyzen	  if test "$$subdir" = "."; then \
6690a48773fSEric van Gyzen	    dot_seen=yes; \
6700a48773fSEric van Gyzen	    local_target="$$target-am"; \
6710a48773fSEric van Gyzen	  else \
6720a48773fSEric van Gyzen	    local_target="$$target"; \
6730a48773fSEric van Gyzen	  fi; \
6740a48773fSEric van Gyzen	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
6750a48773fSEric van Gyzen	  || eval $$failcom; \
6760a48773fSEric van Gyzen	done; \
6770a48773fSEric van Gyzen	if test "$$dot_seen" = "no"; then \
6780a48773fSEric van Gyzen	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
6790a48773fSEric van Gyzen	fi; test -z "$$fail"
6800a48773fSEric van Gyzen
6810a48773fSEric van GyzenID: $(am__tagged_files)
6820a48773fSEric van Gyzen	$(am__define_uniq_tagged_files); mkid -fID $$unique
6830a48773fSEric van Gyzentags: tags-recursive
6840a48773fSEric van GyzenTAGS: tags
6850a48773fSEric van Gyzen
6860a48773fSEric van Gyzentags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
6870a48773fSEric van Gyzen	set x; \
6880a48773fSEric van Gyzen	here=`pwd`; \
6890a48773fSEric van Gyzen	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
6900a48773fSEric van Gyzen	  include_option=--etags-include; \
6910a48773fSEric van Gyzen	  empty_fix=.; \
6920a48773fSEric van Gyzen	else \
6930a48773fSEric van Gyzen	  include_option=--include; \
6940a48773fSEric van Gyzen	  empty_fix=; \
6950a48773fSEric van Gyzen	fi; \
6960a48773fSEric van Gyzen	list='$(SUBDIRS)'; for subdir in $$list; do \
6970a48773fSEric van Gyzen	  if test "$$subdir" = .; then :; else \
6980a48773fSEric van Gyzen	    test ! -f $$subdir/TAGS || \
6990a48773fSEric van Gyzen	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
7000a48773fSEric van Gyzen	  fi; \
7010a48773fSEric van Gyzen	done; \
7020a48773fSEric van Gyzen	$(am__define_uniq_tagged_files); \
7030a48773fSEric van Gyzen	shift; \
7040a48773fSEric van Gyzen	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
7050a48773fSEric van Gyzen	  test -n "$$unique" || unique=$$empty_fix; \
7060a48773fSEric van Gyzen	  if test $$# -gt 0; then \
7070a48773fSEric van Gyzen	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
7080a48773fSEric van Gyzen	      "$$@" $$unique; \
7090a48773fSEric van Gyzen	  else \
7100a48773fSEric van Gyzen	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
7110a48773fSEric van Gyzen	      $$unique; \
7120a48773fSEric van Gyzen	  fi; \
7130a48773fSEric van Gyzen	fi
7140a48773fSEric van Gyzenctags: ctags-recursive
7150a48773fSEric van Gyzen
7160a48773fSEric van GyzenCTAGS: ctags
7170a48773fSEric van Gyzenctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
7180a48773fSEric van Gyzen	$(am__define_uniq_tagged_files); \
7190a48773fSEric van Gyzen	test -z "$(CTAGS_ARGS)$$unique" \
7200a48773fSEric van Gyzen	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
7210a48773fSEric van Gyzen	     $$unique
7220a48773fSEric van Gyzen
7230a48773fSEric van GyzenGTAGS:
7240a48773fSEric van Gyzen	here=`$(am__cd) $(top_builddir) && pwd` \
7250a48773fSEric van Gyzen	  && $(am__cd) $(top_srcdir) \
7260a48773fSEric van Gyzen	  && gtags -i $(GTAGS_ARGS) "$$here"
7270a48773fSEric van Gyzencscope: cscope.files
7280a48773fSEric van Gyzen	test ! -s cscope.files \
7290a48773fSEric van Gyzen	  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
7300a48773fSEric van Gyzenclean-cscope:
7310a48773fSEric van Gyzen	-rm -f cscope.files
7320a48773fSEric van Gyzencscope.files: clean-cscope cscopelist
7330a48773fSEric van Gyzencscopelist: cscopelist-recursive
7340a48773fSEric van Gyzen
7350a48773fSEric van Gyzencscopelist-am: $(am__tagged_files)
7360a48773fSEric van Gyzen	list='$(am__tagged_files)'; \
7370a48773fSEric van Gyzen	case "$(srcdir)" in \
7380a48773fSEric van Gyzen	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
7390a48773fSEric van Gyzen	  *) sdir=$(subdir)/$(srcdir) ;; \
7400a48773fSEric van Gyzen	esac; \
7410a48773fSEric van Gyzen	for i in $$list; do \
7420a48773fSEric van Gyzen	  if test -f "$$i"; then \
7430a48773fSEric van Gyzen	    echo "$(subdir)/$$i"; \
7440a48773fSEric van Gyzen	  else \
7450a48773fSEric van Gyzen	    echo "$$sdir/$$i"; \
7460a48773fSEric van Gyzen	  fi; \
7470a48773fSEric van Gyzen	done >> $(top_builddir)/cscope.files
7480a48773fSEric van Gyzen
7490a48773fSEric van Gyzendistclean-tags:
7500a48773fSEric van Gyzen	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
7510a48773fSEric van Gyzen	-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
7526b2c1e49SXin LIdistdir: $(BUILT_SOURCES)
7536b2c1e49SXin LI	$(MAKE) $(AM_MAKEFLAGS) distdir-am
7546b2c1e49SXin LI
7556b2c1e49SXin LIdistdir-am: $(DISTFILES)
7560a48773fSEric van Gyzen	$(am__remove_distdir)
7570a48773fSEric van Gyzen	test -d "$(distdir)" || mkdir "$(distdir)"
7580a48773fSEric van Gyzen	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
7590a48773fSEric van Gyzen	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
7600a48773fSEric van Gyzen	list='$(DISTFILES)'; \
7610a48773fSEric van Gyzen	  dist_files=`for file in $$list; do echo $$file; done | \
7620a48773fSEric van Gyzen	  sed -e "s|^$$srcdirstrip/||;t" \
7630a48773fSEric van Gyzen	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
7640a48773fSEric van Gyzen	case $$dist_files in \
7650a48773fSEric van Gyzen	  */*) $(MKDIR_P) `echo "$$dist_files" | \
7660a48773fSEric van Gyzen			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
7670a48773fSEric van Gyzen			   sort -u` ;; \
7680a48773fSEric van Gyzen	esac; \
7690a48773fSEric van Gyzen	for file in $$dist_files; do \
7700a48773fSEric van Gyzen	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
7710a48773fSEric van Gyzen	  if test -d $$d/$$file; then \
7720a48773fSEric van Gyzen	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
7730a48773fSEric van Gyzen	    if test -d "$(distdir)/$$file"; then \
7740a48773fSEric van Gyzen	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
7750a48773fSEric van Gyzen	    fi; \
7760a48773fSEric van Gyzen	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
7770a48773fSEric van Gyzen	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
7780a48773fSEric van Gyzen	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
7790a48773fSEric van Gyzen	    fi; \
7800a48773fSEric van Gyzen	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
7810a48773fSEric van Gyzen	  else \
7820a48773fSEric van Gyzen	    test -f "$(distdir)/$$file" \
7830a48773fSEric van Gyzen	    || cp -p $$d/$$file "$(distdir)/$$file" \
7840a48773fSEric van Gyzen	    || exit 1; \
7850a48773fSEric van Gyzen	  fi; \
7860a48773fSEric van Gyzen	done
7870a48773fSEric van Gyzen	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
7880a48773fSEric van Gyzen	  if test "$$subdir" = .; then :; else \
7890a48773fSEric van Gyzen	    $(am__make_dryrun) \
7900a48773fSEric van Gyzen	      || test -d "$(distdir)/$$subdir" \
7910a48773fSEric van Gyzen	      || $(MKDIR_P) "$(distdir)/$$subdir" \
7920a48773fSEric van Gyzen	      || exit 1; \
7930a48773fSEric van Gyzen	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
7940a48773fSEric van Gyzen	    $(am__relativize); \
7950a48773fSEric van Gyzen	    new_distdir=$$reldir; \
7960a48773fSEric van Gyzen	    dir1=$$subdir; dir2="$(top_distdir)"; \
7970a48773fSEric van Gyzen	    $(am__relativize); \
7980a48773fSEric van Gyzen	    new_top_distdir=$$reldir; \
7990a48773fSEric van Gyzen	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
8000a48773fSEric van Gyzen	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
8010a48773fSEric van Gyzen	    ($(am__cd) $$subdir && \
8020a48773fSEric van Gyzen	      $(MAKE) $(AM_MAKEFLAGS) \
8030a48773fSEric van Gyzen	        top_distdir="$$new_top_distdir" \
8040a48773fSEric van Gyzen	        distdir="$$new_distdir" \
8050a48773fSEric van Gyzen		am__remove_distdir=: \
8060a48773fSEric van Gyzen		am__skip_length_check=: \
8070a48773fSEric van Gyzen		am__skip_mode_fix=: \
8080a48773fSEric van Gyzen	        distdir) \
8090a48773fSEric van Gyzen	      || exit 1; \
8100a48773fSEric van Gyzen	  fi; \
8110a48773fSEric van Gyzen	done
8120a48773fSEric van Gyzen	-test -n "$(am__skip_mode_fix)" \
8130a48773fSEric van Gyzen	|| find "$(distdir)" -type d ! -perm -755 \
8140a48773fSEric van Gyzen		-exec chmod u+rwx,go+rx {} \; -o \
8150a48773fSEric van Gyzen	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
8160a48773fSEric van Gyzen	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
8170a48773fSEric van Gyzen	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
8180a48773fSEric van Gyzen	|| chmod -R a+r "$(distdir)"
8190a48773fSEric van Gyzendist-gzip: distdir
8200a48773fSEric van Gyzen	tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
8210a48773fSEric van Gyzen	$(am__post_remove_distdir)
8220a48773fSEric van Gyzendist-bzip2: distdir
8230a48773fSEric van Gyzen	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
8240a48773fSEric van Gyzen	$(am__post_remove_distdir)
8250a48773fSEric van Gyzendist-lzip: distdir
8260a48773fSEric van Gyzen	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
8270a48773fSEric van Gyzen	$(am__post_remove_distdir)
8280a48773fSEric van Gyzendist-xz: distdir
8290a48773fSEric van Gyzen	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
8300a48773fSEric van Gyzen	$(am__post_remove_distdir)
8310a48773fSEric van Gyzen
832cc68614dSXin LIdist-zstd: distdir
833cc68614dSXin LI	tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
834cc68614dSXin LI	$(am__post_remove_distdir)
835cc68614dSXin LI
8360a48773fSEric van Gyzendist-tarZ: distdir
8370a48773fSEric van Gyzen	@echo WARNING: "Support for distribution archives compressed with" \
8380a48773fSEric van Gyzen		       "legacy program 'compress' is deprecated." >&2
8390a48773fSEric van Gyzen	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
8400a48773fSEric van Gyzen	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
8410a48773fSEric van Gyzen	$(am__post_remove_distdir)
8420a48773fSEric van Gyzen
8430a48773fSEric van Gyzendist-shar: distdir
8440a48773fSEric van Gyzen	@echo WARNING: "Support for shar distribution archives is" \
8450a48773fSEric van Gyzen	               "deprecated." >&2
8460a48773fSEric van Gyzen	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
8470a48773fSEric van Gyzen	shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
8480a48773fSEric van Gyzen	$(am__post_remove_distdir)
8490a48773fSEric van Gyzen
8500a48773fSEric van Gyzendist-zip: distdir
8510a48773fSEric van Gyzen	-rm -f $(distdir).zip
8520a48773fSEric van Gyzen	zip -rq $(distdir).zip $(distdir)
8530a48773fSEric van Gyzen	$(am__post_remove_distdir)
8540a48773fSEric van Gyzen
8550a48773fSEric van Gyzendist dist-all:
8560a48773fSEric van Gyzen	$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
8570a48773fSEric van Gyzen	$(am__post_remove_distdir)
8580a48773fSEric van Gyzen
8590a48773fSEric van Gyzen# This target untars the dist file and tries a VPATH configuration.  Then
8600a48773fSEric van Gyzen# it guarantees that the distribution is self-contained by making another
8610a48773fSEric van Gyzen# tarfile.
8620a48773fSEric van Gyzendistcheck: dist
8630a48773fSEric van Gyzen	case '$(DIST_ARCHIVES)' in \
8640a48773fSEric van Gyzen	*.tar.gz*) \
8650a48773fSEric van Gyzen	  eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
8660a48773fSEric van Gyzen	*.tar.bz2*) \
8670a48773fSEric van Gyzen	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
8680a48773fSEric van Gyzen	*.tar.lz*) \
8690a48773fSEric van Gyzen	  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
8700a48773fSEric van Gyzen	*.tar.xz*) \
8710a48773fSEric van Gyzen	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
8720a48773fSEric van Gyzen	*.tar.Z*) \
8730a48773fSEric van Gyzen	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
8740a48773fSEric van Gyzen	*.shar.gz*) \
8750a48773fSEric van Gyzen	  eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
8760a48773fSEric van Gyzen	*.zip*) \
8770a48773fSEric van Gyzen	  unzip $(distdir).zip ;;\
878cc68614dSXin LI	*.tar.zst*) \
879cc68614dSXin LI	  zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
8800a48773fSEric van Gyzen	esac
8810a48773fSEric van Gyzen	chmod -R a-w $(distdir)
8820a48773fSEric van Gyzen	chmod u+w $(distdir)
8830a48773fSEric van Gyzen	mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
8840a48773fSEric van Gyzen	chmod a-w $(distdir)
8850a48773fSEric van Gyzen	test -d $(distdir)/_build || exit 0; \
8860a48773fSEric van Gyzen	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
8870a48773fSEric van Gyzen	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
8880a48773fSEric van Gyzen	  && am__cwd=`pwd` \
8890a48773fSEric van Gyzen	  && $(am__cd) $(distdir)/_build/sub \
8900a48773fSEric van Gyzen	  && ../../configure \
8910a48773fSEric van Gyzen	    $(AM_DISTCHECK_CONFIGURE_FLAGS) \
8920a48773fSEric van Gyzen	    $(DISTCHECK_CONFIGURE_FLAGS) \
8930a48773fSEric van Gyzen	    --srcdir=../.. --prefix="$$dc_install_base" \
8940a48773fSEric van Gyzen	  && $(MAKE) $(AM_MAKEFLAGS) \
895cc68614dSXin LI	  && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
8960a48773fSEric van Gyzen	  && $(MAKE) $(AM_MAKEFLAGS) check \
8970a48773fSEric van Gyzen	  && $(MAKE) $(AM_MAKEFLAGS) install \
8980a48773fSEric van Gyzen	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
8990a48773fSEric van Gyzen	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
9000a48773fSEric van Gyzen	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
9010a48773fSEric van Gyzen	        distuninstallcheck \
9020a48773fSEric van Gyzen	  && chmod -R a-w "$$dc_install_base" \
9030a48773fSEric van Gyzen	  && ({ \
9040a48773fSEric van Gyzen	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
9050a48773fSEric van Gyzen	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
9060a48773fSEric van Gyzen	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
9070a48773fSEric van Gyzen	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
9080a48773fSEric van Gyzen	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
9090a48773fSEric van Gyzen	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
9100a48773fSEric van Gyzen	  && rm -rf "$$dc_destdir" \
9110a48773fSEric van Gyzen	  && $(MAKE) $(AM_MAKEFLAGS) dist \
9120a48773fSEric van Gyzen	  && rm -rf $(DIST_ARCHIVES) \
9130a48773fSEric van Gyzen	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
9140a48773fSEric van Gyzen	  && cd "$$am__cwd" \
9150a48773fSEric van Gyzen	  || exit 1
9160a48773fSEric van Gyzen	$(am__post_remove_distdir)
9170a48773fSEric van Gyzen	@(echo "$(distdir) archives ready for distribution: "; \
9180a48773fSEric van Gyzen	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
9190a48773fSEric van Gyzen	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
9200a48773fSEric van Gyzendistuninstallcheck:
9210a48773fSEric van Gyzen	@test -n '$(distuninstallcheck_dir)' || { \
9220a48773fSEric van Gyzen	  echo 'ERROR: trying to run $@ with an empty' \
9230a48773fSEric van Gyzen	       '$$(distuninstallcheck_dir)' >&2; \
9240a48773fSEric van Gyzen	  exit 1; \
9250a48773fSEric van Gyzen	}; \
9260a48773fSEric van Gyzen	$(am__cd) '$(distuninstallcheck_dir)' || { \
9270a48773fSEric van Gyzen	  echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
9280a48773fSEric van Gyzen	  exit 1; \
9290a48773fSEric van Gyzen	}; \
9300a48773fSEric van Gyzen	test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
9310a48773fSEric van Gyzen	   || { echo "ERROR: files left after uninstall:" ; \
9320a48773fSEric van Gyzen	        if test -n "$(DESTDIR)"; then \
9330a48773fSEric van Gyzen	          echo "  (check DESTDIR support)"; \
9340a48773fSEric van Gyzen	        fi ; \
9350a48773fSEric van Gyzen	        $(distuninstallcheck_listfiles) ; \
9360a48773fSEric van Gyzen	        exit 1; } >&2
9370a48773fSEric van Gyzendistcleancheck: distclean
9380a48773fSEric van Gyzen	@if test '$(srcdir)' = . ; then \
9390a48773fSEric van Gyzen	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
9400a48773fSEric van Gyzen	  exit 1 ; \
9410a48773fSEric van Gyzen	fi
9420a48773fSEric van Gyzen	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
9430a48773fSEric van Gyzen	  || { echo "ERROR: files left in build directory after distclean:" ; \
9440a48773fSEric van Gyzen	       $(distcleancheck_listfiles) ; \
9450a48773fSEric van Gyzen	       exit 1; } >&2
9460a48773fSEric van Gyzencheck-am: all-am
9470a48773fSEric van Gyzencheck: check-recursive
9480a48773fSEric van Gyzenall-am: Makefile $(DATA) expat_config.h
9490a48773fSEric van Gyzeninstalldirs: installdirs-recursive
9500a48773fSEric van Gyzeninstalldirs-am:
951cc68614dSXin LI	for dir in "$(DESTDIR)$(cmakedir)" "$(DESTDIR)$(cmakedir)" "$(DESTDIR)$(pkgconfigdir)"; do \
9520a48773fSEric van Gyzen	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
9530a48773fSEric van Gyzen	done
9540a48773fSEric van Gyzeninstall: install-recursive
9550a48773fSEric van Gyzeninstall-exec: install-exec-recursive
9560a48773fSEric van Gyzeninstall-data: install-data-recursive
9570a48773fSEric van Gyzenuninstall: uninstall-recursive
9580a48773fSEric van Gyzen
9590a48773fSEric van Gyzeninstall-am: all-am
9600a48773fSEric van Gyzen	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
9610a48773fSEric van Gyzen
9620a48773fSEric van Gyzeninstallcheck: installcheck-recursive
9630a48773fSEric van Gyzeninstall-strip:
9640a48773fSEric van Gyzen	if test -z '$(STRIP)'; then \
9650a48773fSEric van Gyzen	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
9660a48773fSEric van Gyzen	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
9670a48773fSEric van Gyzen	      install; \
9680a48773fSEric van Gyzen	else \
9690a48773fSEric van Gyzen	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
9700a48773fSEric van Gyzen	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
9710a48773fSEric van Gyzen	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
9720a48773fSEric van Gyzen	fi
9730a48773fSEric van Gyzenmostlyclean-generic:
9740a48773fSEric van Gyzen
9750a48773fSEric van Gyzenclean-generic:
9760a48773fSEric van Gyzen
9770a48773fSEric van Gyzendistclean-generic:
9780a48773fSEric van Gyzen	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
9790a48773fSEric van Gyzen	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
9800a48773fSEric van Gyzen
9810a48773fSEric van Gyzenmaintainer-clean-generic:
9820a48773fSEric van Gyzen	@echo "This command is intended for maintainers to use"
9830a48773fSEric van Gyzen	@echo "it deletes files that may require special tools to rebuild."
9840a48773fSEric van Gyzenclean: clean-recursive
9850a48773fSEric van Gyzen
9860a48773fSEric van Gyzenclean-am: clean-generic clean-libtool mostlyclean-am
9870a48773fSEric van Gyzen
9880a48773fSEric van Gyzendistclean: distclean-recursive
9890a48773fSEric van Gyzen	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
9900a48773fSEric van Gyzen	-rm -f Makefile
9910a48773fSEric van Gyzendistclean-am: clean-am distclean-generic distclean-hdr \
9920a48773fSEric van Gyzen	distclean-libtool distclean-tags
9930a48773fSEric van Gyzen
9940a48773fSEric van Gyzendvi: dvi-recursive
9950a48773fSEric van Gyzen
9960a48773fSEric van Gyzendvi-am:
9970a48773fSEric van Gyzen
9980a48773fSEric van Gyzenhtml: html-recursive
9990a48773fSEric van Gyzen
10000a48773fSEric van Gyzenhtml-am:
10010a48773fSEric van Gyzen
10020a48773fSEric van Gyzeninfo: info-recursive
10030a48773fSEric van Gyzen
10040a48773fSEric van Gyzeninfo-am:
10050a48773fSEric van Gyzen
1006cc68614dSXin LIinstall-data-am: install-dist_cmakeDATA install-nodist_cmakeDATA \
1007cc68614dSXin LI	install-pkgconfigDATA
10080a48773fSEric van Gyzen
10090a48773fSEric van Gyzeninstall-dvi: install-dvi-recursive
10100a48773fSEric van Gyzen
10110a48773fSEric van Gyzeninstall-dvi-am:
10120a48773fSEric van Gyzen
10130a48773fSEric van Gyzeninstall-exec-am:
10140a48773fSEric van Gyzen
10150a48773fSEric van Gyzeninstall-html: install-html-recursive
10160a48773fSEric van Gyzen
10170a48773fSEric van Gyzeninstall-html-am:
10180a48773fSEric van Gyzen
10190a48773fSEric van Gyzeninstall-info: install-info-recursive
10200a48773fSEric van Gyzen
10210a48773fSEric van Gyzeninstall-info-am:
10220a48773fSEric van Gyzen
10230a48773fSEric van Gyzeninstall-man:
10240a48773fSEric van Gyzen
10250a48773fSEric van Gyzeninstall-pdf: install-pdf-recursive
10260a48773fSEric van Gyzen
10270a48773fSEric van Gyzeninstall-pdf-am:
10280a48773fSEric van Gyzen
10290a48773fSEric van Gyzeninstall-ps: install-ps-recursive
10300a48773fSEric van Gyzen
10310a48773fSEric van Gyzeninstall-ps-am:
10320a48773fSEric van Gyzen
10330a48773fSEric van Gyzeninstallcheck-am:
10340a48773fSEric van Gyzen
10350a48773fSEric van Gyzenmaintainer-clean: maintainer-clean-recursive
10360a48773fSEric van Gyzen	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
10370a48773fSEric van Gyzen	-rm -rf $(top_srcdir)/autom4te.cache
10380a48773fSEric van Gyzen	-rm -f Makefile
10390a48773fSEric van Gyzenmaintainer-clean-am: distclean-am maintainer-clean-generic
10400a48773fSEric van Gyzen
10410a48773fSEric van Gyzenmostlyclean: mostlyclean-recursive
10420a48773fSEric van Gyzen
10430a48773fSEric van Gyzenmostlyclean-am: mostlyclean-generic mostlyclean-libtool
10440a48773fSEric van Gyzen
10450a48773fSEric van Gyzenpdf: pdf-recursive
10460a48773fSEric van Gyzen
10470a48773fSEric van Gyzenpdf-am:
10480a48773fSEric van Gyzen
10490a48773fSEric van Gyzenps: ps-recursive
10500a48773fSEric van Gyzen
10510a48773fSEric van Gyzenps-am:
10520a48773fSEric van Gyzen
1053cc68614dSXin LIuninstall-am: uninstall-dist_cmakeDATA uninstall-nodist_cmakeDATA \
1054cc68614dSXin LI	uninstall-pkgconfigDATA
10550a48773fSEric van Gyzen
10560a48773fSEric van Gyzen.MAKE: $(am__recursive_targets) all install-am install-strip
10570a48773fSEric van Gyzen
10580a48773fSEric van Gyzen.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
10590a48773fSEric van Gyzen	am--refresh check check-am clean clean-cscope clean-generic \
10600a48773fSEric van Gyzen	clean-libtool cscope cscopelist-am ctags ctags-am dist \
10610a48773fSEric van Gyzen	dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
1062cc68614dSXin LI	dist-xz dist-zip dist-zstd distcheck distclean \
1063cc68614dSXin LI	distclean-generic distclean-hdr distclean-libtool \
1064cc68614dSXin LI	distclean-tags distcleancheck distdir distuninstallcheck dvi \
1065cc68614dSXin LI	dvi-am html html-am info info-am install install-am \
1066cc68614dSXin LI	install-data install-data-am install-dist_cmakeDATA \
10670a48773fSEric van Gyzen	install-dvi install-dvi-am install-exec install-exec-am \
10680a48773fSEric van Gyzen	install-html install-html-am install-info install-info-am \
1069cc68614dSXin LI	install-man install-nodist_cmakeDATA install-pdf \
1070cc68614dSXin LI	install-pdf-am install-pkgconfigDATA install-ps install-ps-am \
1071cc68614dSXin LI	install-strip installcheck installcheck-am installdirs \
1072cc68614dSXin LI	installdirs-am maintainer-clean maintainer-clean-generic \
1073cc68614dSXin LI	mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
1074cc68614dSXin LI	ps ps-am tags tags-am uninstall uninstall-am \
1075cc68614dSXin LI	uninstall-dist_cmakeDATA uninstall-nodist_cmakeDATA \
1076cc68614dSXin LI	uninstall-pkgconfigDATA
10770a48773fSEric van Gyzen
10780a48773fSEric van Gyzen.PRECIOUS: Makefile
10795bb6a25fSPoul-Henning Kamp
10805bb6a25fSPoul-Henning Kamp
10810a48773fSEric van Gyzen.PHONY: buildlib
10820a48773fSEric van Gyzenbuildlib:
10830a48773fSEric van Gyzen	@echo 'ERROR: Running "make buildlib LIBRARY=libexpatw.la"' >&2
10840a48773fSEric van Gyzen	@echo 'ERROR: is no longer supported.  INSTEAD please:' >&2
10850a48773fSEric van Gyzen	@echo 'ERROR:' >&2
10860a48773fSEric van Gyzen	@echo 'ERROR:  * Mass-patch Makefile.am, e.g.' >&2
1087ffd294a1SEnji Cooper	@echo 'ERROR:    # find . -name Makefile.am -exec sed \' >&2
10880a48773fSEric van Gyzen	@echo 'ERROR:          -e "s,libexpat\.la,libexpatw.la," \' >&2
10890a48773fSEric van Gyzen	@echo 'ERROR:          -e "s,libexpat_la,libexpatw_la," \' >&2
1090ffd294a1SEnji Cooper	@echo 'ERROR:          -i.bak {} +' >&2
10910a48773fSEric van Gyzen	@echo 'ERROR:' >&2
10920a48773fSEric van Gyzen	@echo 'ERROR:  * Run automake to re-generate Makefile.in files' >&2
10930a48773fSEric van Gyzen	@echo 'ERROR:' >&2
10940a48773fSEric van Gyzen	@echo 'ERROR:  * Use "./configure --without-xmlwf" and/or' >&2
10950a48773fSEric van Gyzen	@echo 'ERROR:    "make -C lib all install" to bypass compilation' >&2
10960a48773fSEric van Gyzen	@echo 'ERROR:    of xmlwf (e.g. with -DXML_UNICODE)' >&2
10970a48773fSEric van Gyzen	@echo 'ERROR:' >&2
10980a48773fSEric van Gyzen	@false
10995bb6a25fSPoul-Henning Kamp
11000a48773fSEric van Gyzen.PHONY: run-benchmark
11010a48773fSEric van Gyzenrun-benchmark:
11020a48773fSEric van Gyzen	$(MAKE) -C tests/benchmark
11030a48773fSEric van Gyzen	./run.sh tests/benchmark/benchmark@EXEEXT@ -n $(top_srcdir)/../testdata/largefiles/recset.xml 65535 3
11044543ef51SXin LI	./run.sh tests/benchmark/benchmark@EXEEXT@ -n $(top_srcdir)/../testdata/largefiles/aaaaaa_attr.xml 4096 3
11054543ef51SXin LI	./run.sh tests/benchmark/benchmark@EXEEXT@ -n $(top_srcdir)/../testdata/largefiles/aaaaaa_cdata.xml 4096 3
11064543ef51SXin LI	./run.sh tests/benchmark/benchmark@EXEEXT@ -n $(top_srcdir)/../testdata/largefiles/aaaaaa_comment.xml 4096 3
11074543ef51SXin LI	./run.sh tests/benchmark/benchmark@EXEEXT@ -n $(top_srcdir)/../testdata/largefiles/aaaaaa_tag.xml 4096 3
11084543ef51SXin LI	./run.sh tests/benchmark/benchmark@EXEEXT@ -n $(top_srcdir)/../testdata/largefiles/aaaaaa_text.xml 4096 3
11095bb6a25fSPoul-Henning Kamp
11106b2c1e49SXin LI.PHONY: download-xmlts-zip
11116b2c1e49SXin LIdownload-xmlts-zip:
11120a48773fSEric van Gyzen	if test "$(XMLTS_ZIP)" = ""; then \
11135bb6a25fSPoul-Henning Kamp		wget --output-document=tests/xmlts.zip \
11140a48773fSEric van Gyzen			https://www.w3.org/XML/Test/xmlts20080827.zip; \
11150a48773fSEric van Gyzen	else \
11160a48773fSEric van Gyzen		cp $(XMLTS_ZIP) tests/xmlts.zip; \
11170a48773fSEric van Gyzen	fi
11185bb6a25fSPoul-Henning Kamp
11196b2c1e49SXin LItests/xmlts.zip:
11206b2c1e49SXin LI	$(MAKE) download-xmlts-zip
11216b2c1e49SXin LI
11226b2c1e49SXin LI.PHONY: extract-xmlts-zip
11236b2c1e49SXin LIextract-xmlts-zip: tests/xmlts.zip
11246b2c1e49SXin LI	[ -f $(builddir)/tests/xmlts.zip ] || $(MAKE) download-xmlts-zip  # vpath workaround
11255bb6a25fSPoul-Henning Kamp	cd tests && unzip -q xmlts.zip
11265bb6a25fSPoul-Henning Kamp
11276b2c1e49SXin LItests/xmlconf: tests/xmlts.zip
11286b2c1e49SXin LI	$(MAKE) extract-xmlts-zip
11296b2c1e49SXin LI
11300a48773fSEric van Gyzen.PHONY: run-xmltest
11310a48773fSEric van Gyzenrun-xmltest: tests/xmlconf
11326b2c1e49SXin LI@WITH_XMLWF_TRUE@	[ -d $(builddir)/tests/xmlconf ] || $(MAKE) extract-xmlts-zip  # vpath workaround
11336b2c1e49SXin LI@WITH_XMLWF_TRUE@	$(MAKE) -C lib
11340a48773fSEric van Gyzen@WITH_XMLWF_TRUE@	$(MAKE) -C xmlwf
11356b2c1e49SXin LI@WITH_XMLWF_TRUE@	$(srcdir)/tests/xmltest.sh "$(abs_builddir)/run.sh $(abs_builddir)/xmlwf/xmlwf@EXEEXT@" 2>&1 | tee $(builddir)/tests/xmltest.log
11366b2c1e49SXin LI@WITH_XMLWF_TRUE@	$(srcdir)/fix-xmltest-log.sh $(builddir)/tests/xmltest.log
11376b2c1e49SXin LI@WITH_XMLWF_TRUE@	diff -u $(srcdir)/tests/xmltest.log.expected $(builddir)/tests/xmltest.log
11380a48773fSEric van Gyzen@WITH_XMLWF_FALSE@	@echo 'ERROR: xmlwf is needed for "make run-xmltest".' >&2
11390a48773fSEric van Gyzen@WITH_XMLWF_FALSE@	@echo 'ERROR: Please re-configure without --without-xmlwf.' >&2
11400a48773fSEric van Gyzen@WITH_XMLWF_FALSE@	@false
1141be8aff81SXin LI
1142be8aff81SXin LI.PHONY: qa
1143be8aff81SXin LIqa:
11446b2c1e49SXin LI	QA_COMPILER=clang QA_SANITIZER=address   ./qa.sh
11456b2c1e49SXin LI	QA_COMPILER=clang QA_SANITIZER=memory    ./qa.sh
11466b2c1e49SXin LI	QA_COMPILER=clang QA_SANITIZER=undefined ./qa.sh
11476b2c1e49SXin LI	QA_COMPILER=gcc   QA_PROCESSOR=gcov      ./qa.sh
11485bb6a25fSPoul-Henning Kamp
11490a48773fSEric van Gyzen# Tell versions [3.59,3.63) of GNU make to not export all variables.
11500a48773fSEric van Gyzen# Otherwise a system limit (for SysV at least) may be exceeded.
11510a48773fSEric van Gyzen.NOEXPORT:
1152