blob: a5df93c300900b0da64c29e75b265587e3e18c62 [file] [log] [blame]
Daniel Veillard01791d51998-07-24 19:24:09 +00001## Process this file with automake to produce Makefile.in
2
3noinst_PROGRAMS=tester
4
5lib_LTLIBRARIES = libxml_0.10.la
6
7libxml_0_10_la_SOURCES = \
8 xml_entities.c \
9 xml_parser.c \
10 xml_tree.c
11
12include_HEADERS = \
13 xml_entities.h \
14 xml_parser.h \
15 xml_tree.h
16
17DEPS = $(top_builddir)/libxml_0.10.la
18LDADDS = $(top_builddir)/libxml_0.10.la @Z_LIBS@
19
20tester_SOURCES=tester.c
21tester_LDFLAGS =
22tester_DEPENDENCIES = $(DEPS)
23tester_LDADD= $(LDADDS)
24
25tests : tester
26 @(DIR=`pwd`; cd $(srcdir) ; for i in test/* ; do \
27 if [ ! -d $$i ] ; then \
28 if [ ! -f result/`basename $$i` ] ; then \
29 echo New test file `basename $$i` ; \
30 $$DIR/tester $$i > result/`basename $$i` ; \
31 else \
32 echo Testing `basename $$i` ; \
33 $$DIR/tester $$i > result.`basename $$i` ; \
34 diff result/`basename $$i` result.`basename $$i` ; \
35 rm result.`basename $$i` ; \
36 fi ; fi ; done)
37