Daniel Veillard | 01791d5 | 1998-07-24 19:24:09 +0000 | [diff] [blame] | 1 | ## Process this file with automake to produce Makefile.in |
| 2 | |
| 3 | noinst_PROGRAMS=tester |
| 4 | |
| 5 | lib_LTLIBRARIES = libxml_0.10.la |
| 6 | |
| 7 | libxml_0_10_la_SOURCES = \ |
| 8 | xml_entities.c \ |
| 9 | xml_parser.c \ |
| 10 | xml_tree.c |
| 11 | |
| 12 | include_HEADERS = \ |
| 13 | xml_entities.h \ |
| 14 | xml_parser.h \ |
| 15 | xml_tree.h |
| 16 | |
| 17 | DEPS = $(top_builddir)/libxml_0.10.la |
| 18 | LDADDS = $(top_builddir)/libxml_0.10.la @Z_LIBS@ |
| 19 | |
| 20 | tester_SOURCES=tester.c |
| 21 | tester_LDFLAGS = |
| 22 | tester_DEPENDENCIES = $(DEPS) |
| 23 | tester_LDADD= $(LDADDS) |
| 24 | |
| 25 | tests : 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 | |