| # Beware this is autogenerated by config.py |
| INCLUDES = -I$(top_builddir)/include -I@srcdir@/include @THREAD_CFLAGS@ @Z_CFLAGS@ |
| DEPS = $(top_builddir)/libxml2.la |
| LDADDS = @STATIC_BINARIES@ $(top_builddir)/libxml2.la @THREAD_LIBS@ @Z_LIBS@ $(ICONV_LIBS) -lm @WIN32_EXTRA_LIBADD@ |
| |
| all: examples.xml index.html |
| |
| examples.xml: index.py *.c |
| -@($(srcdir)/index.py) |
| |
| index.html: examples.xml examples.xsl |
| -@(xsltproc examples.xsl examples.xml && echo "Rebuilt web page" && xmllint --valid --noout index.html) |
| |
| EXTRA_DIST=examples.xsl index.py test1.xml examples.xml test2.xml |
| |
| noinst_PROGRAMS=xpath1 parse1 parse2 |
| |
| xpath1_SOURCES=xpath1.c |
| xpath1_LDFLAGS= |
| xpath1_DEPENDENCIES= $(DEPS) |
| xpath1_LDADD= @RDL_LIBS@ $(LDADDS) |
| |
| parse1_SOURCES=parse1.c |
| parse1_LDFLAGS= |
| parse1_DEPENDENCIES= $(DEPS) |
| parse1_LDADD= @RDL_LIBS@ $(LDADDS) |
| |
| parse2_SOURCES=parse2.c |
| parse2_LDFLAGS= |
| parse2_DEPENDENCIES= $(DEPS) |
| parse2_LDADD= @RDL_LIBS@ $(LDADDS) |
| |
| tests: $(noinst_PROGRAMS) |
| parse1 test1.xml |
| parse2 test2.xml |
| |
| |