Added test of timing_t.
[yaz-moved-to-github.git] / test / Makefile.am
1 ## Copyright (C) 1995-2007, Index Data ApS
2 ## All rights reserved.
3 ## $Id: Makefile.am,v 1.30 2007-01-05 11:45:11 adam Exp $
4
5 check_PROGRAMS = tsticonv tstnmem tstmatchstr tstwrbuf tstodr tstccl tstlog \
6  tstsoap1 tstsoap2 tstodrstack tstlogthread tstxmlquery tstpquery \
7  tst_filepath tst_record_conv tst_retrieval tst_tpath tst_timing
8 check_SCRIPTS = tstcql.sh tstmarciso.sh tstmarcxml.sh tstmarccol.sh
9
10 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
11
12 EXTRA_DIST = tstodr.asn tstodrcodec.c tstodrcodec.h cqlsample \
13  cql2pqf-order.txt \
14  $(check_SCRIPTS) \
15  marc1.marc marc1.xml marc1.chr marc1.xml.marc \
16  marc2.marc marc2.xml marc2.chr marc2.xml.marc \
17  marc3.marc marc3.xml marc3.chr marc3.xml.marc \
18  marc4.marc marc4.xml marc4.chr marc4.xml.marc \
19  marc5.marc marc5.xml marc5.chr marc5.xml.marc \
20  marc6.marc marc6.xml marc6.chr marc6.xml.marc \
21  marc7.marc marc7.xml marc7.chr marc7.xml.marc \
22  marccol1.u8.marc marccol1.u8.1.lst marccol1.u8.2.lst \
23  marccol2.u8.marc marccol2.u8.1.lst marccol2.u8.2.lst \
24  tst_record_conv.xsl 
25
26 YAZCOMP = ../util/yaz-asncomp
27 YAZCOMPLINE = $(YAZCOMP) -d z.tcl -i yaz -I../include $(YCFLAGS)
28
29 AM_CFLAGS=$(THREAD_CFLAGS)
30
31 AM_CPPFLAGS=-I$(top_srcdir)/include $(XML2_CFLAGS)
32
33 dist-hook:
34         mkdir -p $(distdir)/cql
35         cp $(srcdir)/cql/*.err $(distdir)/cql
36         cp $(srcdir)/cql/*.out $(distdir)/cql
37
38 # Rule for generating codecs for our small ASN.1 spec
39 tstodrcodec.c tstodrcodec.h: tstodr.asn $(YAZCOMP)
40         cd $(srcdir); $(YAZCOMP) tstodr.asn
41
42 LDADD = ../src/libyaz.la
43
44 CONFIG_CLEAN_FILES=*.log
45
46 tsticonv_SOURCES = tsticonv.c
47 tstnmem_SOURCES = tstnmem.c
48 tstmatchstr_SOURCES = tstmatchstr.c
49 tstwrbuf_SOURCES = tstwrbuf.c
50 tstodr_SOURCES = tstodrcodec.c tstodrcodec.h tstodr.c
51 tstodrstack_SOURCES = tstodrstack.c
52 tstccl_SOURCES = tstccl.c
53 tstlog_SOURCES = tstlog.c
54 tstsoap1_SOURCES = tstsoap1.c
55 tstsoap2_SOURCES = tstsoap2.c
56 tstlogthread_SOURCES = tstlogthread.c
57 tstxmlquery_SOURCES = tstxmlquery.c
58 tstpquery_SOURCES = tstpquery.c
59 tst_filepath_SOURCES = tst_filepath.c
60 tst_record_conv_SOURCES = tst_record_conv.c
61 tst_retrieval_SOURCES = tst_retrieval.c
62 tst_tpath_SOURCES = tst_tpath.c
63 tst_timing_SOURCES = tst_timing.c