X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2FMakefile.am;h=953a5631bc67d6dc09a55c2b868c49e063782522;hb=4b3d1e197d75fcb2607be8d86d244f20c4180000;hp=464b94bdd39843746f2ba1d224bad0c4d4b91982;hpb=1059af772d449ae66893bedf4a4ffd2b13b9c37f;p=yaz-moved-to-github.git diff --git a/util/Makefile.am b/util/Makefile.am index 464b94b..953a563 100644 --- a/util/Makefile.am +++ b/util/Makefile.am @@ -1,14 +1,48 @@ -## Copyright (C) 1994-2000, Index Data +## Copyright (C) 1994-2003, Index Data ## All rights reserved. -## $Id: Makefile.am,v 1.5 2000-03-02 08:53:47 adam Exp $ +## $Id: Makefile.am,v 1.22 2003-06-11 11:09:22 adam Exp $ -noinst_LIBRARIES = libutil.a +noinst_LTLIBRARIES = libutil.la -bin_SCRIPTS = yaz-comp +check_PROGRAMS = tsticonv tstnmem tstmatchstr tstwrbuf -EXTRA_DIST = yaz-comp +TESTS = $(check_PROGRAMS) -INCLUDES =-I../include +bin_SCRIPTS = yaz-asncomp + +EXTRA_DIST = yaz-asncomp cvs-date.tcl \ + charconv.tcl charconv.sgm charconv_cjk.xml + +AM_CPPFLAGS=-I$(top_srcdir)/include + +noinst_PROGRAMS = marcdump yaziconv + +# MARC dumper utility +marcdump_LDADD = libutil.la +marcdump_SOURCES = marcdump.c + +# YAZ Iconv utility +yaziconv_LDADD = libutil.la +yaziconv_SOURCES = yaziconv.c + +# Tests.. +tsticonv_LDADD = libutil.la +tsticonv_SOURCES = tsticonv.c + +tstnmem_LDADD = libutil.la +tstnmem_SOURCES = tstnmem.c + +tstmatchstr_LDADD = libutil.la +tstmatchstr_SOURCES = tstmatchstr.c + +tstwrbuf_LDADD = libutil.la +tstwrbuf_SOURCES = tstwrbuf.c + +# MARC8 conversion is generated from charconv.sgm +marc8.c: charconv.sgm charconv.tcl + cd $(srcdir); ./charconv.tcl -p marc8 -s 50 charconv.sgm -o marc8.c + +libutil_la_SOURCES=version.c options.c log.c marcdisp.c oid.c wrbuf.c \ + nmemsdup.c xmalloc.c readconf.c tpath.c nmem.c matchstr.c atoin.c \ + siconv.c marc8.c -libutil_a_SOURCES=options.c log.c marcdisp.c oid.c wrbuf.c nmemsdup.c \ - xmalloc.c readconf.c tpath.c nmem.c matchstr.c atoin.c