1 ## Copyright (C) 1994-2006, Index Data ApS
2 ## All rights reserved.
3 ## $Id: Makefile.am,v 1.25 2006-08-01 12:03:58 adam Exp $
5 check_PROGRAMS = tsticonv tstnmem tstmatchstr tstwrbuf tstodr tstccl tstlog \
6 tstsoap1 tstsoap2 tstodrstack tstlogthread tstxmlquery tstpquery \
8 tst_filepath tst_record_conv tst_retrieval tst_tpath
9 check_SCRIPTS = tstcql.sh tstmarciso.sh tstmarcxml.sh
11 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
13 EXTRA_DIST = tstodr.asn tstodrcodec.c tstodrcodec.h cqlsample \
16 marc1 marc1.xml marc1.chr marc1.xml.marc \
17 marc2 marc2.xml marc2.chr marc2.xml.marc \
18 marc3 marc3.xml marc3.chr marc3.xml.marc \
19 marc4 marc4.xml marc4.chr marc4.xml.marc \
20 marc5 marc5.xml marc5.chr marc5.xml.marc \
21 marc6 marc6.xml marc6.chr marc6.xml.marc \
24 YAZCOMP = ../util/yaz-asncomp
25 YAZCOMPLINE = $(YAZCOMP) -d z.tcl -i yaz -I../include $(YCFLAGS)
27 AM_CFLAGS=$(THREAD_CFLAGS)
29 AM_CPPFLAGS=-I$(top_srcdir)/include $(XML2_CFLAGS)
32 mkdir -p $(distdir)/cql
33 cp $(srcdir)/cql/*.err $(distdir)/cql
34 cp $(srcdir)/cql/*.out $(distdir)/cql
36 # Rule for generating codecs for our small ASN.1 spec
37 tstodrcodec.c tstodrcodec.h: tstodr.asn $(YAZCOMP)
38 cd $(srcdir); $(YAZCOMP) tstodr.asn
40 LDADD = ../src/libyaz.la
42 CONFIG_CLEAN_FILES=*.log
44 tsticonv_SOURCES = tsticonv.c
45 tstnmem_SOURCES = tstnmem.c
46 tstmatchstr_SOURCES = tstmatchstr.c
47 tstwrbuf_SOURCES = tstwrbuf.c
48 tstodr_SOURCES = tstodrcodec.c tstodrcodec.h tstodr.c
49 tstodrstack_SOURCES = tstodrstack.c
50 tstccl_SOURCES = tstccl.c
51 tstlog_SOURCES = tstlog.c
52 tstsoap1_SOURCES = tstsoap1.c
53 tstsoap2_SOURCES = tstsoap2.c
54 tstlogthread_SOURCES = tstlogthread.c
55 tstxmlquery_SOURCES = tstxmlquery.c
56 tstpquery_SOURCES = tstpquery.c
57 nfatest1_SOURCES = nfatest1.c
58 nfaxmltest1_SOURCES = nfaxmltest1.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