Added test program for logging.
[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.4 2004-11-03 22:30:52 adam Exp $
4
5 check_PROGRAMS = tsticonv tstnmem tstmatchstr tstwrbuf tstodr tstccl tstlog
6 check_SCRIPTS = tstcql.sh tstmarc.sh
7
8 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
9
10 EXTRA_DIST = tstodr.asn tstodrcodec.c tstodrcodec.h cqlsample \
11  $(check_SCRIPTS) \
12  marc1 marc1.xml marc2 marc2.xml marc3 marc3.xml
13
14 YAZCOMP = $(top_srcdir)/util/yaz-asncomp
15 YAZCOMPLINE = $(YAZCOMP) -d z.tcl -i yaz -I../include $(YCFLAGS)
16
17 AM_CPPFLAGS=-I$(top_srcdir)/include $(XML2_CFLAGS)
18
19 dist-hook:
20         mkdir -p $(distdir)/cql
21         cp $(srcdir)/cql/*.err $(distdir)/cql
22         cp $(srcdir)/cql/*.out $(distdir)/cql
23
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
27
28 LDADD = ../src/libyaz.la
29
30 tsticonv_SOURCES = tsticonv.c
31
32 tstnmem_SOURCES = tstnmem.c
33
34 tstmatchstr_SOURCES = tstmatchstr.c
35
36 tstwrbuf_SOURCES = tstwrbuf.c
37
38 tstodr_SOURCES = tstodrcodec.c tstodrcodec.h tstodr.c
39
40 tstccl_SOURCES = tstccl.c
41
42 tstlog_SOURCES = tstlog.c
43