1# Makefile.in generated by automake 1.10.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
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@
16VPATH = @srcdir@
17pkgdatadir = $(datadir)/@PACKAGE@
18pkglibdir = $(libdir)/@PACKAGE@
19pkgincludedir = $(includedir)/@PACKAGE@
20am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
21install_sh_DATA = $(install_sh) -c -m 644
22install_sh_PROGRAM = $(install_sh) -c
23install_sh_SCRIPT = $(install_sh) -c
24INSTALL_HEADER = $(INSTALL_DATA)
25transform = $(program_transform_name)
26NORMAL_INSTALL = :
27PRE_INSTALL = :
28POST_INSTALL = :
29NORMAL_UNINSTALL = :
30PRE_UNINSTALL = :
31POST_UNINSTALL = :
32build_triplet = @build@
33host_triplet = @host@
34subdir = doc
35DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
36ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
37am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
38	$(top_srcdir)/configure.in
39am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
40	$(ACLOCAL_M4)
41mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
42CONFIG_HEADER = $(top_builddir)/config.h
43CONFIG_CLEAN_FILES =
44SOURCES =
45DIST_SOURCES =
46RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
47	html-recursive info-recursive install-data-recursive \
48	install-dvi-recursive install-exec-recursive \
49	install-html-recursive install-info-recursive \
50	install-pdf-recursive install-ps-recursive install-recursive \
51	installcheck-recursive installdirs-recursive pdf-recursive \
52	ps-recursive uninstall-recursive
53man1dir = $(mandir)/man1
54am__installdirs = "$(DESTDIR)$(man1dir)"
55NROFF = nroff
56MANS = $(man_MANS)
57RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
58  distclean-recursive maintainer-clean-recursive
59ETAGS = etags
60CTAGS = ctags
61DIST_SUBDIRS = $(SUBDIRS)
62DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
63ACLOCAL = @ACLOCAL@
64AMTAR = @AMTAR@
65AR = @AR@
66AS = @AS@
67AUTOCONF = @AUTOCONF@
68AUTOHEADER = @AUTOHEADER@
69AUTOMAKE = @AUTOMAKE@
70AWK = @AWK@
71BASE_THREAD_LIBS = @BASE_THREAD_LIBS@
72C14N_OBJ = @C14N_OBJ@
73CATALOG_OBJ = @CATALOG_OBJ@
74CC = @CC@
75CCDEPMODE = @CCDEPMODE@
76CFLAGS = @CFLAGS@
77CPP = @CPP@
78CPPFLAGS = @CPPFLAGS@
79CXX = @CXX@
80CXXCPP = @CXXCPP@
81CXXDEPMODE = @CXXDEPMODE@
82CXXFLAGS = @CXXFLAGS@
83CYGPATH_W = @CYGPATH_W@
84CYGWIN_EXTRA_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@
85CYGWIN_EXTRA_PYTHON_LIBADD = @CYGWIN_EXTRA_PYTHON_LIBADD@
86DEBUG_OBJ = @DEBUG_OBJ@
87DEFS = @DEFS@
88DEPDIR = @DEPDIR@
89DLLTOOL = @DLLTOOL@
90DOCB_OBJ = @DOCB_OBJ@
91ECHO = @ECHO@
92ECHO_C = @ECHO_C@
93ECHO_N = @ECHO_N@
94ECHO_T = @ECHO_T@
95EGREP = @EGREP@
96EXEEXT = @EXEEXT@
97F77 = @F77@
98FFLAGS = @FFLAGS@
99FTP_OBJ = @FTP_OBJ@
100GREP = @GREP@
101HAVE_ISINF = @HAVE_ISINF@
102HAVE_ISNAN = @HAVE_ISNAN@
103HTML_DIR = @HTML_DIR@
104HTML_OBJ = @HTML_OBJ@
105HTTP_OBJ = @HTTP_OBJ@
106ICONV_LIBS = @ICONV_LIBS@
107INSTALL = @INSTALL@
108INSTALL_DATA = @INSTALL_DATA@
109INSTALL_PROGRAM = @INSTALL_PROGRAM@
110INSTALL_SCRIPT = @INSTALL_SCRIPT@
111INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
112LDFLAGS = @LDFLAGS@
113LIBOBJS = @LIBOBJS@
114LIBS = @LIBS@
115LIBTOOL = @LIBTOOL@
116LIBXML_MAJOR_VERSION = @LIBXML_MAJOR_VERSION@
117LIBXML_MICRO_VERSION = @LIBXML_MICRO_VERSION@
118LIBXML_MINOR_VERSION = @LIBXML_MINOR_VERSION@
119LIBXML_VERSION = @LIBXML_VERSION@
120LIBXML_VERSION_EXTRA = @LIBXML_VERSION_EXTRA@
121LIBXML_VERSION_INFO = @LIBXML_VERSION_INFO@
122LIBXML_VERSION_NUMBER = @LIBXML_VERSION_NUMBER@
123LN_S = @LN_S@
124LTLIBOBJS = @LTLIBOBJS@
125MAKEINFO = @MAKEINFO@
126MKDIR_P = @MKDIR_P@
127MODULE_EXTENSION = @MODULE_EXTENSION@
128MODULE_PLATFORM_LIBS = @MODULE_PLATFORM_LIBS@
129MV = @MV@
130M_LIBS = @M_LIBS@
131OBJDUMP = @OBJDUMP@
132OBJEXT = @OBJEXT@
133PACKAGE = @PACKAGE@
134PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
135PACKAGE_NAME = @PACKAGE_NAME@
136PACKAGE_STRING = @PACKAGE_STRING@
137PACKAGE_TARNAME = @PACKAGE_TARNAME@
138PACKAGE_VERSION = @PACKAGE_VERSION@
139PATH_SEPARATOR = @PATH_SEPARATOR@
140PERL = @PERL@
141PYTHON = @PYTHON@
142PYTHON_INCLUDES = @PYTHON_INCLUDES@
143PYTHON_SITE_PACKAGES = @PYTHON_SITE_PACKAGES@
144PYTHON_SUBDIR = @PYTHON_SUBDIR@
145PYTHON_TESTS = @PYTHON_TESTS@
146PYTHON_VERSION = @PYTHON_VERSION@
147RANLIB = @RANLIB@
148RDL_LIBS = @RDL_LIBS@
149READER_TEST = @READER_TEST@
150RELDATE = @RELDATE@
151RM = @RM@
152SED = @SED@
153SET_MAKE = @SET_MAKE@
154SHELL = @SHELL@
155STATIC_BINARIES = @STATIC_BINARIES@
156STRIP = @STRIP@
157TAR = @TAR@
158TEST_C14N = @TEST_C14N@
159TEST_CATALOG = @TEST_CATALOG@
160TEST_DEBUG = @TEST_DEBUG@
161TEST_HTML = @TEST_HTML@
162TEST_MODULES = @TEST_MODULES@
163TEST_PATTERN = @TEST_PATTERN@
164TEST_PHTML = @TEST_PHTML@
165TEST_PUSH = @TEST_PUSH@
166TEST_REGEXPS = @TEST_REGEXPS@
167TEST_SAX = @TEST_SAX@
168TEST_SCHEMAS = @TEST_SCHEMAS@
169TEST_SCHEMATRON = @TEST_SCHEMATRON@
170TEST_THREADS = @TEST_THREADS@
171TEST_VALID = @TEST_VALID@
172TEST_VTIME = @TEST_VTIME@
173TEST_XINCLUDE = @TEST_XINCLUDE@
174TEST_XPATH = @TEST_XPATH@
175TEST_XPTR = @TEST_XPTR@
176THREADS_W32 = @THREADS_W32@
177THREAD_CFLAGS = @THREAD_CFLAGS@
178THREAD_LIBS = @THREAD_LIBS@
179U = @U@
180VERSION = @VERSION@
181WGET = @WGET@
182WIN32_EXTRA_LDFLAGS = @WIN32_EXTRA_LDFLAGS@
183WIN32_EXTRA_LIBADD = @WIN32_EXTRA_LIBADD@
184WITH_C14N = @WITH_C14N@
185WITH_CATALOG = @WITH_CATALOG@
186WITH_DEBUG = @WITH_DEBUG@
187WITH_DOCB = @WITH_DOCB@
188WITH_FTP = @WITH_FTP@
189WITH_HTML = @WITH_HTML@
190WITH_HTTP = @WITH_HTTP@
191WITH_ICONV = @WITH_ICONV@
192WITH_ISO8859X = @WITH_ISO8859X@
193WITH_LEGACY = @WITH_LEGACY@
194WITH_MEM_DEBUG = @WITH_MEM_DEBUG@
195WITH_MODULES = @WITH_MODULES@
196WITH_OUTPUT = @WITH_OUTPUT@
197WITH_PATTERN = @WITH_PATTERN@
198WITH_PUSH = @WITH_PUSH@
199WITH_READER = @WITH_READER@
200WITH_REGEXPS = @WITH_REGEXPS@
201WITH_RUN_DEBUG = @WITH_RUN_DEBUG@
202WITH_SAX1 = @WITH_SAX1@
203WITH_SCHEMAS = @WITH_SCHEMAS@
204WITH_SCHEMATRON = @WITH_SCHEMATRON@
205WITH_THREADS = @WITH_THREADS@
206WITH_TREE = @WITH_TREE@
207WITH_TRIO = @WITH_TRIO@
208WITH_VALID = @WITH_VALID@
209WITH_WRITER = @WITH_WRITER@
210WITH_XINCLUDE = @WITH_XINCLUDE@
211WITH_XPATH = @WITH_XPATH@
212WITH_XPTR = @WITH_XPTR@
213WITH_ZLIB = @WITH_ZLIB@
214XINCLUDE_OBJ = @XINCLUDE_OBJ@
215XMLLINT = @XMLLINT@
216XML_CFLAGS = @XML_CFLAGS@
217XML_INCLUDEDIR = @XML_INCLUDEDIR@
218XML_LIBDIR = @XML_LIBDIR@
219XML_LIBS = @XML_LIBS@
220XML_LIBTOOLLIBS = @XML_LIBTOOLLIBS@
221XPATH_OBJ = @XPATH_OBJ@
222XPTR_OBJ = @XPTR_OBJ@
223XSLTPROC = @XSLTPROC@
224Z_CFLAGS = @Z_CFLAGS@
225Z_LIBS = @Z_LIBS@
226abs_builddir = @abs_builddir@
227abs_srcdir = @abs_srcdir@
228abs_top_builddir = @abs_top_builddir@
229abs_top_srcdir = @abs_top_srcdir@
230ac_ct_CC = @ac_ct_CC@
231ac_ct_CXX = @ac_ct_CXX@
232ac_ct_F77 = @ac_ct_F77@
233am__include = @am__include@
234am__leading_dot = @am__leading_dot@
235am__quote = @am__quote@
236am__tar = @am__tar@
237am__untar = @am__untar@
238bindir = @bindir@
239build = @build@
240build_alias = @build_alias@
241build_cpu = @build_cpu@
242build_os = @build_os@
243build_vendor = @build_vendor@
244builddir = @builddir@
245datadir = @datadir@
246datarootdir = @datarootdir@
247docdir = @docdir@
248dvidir = @dvidir@
249exec_prefix = @exec_prefix@
250host = @host@
251host_alias = @host_alias@
252host_cpu = @host_cpu@
253host_os = @host_os@
254host_vendor = @host_vendor@
255htmldir = @htmldir@
256includedir = @includedir@
257infodir = @infodir@
258install_sh = @install_sh@
259libdir = @libdir@
260libexecdir = @libexecdir@
261localedir = @localedir@
262localstatedir = @localstatedir@
263mandir = @mandir@
264mkdir_p = @mkdir_p@
265oldincludedir = @oldincludedir@
266pdfdir = @pdfdir@
267prefix = @prefix@
268program_transform_name = @program_transform_name@
269psdir = @psdir@
270pythondir = @pythondir@
271sbindir = @sbindir@
272sharedstatedir = @sharedstatedir@
273srcdir = @srcdir@
274sysconfdir = @sysconfdir@
275target_alias = @target_alias@
276top_builddir = @top_builddir@
277top_srcdir = @top_srcdir@
278SUBDIRS = devhelp examples
279
280# The top-level SGML file.
281DOC_MAIN_XML_FILE = gnome-xml.xml
282
283# The directory containing the source code (if it contains documentation).
284DOC_SOURCE_DIR = ..
285
286# A file in win32 depends upon one of the doc files
287WIN32_DIR = $(top_srcdir)/win32
288PAGES = architecture.html bugs.html contribs.html docs.html DOM.html \
289    downloads.html entities.html example.html help.html index.html \
290    interface.html intro.html library.html namespaces.html news.html \
291    tree.html xmldtd.html XMLinfo.html XSLT.html
292
293APIPAGES = APIconstructors.html APIfiles.html APIfunctions.html \
294    APIsymbols.html APIchunk0.html
295
296EXTRA_DIST = xmlcatalog_man.xml tutorial/*.html tutorial/*.c tutorial/*.pdf \
297           tutorial/images/*.png tutorial/images/callouts/*.png \
298	   API*.html *.1 *.xsl *.html *.gif w3c.png html/*.html \
299	   html/*.png libxml2-api.xml index.py search.php \
300	   apibuild.py libxml2.xsa xmllint.xml xmlcatalog_man.xml \
301	   README.docs
302
303man_MANS = xmllint.1 xmlcatalog.1
304all: all-recursive
305
306.SUFFIXES:
307$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
308	@for dep in $?; do \
309	  case '$(am__configure_deps)' in \
310	    *$$dep*) \
311	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
312		&& exit 0; \
313	      exit 1;; \
314	  esac; \
315	done; \
316	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  doc/Makefile'; \
317	cd $(top_srcdir) && \
318	  $(AUTOMAKE) --gnu  doc/Makefile
319.PRECIOUS: Makefile
320Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
321	@case '$?' in \
322	  *config.status*) \
323	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
324	  *) \
325	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
326	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
327	esac;
328
329$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
330	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
331
332$(top_srcdir)/configure:  $(am__configure_deps)
333	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
334$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
335	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
336
337mostlyclean-libtool:
338	-rm -f *.lo
339
340clean-libtool:
341	-rm -rf .libs _libs
342install-man1: $(man1_MANS) $(man_MANS)
343	@$(NORMAL_INSTALL)
344	test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
345	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
346	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
347	for i in $$l2; do \
348	  case "$$i" in \
349	    *.1*) list="$$list $$i" ;; \
350	  esac; \
351	done; \
352	for i in $$list; do \
353	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
354	  else file=$$i; fi; \
355	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
356	  case "$$ext" in \
357	    1*) ;; \
358	    *) ext='1' ;; \
359	  esac; \
360	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
361	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
362	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
363	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
364	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
365	done
366uninstall-man1:
367	@$(NORMAL_UNINSTALL)
368	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
369	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
370	for i in $$l2; do \
371	  case "$$i" in \
372	    *.1*) list="$$list $$i" ;; \
373	  esac; \
374	done; \
375	for i in $$list; do \
376	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
377	  case "$$ext" in \
378	    1*) ;; \
379	    *) ext='1' ;; \
380	  esac; \
381	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
382	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
383	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
384	  echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
385	  rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
386	done
387
388# This directory's subdirectories are mostly independent; you can cd
389# into them and run `make' without going through this Makefile.
390# To change the values of `make' variables: instead of editing Makefiles,
391# (1) if the variable is set in `config.status', edit `config.status'
392#     (which will cause the Makefiles to be regenerated when you run `make');
393# (2) otherwise, pass the desired values on the `make' command line.
394$(RECURSIVE_TARGETS):
395	@failcom='exit 1'; \
396	for f in x $$MAKEFLAGS; do \
397	  case $$f in \
398	    *=* | --[!k]*);; \
399	    *k*) failcom='fail=yes';; \
400	  esac; \
401	done; \
402	dot_seen=no; \
403	target=`echo $@ | sed s/-recursive//`; \
404	list='$(SUBDIRS)'; for subdir in $$list; do \
405	  echo "Making $$target in $$subdir"; \
406	  if test "$$subdir" = "."; then \
407	    dot_seen=yes; \
408	    local_target="$$target-am"; \
409	  else \
410	    local_target="$$target"; \
411	  fi; \
412	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
413	  || eval $$failcom; \
414	done; \
415	if test "$$dot_seen" = "no"; then \
416	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
417	fi; test -z "$$fail"
418
419$(RECURSIVE_CLEAN_TARGETS):
420	@failcom='exit 1'; \
421	for f in x $$MAKEFLAGS; do \
422	  case $$f in \
423	    *=* | --[!k]*);; \
424	    *k*) failcom='fail=yes';; \
425	  esac; \
426	done; \
427	dot_seen=no; \
428	case "$@" in \
429	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
430	  *) list='$(SUBDIRS)' ;; \
431	esac; \
432	rev=''; for subdir in $$list; do \
433	  if test "$$subdir" = "."; then :; else \
434	    rev="$$subdir $$rev"; \
435	  fi; \
436	done; \
437	rev="$$rev ."; \
438	target=`echo $@ | sed s/-recursive//`; \
439	for subdir in $$rev; do \
440	  echo "Making $$target in $$subdir"; \
441	  if test "$$subdir" = "."; then \
442	    local_target="$$target-am"; \
443	  else \
444	    local_target="$$target"; \
445	  fi; \
446	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
447	  || eval $$failcom; \
448	done && test -z "$$fail"
449tags-recursive:
450	list='$(SUBDIRS)'; for subdir in $$list; do \
451	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
452	done
453ctags-recursive:
454	list='$(SUBDIRS)'; for subdir in $$list; do \
455	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
456	done
457
458ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
459	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
460	unique=`for i in $$list; do \
461	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
462	  done | \
463	  $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
464	      END { if (nonempty) { for (i in files) print i; }; }'`; \
465	mkid -fID $$unique
466tags: TAGS
467
468TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
469		$(TAGS_FILES) $(LISP)
470	tags=; \
471	here=`pwd`; \
472	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
473	  include_option=--etags-include; \
474	  empty_fix=.; \
475	else \
476	  include_option=--include; \
477	  empty_fix=; \
478	fi; \
479	list='$(SUBDIRS)'; for subdir in $$list; do \
480	  if test "$$subdir" = .; then :; else \
481	    test ! -f $$subdir/TAGS || \
482	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
483	  fi; \
484	done; \
485	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
486	unique=`for i in $$list; do \
487	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
488	  done | \
489	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
490	      END { if (nonempty) { for (i in files) print i; }; }'`; \
491	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
492	  test -n "$$unique" || unique=$$empty_fix; \
493	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
494	    $$tags $$unique; \
495	fi
496ctags: CTAGS
497CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
498		$(TAGS_FILES) $(LISP)
499	tags=; \
500	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
501	unique=`for i in $$list; do \
502	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
503	  done | \
504	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
505	      END { if (nonempty) { for (i in files) print i; }; }'`; \
506	test -z "$(CTAGS_ARGS)$$tags$$unique" \
507	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
508	     $$tags $$unique
509
510GTAGS:
511	here=`$(am__cd) $(top_builddir) && pwd` \
512	  && cd $(top_srcdir) \
513	  && gtags -i $(GTAGS_ARGS) $$here
514
515distclean-tags:
516	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
517
518distdir: $(DISTFILES)
519	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
520	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
521	list='$(DISTFILES)'; \
522	  dist_files=`for file in $$list; do echo $$file; done | \
523	  sed -e "s|^$$srcdirstrip/||;t" \
524	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
525	case $$dist_files in \
526	  */*) $(MKDIR_P) `echo "$$dist_files" | \
527			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
528			   sort -u` ;; \
529	esac; \
530	for file in $$dist_files; do \
531	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
532	  if test -d $$d/$$file; then \
533	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
534	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
535	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
536	    fi; \
537	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
538	  else \
539	    test -f $(distdir)/$$file \
540	    || cp -p $$d/$$file $(distdir)/$$file \
541	    || exit 1; \
542	  fi; \
543	done
544	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
545	  if test "$$subdir" = .; then :; else \
546	    test -d "$(distdir)/$$subdir" \
547	    || $(MKDIR_P) "$(distdir)/$$subdir" \
548	    || exit 1; \
549	    distdir=`$(am__cd) $(distdir) && pwd`; \
550	    top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
551	    (cd $$subdir && \
552	      $(MAKE) $(AM_MAKEFLAGS) \
553	        top_distdir="$$top_distdir" \
554	        distdir="$$distdir/$$subdir" \
555		am__remove_distdir=: \
556		am__skip_length_check=: \
557	        distdir) \
558	      || exit 1; \
559	  fi; \
560	done
561check-am: all-am
562check: check-recursive
563all-am: Makefile $(MANS)
564installdirs: installdirs-recursive
565installdirs-am:
566	for dir in "$(DESTDIR)$(man1dir)"; do \
567	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
568	done
569install: install-recursive
570install-exec: install-exec-recursive
571install-data: install-data-recursive
572uninstall: uninstall-recursive
573
574install-am: all-am
575	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
576
577installcheck: installcheck-recursive
578install-strip:
579	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
580	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
581	  `test -z '$(STRIP)' || \
582	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
583mostlyclean-generic:
584
585clean-generic:
586
587distclean-generic:
588	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
589
590maintainer-clean-generic:
591	@echo "This command is intended for maintainers to use"
592	@echo "it deletes files that may require special tools to rebuild."
593clean: clean-recursive
594
595clean-am: clean-generic clean-libtool clean-local mostlyclean-am
596
597distclean: distclean-recursive
598	-rm -f Makefile
599distclean-am: clean-am distclean-generic distclean-tags
600
601dvi: dvi-recursive
602
603dvi-am:
604
605html: html-recursive
606
607info: info-recursive
608
609info-am:
610
611install-data-am: install-data-local install-man
612
613install-dvi: install-dvi-recursive
614
615install-exec-am:
616
617install-html: install-html-recursive
618
619install-info: install-info-recursive
620
621install-man: install-man1
622
623install-pdf: install-pdf-recursive
624
625install-ps: install-ps-recursive
626
627installcheck-am:
628
629maintainer-clean: maintainer-clean-recursive
630	-rm -f Makefile
631maintainer-clean-am: distclean-am maintainer-clean-generic \
632	maintainer-clean-local
633
634mostlyclean: mostlyclean-recursive
635
636mostlyclean-am: mostlyclean-generic mostlyclean-libtool
637
638pdf: pdf-recursive
639
640pdf-am:
641
642ps: ps-recursive
643
644ps-am:
645
646uninstall-am: uninstall-man
647
648uninstall-man: uninstall-man1
649
650.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
651	install-strip
652
653.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
654	all all-am check check-am clean clean-generic clean-libtool \
655	clean-local ctags ctags-recursive distclean distclean-generic \
656	distclean-libtool distclean-tags distdir dvi dvi-am html \
657	html-am info info-am install install-am install-data \
658	install-data-am install-data-local install-dvi install-dvi-am \
659	install-exec install-exec-am install-html install-html-am \
660	install-info install-info-am install-man install-man1 \
661	install-pdf install-pdf-am install-ps install-ps-am \
662	install-strip installcheck installcheck-am installdirs \
663	installdirs-am maintainer-clean maintainer-clean-generic \
664	maintainer-clean-local mostlyclean mostlyclean-generic \
665	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
666	uninstall uninstall-am uninstall-man uninstall-man1
667
668
669all: web $(top_builddir)/NEWS libxml2.xsa $(man_MANS)
670
671api: libxml2-api.xml libxml2-refs.xml $(APIPAGES) $(srcdir)/html/index.html $(WIN32_DIR)/libxml2.def.src ../elfgcchack.h
672
673web: $(PAGES)
674
675../elfgcchack.h: $(srcdir)/elfgcchack.xsl $(srcdir)/libxml2-api.xml
676	-@(if [ -x $(XSLTPROC) ] ; then \
677	  echo "Rebuilding the elfgcchack.h header" ; \
678	  $(XSLTPROC) --nonet $(srcdir)/elfgcchack.xsl $(srcdir)/libxml2-api.xml > elfgcchack.h ; \
679	  if [ "`diff -q elfgcchack.h ../elfgcchack.h`" ] ; then \
680	    echo "updating ../elfgcchack.h"; \
681	    cp elfgcchack.h ../elfgcchack.h; \
682	  fi ; rm -f elfgcchack.h ;  fi );
683
684$(PAGES): xml.html site.xsl
685	-@(if [ -x $(XSLTPROC) ] ; then \
686	  echo "Rebuilding the HTML Web pages from xml.html" ; \
687	  $(XSLTPROC) --nonet --html $(top_srcdir)/doc/site.xsl $(top_srcdir)/doc/xml.html > index.html ; fi );
688	-@(if [ -x $(XMLLINT) ] ; then \
689	  echo "Validating the HTML Web pages" ; \
690	  $(XMLLINT) --nonet --valid --noout $(PAGES) ; fi );
691
692$(top_builddir)/NEWS: $(top_srcdir)/doc/news.xsl $(top_srcdir)/doc/news.html
693	-@(if [ -x $(XSLTPROC) ] ; then \
694	  $(XSLTPROC) --nonet $(top_srcdir)/doc/news.xsl $(top_srcdir)/doc/news.html > $(top_builddir)/NEWS ; fi );
695
696libxml2.xsa: $(top_srcdir)/doc/xsa.xsl $(top_srcdir)/doc/news.html
697	-@(if [ -x $(XSLTPROC) ] ; then \
698	  echo "Rebuilding the NEWS file" ; \
699	  $(XSLTPROC) --nonet $(top_srcdir)/doc/xsa.xsl $(top_srcdir)/doc/news.html > libxml2.xsa ; fi );
700
701$(APIPAGES): libxml2-api.xml libxml2-refs.xml $(top_srcdir)/doc/site.xsl $(top_srcdir)/doc/api.xsl
702	-@(if [ -x $(XSLTPROC) ] ; then \
703	  echo "Rebuilding the HTML API pages from libxml2-refs.xml" ; \
704	  $(XSLTPROC) --nonet --html $(top_srcdir)/doc/api.xsl \
705	                     $(top_srcdir)/doc/xml.html ; fi );
706	-@(if [ -x $(XMLLINT) ] ; then \
707	  echo "Validating the HTML API pages" ; \
708	  $(XMLLINT) --nonet --valid --noout API*.html ; fi );
709
710$(srcdir)/html/index.html: libxml2-api.xml $(srcdir)/newapi.xsl
711	-@(if [ -x $(XSLTPROC) ] ; then \
712	  echo "Rebuilding the HTML pages from the XML API" ; \
713	  $(XSLTPROC) --nonet $(srcdir)/newapi.xsl libxml2-api.xml ; fi )
714	-@(if [ -x $(XMLLINT) ] ; then \
715	  echo "Validating the resulting XHTML pages" ; \
716	  $(XMLLINT) --nonet --valid --noout html/*.html ; fi );
717
718wiki: libxml2-api.xml $(srcdir)/wiki.xsl
719	-@(if [ -x $(XSLTPROC) ] ; then \
720		echo "Rebuilding the wiki HTML pages from the XML API" ; \
721		$(XSLTPROC) --nonet $(srcdir)/wiki.xsl libxml2-api.xml; fi )
722
723$(WIN32_DIR)/libxml2.def.src: libxml2-api.xml
724	-@(if [ -x $(XSLTPROC) ] ; then \
725	  $(XSLTPROC) -o $(WIN32_DIR)/libxml2.def.src \
726	  --nonet $(WIN32_DIR)/defgen.xsl libxml2-api.xml ; fi )
727
728libxml2-api.xml libxml2-refs.xml: apibuild.py ../include/libxml/*.h ../*.c
729	-(./apibuild.py)
730	-@(cd .. ; $(MAKE) rebuild_testapi)
731
732xmllint.1: xmllint.xml
733	-@($(XSLTPROC) --nonet xmllint.xml)
734
735xmlcatalog.1: xmlcatalog_man.xml
736	-@($(XSLTPROC) --nonet xmlcatalog_man.xml)
737
738clean-local:
739	rm -f *~ *.bak *.hierarchy *.signals *-unused.txt
740
741maintainer-clean-local: clean-local
742	rm -rf libxml-decl-list.txt libxml-decl.txt 
743
744rebuild: api all
745
746install-data-local: 
747	$(mkinstalldirs) $(DESTDIR)$(HTML_DIR)
748	-@INSTALL@ -m 0644 $(srcdir)/xml.html $(srcdir)/encoding.html $(srcdir)/FAQ.html $(srcdir)/structure.gif $(srcdir)/DOM.gif $(srcdir)/smallfootonly.gif $(srcdir)/redhat.gif $(srcdir)/libxml.gif $(srcdir)/w3c.png $(srcdir)/Libxml2-Logo-180x168.gif $(srcdir)/Libxml2-Logo-90x34.gif $(DESTDIR)$(HTML_DIR)
749	$(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/html
750	-@INSTALL@ -m 0644 $(srcdir)/html/*.html $(DESTDIR)$(HTML_DIR)/html
751	-@INSTALL@ -m 0644 $(srcdir)/html/*.png $(DESTDIR)$(HTML_DIR)/html
752	$(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/tutorial
753	-@INSTALL@ -m 0644 $(srcdir)/tutorial/*.* \
754		$(DESTDIR)$(HTML_DIR)/tutorial
755	$(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/tutorial/images
756	-@INSTALL@ -m 0644 $(srcdir)/tutorial/images/*.* \
757		$(DESTDIR)$(HTML_DIR)/tutorial/images
758	$(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/tutorial/images/callouts
759	-@INSTALL@ -m 0644 $(srcdir)/tutorial/images/callouts/*.* \
760		$(DESTDIR)$(HTML_DIR)/tutorial/images/callouts
761
762.PHONY : html xml templates scan
763# Tell versions [3.59,3.63) of GNU make to not export all variables.
764# Otherwise a system limit (for SysV at least) may be exceeded.
765.NOEXPORT:
766