1 # Makefile.in generated by automake 1.6.3 from Makefile.am.
4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
5 # 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.
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
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
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
44 AUTOHEADER = @AUTOHEADER@
46 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@
49 INSTALL_DATA = @INSTALL_DATA@
50 install_sh_DATA = $(install_sh) -c -m 644
51 install_sh_PROGRAM = $(install_sh) -c
52 install_sh_SCRIPT = $(install_sh) -c
53 INSTALL_SCRIPT = @INSTALL_SCRIPT@
54 INSTALL_HEADER = $(INSTALL_DATA)
55 transform = @program_transform_name@
62 host_alias = @host_alias@
67 PATH_SEPARATOR = @PATH_SEPARATOR@
72 CATALOG_OBJ = @CATALOG_OBJ@
76 DEBUG_OBJ = @DEBUG_OBJ@
82 HAVE_ISINF = @HAVE_ISINF@
83 HAVE_ISNAN = @HAVE_ISNAN@
87 ICONV_LIBS = @ICONV_LIBS@
88 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
90 LIBXML_MAJOR_VERSION = @LIBXML_MAJOR_VERSION@
91 LIBXML_MICRO_VERSION = @LIBXML_MICRO_VERSION@
92 LIBXML_MINOR_VERSION = @LIBXML_MINOR_VERSION@
93 LIBXML_VERSION = @LIBXML_VERSION@
94 LIBXML_VERSION_INFO = @LIBXML_VERSION_INFO@
95 LIBXML_VERSION_NUMBER = @LIBXML_VERSION_NUMBER@
103 PYTHON_INCLUDES = @PYTHON_INCLUDES@
104 PYTHON_SITE_PACKAGES = @PYTHON_SITE_PACKAGES@
105 PYTHON_SUBDIR = @PYTHON_SUBDIR@
106 PYTHON_VERSION = @PYTHON_VERSION@
108 RDL_LIBS = @RDL_LIBS@
111 STATIC_BINARIES = @STATIC_BINARIES@
114 TEST_REGEXPS = @TEST_REGEXPS@
115 TEST_SCHEMAS = @TEST_SCHEMAS@
116 TEST_THREADS = @TEST_THREADS@
117 THREAD_CFLAGS = @THREAD_CFLAGS@
118 THREAD_LIBS = @THREAD_LIBS@
121 WIN32_EXTRA_LDFLAGS = @WIN32_EXTRA_LDFLAGS@
122 WIN32_EXTRA_LIBADD = @WIN32_EXTRA_LIBADD@
123 WITH_C14N = @WITH_C14N@
124 WITH_CATALOG = @WITH_CATALOG@
125 WITH_DEBUG = @WITH_DEBUG@
126 WITH_DOCB = @WITH_DOCB@
127 WITH_FTP = @WITH_FTP@
128 WITH_HTML = @WITH_HTML@
129 WITH_HTTP = @WITH_HTTP@
130 WITH_ICONV = @WITH_ICONV@
131 WITH_ISO8859X = @WITH_ISO8859X@
132 WITH_MEM_DEBUG = @WITH_MEM_DEBUG@
133 WITH_REGEXPS = @WITH_REGEXPS@
134 WITH_SCHEMAS = @WITH_SCHEMAS@
135 WITH_THREADS = @WITH_THREADS@
136 WITH_TRIO = @WITH_TRIO@
137 WITH_XINCLUDE = @WITH_XINCLUDE@
138 WITH_XPATH = @WITH_XPATH@
139 WITH_XPTR = @WITH_XPTR@
140 XINCLUDE_OBJ = @XINCLUDE_OBJ@
141 XML_CFLAGS = @XML_CFLAGS@
142 XML_INCLUDEDIR = @XML_INCLUDEDIR@
143 XML_LIBDIR = @XML_LIBDIR@
144 XML_LIBS = @XML_LIBS@
145 XPATH_OBJ = @XPATH_OBJ@
146 XPTR_OBJ = @XPTR_OBJ@
147 Z_CFLAGS = @Z_CFLAGS@
149 am__include = @am__include@
150 am__quote = @am__quote@
151 install_sh = @install_sh@
152 pythondir = @pythondir@
154 # Makefile for libxml2 python library
155 AUTOMAKE_OPTIONS = 1.4 foreign
160 -I$(PYTHON_INCLUDES) \
161 -I$(top_srcdir)/include
164 DOCS_DIR = $(datadir)/doc/libxml2-python-$(LIBXML_VERSION)
165 # libxml2class.txt is generated
177 libxml2-python-api.xml \
181 libxml2mod_la_LDFLAGS = -module -avoid-version -L$(top_builddir)/.libs
183 @WITH_PYTHON_TRUE@mylibs = \
184 @WITH_PYTHON_TRUE@ $(top_builddir)/libxml2.la
187 @WITH_PYTHON_TRUE@python_LTLIBRARIES = libxml2mod.la
189 @WITH_PYTHON_TRUE@libxml2mod_la_SOURCES = libxml.c types.c libxml2-py.c
190 @WITH_PYTHON_TRUE@libxml2mod_la_LIBADD = $(mylibs)
192 @WITH_PYTHON_TRUE@GENERATE = generator.py
193 @WITH_PYTHON_TRUE@API_DESC = $(top_srcdir)/doc/libxml2-api.xml $(srcdir)/libxml2-python-api.xml
194 @WITH_PYTHON_TRUE@GENERATED = $(srcdir)/libxml2class.py \
195 @WITH_PYTHON_TRUE@ $(srcdir)/libxml2-export.c \
196 @WITH_PYTHON_TRUE@ $(srcdir)/libxml2-py.c \
197 @WITH_PYTHON_TRUE@ $(srcdir)/libxml2-py.h
200 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
201 CONFIG_HEADER = $(top_builddir)/config.h
202 CONFIG_CLEAN_FILES = setup.py
203 LTLIBRARIES = $(python_LTLIBRARIES)
205 @WITH_PYTHON_TRUE@libxml2mod_la_DEPENDENCIES = \
206 @WITH_PYTHON_TRUE@ $(top_builddir)/libxml2.la
207 @WITH_PYTHON_FALSE@libxml2mod_la_DEPENDENCIES =
208 @WITH_PYTHON_TRUE@am_libxml2mod_la_OBJECTS = libxml.lo types.lo \
209 @WITH_PYTHON_TRUE@ libxml2-py.lo
210 libxml2mod_la_OBJECTS = $(am_libxml2mod_la_OBJECTS)
213 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
214 CPPFLAGS = @CPPFLAGS@
217 depcomp = $(SHELL) $(top_srcdir)/depcomp
218 am__depfiles_maybe = depfiles
219 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/libxml.Plo \
220 @AMDEP_TRUE@ ./$(DEPDIR)/libxml2-py.Plo ./$(DEPDIR)/types.Plo
221 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
222 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
223 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
224 $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
226 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
227 $(AM_LDFLAGS) $(LDFLAGS) -o $@
228 DIST_SOURCES = $(libxml2mod_la_SOURCES)
230 RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
231 uninstall-info-recursive all-recursive install-data-recursive \
232 install-exec-recursive installdirs-recursive install-recursive \
233 uninstall-recursive check-recursive installcheck-recursive
234 DIST_COMMON = README Makefile.am Makefile.in TODO setup.py.in
235 DIST_SUBDIRS = $(SUBDIRS)
236 SOURCES = $(libxml2mod_la_SOURCES)
241 .SUFFIXES: .c .lo .o .obj
242 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
243 cd $(top_srcdir) && \
244 $(AUTOMAKE) --foreign python/Makefile
245 Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
246 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
247 setup.py: $(top_builddir)/config.status setup.py.in
248 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
249 pythonLTLIBRARIES_INSTALL = $(INSTALL)
250 install-pythonLTLIBRARIES: $(python_LTLIBRARIES)
252 $(mkinstalldirs) $(DESTDIR)$(pythondir)
253 @list='$(python_LTLIBRARIES)'; for p in $$list; do \
254 if test -f $$p; then \
255 f="`echo $$p | sed -e 's|^.*/||'`"; \
256 echo " $(LIBTOOL) --mode=install $(pythonLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(pythondir)/$$f"; \
257 $(LIBTOOL) --mode=install $(pythonLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(pythondir)/$$f; \
261 uninstall-pythonLTLIBRARIES:
263 @list='$(python_LTLIBRARIES)'; for p in $$list; do \
264 p="`echo $$p | sed -e 's|^.*/||'`"; \
265 echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(pythondir)/$$p"; \
266 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(pythondir)/$$p; \
269 clean-pythonLTLIBRARIES:
270 -test -z "$(python_LTLIBRARIES)" || rm -f $(python_LTLIBRARIES)
271 @list='$(python_LTLIBRARIES)'; for p in $$list; do \
272 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
273 test -z "$dir" && dir=.; \
274 echo "rm -f \"$${dir}/so_locations\""; \
275 rm -f "$${dir}/so_locations"; \
277 libxml2mod.la: $(libxml2mod_la_OBJECTS) $(libxml2mod_la_DEPENDENCIES)
278 $(LINK) -rpath $(pythondir) $(libxml2mod_la_LDFLAGS) $(libxml2mod_la_OBJECTS) $(libxml2mod_la_LIBADD) $(LIBS)
281 -rm -f *.$(OBJEXT) core *.core
286 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libxml.Plo@am__quote@
287 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libxml2-py.Plo@am__quote@
288 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/types.Plo@am__quote@
294 @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
295 @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
296 @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
297 $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
300 @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
301 @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
302 @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
303 $(COMPILE) -c `cygpath -w $<`
306 @AMDEP_TRUE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
307 @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
308 @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
309 $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
310 CCDEPMODE = @CCDEPMODE@
322 # This directory's subdirectories are mostly independent; you can cd
323 # into them and run `make' without going through this Makefile.
324 # To change the values of `make' variables: instead of editing Makefiles,
325 # (1) if the variable is set in `config.status', edit `config.status'
326 # (which will cause the Makefiles to be regenerated when you run `make');
327 # (2) otherwise, pass the desired values on the `make' command line.
328 $(RECURSIVE_TARGETS):
329 @set fnord $$MAKEFLAGS; amf=$$2; \
331 target=`echo $@ | sed s/-recursive//`; \
332 list='$(SUBDIRS)'; for subdir in $$list; do \
333 echo "Making $$target in $$subdir"; \
334 if test "$$subdir" = "."; then \
336 local_target="$$target-am"; \
338 local_target="$$target"; \
340 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
341 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
343 if test "$$dot_seen" = "no"; then \
344 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
347 mostlyclean-recursive clean-recursive distclean-recursive \
348 maintainer-clean-recursive:
349 @set fnord $$MAKEFLAGS; amf=$$2; \
352 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
353 *) list='$(SUBDIRS)' ;; \
355 rev=''; for subdir in $$list; do \
356 if test "$$subdir" = "."; then :; else \
357 rev="$$subdir $$rev"; \
361 target=`echo $@ | sed s/-recursive//`; \
362 for subdir in $$rev; do \
363 echo "Making $$target in $$subdir"; \
364 if test "$$subdir" = "."; then \
365 local_target="$$target-am"; \
367 local_target="$$target"; \
369 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
370 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
371 done && test -z "$$fail"
373 list='$(SUBDIRS)'; for subdir in $$list; do \
374 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
382 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
383 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
384 unique=`for i in $$list; do \
385 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
387 $(AWK) ' { files[$$0] = 1; } \
388 END { for (i in files) print i; }'`; \
391 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
392 $(TAGS_FILES) $(LISP)
395 list='$(SUBDIRS)'; for subdir in $$list; do \
396 if test "$$subdir" = .; then :; else \
397 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
400 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
401 unique=`for i in $$list; do \
402 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
404 $(AWK) ' { files[$$0] = 1; } \
405 END { for (i in files) print i; }'`; \
406 test -z "$(ETAGS_ARGS)$$tags$$unique" \
407 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
411 here=`$(am__cd) $(top_builddir) && pwd` \
412 && cd $(top_srcdir) \
413 && gtags -i $(GTAGS_ARGS) $$here
416 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
417 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
420 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
422 distdir: $(DISTFILES)
423 @list='$(DISTFILES)'; for file in $$list; do \
424 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
425 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
426 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
428 $(mkinstalldirs) "$(distdir)$$dir"; \
432 if test -d $$d/$$file; then \
433 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
434 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
436 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
438 test -f $(distdir)/$$file \
439 || cp -p $$d/$$file $(distdir)/$$file \
443 list='$(SUBDIRS)'; for subdir in $$list; do \
444 if test "$$subdir" = .; then :; else \
445 test -d $(distdir)/$$subdir \
446 || mkdir $(distdir)/$$subdir \
449 $(MAKE) $(AM_MAKEFLAGS) \
450 top_distdir="$(top_distdir)" \
451 distdir=../$(distdir)/$$subdir \
457 check: check-recursive
458 all-am: Makefile $(LTLIBRARIES) all-local
459 installdirs: installdirs-recursive
461 $(mkinstalldirs) $(DESTDIR)$(pythondir)
463 install: install-recursive
464 install-exec: install-exec-recursive
465 install-data: install-data-recursive
466 uninstall: uninstall-recursive
469 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
471 installcheck: installcheck-recursive
473 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
474 INSTALL_STRIP_FLAG=-s \
475 `test -z '$(STRIP)' || \
476 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
482 -rm -f Makefile $(CONFIG_CLEAN_FILES)
484 maintainer-clean-generic:
485 @echo "This command is intended for maintainers to use"
486 @echo "it deletes files that may require special tools to rebuild."
487 clean: clean-recursive
489 clean-am: clean-generic clean-libtool clean-pythonLTLIBRARIES \
492 distclean: distclean-recursive
494 distclean-am: clean-am distclean-compile distclean-depend \
495 distclean-generic distclean-libtool distclean-tags
505 install-data-am: install-data-local install-pythonLTLIBRARIES
509 install-info: install-info-recursive
515 maintainer-clean: maintainer-clean-recursive
517 maintainer-clean-am: distclean-am maintainer-clean-generic
519 mostlyclean: mostlyclean-recursive
521 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
524 uninstall-am: uninstall-info-am uninstall-pythonLTLIBRARIES
526 uninstall-info: uninstall-info-recursive
528 .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
529 clean clean-generic clean-libtool clean-pythonLTLIBRARIES \
530 clean-recursive distclean distclean-compile distclean-depend \
531 distclean-generic distclean-libtool distclean-recursive \
532 distclean-tags distdir dvi dvi-am dvi-recursive info info-am \
533 info-recursive install install-am install-data install-data-am \
534 install-data-local install-data-recursive install-exec \
535 install-exec-am install-exec-recursive install-info \
536 install-info-am install-info-recursive install-man \
537 install-pythonLTLIBRARIES install-recursive install-strip \
538 installcheck installcheck-am installdirs installdirs-am \
539 installdirs-recursive maintainer-clean maintainer-clean-generic \
540 maintainer-clean-recursive mostlyclean mostlyclean-compile \
541 mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
542 tags tags-recursive uninstall uninstall-am uninstall-info-am \
543 uninstall-info-recursive uninstall-pythonLTLIBRARIES \
547 @WITH_PYTHON_TRUE@all-local: libxml2.py
549 @WITH_PYTHON_TRUE@libxml2.py: $(srcdir)/libxml.py $(srcdir)/libxml2class.py
550 @WITH_PYTHON_TRUE@ cat $(srcdir)/libxml.py $(srcdir)/libxml2class.py > libxml2.py
552 @WITH_PYTHON_TRUE@install-data-local:
553 @WITH_PYTHON_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pythondir)
554 @WITH_PYTHON_TRUE@ @INSTALL@ -m 0644 libxml2.py $(DESTDIR)$(pythondir)
555 @WITH_PYTHON_TRUE@ @INSTALL@ -m 0644 drv_libxml2.py $(DESTDIR)$(pythondir)
556 @WITH_PYTHON_TRUE@ $(mkinstalldirs) $(DESTDIR)$(DOCS_DIR)
557 @WITH_PYTHON_TRUE@ @(for doc in $(DOCS) ; \
558 @WITH_PYTHON_TRUE@ do @INSTALL@ -m 0644 $$doc $(DESTDIR)$(DOCS_DIR) ; done)
560 @WITH_PYTHON_TRUE@$(GENERATED): gen_prog
562 @WITH_PYTHON_TRUE@gen_prog: $(srcdir)/$(GENERATE) $(API_DESC)
563 @WITH_PYTHON_TRUE@ cd $(srcdir) && $(PYTHON) $(GENERATE)
564 @WITH_PYTHON_TRUE@ touch gen_prog
566 @WITH_PYTHON_TRUE@$(libxml2mod_la_OBJECTS): $(GENERATED)
568 @WITH_PYTHON_FALSE@all:
570 cd tests && $(MAKE) tests
573 rm -f $(GENERATED) *.o _libxml.so *.pyc libxml2.py gen_prog
574 # Tell versions [3.59,3.63) of GNU make to not export all variables.
575 # Otherwise a system limit (for SysV at least) may be exceeded.