aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/Makefile.am')
-rw-r--r--doc/examples/Makefile.am17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
new file mode 100644
index 00000000..8690a2f4
--- /dev/null
+++ b/doc/examples/Makefile.am
@@ -0,0 +1,17 @@
+noinst_PROGRAMS=example1
+
+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@
+
+EXTRA_DIST=examples.xml test1.xml
+
+example1_SOURCES=example1.c
+example1_LDFLAGS =
+example1_DEPENDENCIES = $(DEPS)
+example1_LDADD= @RDL_LIBS@ $(LDADDS)
+
+all: examples.xml
+
+examples.xml: index.py *.c
+ -@($(srcdir)/index.py)