1 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
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.
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
13 # Makefile for libxml2 python library
19 top_srcdir = @top_srcdir@
22 exec_prefix = @exec_prefix@
26 libexecdir = @libexecdir@
28 sysconfdir = @sysconfdir@
29 sharedstatedir = @sharedstatedir@
30 localstatedir = @localstatedir@
34 includedir = @includedir@
35 oldincludedir = /usr/include
39 pkgdatadir = $(datadir)/@PACKAGE@
40 pkglibdir = $(libdir)/@PACKAGE@
41 pkgincludedir = $(includedir)/@PACKAGE@
48 AUTOHEADER = @AUTOHEADER@
51 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
52 INSTALL_DATA = @INSTALL_DATA@
53 INSTALL_SCRIPT = @INSTALL_SCRIPT@
54 transform = @program_transform_name@
62 host_alias = @host_alias@
66 CATALOG_OBJ = @CATALOG_OBJ@
70 DEBUG_OBJ = @DEBUG_OBJ@
76 HAVE_ISINF = @HAVE_ISINF@
77 HAVE_ISNAN = @HAVE_ISNAN@
81 ICONV_LIBS = @ICONV_LIBS@
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@
98 PYTHON_INCLUDES = @PYTHON_INCLUDES@
99 PYTHON_SITE_PACKAGES = @PYTHON_SITE_PACKAGES@
100 PYTHON_SUBDIR = @PYTHON_SUBDIR@
101 PYTHON_VERSION = @PYTHON_VERSION@
103 RDL_LIBS = @RDL_LIBS@
106 STATIC_BINARIES = @STATIC_BINARIES@
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@
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@
142 AUTOMAKE_OPTIONS = 1.4 foreign
147 -I$(PYTHON_INCLUDES) \
148 -I$(top_srcdir)/include
151 DOCS_DIR = $(datadir)/doc/libxml2-python-$(LIBXML_VERSION)
152 # libxml2class.txt is generated
164 libxml2-python-api.xml \
168 libxml2mod_la_LDFLAGS = -module -avoid-version -L$(top_builddir)/.libs
170 @WITH_PYTHON_TRUE@mylibs = @WITH_PYTHON_TRUE@\
171 @WITH_PYTHON_TRUE@ $(top_builddir)/libxml2.la
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
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)
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)
191 DEFS = @DEFS@ -I. -I$(srcdir) -I..
192 CPPFLAGS = @CPPFLAGS@
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)
202 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
203 DIST_COMMON = README Makefile.am Makefile.in TODO setup.py.in
206 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
209 SOURCES = $(libxml2mod_la_SOURCES)
210 OBJECTS = $(libxml2mod_la_OBJECTS)
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
218 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
220 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
222 setup.py: $(top_builddir)/config.status setup.py.in
223 cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
225 mostlyclean-pythonLTLIBRARIES:
227 clean-pythonLTLIBRARIES:
228 -test -z "$(python_LTLIBRARIES)" || rm -f $(python_LTLIBRARIES)
230 distclean-pythonLTLIBRARIES:
232 maintainer-clean-pythonLTLIBRARIES:
234 install-pythonLTLIBRARIES: $(python_LTLIBRARIES)
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; \
244 uninstall-pythonLTLIBRARIES:
246 list='$(python_LTLIBRARIES)'; for p in $$list; do \
247 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(pythondir)/$$p; \
253 # FIXME: We should only use cygpath when building on Windows,
254 # and only if it is available.
256 $(COMPILE) -c `cygpath -w $<`
265 -rm -f *.o core *.core
273 maintainer-clean-compile:
276 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
279 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
282 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
292 maintainer-clean-libtool:
294 libxml2mod.la: $(libxml2mod_la_OBJECTS) $(libxml2mod_la_DEPENDENCIES)
295 $(LINK) -rpath $(pythondir) $(libxml2mod_la_LDFLAGS) $(libxml2mod_la_OBJECTS) $(libxml2mod_la_LIBADD) $(LIBS)
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.
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; \
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 \
316 local_target="$$target-am"; \
318 local_target="$$target"; \
320 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
321 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
323 if test "$$dot_seen" = "no"; then \
324 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
327 mostlyclean-recursive clean-recursive distclean-recursive \
328 maintainer-clean-recursive:
329 @set fnord $(MAKEFLAGS); amf=$$2; \
331 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
332 rev="$$subdir $$rev"; \
333 test "$$subdir" != "." || dot_seen=yes; \
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"; \
342 local_target="$$target"; \
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"
348 list='$(SUBDIRS)'; for subdir in $$list; do \
349 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
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)
362 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
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"; \
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)
384 maintainer-clean-tags:
386 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
390 distdir: $(DISTFILES)
391 @for file in $(DISTFILES); do \
393 if test -d $$d/$$file; then \
394 cp -pr $$d/$$file $(distdir)/$$file; \
396 test -f $(distdir)/$$file \
397 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
398 || cp -p $$d/$$file $(distdir)/$$file || :; \
401 for subdir in $(SUBDIRS); do \
402 if test "$$subdir" = .; then :; else \
403 test -d $(distdir)/$$subdir \
404 || mkdir $(distdir)/$$subdir \
406 chmod 777 $(distdir)/$$subdir; \
407 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
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
470 check: check-recursive
472 installcheck: installcheck-recursive
474 install-exec: install-exec-recursive
476 install-data-am: install-pythonLTLIBRARIES install-data-local
477 install-data: install-data-recursive
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
487 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
488 installdirs: installdirs-recursive
490 $(mkinstalldirs) $(DESTDIR)$(pythondir)
498 -rm -f Makefile $(CONFIG_CLEAN_FILES)
499 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
501 maintainer-clean-generic:
502 mostlyclean-am: mostlyclean-pythonLTLIBRARIES mostlyclean-compile \
503 mostlyclean-libtool mostlyclean-tags \
506 mostlyclean: mostlyclean-recursive
508 clean-am: clean-pythonLTLIBRARIES clean-compile clean-libtool \
509 clean-tags clean-generic mostlyclean-am
511 clean: clean-recursive
513 distclean-am: distclean-pythonLTLIBRARIES distclean-compile \
514 distclean-libtool distclean-tags distclean-generic \
518 distclean: distclean-recursive
520 maintainer-clean-am: maintainer-clean-pythonLTLIBRARIES \
521 maintainer-clean-compile maintainer-clean-libtool \
522 maintainer-clean-tags maintainer-clean-generic \
524 @echo "This command is intended for maintainers to use;"
525 @echo "it deletes files that may require special tools to rebuild."
527 maintainer-clean: maintainer-clean-recursive
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 \
549 @WITH_PYTHON_TRUE@all-local: libxml2.py
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
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)
562 @WITH_PYTHON_TRUE@$(GENERATED): gen_prog
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
568 @WITH_PYTHON_TRUE@$(libxml2mod_la_OBJECTS): $(GENERATED)
570 @WITH_PYTHON_FALSE@all:
572 cd tests && $(MAKE) tests
575 rm -f $(GENERATED) *.o _libxml.so *.pyc libxml2.py gen_prog
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.