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