AUTOMAKE_OPTIONS = serial-tests

check_PROGRAMS = xslt1 xslt2 xslt3 xslt4 xslt5 dom1
TESTS = $(check_PROGRAMS)

EXTRA_DIST= \
     biblio-config.xml \
     biblio-indexdefs.xsl \
     biblio-record.xml \
     dom-config-col.xml \
     dom-config-marc.xml \
     dom-config-utf8.xml \
     dom-config-one.xml \
     dom-config-skipped.xml \
     dom-index-element.xsl \
     dom-index-element-chop.xsl \
     dom-index-pi.xsl \
     dom-index-skipped.xsl \
     dom-config-del.xml \
     dom-brief.xsl \
     dom-snippet.xsl \
     gutenberg.xml \
     gutenberg-sample.xml \
     dcaddmeta.xsl \
     gpdctodc.xsl \
     dctoindex.xsl \
     del-col.xml \
     id.xsl \
     index.xsl \
     marc-col.mrc \
     marc-col.xml \
     bad-utf8.mrc \
     marc-missing-ns.xml \
     marc-one.xml \
     marcschema-col.xml \
     marcschema-one.xml \
     snippet.xsl \
     zebra-dom.cfg \
     zebra.cfg \
     zebrastaticrank.cfg



xslt1_SOURCES = xslt1.c
xslt2_SOURCES = xslt2.c
xslt3_SOURCES = xslt3.c
xslt4_SOURCES = xslt4.c
xslt5_SOURCES = xslt5.c
dom1_SOURCES = dom1.c

AM_CPPFLAGS = -I$(srcdir)/../api -I$(top_srcdir)/include $(YAZINC)

zebralibs = ../../index/libidzebra-2.0.la 

LDADD = ../api/libtestlib.a $(zebralibs) $(YAZLALIB)

clean-local:
	-rm -rf *.LCK 
	-rm -rf *.log 
	-rm -rf *.mf 

