New tests.
[yaz-moved-to-github.git] / util / Makefile.am
1 ## Copyright (C) 1994-2003, Index Data
2 ## All rights reserved.
3 ## $Id: Makefile.am,v 1.18 2003-05-06 10:07:33 adam Exp $
4
5 noinst_LTLIBRARIES = libutil.la
6
7 TESTS = tsticonv tstnmem tstmatchstr tstwrbuf
8
9 bin_SCRIPTS = yaz-comp
10
11 EXTRA_DIST = yaz-comp cvs-date.tcl charconv.tcl charconv.sgm
12
13 AM_CPPFLAGS=-I$(top_srcdir)/include
14
15 noinst_PROGRAMS = marcdump yaziconv
16
17 EXTRA_PROGRAMS = tsticonv tstnmem tstmatchstr tstwrbuf
18
19 # MARC dumper utility
20 marcdump_LDADD = libutil.la 
21 marcdump_SOURCES = marcdump.c
22
23 # YAZ Iconv utility
24 yaziconv_LDADD = libutil.la 
25 yaziconv_SOURCES = yaziconv.c
26
27 # Tests..
28 tsticonv_LDADD = libutil.la
29 tsticonv_SOURCES = tsticonv.c
30
31 tstnmem_LDADD = libutil.la
32 tstnmem_SOURCES = tstnmem.c
33
34 tstmatchstr_LDADD = libutil.la
35 tstmatchstr_SOURCES = tstmatchstr.c
36
37 tstwrbuf_LDADD = libutil.la
38 tstwrbuf_SOURCES = tstwrbuf.c
39
40 # MARC8 C conversion is generated from charconv.sgm
41 marc8.c: charconv.sgm charconv.tcl
42         cd $(srcdir); ./charconv.tcl -p marc8 -s 50 charconv.sgm marc8.c
43
44 libutil_la_SOURCES=version.c options.c log.c marcdisp.c oid.c wrbuf.c \
45    nmemsdup.c xmalloc.c readconf.c tpath.c nmem.c matchstr.c atoin.c \
46    siconv.c marc8.c
47