Fixed bug #606: Empty path in yaz_filepath_resolve reads from / .
[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.19 2006-06-08 10:26:10 adam Exp $
4
5 check_PROGRAMS = tsticonv tstnmem tstmatchstr tstwrbuf tstodr tstccl tstlog \
6  tstsoap1 tstsoap2 tstodrstack tstlogthread tstxmlquery tstpquery nfatest1 \
7  tst_filepath tst_record_conv tst_retrieval tst_tpath
8 check_SCRIPTS = tstcql.sh tstmarciso.sh tstmarcxml.sh
9
10 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
11
12 EXTRA_DIST = tstodr.asn tstodrcodec.c tstodrcodec.h cqlsample \
13  $(check_SCRIPTS) \
14  marc1 marc1.xml marc1.chr marc1.xml.marc \
15  marc2 marc2.xml marc2.chr marc2.xml.marc \
16  marc3 marc3.xml marc3.chr marc3.xml.marc \
17  marc4 marc4.xml marc4.chr marc4.xml.marc \
18  marc5 marc5.xml marc5.chr marc5.xml.marc \
19  marc6 marc6.xml marc6.chr marc6.xml.marc \
20  tst_record_conv.xsl
21
22 YAZCOMP = ../util/yaz-asncomp
23 YAZCOMPLINE = $(YAZCOMP) -d z.tcl -i yaz -I../include $(YCFLAGS)
24
25 AM_CFLAGS=$(THREAD_CFLAGS)
26
27 AM_CPPFLAGS=-I$(top_srcdir)/include $(XML2_CFLAGS)
28
29 dist-hook:
30         mkdir -p $(distdir)/cql
31         cp $(srcdir)/cql/*.err $(distdir)/cql
32         cp $(srcdir)/cql/*.out $(distdir)/cql
33
34 # Rule for generating codecs for our small ASN.1 spec
35 tstodrcodec.c tstodrcodec.h: tstodr.asn $(YAZCOMP)
36         cd $(srcdir); $(YAZCOMP) tstodr.asn
37
38 LDADD = ../src/libyaz.la
39
40 tsticonv_SOURCES = tsticonv.c
41 tstnmem_SOURCES = tstnmem.c
42 tstmatchstr_SOURCES = tstmatchstr.c
43 tstwrbuf_SOURCES = tstwrbuf.c
44 tstodr_SOURCES = tstodrcodec.c tstodrcodec.h tstodr.c
45 tstodrstack_SOURCES = tstodrstack.c
46 tstccl_SOURCES = tstccl.c
47 tstlog_SOURCES = tstlog.c
48 tstsoap1_SOURCES = tstsoap1.c
49 tstsoap2_SOURCES = tstsoap2.c
50 tstlogthread_SOURCES = tstlogthread.c
51 tstxmlquery_SOURCES = tstxmlquery.c
52 tstpquery_SOURCES = tstpquery.c
53 nfatest1_SOURCES = nfatest1.c
54 tst_filepath_SOURCES = tst_filepath.c
55 tst_record_conv_SOURCES = tst_record_conv.c
56 tst_retrieval_SOURCES = tst_retrieval.c
57 tst_tpath_SOURCES = tst_tpath.c