Initial revision
[TestXSLT.git] / libxml2 / python / Makefile.in
1 # Makefile.in generated automatically by automake 1.4-p6 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 # Makefile for libxml2 python library
14
15
16 SHELL = @SHELL@
17
18 srcdir = @srcdir@
19 top_srcdir = @top_srcdir@
20 VPATH = @srcdir@
21 prefix = @prefix@
22 exec_prefix = @exec_prefix@
23
24 bindir = @bindir@
25 sbindir = @sbindir@
26 libexecdir = @libexecdir@
27 datadir = @datadir@
28 sysconfdir = @sysconfdir@
29 sharedstatedir = @sharedstatedir@
30 localstatedir = @localstatedir@
31 libdir = @libdir@
32 infodir = @infodir@
33 mandir = @mandir@
34 includedir = @includedir@
35 oldincludedir = /usr/include
36
37 DESTDIR =
38
39 pkgdatadir = $(datadir)/@PACKAGE@
40 pkglibdir = $(libdir)/@PACKAGE@
41 pkgincludedir = $(includedir)/@PACKAGE@
42
43 top_builddir = ..
44
45 ACLOCAL = @ACLOCAL@
46 AUTOCONF = @AUTOCONF@
47 AUTOMAKE = @AUTOMAKE@
48 AUTOHEADER = @AUTOHEADER@
49
50 INSTALL = @INSTALL@
51 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
52 INSTALL_DATA = @INSTALL_DATA@
53 INSTALL_SCRIPT = @INSTALL_SCRIPT@
54 transform = @program_transform_name@
55
56 NORMAL_INSTALL = :
57 PRE_INSTALL = :
58 POST_INSTALL = :
59 NORMAL_UNINSTALL = :
60 PRE_UNINSTALL = :
61 POST_UNINSTALL = :
62 host_alias = @host_alias@
63 host_triplet = @host@
64 AS = @AS@
65 C14N_OBJ = @C14N_OBJ@
66 CATALOG_OBJ = @CATALOG_OBJ@
67 CC = @CC@
68 CFLAGS = @CFLAGS@
69 CPP = @CPP@
70 DEBUG_OBJ = @DEBUG_OBJ@
71 DLLTOOL = @DLLTOOL@
72 DOCB_OBJ = @DOCB_OBJ@
73 ECHO = @ECHO@
74 EXEEXT = @EXEEXT@
75 FTP_OBJ = @FTP_OBJ@
76 HAVE_ISINF = @HAVE_ISINF@
77 HAVE_ISNAN = @HAVE_ISNAN@
78 HTML_DIR = @HTML_DIR@
79 HTML_OBJ = @HTML_OBJ@
80 HTTP_OBJ = @HTTP_OBJ@
81 ICONV_LIBS = @ICONV_LIBS@
82 LIBTOOL = @LIBTOOL@
83 LIBXML_MAJOR_VERSION = @LIBXML_MAJOR_VERSION@
84 LIBXML_MICRO_VERSION = @LIBXML_MICRO_VERSION@
85 LIBXML_MINOR_VERSION = @LIBXML_MINOR_VERSION@
86 LIBXML_VERSION = @LIBXML_VERSION@
87 LIBXML_VERSION_INFO = @LIBXML_VERSION_INFO@
88 LIBXML_VERSION_NUMBER = @LIBXML_VERSION_NUMBER@
89 LN_S = @LN_S@
90 MAINT = @MAINT@
91 MAKEINFO = @MAKEINFO@
92 MV = @MV@
93 M_LIBS = @M_LIBS@
94 OBJDUMP = @OBJDUMP@
95 OBJEXT = @OBJEXT@
96 PACKAGE = @PACKAGE@
97 PYTHON = @PYTHON@
98 PYTHON_INCLUDES = @PYTHON_INCLUDES@
99 PYTHON_SITE_PACKAGES = @PYTHON_SITE_PACKAGES@
100 PYTHON_SUBDIR = @PYTHON_SUBDIR@
101 PYTHON_VERSION = @PYTHON_VERSION@
102 RANLIB = @RANLIB@
103 RDL_LIBS = @RDL_LIBS@
104 RELDATE = @RELDATE@
105 RM = @RM@
106 STATIC_BINARIES = @STATIC_BINARIES@
107 STRIP = @STRIP@
108 TAR = @TAR@
109 TEST_REGEXPS = @TEST_REGEXPS@
110 TEST_SCHEMAS = @TEST_SCHEMAS@
111 TEST_THREADS = @TEST_THREADS@
112 THREAD_CFLAGS = @THREAD_CFLAGS@
113 THREAD_LIBS = @THREAD_LIBS@
114 U = @U@
115 VERSION = @VERSION@
116 WITH_C14N = @WITH_C14N@
117 WITH_CATALOG = @WITH_CATALOG@
118 WITH_DEBUG = @WITH_DEBUG@
119 WITH_DOCB = @WITH_DOCB@
120 WITH_FTP = @WITH_FTP@
121 WITH_HTML = @WITH_HTML@
122 WITH_HTTP = @WITH_HTTP@
123 WITH_ICONV = @WITH_ICONV@
124 WITH_MEM_DEBUG = @WITH_MEM_DEBUG@
125 WITH_REGEXPS = @WITH_REGEXPS@
126 WITH_SCHEMAS = @WITH_SCHEMAS@
127 WITH_THREADS = @WITH_THREADS@
128 WITH_TRIO = @WITH_TRIO@
129 WITH_XINCLUDE = @WITH_XINCLUDE@
130 WITH_XPATH = @WITH_XPATH@
131 WITH_XPTR = @WITH_XPTR@
132 XINCLUDE_OBJ = @XINCLUDE_OBJ@
133 XML_CFLAGS = @XML_CFLAGS@
134 XML_INCLUDEDIR = @XML_INCLUDEDIR@
135 XML_LIBDIR = @XML_LIBDIR@
136 XML_LIBS = @XML_LIBS@
137 XPATH_OBJ = @XPATH_OBJ@
138 XPTR_OBJ = @XPTR_OBJ@
139 Z_CFLAGS = @Z_CFLAGS@
140 Z_LIBS = @Z_LIBS@
141
142 AUTOMAKE_OPTIONS = 1.4 foreign
143
144 SUBDIRS = . tests
145
146 INCLUDES = \
147         -I$(PYTHON_INCLUDES) \
148         -I$(top_srcdir)/include
149
150
151 DOCS_DIR = $(datadir)/doc/libxml2-python-$(LIBXML_VERSION)
152 # libxml2class.txt is generated
153 DOCS = TODO
154
155 EXTRA_DIST = \
156         libxml.c                \
157         types.c                 \
158         setup.py                \
159         setup.py.in             \
160         generator.py            \
161         libxml_wrap.h           \
162         libxml.py               \
163         drv_libxml2.py          \
164         libxml2-python-api.xml  \
165         $(DOCS)
166
167
168 libxml2mod_la_LDFLAGS = -module -avoid-version -L$(top_builddir)/.libs
169
170 @WITH_PYTHON_TRUE@mylibs = @WITH_PYTHON_TRUE@\
171 @WITH_PYTHON_TRUE@      $(top_builddir)/libxml2.la
172
173 @WITH_PYTHON_TRUE@pythondir = @WITH_PYTHON_TRUE@$(libdir)/python${PYTHON_VERSION}/site-packages
174 @WITH_PYTHON_TRUE@python_LTLIBRARIES = @WITH_PYTHON_TRUE@libxml2mod.la
175
176 @WITH_PYTHON_TRUE@libxml2mod_la_SOURCES = @WITH_PYTHON_TRUE@libxml.c types.c libxml2-py.c
177 @WITH_PYTHON_TRUE@libxml2mod_la_LIBADD = @WITH_PYTHON_TRUE@$(mylibs)
178
179 @WITH_PYTHON_TRUE@GENERATE = @WITH_PYTHON_TRUE@generator.py
180 @WITH_PYTHON_TRUE@API_DESC = @WITH_PYTHON_TRUE@$(top_srcdir)/doc/libxml2-api.xml $(srcdir)/libxml2-python-api.xml
181 @WITH_PYTHON_TRUE@GENERATED = @WITH_PYTHON_TRUE@$(srcdir)/libxml2class.py \
182 @WITH_PYTHON_TRUE@           $(srcdir)/libxml2-export.c \
183 @WITH_PYTHON_TRUE@         $(srcdir)/libxml2-py.c \
184 @WITH_PYTHON_TRUE@         $(srcdir)/libxml2-py.h
185 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
186 CONFIG_HEADER = ../config.h
187 CONFIG_CLEAN_FILES =  setup.py
188 LTLIBRARIES =  $(python_LTLIBRARIES)
189
190
191 DEFS = @DEFS@ -I. -I$(srcdir) -I..
192 CPPFLAGS = @CPPFLAGS@
193 LDFLAGS = @LDFLAGS@
194 LIBS = @LIBS@
195 @WITH_PYTHON_TRUE@libxml2mod_la_DEPENDENCIES =  \
196 @WITH_PYTHON_TRUE@$(top_builddir)/libxml2.la
197 @WITH_PYTHON_TRUE@libxml2mod_la_OBJECTS =  libxml.lo types.lo \
198 @WITH_PYTHON_TRUE@libxml2-py.lo
199 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
200 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
201 CCLD = $(CC)
202 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
203 DIST_COMMON =  README Makefile.am Makefile.in TODO setup.py.in
204
205
206 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
207
208 GZIP_ENV = --best
209 SOURCES = $(libxml2mod_la_SOURCES)
210 OBJECTS = $(libxml2mod_la_OBJECTS)
211
212 all: all-redirect
213 .SUFFIXES:
214 .SUFFIXES: .S .c .lo .o .obj .s
215 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
216         cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps python/Makefile
217
218 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
219         cd $(top_builddir) \
220           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
221
222 setup.py: $(top_builddir)/config.status setup.py.in
223         cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
224
225 mostlyclean-pythonLTLIBRARIES:
226
227 clean-pythonLTLIBRARIES:
228         -test -z "$(python_LTLIBRARIES)" || rm -f $(python_LTLIBRARIES)
229
230 distclean-pythonLTLIBRARIES:
231
232 maintainer-clean-pythonLTLIBRARIES:
233
234 install-pythonLTLIBRARIES: $(python_LTLIBRARIES)
235         @$(NORMAL_INSTALL)
236         $(mkinstalldirs) $(DESTDIR)$(pythondir)
237         @list='$(python_LTLIBRARIES)'; for p in $$list; do \
238           if test -f $$p; then \
239             echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(pythondir)/$$p"; \
240             $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(pythondir)/$$p; \
241           else :; fi; \
242         done
243
244 uninstall-pythonLTLIBRARIES:
245         @$(NORMAL_UNINSTALL)
246         list='$(python_LTLIBRARIES)'; for p in $$list; do \
247           $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(pythondir)/$$p; \
248         done
249
250 .c.o:
251         $(COMPILE) -c $<
252
253 # FIXME: We should only use cygpath when building on Windows,
254 # and only if it is available.
255 .c.obj:
256         $(COMPILE) -c `cygpath -w $<`
257
258 .s.o:
259         $(COMPILE) -c $<
260
261 .S.o:
262         $(COMPILE) -c $<
263
264 mostlyclean-compile:
265         -rm -f *.o core *.core
266         -rm -f *.$(OBJEXT)
267
268 clean-compile:
269
270 distclean-compile:
271         -rm -f *.tab.c
272
273 maintainer-clean-compile:
274
275 .c.lo:
276         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
277
278 .s.lo:
279         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
280
281 .S.lo:
282         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
283
284 mostlyclean-libtool:
285         -rm -f *.lo
286
287 clean-libtool:
288         -rm -rf .libs _libs
289
290 distclean-libtool:
291
292 maintainer-clean-libtool:
293
294 libxml2mod.la: $(libxml2mod_la_OBJECTS) $(libxml2mod_la_DEPENDENCIES)
295         $(LINK) -rpath $(pythondir) $(libxml2mod_la_LDFLAGS) $(libxml2mod_la_OBJECTS) $(libxml2mod_la_LIBADD) $(LIBS)
296
297 # This directory's subdirectories are mostly independent; you can cd
298 # into them and run `make' without going through this Makefile.
299 # To change the values of `make' variables: instead of editing Makefiles,
300 # (1) if the variable is set in `config.status', edit `config.status'
301 #     (which will cause the Makefiles to be regenerated when you run `make');
302 # (2) otherwise, pass the desired values on the `make' command line.
303
304 @SET_MAKE@
305
306 all-recursive install-data-recursive install-exec-recursive \
307 installdirs-recursive install-recursive uninstall-recursive  \
308 check-recursive installcheck-recursive info-recursive dvi-recursive:
309         @set fnord $(MAKEFLAGS); amf=$$2; \
310         dot_seen=no; \
311         target=`echo $@ | sed s/-recursive//`; \
312         list='$(SUBDIRS)'; for subdir in $$list; do \
313           echo "Making $$target in $$subdir"; \
314           if test "$$subdir" = "."; then \
315             dot_seen=yes; \
316             local_target="$$target-am"; \
317           else \
318             local_target="$$target"; \
319           fi; \
320           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
321            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
322         done; \
323         if test "$$dot_seen" = "no"; then \
324           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
325         fi; test -z "$$fail"
326
327 mostlyclean-recursive clean-recursive distclean-recursive \
328 maintainer-clean-recursive:
329         @set fnord $(MAKEFLAGS); amf=$$2; \
330         dot_seen=no; \
331         rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
332           rev="$$subdir $$rev"; \
333           test "$$subdir" != "." || dot_seen=yes; \
334         done; \
335         test "$$dot_seen" = "no" && rev=". $$rev"; \
336         target=`echo $@ | sed s/-recursive//`; \
337         for subdir in $$rev; do \
338           echo "Making $$target in $$subdir"; \
339           if test "$$subdir" = "."; then \
340             local_target="$$target-am"; \
341           else \
342             local_target="$$target"; \
343           fi; \
344           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
345            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
346         done && test -z "$$fail"
347 tags-recursive:
348         list='$(SUBDIRS)'; for subdir in $$list; do \
349           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
350         done
351
352 tags: TAGS
353
354 ID: $(HEADERS) $(SOURCES) $(LISP)
355         list='$(SOURCES) $(HEADERS)'; \
356         unique=`for i in $$list; do echo $$i; done | \
357           awk '    { files[$$0] = 1; } \
358                END { for (i in files) print i; }'`; \
359         here=`pwd` && cd $(srcdir) \
360           && mkid -f$$here/ID $$unique $(LISP)
361
362 TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
363         tags=; \
364         here=`pwd`; \
365         list='$(SUBDIRS)'; for subdir in $$list; do \
366    if test "$$subdir" = .; then :; else \
367             test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
368    fi; \
369         done; \
370         list='$(SOURCES) $(HEADERS)'; \
371         unique=`for i in $$list; do echo $$i; done | \
372           awk '    { files[$$0] = 1; } \
373                END { for (i in files) print i; }'`; \
374         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
375           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
376
377 mostlyclean-tags:
378
379 clean-tags:
380
381 distclean-tags:
382         -rm -f TAGS ID
383
384 maintainer-clean-tags:
385
386 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
387
388 subdir = python
389
390 distdir: $(DISTFILES)
391         @for file in $(DISTFILES); do \
392           d=$(srcdir); \
393           if test -d $$d/$$file; then \
394             cp -pr $$d/$$file $(distdir)/$$file; \
395           else \
396             test -f $(distdir)/$$file \
397             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
398             || cp -p $$d/$$file $(distdir)/$$file || :; \
399           fi; \
400         done
401         for subdir in $(SUBDIRS); do \
402           if test "$$subdir" = .; then :; else \
403             test -d $(distdir)/$$subdir \
404             || mkdir $(distdir)/$$subdir \
405             || exit 1; \
406             chmod 777 $(distdir)/$$subdir; \
407             (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
408               || exit 1; \
409           fi; \
410         done
411 libxml.lo libxml.o : libxml.c ../include/libxml/xmlmemory.h \
412         ../include/libxml/xmlversion.h ../include/libxml/threads.h \
413         ../include/libxml/globals.h ../include/libxml/parser.h \
414         ../include/libxml/tree.h ../include/libxml/xmlregexp.h \
415         ../include/libxml/valid.h ../include/libxml/list.h \
416         ../include/libxml/xmlautomata.h ../include/libxml/entities.h \
417         ../include/libxml/encoding.h ../include/libxml/xmlIO.h \
418         ../include/libxml/xmlerror.h ../include/libxml/SAX.h \
419         ../include/libxml/xlink.h ../include/libxml/xpath.h \
420         ../include/libxml/hash.h ../include/libxml/xpathInternals.h \
421         libxml_wrap.h ../include/libxml/parserInternals.h \
422         ../include/libxml/HTMLparser.h ../include/libxml/catalog.h \
423         ../include/libxml/nanoftp.h ../include/libxml/nanohttp.h \
424         ../include/libxml/uri.h ../include/libxml/debugXML.h \
425         ../include/libxml/HTMLtree.h ../include/libxml/xinclude.h \
426         ../include/libxml/xpointer.h ../include/libxml/xmlunicode.h \
427         ../include/libxml/xmlreader.h ../include/libxml/relaxng.h \
428         libxml2-py.h libxml2-export.c
429 libxml2-py.lo libxml2-py.o : libxml2-py.c ../include/libxml/xmlversion.h \
430         ../include/libxml/tree.h ../include/libxml/xmlregexp.h \
431         ../include/libxml/xmlmemory.h ../include/libxml/threads.h \
432         ../include/libxml/globals.h ../include/libxml/parser.h \
433         ../include/libxml/valid.h ../include/libxml/list.h \
434         ../include/libxml/xmlautomata.h ../include/libxml/entities.h \
435         ../include/libxml/encoding.h ../include/libxml/xmlIO.h \
436         ../include/libxml/xmlerror.h ../include/libxml/SAX.h \
437         ../include/libxml/xlink.h libxml_wrap.h \
438         ../include/libxml/parserInternals.h \
439         ../include/libxml/HTMLparser.h ../include/libxml/catalog.h \
440         ../include/libxml/nanoftp.h ../include/libxml/nanohttp.h \
441         ../include/libxml/uri.h ../include/libxml/xpath.h \
442         ../include/libxml/hash.h ../include/libxml/xpathInternals.h \
443         ../include/libxml/debugXML.h ../include/libxml/HTMLtree.h \
444         ../include/libxml/xinclude.h ../include/libxml/xpointer.h \
445         ../include/libxml/xmlunicode.h ../include/libxml/xmlreader.h \
446         ../include/libxml/relaxng.h libxml2-py.h
447 types.lo types.o : types.c libxml_wrap.h ../include/libxml/tree.h \
448         ../include/libxml/xmlversion.h ../include/libxml/xmlregexp.h \
449         ../include/libxml/xmlmemory.h ../include/libxml/threads.h \
450         ../include/libxml/globals.h ../include/libxml/parser.h \
451         ../include/libxml/valid.h ../include/libxml/list.h \
452         ../include/libxml/xmlautomata.h ../include/libxml/entities.h \
453         ../include/libxml/encoding.h ../include/libxml/xmlIO.h \
454         ../include/libxml/xmlerror.h ../include/libxml/SAX.h \
455         ../include/libxml/xlink.h ../include/libxml/parserInternals.h \
456         ../include/libxml/HTMLparser.h ../include/libxml/catalog.h \
457         ../include/libxml/nanoftp.h ../include/libxml/nanohttp.h \
458         ../include/libxml/uri.h ../include/libxml/xpath.h \
459         ../include/libxml/hash.h ../include/libxml/xpathInternals.h \
460         ../include/libxml/debugXML.h ../include/libxml/HTMLtree.h \
461         ../include/libxml/xinclude.h ../include/libxml/xpointer.h \
462         ../include/libxml/xmlunicode.h ../include/libxml/xmlreader.h \
463         ../include/libxml/relaxng.h
464
465 info-am:
466 info: info-recursive
467 dvi-am:
468 dvi: dvi-recursive
469 check-am: all-am
470 check: check-recursive
471 installcheck-am:
472 installcheck: installcheck-recursive
473 install-exec-am:
474 install-exec: install-exec-recursive
475
476 install-data-am: install-pythonLTLIBRARIES install-data-local
477 install-data: install-data-recursive
478
479 install-am: all-am
480         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
481 install: install-recursive
482 uninstall-am: uninstall-pythonLTLIBRARIES
483 uninstall: uninstall-recursive
484 all-am: Makefile $(LTLIBRARIES) all-local
485 all-redirect: all-recursive
486 install-strip:
487         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
488 installdirs: installdirs-recursive
489 installdirs-am:
490         $(mkinstalldirs)  $(DESTDIR)$(pythondir)
491
492
493 mostlyclean-generic:
494
495 clean-generic:
496
497 distclean-generic:
498         -rm -f Makefile $(CONFIG_CLEAN_FILES)
499         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
500
501 maintainer-clean-generic:
502 mostlyclean-am:  mostlyclean-pythonLTLIBRARIES mostlyclean-compile \
503                 mostlyclean-libtool mostlyclean-tags \
504                 mostlyclean-generic
505
506 mostlyclean: mostlyclean-recursive
507
508 clean-am:  clean-pythonLTLIBRARIES clean-compile clean-libtool \
509                 clean-tags clean-generic mostlyclean-am
510
511 clean: clean-recursive
512
513 distclean-am:  distclean-pythonLTLIBRARIES distclean-compile \
514                 distclean-libtool distclean-tags distclean-generic \
515                 clean-am
516         -rm -f libtool
517
518 distclean: distclean-recursive
519
520 maintainer-clean-am:  maintainer-clean-pythonLTLIBRARIES \
521                 maintainer-clean-compile maintainer-clean-libtool \
522                 maintainer-clean-tags maintainer-clean-generic \
523                 distclean-am
524         @echo "This command is intended for maintainers to use;"
525         @echo "it deletes files that may require special tools to rebuild."
526
527 maintainer-clean: maintainer-clean-recursive
528
529 .PHONY: mostlyclean-pythonLTLIBRARIES distclean-pythonLTLIBRARIES \
530 clean-pythonLTLIBRARIES maintainer-clean-pythonLTLIBRARIES \
531 uninstall-pythonLTLIBRARIES install-pythonLTLIBRARIES \
532 mostlyclean-compile distclean-compile clean-compile \
533 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
534 clean-libtool maintainer-clean-libtool install-data-recursive \
535 uninstall-data-recursive install-exec-recursive \
536 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
537 all-recursive check-recursive installcheck-recursive info-recursive \
538 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
539 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
540 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
541 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
542 install-exec install-data-local install-data-am install-data install-am \
543 install uninstall-am uninstall all-local all-redirect all-am all \
544 installdirs-am installdirs mostlyclean-generic distclean-generic \
545 clean-generic maintainer-clean-generic clean mostlyclean distclean \
546 maintainer-clean
547
548
549 @WITH_PYTHON_TRUE@all-local:    libxml2.py
550
551 @WITH_PYTHON_TRUE@libxml2.py: $(srcdir)/libxml.py $(srcdir)/libxml2class.py
552 @WITH_PYTHON_TRUE@      cat $(srcdir)/libxml.py $(srcdir)/libxml2class.py > libxml2.py
553
554 @WITH_PYTHON_TRUE@install-data-local:
555 @WITH_PYTHON_TRUE@      $(mkinstalldirs) $(DESTDIR)$(libdir)/python${PYTHON_VERSION}/site-packages
556 @WITH_PYTHON_TRUE@      @INSTALL@ -m 0644 libxml2.py $(DESTDIR)$(libdir)/python${PYTHON_VERSION}/site-packages
557 @WITH_PYTHON_TRUE@      @INSTALL@ -m 0644 drv_libxml2.py $(DESTDIR)$(libdir)/python${PYTHON_VERSION}/site-packages
558 @WITH_PYTHON_TRUE@      $(mkinstalldirs) $(DESTDIR)$(DOCS_DIR)
559 @WITH_PYTHON_TRUE@      @(for doc in $(DOCS) ; \
560 @WITH_PYTHON_TRUE@         do @INSTALL@ -m 0644 $$doc $(DESTDIR)$(DOCS_DIR) ; done)
561
562 @WITH_PYTHON_TRUE@$(GENERATED): gen_prog
563
564 @WITH_PYTHON_TRUE@gen_prog: $(srcdir)/$(GENERATE) $(API_DESC)
565 @WITH_PYTHON_TRUE@      cd $(srcdir) && $(PYTHON) $(GENERATE)
566 @WITH_PYTHON_TRUE@      touch gen_prog
567
568 @WITH_PYTHON_TRUE@$(libxml2mod_la_OBJECTS): $(GENERATED)
569
570 @WITH_PYTHON_FALSE@all: 
571 tests test: all
572         cd tests && $(MAKE) tests
573
574 clean:
575         rm -f $(GENERATED) *.o _libxml.so *.pyc libxml2.py gen_prog
576
577 # Tell versions [3.59,3.63) of GNU make to not export all variables.
578 # Otherwise a system limit (for SysV at least) may be exceeded.
579 .NOEXPORT: