1 ## Copyright (C) 1994-2006, Index Data
2 ## All rights reserved.
3 ## $Id: Makefile.am,v 1.13 2006-04-19 10:05:04 adam Exp $
5 check_PROGRAMS = tsticonv tstnmem tstmatchstr tstwrbuf tstodr tstccl tstlog \
6 tstsoap1 tstsoap2 tstodrstack tstlogthread tstxmlquery tstpquery
7 check_SCRIPTS = tstcql.sh tstmarciso.sh tstmarcxml.sh
9 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
11 EXTRA_DIST = tstodr.asn tstodrcodec.c tstodrcodec.h cqlsample \
13 marc1 marc1.xml marc1.chr marc1.xml.marc \
14 marc2 marc2.xml marc2.chr marc2.xml.marc \
15 marc3 marc3.xml marc3.chr marc3.xml.marc \
16 marc4 marc4.xml marc4.chr marc4.xml.marc \
17 marc5 marc5.xml marc5.chr marc5.xml.marc \
18 marc6 marc6.xml marc6.chr marc6.xml.marc
20 YAZCOMP = ../util/yaz-asncomp
21 YAZCOMPLINE = $(YAZCOMP) -d z.tcl -i yaz -I../include $(YCFLAGS)
23 AM_CFLAGS=$(THREAD_CFLAGS)
25 AM_CPPFLAGS=-I$(top_srcdir)/include $(XML2_CFLAGS)
28 mkdir -p $(distdir)/cql
29 cp $(srcdir)/cql/*.err $(distdir)/cql
30 cp $(srcdir)/cql/*.out $(distdir)/cql
32 # Rule for generating codecs for our small ASN.1 spec
33 tstodrcodec.c tstodrcodec.h: tstodr.asn $(YAZCOMP)
34 cd $(srcdir); $(YAZCOMP) tstodr.asn
36 LDADD = ../src/libyaz.la
38 tsticonv_SOURCES = tsticonv.c
39 tstnmem_SOURCES = tstnmem.c
40 tstmatchstr_SOURCES = tstmatchstr.c
41 tstwrbuf_SOURCES = tstwrbuf.c
42 tstodr_SOURCES = tstodrcodec.c tstodrcodec.h tstodr.c
43 tstodrstack_SOURCES = tstodrstack.c
44 tstccl_SOURCES = tstccl.c
45 tstlog_SOURCES = tstlog.c
46 tstsoap1_SOURCES = tstsoap1.c
47 tstsoap2_SOURCES = tstsoap2.c
48 tstlogthread_SOURCES = tstlogthread.c
49 tstxmlquery_SOURCES = tstxmlquery.c
50 tstpquery_SOURCES = tstpquery.c