MARC-8 Asian, etc.
[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.21 2003-06-03 09:17:12 adam Exp $
4
5 noinst_LTLIBRARIES = libutil.la
6
7 check_PROGRAMS = tsticonv tstnmem tstmatchstr tstwrbuf
8
9 TESTS = $(check_PROGRAMS)
10
11 bin_SCRIPTS = yaz-asncomp
12
13 EXTRA_DIST = yaz-asncomp cvs-date.tcl \
14  charconv.tcl charconv.sgm charconv_cjk.xml
15
16 AM_CPPFLAGS=-I$(top_srcdir)/include
17
18 noinst_PROGRAMS = marcdump yaziconv
19
20 # MARC dumper utility
21 marcdump_LDADD = libutil.la 
22 marcdump_SOURCES = marcdump.c
23
24 # YAZ Iconv utility
25 yaziconv_LDADD = libutil.la 
26 yaziconv_SOURCES = yaziconv.c
27
28 # Tests..
29 tsticonv_LDADD = libutil.la
30 tsticonv_SOURCES = tsticonv.c
31
32 tstnmem_LDADD = libutil.la
33 tstnmem_SOURCES = tstnmem.c
34
35 tstmatchstr_LDADD = libutil.la
36 tstmatchstr_SOURCES = tstmatchstr.c
37
38 tstwrbuf_LDADD = libutil.la
39 tstwrbuf_SOURCES = tstwrbuf.c
40
41 # MARC8 conversion is generated from charconv.sgm
42 marc8.c: charconv.sgm charconv.tcl
43         cd $(srcdir); ./charconv.tcl -p marc8 -s 50 charconv.sgm charconv_cjk.xml -o marc8.c
44
45 libutil_la_SOURCES=version.c options.c log.c marcdisp.c oid.c wrbuf.c \
46    nmemsdup.c xmalloc.c readconf.c tpath.c nmem.c matchstr.c atoin.c \
47    siconv.c marc8.c
48