Update CQL parser to use CQL 1.1 modifiers for booleans and
[yaz-moved-to-github.git] / test / Makefile.am
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 $
4
5 check_PROGRAMS = tsticonv tstnmem tstmatchstr tstwrbuf tstodr tstccl
6 check_SCRIPTS = tstcql.sh
7
8 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
9
10 EXTRA_DIST = tstodr.asn tstodrcodec.c tstodrcodec.h cqlsample $(check_SCRIPTS)
11
12 YAZCOMP = $(top_srcdir)/util/yaz-asncomp
13 YAZCOMPLINE = $(YAZCOMP) -d z.tcl -i yaz -I../include $(YCFLAGS)
14
15 AM_CPPFLAGS=-I$(top_srcdir)/include $(XML2_CFLAGS)
16
17 dist-hook:
18         mkdir -p $(distdir)/cql
19         cp $(srcdir)/cql/*.err $(distdir)/cql
20         cp $(srcdir)/cql/*.out $(distdir)/cql
21
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
25
26 # Tests..
27 tsticonv_LDADD = ../src/libyaz.la
28 tsticonv_SOURCES = tsticonv.c
29
30 tstnmem_LDADD = ../src/libyaz.la
31 tstnmem_SOURCES = tstnmem.c
32
33 tstmatchstr_LDADD = ../src/libyaz.la
34 tstmatchstr_SOURCES = tstmatchstr.c
35
36 tstwrbuf_LDADD = ../src/libyaz.la
37 tstwrbuf_SOURCES = tstwrbuf.c
38
39 tstodr_LDADD = ../src/libyaz.la
40 tstodr_SOURCES = tstodrcodec.c tstodrcodec.h tstodr.c
41
42 tstccl_LDADD = ../src/libyaz.la
43 tstccl_SOURCES = tstccl.c
44