Source restructure. yaz-marcdump part of installation
[yaz-moved-to-github.git] / test / Makefile.am
1 ## Copyright (C) 1994-2003, Index Data
2 ## All rights reserved.
3 ## $Id: Makefile.am,v 1.1 2003-10-27 12:21:38 adam Exp $
4
5 check_PROGRAMS = tsticonv tstnmem tstmatchstr tstwrbuf tstodr tstccl
6
7 TESTS = $(check_PROGRAMS)
8
9 EXTRA_DIST = tstodr.asn tstodrcodec.c tstodrcodec.h
10
11 YAZCOMP = $(top_srcdir)/util/yaz-asncomp
12 YAZCOMPLINE = $(YAZCOMP) -d z.tcl -i yaz -I../include $(YCFLAGS)
13
14 AM_CPPFLAGS=-I$(top_srcdir)/include $(XML2_CFLAGS)
15
16 # Rule for generating codecs for our small ASN.1 spec
17 tstodrcodec.c tstodrcodec.h: tstodr.asn $(YAZCOMP)
18         cd $(srcdir); $(YAZCOMP) tstodr.asn
19
20 # Tests..
21 tsticonv_LDADD = ../src/libyaz.la
22 tsticonv_SOURCES = tsticonv.c
23
24 tstnmem_LDADD = ../src/libyaz.la
25 tstnmem_SOURCES = tstnmem.c
26
27 tstmatchstr_LDADD = ../src/libyaz.la
28 tstmatchstr_SOURCES = tstmatchstr.c
29
30 tstwrbuf_LDADD = ../src/libyaz.la
31 tstwrbuf_SOURCES = tstwrbuf.c
32
33 tstodr_LDADD = ../src/libyaz.la
34 tstodr_SOURCES = tstodrcodec.c tstodrcodec.h tstodr.c
35
36 tstccl_LDADD = ../src/libyaz.la
37 tstccl_SOURCES = tstccl.c
38