1 ## Copyright (C) 1995-2007, Index Data ApS
2 ## All rights reserved.
3 ## $Id: Makefile.am,v 1.42 2008-01-06 21:48:23 adam Exp $
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 tst_query_charset tst_oid tst_icu_I18N tst_match_glob
9 check_SCRIPTS = tstcql.sh tstmarc.sh tstmarccol.sh tstcql2pqf.sh
11 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
13 EXTRA_DIST = tstodr.asn tstodrcodec.c tstodrcodec.h cqlsample \
14 cql2pqf-order.txt cql2pqfsample \
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 marc8.marc marc8.xml marc8.chr marc8.xml.marc \
24 marc9.marc marc9.xml marc9.chr marc9.xml.marc \
25 marccol1.u8.marc marccol1.u8.1.lst marccol1.u8.2.lst \
26 marccol2.u8.marc marccol2.u8.1.lst marccol2.u8.2.lst \
27 marccol3.u8.marc marccol3.u8.1.lst marccol3.u8.2.lst \
28 marccol4.u8.marc marccol4.u8.1.lst marccol4.u8.2.lst \
31 YAZCOMP = ../util/yaz-asncomp
32 YAZCOMPLINE = $(YAZCOMP) -d z.tcl -i yaz -I../include $(YCFLAGS)
34 AM_CPPFLAGS=-I$(top_srcdir)/include $(XML2_CFLAGS) $(ICU_CPPFLAGS)
37 mkdir -p $(distdir)/cql
38 cp $(srcdir)/cql/*.err $(srcdir)/cql/*.out $(distdir)/cql
39 mkdir -p $(distdir)/cql2pqf
40 cp $(srcdir)/cql2pqf/*.err $(srcdir)/cql2pqf/*.out $(distdir)/cql2pqf
42 # Rule for generating codecs for our small ASN.1 spec
43 tstodrcodec.c tstodrcodec.h: tstodr.asn $(YAZCOMP)
44 cd $(srcdir); $(YAZCOMP) tstodr.asn
46 LDADD = ../src/libyaz.la
47 tst_icu_I18N_LDADD = ../src/libyaz_icu.la $(LDADD) $(ICU_LIBS)
49 CONFIG_CLEAN_FILES=*.log
51 tsticonv_SOURCES = tsticonv.c
52 tstnmem_SOURCES = tstnmem.c
53 tstmatchstr_SOURCES = tstmatchstr.c
54 tstwrbuf_SOURCES = tstwrbuf.c
55 tstodr_SOURCES = tstodrcodec.c tstodrcodec.h tstodr.c
56 tstodrstack_SOURCES = tstodrstack.c
57 tstccl_SOURCES = tstccl.c
58 tstlog_SOURCES = tstlog.c
59 tstsoap1_SOURCES = tstsoap1.c
60 tstsoap2_SOURCES = tstsoap2.c
61 tstlogthread_SOURCES = tstlogthread.c
62 tstxmlquery_SOURCES = tstxmlquery.c
63 tstpquery_SOURCES = tstpquery.c
64 tst_comstack_SOURCES = tst_comstack.c
65 tst_filepath_SOURCES = tst_filepath.c
66 tst_oid_SOURCES = tst_oid.c
67 tst_record_conv_SOURCES = tst_record_conv.c
68 tst_retrieval_SOURCES = tst_retrieval.c
69 tst_tpath_SOURCES = tst_tpath.c
70 tst_timing_SOURCES = tst_timing.c
71 tst_query_charset_SOURCES = tst_query_charset.c
72 tst_icu_I18N_SOURCES = tst_icu_I18N.c
73 tst_match_glob_SOURCES = tst_match_glob.c