1 ## Copyright (C) 1994-2004, Index Data
2 ## All rights reserved.
3 ## $Id: Makefile.am,v 1.5 2005-02-25 09:37:53 adam Exp $
5 check_PROGRAMS = tsticonv tstnmem tstmatchstr tstwrbuf tstodr tstccl tstlog
6 check_SCRIPTS = tstcql.sh tstmarc.sh
8 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
10 EXTRA_DIST = tstodr.asn tstodrcodec.c tstodrcodec.h cqlsample \
12 marc1 marc1.xml marc2 marc2.xml marc3 marc3.xml marc4 marc4.xml
14 YAZCOMP = $(top_srcdir)/util/yaz-asncomp
15 YAZCOMPLINE = $(YAZCOMP) -d z.tcl -i yaz -I../include $(YCFLAGS)
17 AM_CPPFLAGS=-I$(top_srcdir)/include $(XML2_CFLAGS)
20 mkdir -p $(distdir)/cql
21 cp $(srcdir)/cql/*.err $(distdir)/cql
22 cp $(srcdir)/cql/*.out $(distdir)/cql
24 # Rule for generating codecs for our small ASN.1 spec
25 tstodrcodec.c tstodrcodec.h: tstodr.asn $(YAZCOMP)
26 cd $(srcdir); $(YAZCOMP) tstodr.asn
28 LDADD = ../src/libyaz.la
30 tsticonv_SOURCES = tsticonv.c
32 tstnmem_SOURCES = tstnmem.c
34 tstmatchstr_SOURCES = tstmatchstr.c
36 tstwrbuf_SOURCES = tstwrbuf.c
38 tstodr_SOURCES = tstodrcodec.c tstodrcodec.h tstodr.c
40 tstccl_SOURCES = tstccl.c
42 tstlog_SOURCES = tstlog.c