1 ## Copyright (C) 1994-2004, Index Data
2 ## All rights reserved.
3 ## $Id: Makefile.am,v 1.8 2005-09-08 13:25:33 adam Exp $
5 check_PROGRAMS = tsticonv tstnmem tstmatchstr tstwrbuf tstodr tstccl tstlog \
6 tstsoap1 tstsoap2 tstodrstack tstlogthread
7 check_SCRIPTS = tstcql.sh tstmarc.sh
9 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
11 EXTRA_DIST = tstodr.asn tstodrcodec.c tstodrcodec.h cqlsample \
13 marc1 marc1.xml marc2 marc2.xml marc3 marc3.xml marc4 marc4.xml
16 extra=../src/libyazthread.la
19 YAZCOMP = $(top_srcdir)/util/yaz-asncomp
20 YAZCOMPLINE = $(YAZCOMP) -d z.tcl -i yaz -I../include $(YCFLAGS)
22 AM_CFLAGS=@CFLAGSTHREADS@
24 AM_CPPFLAGS=-I$(top_srcdir)/include $(XML2_CFLAGS)
27 mkdir -p $(distdir)/cql
28 cp $(srcdir)/cql/*.err $(distdir)/cql
29 cp $(srcdir)/cql/*.out $(distdir)/cql
31 # Rule for generating codecs for our small ASN.1 spec
32 tstodrcodec.c tstodrcodec.h: tstodr.asn $(YAZCOMP)
33 cd $(srcdir); $(YAZCOMP) tstodr.asn
35 LDADD = $(extra) ../src/libyaz.la $(LIBTHREAD)
37 tsticonv_SOURCES = tsticonv.c
39 tstnmem_SOURCES = tstnmem.c
41 tstmatchstr_SOURCES = tstmatchstr.c
43 tstwrbuf_SOURCES = tstwrbuf.c
45 tstodr_SOURCES = tstodrcodec.c tstodrcodec.h tstodr.c
47 tstodrstack_SOURCES = tstodrstack.c
49 tstccl_SOURCES = tstccl.c
51 tstlog_SOURCES = tstlog.c
53 tstsoap1_SOURCES = tstsoap1.c
55 tstsoap2_SOURCES = tstsoap2.c
57 tstlogthread_SOURCES = tstlogthread.c