Started the error handling in nfaxml. Not at all ready, but I want it in
[yaz-moved-to-github.git] / test / Makefile.am
1 ## Copyright (C) 1994-2006, Index Data ApS
2 ## All rights reserved.
3 ## $Id: Makefile.am,v 1.20 2006-07-04 12:59:57 heikki Exp $
4
5 check_PROGRAMS = tsticonv tstnmem tstmatchstr tstwrbuf tstodr tstccl tstlog \
6  tstsoap1 tstsoap2 tstodrstack tstlogthread tstxmlquery tstpquery nfatest1 \
7  nfatest1 nfaxmltest1 \
8  tst_filepath tst_record_conv tst_retrieval tst_tpath
9 check_SCRIPTS = tstcql.sh tstmarciso.sh tstmarcxml.sh
10
11 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
12
13 EXTRA_DIST = tstodr.asn tstodrcodec.c tstodrcodec.h cqlsample \
14  $(check_SCRIPTS) \
15  marc1 marc1.xml marc1.chr marc1.xml.marc \
16  marc2 marc2.xml marc2.chr marc2.xml.marc \
17  marc3 marc3.xml marc3.chr marc3.xml.marc \
18  marc4 marc4.xml marc4.chr marc4.xml.marc \
19  marc5 marc5.xml marc5.chr marc5.xml.marc \
20  marc6 marc6.xml marc6.chr marc6.xml.marc \
21  tst_record_conv.xsl
22
23 YAZCOMP = ../util/yaz-asncomp
24 YAZCOMPLINE = $(YAZCOMP) -d z.tcl -i yaz -I../include $(YCFLAGS)
25
26 AM_CFLAGS=$(THREAD_CFLAGS)
27
28 AM_CPPFLAGS=-I$(top_srcdir)/include $(XML2_CFLAGS)
29
30 dist-hook:
31         mkdir -p $(distdir)/cql
32         cp $(srcdir)/cql/*.err $(distdir)/cql
33         cp $(srcdir)/cql/*.out $(distdir)/cql
34
35 # Rule for generating codecs for our small ASN.1 spec
36 tstodrcodec.c tstodrcodec.h: tstodr.asn $(YAZCOMP)
37         cd $(srcdir); $(YAZCOMP) tstodr.asn
38
39 LDADD = ../src/libyaz.la
40
41 tsticonv_SOURCES = tsticonv.c
42 tstnmem_SOURCES = tstnmem.c
43 tstmatchstr_SOURCES = tstmatchstr.c
44 tstwrbuf_SOURCES = tstwrbuf.c
45 tstodr_SOURCES = tstodrcodec.c tstodrcodec.h tstodr.c
46 tstodrstack_SOURCES = tstodrstack.c
47 tstccl_SOURCES = tstccl.c
48 tstlog_SOURCES = tstlog.c
49 tstsoap1_SOURCES = tstsoap1.c
50 tstsoap2_SOURCES = tstsoap2.c
51 tstlogthread_SOURCES = tstlogthread.c
52 tstxmlquery_SOURCES = tstxmlquery.c
53 tstpquery_SOURCES = tstpquery.c
54 nfatest1_SOURCES = nfatest1.c
55 nfaxmltest1_SOURCES = nfaxmltest1.c
56 tst_filepath_SOURCES = tst_filepath.c
57 tst_record_conv_SOURCES = tst_record_conv.c
58 tst_retrieval_SOURCES = tst_retrieval.c
59 tst_tpath_SOURCES = tst_tpath.c