MARC8 decoding for yaz_iconv.
[yaz-moved-to-github.git] / util / Makefile.am
index e40c729..d2bb9bf 100644 (file)
@@ -1,16 +1,28 @@
-## Copyright (C) 1994-2000, Index Data
+## Copyright (C) 1994-2002, Index Data
 ## All rights reserved.
-## $Id: Makefile.am,v 1.6 2000-04-05 07:39:55 adam Exp $
+## $Id: Makefile.am,v 1.14 2002-12-16 13:13:53 adam Exp $
 
 noinst_LTLIBRARIES = libutil.la
 
+#lib_LTLIBRARIES = libyazthread.la
+
 bin_SCRIPTS = yaz-comp
 
-EXTRA_DIST = yaz-comp
+EXTRA_DIST = yaz-comp cvs-date.tcl charconv.tcl charconv.sgm
+
+AM_CPPFLAGS=-I$(top_srcdir)/include
+
+noinst_PROGRAMS = marcdump yaziconv
 
-LIBS =
+marcdump_LDADD = libutil.la 
+marcdump_SOURCES = marcdump.c
 
-INCLUDES =-I$(srcdir)/../include
+yaziconv_LDADD = libutil.la 
+yaziconv_SOURCES = siconvtst.c
+
+marc8.c: charconv.sgm charconv.tcl
+       cd $(srcdir); ./charconv.tcl -p marc8 -s 50 charconv.sgm marc8.c
 
 libutil_la_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 
+   xmalloc.c readconf.c tpath.c nmem.c matchstr.c atoin.c siconv.c marc8.c
+