xref: /freebsd/contrib/expat/Makefile.in (revision 52c2bb75163559a6e2866ad374a7de67a4ea1273)
1# Makefile.in generated by automake 1.15.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994-2017 Free Software Foundation, Inc.
5
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@
121@WITH_XMLWF_TRUE@am__append_1 = xmlwf doc
122subdir = .
123ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
124am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
125	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
126	$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
127	$(top_srcdir)/conftools/ac_c_bigendian_cross.m4 \
128	$(top_srcdir)/configure.ac
129am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
130	$(ACLOCAL_M4)
131DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
132	$(am__configure_deps) $(am__DIST_COMMON)
133am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
134 configure.lineno config.status.lineno
135mkinstalldirs = $(install_sh) -d
136CONFIG_HEADER = expat_config.h
137CONFIG_CLEAN_FILES = expat.pc run.sh
138CONFIG_CLEAN_VPATH_FILES =
139AM_V_P = $(am__v_P_@AM_V@)
140am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
141am__v_P_0 = false
142am__v_P_1 = :
143AM_V_GEN = $(am__v_GEN_@AM_V@)
144am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
145am__v_GEN_0 = @echo "  GEN     " $@;
146am__v_GEN_1 =
147AM_V_at = $(am__v_at_@AM_V@)
148am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
149am__v_at_0 = @
150am__v_at_1 =
151SOURCES =
152DIST_SOURCES =
153RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
154	ctags-recursive dvi-recursive html-recursive info-recursive \
155	install-data-recursive install-dvi-recursive \
156	install-exec-recursive install-html-recursive \
157	install-info-recursive install-pdf-recursive \
158	install-ps-recursive install-recursive installcheck-recursive \
159	installdirs-recursive pdf-recursive ps-recursive \
160	tags-recursive uninstall-recursive
161am__can_run_installinfo = \
162  case $$AM_UPDATE_INFO_DIR in \
163    n|no|NO) false;; \
164    *) (install-info --version) >/dev/null 2>&1;; \
165  esac
166am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
167am__vpath_adj = case $$p in \
168    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
169    *) f=$$p;; \
170  esac;
171am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
172am__install_max = 40
173am__nobase_strip_setup = \
174  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
175am__nobase_strip = \
176  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
177am__nobase_list = $(am__nobase_strip_setup); \
178  for p in $$list; do echo "$$p $$p"; done | \
179  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
180  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
181    if (++n[$$2] == $(am__install_max)) \
182      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
183    END { for (dir in files) print dir, files[dir] }'
184am__base_list = \
185  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
186  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
187am__uninstall_files_from_dir = { \
188  test -z "$$files" \
189    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
190    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
191         $(am__cd) "$$dir" && rm -f $$files; }; \
192  }
193am__installdirs = "$(DESTDIR)$(pkgconfigdir)"
194DATA = $(pkgconfig_DATA)
195RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
196  distclean-recursive maintainer-clean-recursive
197am__recursive_targets = \
198  $(RECURSIVE_TARGETS) \
199  $(RECURSIVE_CLEAN_TARGETS) \
200  $(am__extra_recursive_targets)
201AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
202	cscope distdir dist dist-all distcheck
203am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
204	$(LISP)expat_config.h.in
205# Read a list of newline-separated strings from the standard input,
206# and print each of them once, without duplicates.  Input order is
207# *not* preserved.
208am__uniquify_input = $(AWK) '\
209  BEGIN { nonempty = 0; } \
210  { items[$$0] = 1; nonempty = 1; } \
211  END { if (nonempty) { for (i in items) print i; }; } \
212'
213# Make sure the list of sources is unique.  This is necessary because,
214# e.g., the same source file might be shared among _SOURCES variables
215# for different programs/libraries.
216am__define_uniq_tagged_files = \
217  list='$(am__tagged_files)'; \
218  unique=`for i in $$list; do \
219    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
220  done | $(am__uniquify_input)`
221ETAGS = etags
222CTAGS = ctags
223CSCOPE = cscope
224DIST_SUBDIRS = lib examples tests xmlwf doc
225am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/expat.pc.in \
226	$(srcdir)/expat_config.h.in $(srcdir)/run.sh.in \
227	$(top_srcdir)/conftools/compile \
228	$(top_srcdir)/conftools/config.guess \
229	$(top_srcdir)/conftools/config.sub \
230	$(top_srcdir)/conftools/install-sh \
231	$(top_srcdir)/conftools/ltmain.sh \
232	$(top_srcdir)/conftools/missing AUTHORS COPYING \
233	conftools/compile conftools/config.guess conftools/config.sub \
234	conftools/install-sh conftools/ltmain.sh conftools/missing
235DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
236distdir = $(PACKAGE)-$(VERSION)
237top_distdir = $(distdir)
238am__remove_distdir = \
239  if test -d "$(distdir)"; then \
240    find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
241      && rm -rf "$(distdir)" \
242      || { sleep 5 && rm -rf "$(distdir)"; }; \
243  else :; fi
244am__post_remove_distdir = $(am__remove_distdir)
245am__relativize = \
246  dir0=`pwd`; \
247  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
248  sed_rest='s,^[^/]*/*,,'; \
249  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
250  sed_butlast='s,/*[^/]*$$,,'; \
251  while test -n "$$dir1"; do \
252    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
253    if test "$$first" != "."; then \
254      if test "$$first" = ".."; then \
255        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
256        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
257      else \
258        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
259        if test "$$first2" = "$$first"; then \
260          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
261        else \
262          dir2="../$$dir2"; \
263        fi; \
264        dir0="$$dir0"/"$$first"; \
265      fi; \
266    fi; \
267    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
268  done; \
269  reldir="$$dir2"
270GZIP_ENV = --best
271DIST_ARCHIVES = $(distdir).tar.bz2
272DIST_TARGETS = dist-bzip2
273distuninstallcheck_listfiles = find . -type f -print
274am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
275  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
276distcleancheck_listfiles = find . -type f -print
277ACLOCAL = @ACLOCAL@
278AMTAR = @AMTAR@
279AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
280AR = @AR@
281AS = @AS@
282AUTOCONF = @AUTOCONF@
283AUTOHEADER = @AUTOHEADER@
284AUTOMAKE = @AUTOMAKE@
285AWK = @AWK@
286CC = @CC@
287CCDEPMODE = @CCDEPMODE@
288CFLAGS = @CFLAGS@
289CPP = @CPP@
290CPPFLAGS = @CPPFLAGS@
291CXX = @CXX@
292CXXCPP = @CXXCPP@
293CXXDEPMODE = @CXXDEPMODE@
294CXXFLAGS = @CXXFLAGS@
295CYGPATH_W = @CYGPATH_W@
296DEFS = @DEFS@
297DEPDIR = @DEPDIR@
298DLLTOOL = @DLLTOOL@
299DOCBOOK_TO_MAN = @DOCBOOK_TO_MAN@
300DSYMUTIL = @DSYMUTIL@
301DUMPBIN = @DUMPBIN@
302ECHO_C = @ECHO_C@
303ECHO_N = @ECHO_N@
304ECHO_T = @ECHO_T@
305EGREP = @EGREP@
306EXEEXT = @EXEEXT@
307FGREP = @FGREP@
308FILEMAP = @FILEMAP@
309GREP = @GREP@
310INSTALL = @INSTALL@
311INSTALL_DATA = @INSTALL_DATA@
312INSTALL_PROGRAM = @INSTALL_PROGRAM@
313INSTALL_SCRIPT = @INSTALL_SCRIPT@
314INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
315LD = @LD@
316LDFLAGS = @LDFLAGS@
317LIBAGE = @LIBAGE@
318LIBCURRENT = @LIBCURRENT@
319LIBOBJS = @LIBOBJS@
320LIBREVISION = @LIBREVISION@
321LIBS = @LIBS@
322LIBTOOL = @LIBTOOL@
323LIPO = @LIPO@
324LN_S = @LN_S@
325LTLIBOBJS = @LTLIBOBJS@
326LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
327MAKEINFO = @MAKEINFO@
328MANIFEST_TOOL = @MANIFEST_TOOL@
329MKDIR_P = @MKDIR_P@
330NM = @NM@
331NMEDIT = @NMEDIT@
332OBJDUMP = @OBJDUMP@
333OBJEXT = @OBJEXT@
334OTOOL = @OTOOL@
335OTOOL64 = @OTOOL64@
336PACKAGE = @PACKAGE@
337PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
338PACKAGE_NAME = @PACKAGE_NAME@
339PACKAGE_STRING = @PACKAGE_STRING@
340PACKAGE_TARNAME = @PACKAGE_TARNAME@
341PACKAGE_URL = @PACKAGE_URL@
342PACKAGE_VERSION = @PACKAGE_VERSION@
343PATH_SEPARATOR = @PATH_SEPARATOR@
344RANLIB = @RANLIB@
345SED = @SED@
346SET_MAKE = @SET_MAKE@
347SHELL = @SHELL@
348STRIP = @STRIP@
349VERSION = @VERSION@
350abs_builddir = @abs_builddir@
351abs_srcdir = @abs_srcdir@
352abs_top_builddir = @abs_top_builddir@
353abs_top_srcdir = @abs_top_srcdir@
354ac_ct_AR = @ac_ct_AR@
355ac_ct_CC = @ac_ct_CC@
356ac_ct_CXX = @ac_ct_CXX@
357ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
358am__include = @am__include@
359am__leading_dot = @am__leading_dot@
360am__quote = @am__quote@
361am__tar = @am__tar@
362am__untar = @am__untar@
363bindir = @bindir@
364build = @build@
365build_alias = @build_alias@
366build_cpu = @build_cpu@
367build_os = @build_os@
368build_vendor = @build_vendor@
369builddir = @builddir@
370datadir = @datadir@
371datarootdir = @datarootdir@
372docdir = @docdir@
373dvidir = @dvidir@
374exec_prefix = @exec_prefix@
375host = @host@
376host_alias = @host_alias@
377host_cpu = @host_cpu@
378host_os = @host_os@
379host_vendor = @host_vendor@
380htmldir = @htmldir@
381includedir = @includedir@
382infodir = @infodir@
383install_sh = @install_sh@
384libdir = @libdir@
385libexecdir = @libexecdir@
386localedir = @localedir@
387localstatedir = @localstatedir@
388mandir = @mandir@
389mkdir_p = @mkdir_p@
390oldincludedir = @oldincludedir@
391pdfdir = @pdfdir@
392prefix = @prefix@
393program_transform_name = @program_transform_name@
394psdir = @psdir@
395sbindir = @sbindir@
396sharedstatedir = @sharedstatedir@
397srcdir = @srcdir@
398sysconfdir = @sysconfdir@
399target_alias = @target_alias@
400top_build_prefix = @top_build_prefix@
401top_builddir = @top_builddir@
402top_srcdir = @top_srcdir@
403AUTOMAKE_OPTIONS = \
404    dist-bzip2 \
405    foreign \
406    no-dist-gzip \
407    subdir-objects
408
409ACLOCAL_AMFLAGS = -I m4
410LIBTOOLFLAGS = --verbose
411SUBDIRS = lib examples tests $(am__append_1)
412pkgconfig_DATA = expat.pc
413pkgconfigdir = $(libdir)/pkgconfig
414_EXTRA_DIST_CMAKE = \
415    CMakeLists.txt \
416    CMake.README \
417    ConfigureChecks.cmake \
418    expat_config.h.cmake
419
420_EXTRA_DIST_WINDOWS = \
421    examples/elements.vcxproj \
422    examples/elements.vcxproj.filters \
423    examples/outline.vcxproj \
424    examples/outline.vcxproj.filters \
425    \
426    lib/expat_static.vcxproj \
427    lib/expat_static.vcxproj.filters \
428    lib/expat.vcxproj \
429    lib/expat.vcxproj.filters \
430    lib/expatw_static.vcxproj \
431    lib/expatw_static.vcxproj.filters \
432    lib/expatw.vcxproj \
433    lib/expatw.vcxproj.filters \
434    \
435    tests/benchmark/benchmark.sln \
436    tests/benchmark/benchmark.vcxproj \
437    \
438    tests/runtests.sln \
439    tests/runtests.vcxproj \
440    tests/runtests.vcxproj.filters \
441    \
442    win32/expat.iss \
443    win32/MANIFEST.txt \
444    win32/README.txt \
445    \
446    xmlwf/xmlwf.vcxproj \
447    xmlwf/xmlwf.vcxproj.filters \
448    \
449    expat.sln
450
451EXTRA_DIST = \
452    $(_EXTRA_DIST_CMAKE) \
453    $(_EXTRA_DIST_WINDOWS) \
454    \
455    conftools/expat.m4 \
456    conftools/get-version.sh \
457    conftools/PrintPath \
458    \
459    Changes \
460    README.md \
461    test-driver-wrapper.sh
462
463all: expat_config.h
464	$(MAKE) $(AM_MAKEFLAGS) all-recursive
465
466.SUFFIXES:
467am--refresh: Makefile
468	@:
469$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
470	@for dep in $?; do \
471	  case '$(am__configure_deps)' in \
472	    *$$dep*) \
473	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
474	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
475		&& exit 0; \
476	      exit 1;; \
477	  esac; \
478	done; \
479	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
480	$(am__cd) $(top_srcdir) && \
481	  $(AUTOMAKE) --foreign Makefile
482Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
483	@case '$?' in \
484	  *config.status*) \
485	    echo ' $(SHELL) ./config.status'; \
486	    $(SHELL) ./config.status;; \
487	  *) \
488	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
489	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
490	esac;
491
492$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
493	$(SHELL) ./config.status --recheck
494
495$(top_srcdir)/configure:  $(am__configure_deps)
496	$(am__cd) $(srcdir) && $(AUTOCONF)
497$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
498	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
499$(am__aclocal_m4_deps):
500
501expat_config.h: stamp-h1
502	@test -f $@ || rm -f stamp-h1
503	@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
504
505stamp-h1: $(srcdir)/expat_config.h.in $(top_builddir)/config.status
506	@rm -f stamp-h1
507	cd $(top_builddir) && $(SHELL) ./config.status expat_config.h
508$(srcdir)/expat_config.h.in:  $(am__configure_deps)
509	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
510	rm -f stamp-h1
511	touch $@
512
513distclean-hdr:
514	-rm -f expat_config.h stamp-h1
515expat.pc: $(top_builddir)/config.status $(srcdir)/expat.pc.in
516	cd $(top_builddir) && $(SHELL) ./config.status $@
517run.sh: $(top_builddir)/config.status $(srcdir)/run.sh.in
518	cd $(top_builddir) && $(SHELL) ./config.status $@
519
520mostlyclean-libtool:
521	-rm -f *.lo
522
523clean-libtool:
524	-rm -rf .libs _libs
525
526distclean-libtool:
527	-rm -f libtool config.lt
528install-pkgconfigDATA: $(pkgconfig_DATA)
529	@$(NORMAL_INSTALL)
530	@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
531	if test -n "$$list"; then \
532	  echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
533	  $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
534	fi; \
535	for p in $$list; do \
536	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
537	  echo "$$d$$p"; \
538	done | $(am__base_list) | \
539	while read files; do \
540	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
541	  $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
542	done
543
544uninstall-pkgconfigDATA:
545	@$(NORMAL_UNINSTALL)
546	@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
547	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
548	dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
549
550# This directory's subdirectories are mostly independent; you can cd
551# into them and run 'make' without going through this Makefile.
552# To change the values of 'make' variables: instead of editing Makefiles,
553# (1) if the variable is set in 'config.status', edit 'config.status'
554#     (which will cause the Makefiles to be regenerated when you run 'make');
555# (2) otherwise, pass the desired values on the 'make' command line.
556$(am__recursive_targets):
557	@fail=; \
558	if $(am__make_keepgoing); then \
559	  failcom='fail=yes'; \
560	else \
561	  failcom='exit 1'; \
562	fi; \
563	dot_seen=no; \
564	target=`echo $@ | sed s/-recursive//`; \
565	case "$@" in \
566	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
567	  *) list='$(SUBDIRS)' ;; \
568	esac; \
569	for subdir in $$list; do \
570	  echo "Making $$target in $$subdir"; \
571	  if test "$$subdir" = "."; then \
572	    dot_seen=yes; \
573	    local_target="$$target-am"; \
574	  else \
575	    local_target="$$target"; \
576	  fi; \
577	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
578	  || eval $$failcom; \
579	done; \
580	if test "$$dot_seen" = "no"; then \
581	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
582	fi; test -z "$$fail"
583
584ID: $(am__tagged_files)
585	$(am__define_uniq_tagged_files); mkid -fID $$unique
586tags: tags-recursive
587TAGS: tags
588
589tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
590	set x; \
591	here=`pwd`; \
592	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
593	  include_option=--etags-include; \
594	  empty_fix=.; \
595	else \
596	  include_option=--include; \
597	  empty_fix=; \
598	fi; \
599	list='$(SUBDIRS)'; for subdir in $$list; do \
600	  if test "$$subdir" = .; then :; else \
601	    test ! -f $$subdir/TAGS || \
602	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
603	  fi; \
604	done; \
605	$(am__define_uniq_tagged_files); \
606	shift; \
607	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
608	  test -n "$$unique" || unique=$$empty_fix; \
609	  if test $$# -gt 0; then \
610	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
611	      "$$@" $$unique; \
612	  else \
613	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
614	      $$unique; \
615	  fi; \
616	fi
617ctags: ctags-recursive
618
619CTAGS: ctags
620ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
621	$(am__define_uniq_tagged_files); \
622	test -z "$(CTAGS_ARGS)$$unique" \
623	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
624	     $$unique
625
626GTAGS:
627	here=`$(am__cd) $(top_builddir) && pwd` \
628	  && $(am__cd) $(top_srcdir) \
629	  && gtags -i $(GTAGS_ARGS) "$$here"
630cscope: cscope.files
631	test ! -s cscope.files \
632	  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
633clean-cscope:
634	-rm -f cscope.files
635cscope.files: clean-cscope cscopelist
636cscopelist: cscopelist-recursive
637
638cscopelist-am: $(am__tagged_files)
639	list='$(am__tagged_files)'; \
640	case "$(srcdir)" in \
641	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
642	  *) sdir=$(subdir)/$(srcdir) ;; \
643	esac; \
644	for i in $$list; do \
645	  if test -f "$$i"; then \
646	    echo "$(subdir)/$$i"; \
647	  else \
648	    echo "$$sdir/$$i"; \
649	  fi; \
650	done >> $(top_builddir)/cscope.files
651
652distclean-tags:
653	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
654	-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
655
656distdir: $(DISTFILES)
657	$(am__remove_distdir)
658	test -d "$(distdir)" || mkdir "$(distdir)"
659	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
660	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
661	list='$(DISTFILES)'; \
662	  dist_files=`for file in $$list; do echo $$file; done | \
663	  sed -e "s|^$$srcdirstrip/||;t" \
664	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
665	case $$dist_files in \
666	  */*) $(MKDIR_P) `echo "$$dist_files" | \
667			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
668			   sort -u` ;; \
669	esac; \
670	for file in $$dist_files; do \
671	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
672	  if test -d $$d/$$file; then \
673	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
674	    if test -d "$(distdir)/$$file"; then \
675	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
676	    fi; \
677	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
678	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
679	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
680	    fi; \
681	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
682	  else \
683	    test -f "$(distdir)/$$file" \
684	    || cp -p $$d/$$file "$(distdir)/$$file" \
685	    || exit 1; \
686	  fi; \
687	done
688	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
689	  if test "$$subdir" = .; then :; else \
690	    $(am__make_dryrun) \
691	      || test -d "$(distdir)/$$subdir" \
692	      || $(MKDIR_P) "$(distdir)/$$subdir" \
693	      || exit 1; \
694	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
695	    $(am__relativize); \
696	    new_distdir=$$reldir; \
697	    dir1=$$subdir; dir2="$(top_distdir)"; \
698	    $(am__relativize); \
699	    new_top_distdir=$$reldir; \
700	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
701	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
702	    ($(am__cd) $$subdir && \
703	      $(MAKE) $(AM_MAKEFLAGS) \
704	        top_distdir="$$new_top_distdir" \
705	        distdir="$$new_distdir" \
706		am__remove_distdir=: \
707		am__skip_length_check=: \
708		am__skip_mode_fix=: \
709	        distdir) \
710	      || exit 1; \
711	  fi; \
712	done
713	-test -n "$(am__skip_mode_fix)" \
714	|| find "$(distdir)" -type d ! -perm -755 \
715		-exec chmod u+rwx,go+rx {} \; -o \
716	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
717	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
718	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
719	|| chmod -R a+r "$(distdir)"
720dist-gzip: distdir
721	tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
722	$(am__post_remove_distdir)
723dist-bzip2: distdir
724	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
725	$(am__post_remove_distdir)
726
727dist-lzip: distdir
728	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
729	$(am__post_remove_distdir)
730
731dist-xz: distdir
732	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
733	$(am__post_remove_distdir)
734
735dist-tarZ: distdir
736	@echo WARNING: "Support for distribution archives compressed with" \
737		       "legacy program 'compress' is deprecated." >&2
738	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
739	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
740	$(am__post_remove_distdir)
741
742dist-shar: distdir
743	@echo WARNING: "Support for shar distribution archives is" \
744	               "deprecated." >&2
745	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
746	shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
747	$(am__post_remove_distdir)
748
749dist-zip: distdir
750	-rm -f $(distdir).zip
751	zip -rq $(distdir).zip $(distdir)
752	$(am__post_remove_distdir)
753
754dist dist-all:
755	$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
756	$(am__post_remove_distdir)
757
758# This target untars the dist file and tries a VPATH configuration.  Then
759# it guarantees that the distribution is self-contained by making another
760# tarfile.
761distcheck: dist
762	case '$(DIST_ARCHIVES)' in \
763	*.tar.gz*) \
764	  eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
765	*.tar.bz2*) \
766	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
767	*.tar.lz*) \
768	  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
769	*.tar.xz*) \
770	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
771	*.tar.Z*) \
772	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
773	*.shar.gz*) \
774	  eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
775	*.zip*) \
776	  unzip $(distdir).zip ;;\
777	esac
778	chmod -R a-w $(distdir)
779	chmod u+w $(distdir)
780	mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
781	chmod a-w $(distdir)
782	test -d $(distdir)/_build || exit 0; \
783	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
784	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
785	  && am__cwd=`pwd` \
786	  && $(am__cd) $(distdir)/_build/sub \
787	  && ../../configure \
788	    $(AM_DISTCHECK_CONFIGURE_FLAGS) \
789	    $(DISTCHECK_CONFIGURE_FLAGS) \
790	    --srcdir=../.. --prefix="$$dc_install_base" \
791	  && $(MAKE) $(AM_MAKEFLAGS) \
792	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
793	  && $(MAKE) $(AM_MAKEFLAGS) check \
794	  && $(MAKE) $(AM_MAKEFLAGS) install \
795	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
796	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
797	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
798	        distuninstallcheck \
799	  && chmod -R a-w "$$dc_install_base" \
800	  && ({ \
801	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
802	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
803	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
804	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
805	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
806	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
807	  && rm -rf "$$dc_destdir" \
808	  && $(MAKE) $(AM_MAKEFLAGS) dist \
809	  && rm -rf $(DIST_ARCHIVES) \
810	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
811	  && cd "$$am__cwd" \
812	  || exit 1
813	$(am__post_remove_distdir)
814	@(echo "$(distdir) archives ready for distribution: "; \
815	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
816	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
817distuninstallcheck:
818	@test -n '$(distuninstallcheck_dir)' || { \
819	  echo 'ERROR: trying to run $@ with an empty' \
820	       '$$(distuninstallcheck_dir)' >&2; \
821	  exit 1; \
822	}; \
823	$(am__cd) '$(distuninstallcheck_dir)' || { \
824	  echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
825	  exit 1; \
826	}; \
827	test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
828	   || { echo "ERROR: files left after uninstall:" ; \
829	        if test -n "$(DESTDIR)"; then \
830	          echo "  (check DESTDIR support)"; \
831	        fi ; \
832	        $(distuninstallcheck_listfiles) ; \
833	        exit 1; } >&2
834distcleancheck: distclean
835	@if test '$(srcdir)' = . ; then \
836	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
837	  exit 1 ; \
838	fi
839	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
840	  || { echo "ERROR: files left in build directory after distclean:" ; \
841	       $(distcleancheck_listfiles) ; \
842	       exit 1; } >&2
843check-am: all-am
844check: check-recursive
845all-am: Makefile $(DATA) expat_config.h
846installdirs: installdirs-recursive
847installdirs-am:
848	for dir in "$(DESTDIR)$(pkgconfigdir)"; do \
849	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
850	done
851install: install-recursive
852install-exec: install-exec-recursive
853install-data: install-data-recursive
854uninstall: uninstall-recursive
855
856install-am: all-am
857	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
858
859installcheck: installcheck-recursive
860install-strip:
861	if test -z '$(STRIP)'; then \
862	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
863	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
864	      install; \
865	else \
866	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
867	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
868	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
869	fi
870mostlyclean-generic:
871
872clean-generic:
873
874distclean-generic:
875	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
876	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
877
878maintainer-clean-generic:
879	@echo "This command is intended for maintainers to use"
880	@echo "it deletes files that may require special tools to rebuild."
881clean: clean-recursive
882
883clean-am: clean-generic clean-libtool mostlyclean-am
884
885distclean: distclean-recursive
886	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
887	-rm -f Makefile
888distclean-am: clean-am distclean-generic distclean-hdr \
889	distclean-libtool distclean-tags
890
891dvi: dvi-recursive
892
893dvi-am:
894
895html: html-recursive
896
897html-am:
898
899info: info-recursive
900
901info-am:
902
903install-data-am: install-pkgconfigDATA
904
905install-dvi: install-dvi-recursive
906
907install-dvi-am:
908
909install-exec-am:
910
911install-html: install-html-recursive
912
913install-html-am:
914
915install-info: install-info-recursive
916
917install-info-am:
918
919install-man:
920
921install-pdf: install-pdf-recursive
922
923install-pdf-am:
924
925install-ps: install-ps-recursive
926
927install-ps-am:
928
929installcheck-am:
930
931maintainer-clean: maintainer-clean-recursive
932	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
933	-rm -rf $(top_srcdir)/autom4te.cache
934	-rm -f Makefile
935maintainer-clean-am: distclean-am maintainer-clean-generic
936
937mostlyclean: mostlyclean-recursive
938
939mostlyclean-am: mostlyclean-generic mostlyclean-libtool
940
941pdf: pdf-recursive
942
943pdf-am:
944
945ps: ps-recursive
946
947ps-am:
948
949uninstall-am: uninstall-pkgconfigDATA
950
951.MAKE: $(am__recursive_targets) all install-am install-strip
952
953.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
954	am--refresh check check-am clean clean-cscope clean-generic \
955	clean-libtool cscope cscopelist-am ctags ctags-am dist \
956	dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
957	dist-xz dist-zip distcheck distclean distclean-generic \
958	distclean-hdr distclean-libtool distclean-tags distcleancheck \
959	distdir distuninstallcheck dvi dvi-am html html-am info \
960	info-am install install-am install-data install-data-am \
961	install-dvi install-dvi-am install-exec install-exec-am \
962	install-html install-html-am install-info install-info-am \
963	install-man install-pdf install-pdf-am install-pkgconfigDATA \
964	install-ps install-ps-am install-strip installcheck \
965	installcheck-am installdirs installdirs-am maintainer-clean \
966	maintainer-clean-generic mostlyclean mostlyclean-generic \
967	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
968	uninstall-am uninstall-pkgconfigDATA
969
970.PRECIOUS: Makefile
971
972
973.PHONY: buildlib
974buildlib:
975	@echo 'ERROR: Running "make buildlib LIBRARY=libexpatw.la"' >&2
976	@echo 'ERROR: is no longer supported.  INSTEAD please:' >&2
977	@echo 'ERROR:' >&2
978	@echo 'ERROR:  * Mass-patch Makefile.am, e.g.' >&2
979	@echo 'ERROR:    # find -name Makefile.am -exec sed \' >&2
980	@echo 'ERROR:          -e "s,libexpat\.la,libexpatw.la," \' >&2
981	@echo 'ERROR:          -e "s,libexpat_la,libexpatw_la," \' >&2
982	@echo 'ERROR:          -i {} +' >&2
983	@echo 'ERROR:' >&2
984	@echo 'ERROR:  * Run automake to re-generate Makefile.in files' >&2
985	@echo 'ERROR:' >&2
986	@echo 'ERROR:  * Use "./configure --without-xmlwf" and/or' >&2
987	@echo 'ERROR:    "make -C lib all install" to bypass compilation' >&2
988	@echo 'ERROR:    of xmlwf (e.g. with -DXML_UNICODE)' >&2
989	@echo 'ERROR:' >&2
990	@false
991
992.PHONY: run-benchmark
993run-benchmark:
994	$(MAKE) -C tests/benchmark
995	./run.sh tests/benchmark/benchmark@EXEEXT@ -n $(top_srcdir)/../testdata/largefiles/recset.xml 65535 3
996
997tests/xmlts.zip:
998	if test "$(XMLTS_ZIP)" = ""; then \
999		wget --output-document=tests/xmlts.zip \
1000			https://www.w3.org/XML/Test/xmlts20080827.zip; \
1001	else \
1002		cp $(XMLTS_ZIP) tests/xmlts.zip; \
1003	fi
1004
1005tests/xmlconf: tests/xmlts.zip
1006	cd tests && unzip -q xmlts.zip
1007
1008.PHONY: run-xmltest
1009run-xmltest: tests/xmlconf
1010@WITH_XMLWF_TRUE@	$(MAKE) -C xmlwf
1011@WITH_XMLWF_TRUE@	tests/xmltest.sh "$(PWD)/run.sh $(PWD)/xmlwf/xmlwf@EXEEXT@" 2>&1 | tee tests/xmltest.log
1012@WITH_XMLWF_TRUE@	dos2unix tests/xmltest.log
1013@WITH_XMLWF_TRUE@	diff -u tests/xmltest.log.expected tests/xmltest.log
1014@WITH_XMLWF_FALSE@	@echo 'ERROR: xmlwf is needed for "make run-xmltest".' >&2
1015@WITH_XMLWF_FALSE@	@echo 'ERROR: Please re-configure without --without-xmlwf.' >&2
1016@WITH_XMLWF_FALSE@	@false
1017
1018.PHONY: qa
1019qa:
1020	./qa.sh address
1021	./qa.sh memory
1022	./qa.sh undefined
1023	./qa.sh coverage
1024
1025# Tell versions [3.59,3.63) of GNU make to not export all variables.
1026# Otherwise a system limit (for SysV at least) may be exceeded.
1027.NOEXPORT:
1028