Bug fix: exit if libxml2 is not available.
[xmldoc.git] / Makefile.in
1 # Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
2
3 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13
14 SHELL = @SHELL@
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
21
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
34
35 DESTDIR =
36
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
40
41 top_builddir = .
42
43 ACLOCAL = @ACLOCAL@
44 AUTOCONF = @AUTOCONF@
45 AUTOMAKE = @AUTOMAKE@
46 AUTOHEADER = @AUTOHEADER@
47
48 INSTALL = @INSTALL@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
53
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 CC = @CC@
61 MAKEINFO = @MAKEINFO@
62 PACKAGE = @PACKAGE@
63 VERSION = @VERSION@
64 XML_CONFIG = @XML_CONFIG@
65
66 xsltdir = $(prefix)/xslt
67
68 bin_PROGRAMS = xp
69 bin_SCRIPTS = xml2html xml2latex xml2text
70
71 xslt_DATA = doc.dtd preprocess.xsl html.xsl latex.xsl text.xsl
72 xp_SOURCES = xp.c
73 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
74 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
75 CONFIG_CLEAN_FILES = 
76 PROGRAMS =  $(bin_PROGRAMS)
77
78
79 DEFS = @DEFS@ -I. -I$(srcdir) 
80 CPPFLAGS = @CPPFLAGS@
81 LDFLAGS = @LDFLAGS@
82 LIBS = @LIBS@
83 xp_OBJECTS =  xp.o
84 xp_LDADD = $(LDADD)
85 xp_DEPENDENCIES = 
86 xp_LDFLAGS = 
87 SCRIPTS =  $(bin_SCRIPTS)
88
89 CFLAGS = @CFLAGS@
90 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
91 CCLD = $(CC)
92 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
93 DATA =  $(xslt_DATA)
94
95 DIST_COMMON =  README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
96 Makefile.in NEWS aclocal.m4 configure configure.in install-sh missing \
97 mkinstalldirs
98
99
100 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
101
102 TAR = gtar
103 GZIP_ENV = --best
104 DEP_FILES =  .deps/xp.P
105 SOURCES = $(xp_SOURCES)
106 OBJECTS = $(xp_OBJECTS)
107
108 all: all-redirect
109 .SUFFIXES:
110 .SUFFIXES: .S .c .o .s
111 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
112         cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
113
114 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
115         cd $(top_builddir) \
116           && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
117
118 $(ACLOCAL_M4):  configure.in 
119         cd $(srcdir) && $(ACLOCAL)
120
121 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
122         $(SHELL) ./config.status --recheck
123 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
124         cd $(srcdir) && $(AUTOCONF)
125
126 mostlyclean-binPROGRAMS:
127
128 clean-binPROGRAMS:
129         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
130
131 distclean-binPROGRAMS:
132
133 maintainer-clean-binPROGRAMS:
134
135 install-binPROGRAMS: $(bin_PROGRAMS)
136         @$(NORMAL_INSTALL)
137         $(mkinstalldirs) $(DESTDIR)$(bindir)
138         @list='$(bin_PROGRAMS)'; for p in $$list; do \
139           if test -f $$p; then \
140             echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
141              $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
142           else :; fi; \
143         done
144
145 uninstall-binPROGRAMS:
146         @$(NORMAL_UNINSTALL)
147         list='$(bin_PROGRAMS)'; for p in $$list; do \
148           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
149         done
150
151 .s.o:
152         $(COMPILE) -c $<
153
154 .S.o:
155         $(COMPILE) -c $<
156
157 mostlyclean-compile:
158         -rm -f *.o core *.core
159
160 clean-compile:
161
162 distclean-compile:
163         -rm -f *.tab.c
164
165 maintainer-clean-compile:
166
167 xp: $(xp_OBJECTS) $(xp_DEPENDENCIES)
168         @rm -f xp
169         $(LINK) $(xp_LDFLAGS) $(xp_OBJECTS) $(xp_LDADD) $(LIBS)
170
171 install-binSCRIPTS: $(bin_SCRIPTS)
172         @$(NORMAL_INSTALL)
173         $(mkinstalldirs) $(DESTDIR)$(bindir)
174         @list='$(bin_SCRIPTS)'; for p in $$list; do \
175           if test -f $$p; then \
176             echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
177             $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
178           else if test -f $(srcdir)/$$p; then \
179             echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
180             $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
181           else :; fi; fi; \
182         done
183
184 uninstall-binSCRIPTS:
185         @$(NORMAL_UNINSTALL)
186         list='$(bin_SCRIPTS)'; for p in $$list; do \
187           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
188         done
189
190 install-xsltDATA: $(xslt_DATA)
191         @$(NORMAL_INSTALL)
192         $(mkinstalldirs) $(DESTDIR)$(xsltdir)
193         @list='$(xslt_DATA)'; for p in $$list; do \
194           if test -f $(srcdir)/$$p; then \
195             echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(xsltdir)/$$p"; \
196             $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(xsltdir)/$$p; \
197           else if test -f $$p; then \
198             echo " $(INSTALL_DATA) $$p $(DESTDIR)$(xsltdir)/$$p"; \
199             $(INSTALL_DATA) $$p $(DESTDIR)$(xsltdir)/$$p; \
200           fi; fi; \
201         done
202
203 uninstall-xsltDATA:
204         @$(NORMAL_UNINSTALL)
205         list='$(xslt_DATA)'; for p in $$list; do \
206           rm -f $(DESTDIR)$(xsltdir)/$$p; \
207         done
208
209 tags: TAGS
210
211 ID: $(HEADERS) $(SOURCES) $(LISP)
212         list='$(SOURCES) $(HEADERS)'; \
213         unique=`for i in $$list; do echo $$i; done | \
214           awk '    { files[$$0] = 1; } \
215                END { for (i in files) print i; }'`; \
216         here=`pwd` && cd $(srcdir) \
217           && mkid -f$$here/ID $$unique $(LISP)
218
219 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
220         tags=; \
221         here=`pwd`; \
222         list='$(SOURCES) $(HEADERS)'; \
223         unique=`for i in $$list; do echo $$i; done | \
224           awk '    { files[$$0] = 1; } \
225                END { for (i in files) print i; }'`; \
226         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
227           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
228
229 mostlyclean-tags:
230
231 clean-tags:
232
233 distclean-tags:
234         -rm -f TAGS ID
235
236 maintainer-clean-tags:
237
238 distdir = $(PACKAGE)-$(VERSION)
239 top_distdir = $(distdir)
240
241 # This target untars the dist file and tries a VPATH configuration.  Then
242 # it guarantees that the distribution is self-contained by making another
243 # tarfile.
244 distcheck: dist
245         -rm -rf $(distdir)
246         GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
247         mkdir $(distdir)/=build
248         mkdir $(distdir)/=inst
249         dc_install_base=`cd $(distdir)/=inst && pwd`; \
250         cd $(distdir)/=build \
251           && ../configure --srcdir=.. --prefix=$$dc_install_base \
252           && $(MAKE) $(AM_MAKEFLAGS) \
253           && $(MAKE) $(AM_MAKEFLAGS) dvi \
254           && $(MAKE) $(AM_MAKEFLAGS) check \
255           && $(MAKE) $(AM_MAKEFLAGS) install \
256           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
257           && $(MAKE) $(AM_MAKEFLAGS) dist
258         -rm -rf $(distdir)
259         @banner="$(distdir).tar.gz is ready for distribution"; \
260         dashes=`echo "$$banner" | sed s/./=/g`; \
261         echo "$$dashes"; \
262         echo "$$banner"; \
263         echo "$$dashes"
264 dist: distdir
265         -chmod -R a+r $(distdir)
266         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
267         -rm -rf $(distdir)
268 dist-all: distdir
269         -chmod -R a+r $(distdir)
270         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
271         -rm -rf $(distdir)
272 distdir: $(DISTFILES)
273         -rm -rf $(distdir)
274         mkdir $(distdir)
275         -chmod 777 $(distdir)
276         here=`cd $(top_builddir) && pwd`; \
277         top_distdir=`cd $(distdir) && pwd`; \
278         distdir=`cd $(distdir) && pwd`; \
279         cd $(top_srcdir) \
280           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
281         @for file in $(DISTFILES); do \
282           d=$(srcdir); \
283           if test -d $$d/$$file; then \
284             cp -pr $$d/$$file $(distdir)/$$file; \
285           else \
286             test -f $(distdir)/$$file \
287             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
288             || cp -p $$d/$$file $(distdir)/$$file || :; \
289           fi; \
290         done
291
292 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
293
294 -include $(DEP_FILES)
295
296 mostlyclean-depend:
297
298 clean-depend:
299
300 distclean-depend:
301         -rm -rf .deps
302
303 maintainer-clean-depend:
304
305 %.o: %.c
306         @echo '$(COMPILE) -c $<'; \
307         $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
308         @-cp .deps/$(*F).pp .deps/$(*F).P; \
309         tr ' ' '\012' < .deps/$(*F).pp \
310           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
311             >> .deps/$(*F).P; \
312         rm .deps/$(*F).pp
313
314 %.lo: %.c
315         @echo '$(LTCOMPILE) -c $<'; \
316         $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
317         @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
318           < .deps/$(*F).pp > .deps/$(*F).P; \
319         tr ' ' '\012' < .deps/$(*F).pp \
320           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
321             >> .deps/$(*F).P; \
322         rm -f .deps/$(*F).pp
323 info-am:
324 info: info-am
325 dvi-am:
326 dvi: dvi-am
327 check-am: all-am
328 check: check-am
329 installcheck-am:
330 installcheck: installcheck-am
331 install-exec-am: install-binPROGRAMS install-binSCRIPTS
332 install-exec: install-exec-am
333
334 install-data-am: install-xsltDATA
335 install-data: install-data-am
336
337 install-am: all-am
338         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
339 install: install-am
340 uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
341                 uninstall-xsltDATA
342 uninstall: uninstall-am
343 all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(DATA)
344 all-redirect: all-am
345 install-strip:
346         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
347 installdirs:
348         $(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(bindir) \
349                 $(DESTDIR)$(xsltdir)
350
351
352 mostlyclean-generic:
353
354 clean-generic:
355
356 distclean-generic:
357         -rm -f Makefile $(CONFIG_CLEAN_FILES)
358         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
359
360 maintainer-clean-generic:
361 mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
362                 mostlyclean-tags mostlyclean-depend mostlyclean-generic
363
364 mostlyclean: mostlyclean-am
365
366 clean-am:  clean-binPROGRAMS clean-compile clean-tags clean-depend \
367                 clean-generic mostlyclean-am
368
369 clean: clean-am
370
371 distclean-am:  distclean-binPROGRAMS distclean-compile distclean-tags \
372                 distclean-depend distclean-generic clean-am
373
374 distclean: distclean-am
375         -rm -f config.status
376
377 maintainer-clean-am:  maintainer-clean-binPROGRAMS \
378                 maintainer-clean-compile maintainer-clean-tags \
379                 maintainer-clean-depend maintainer-clean-generic \
380                 distclean-am
381         @echo "This command is intended for maintainers to use;"
382         @echo "it deletes files that may require special tools to rebuild."
383
384 maintainer-clean: maintainer-clean-am
385         -rm -f config.status
386
387 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
388 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
389 mostlyclean-compile distclean-compile clean-compile \
390 maintainer-clean-compile uninstall-binSCRIPTS install-binSCRIPTS \
391 uninstall-xsltDATA install-xsltDATA tags mostlyclean-tags \
392 distclean-tags clean-tags maintainer-clean-tags distdir \
393 mostlyclean-depend distclean-depend clean-depend \
394 maintainer-clean-depend info-am info dvi-am dvi check check-am \
395 installcheck-am installcheck install-exec-am install-exec \
396 install-data-am install-data install-am install uninstall-am uninstall \
397 all-redirect all-am all installdirs mostlyclean-generic \
398 distclean-generic clean-generic maintainer-clean-generic clean \
399 mostlyclean distclean maintainer-clean
400
401
402 # Tell versions [3.59,3.63) of GNU make to not export all variables.
403 # Otherwise a system limit (for SysV at least) may be exceeded.
404 .NOEXPORT: