1 ## Copyright (C) 1994-2004, Index Data
2 ## All rights reserved.
3 ## $Id: Makefile.am,v 1.2 2004-03-10 16:34:30 adam Exp $
5 check_PROGRAMS = tsticonv tstnmem tstmatchstr tstwrbuf tstodr tstccl
6 check_SCRIPTS = tstcql.sh
8 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
10 EXTRA_DIST = tstodr.asn tstodrcodec.c tstodrcodec.h cqlsample $(check_SCRIPTS)
12 YAZCOMP = $(top_srcdir)/util/yaz-asncomp
13 YAZCOMPLINE = $(YAZCOMP) -d z.tcl -i yaz -I../include $(YCFLAGS)
15 AM_CPPFLAGS=-I$(top_srcdir)/include $(XML2_CFLAGS)
18 mkdir -p $(distdir)/cql
19 cp $(srcdir)/cql/*.err $(distdir)/cql
20 cp $(srcdir)/cql/*.out $(distdir)/cql
22 # Rule for generating codecs for our small ASN.1 spec
23 tstodrcodec.c tstodrcodec.h: tstodr.asn $(YAZCOMP)
24 cd $(srcdir); $(YAZCOMP) tstodr.asn
27 tsticonv_LDADD = ../src/libyaz.la
28 tsticonv_SOURCES = tsticonv.c
30 tstnmem_LDADD = ../src/libyaz.la
31 tstnmem_SOURCES = tstnmem.c
33 tstmatchstr_LDADD = ../src/libyaz.la
34 tstmatchstr_SOURCES = tstmatchstr.c
36 tstwrbuf_LDADD = ../src/libyaz.la
37 tstwrbuf_SOURCES = tstwrbuf.c
39 tstodr_LDADD = ../src/libyaz.la
40 tstodr_SOURCES = tstodrcodec.c tstodrcodec.h tstodr.c
42 tstccl_LDADD = ../src/libyaz.la
43 tstccl_SOURCES = tstccl.c