X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2FMakefile.am;h=dc07454e34e71af4f0480da31ce64e34d5be4087;hp=1e79c0e192f76e1849ad2f10c33741d029205c11;hb=f0128dd11d08d79384a97a13e44476769b061f4f;hpb=1f41a1d415d2ab138050a96020ed39caa0c4e323 diff --git a/src/Makefile.am b/src/Makefile.am index 1e79c0e..dc07454 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,5 @@ ## This file is part of the YAZ toolkit. -## Copyright (C) 1995-2008 Index Data +## Copyright (C) 1995-2009 Index Data YAZ_VERSION_INFO=3:0:0 @@ -16,9 +16,9 @@ illdatadir=$(pkgdatadir)/ill illdata_DATA=ill9702.asn item-req.asn ill.tcl oclc-ill-req-ext.asn EXTRA_DIST=$(tabdata_DATA) $(illdata_DATA) \ - charconv.tcl codetables.xml \ + charconv.tcl codetables.xml codetables-iso5426.xml \ csvtodiag.tcl csvtobib1.tcl csvtosrw.tcl bib1.csv srw.csv \ - csvtosru_update.tcl sru_update.csv \ + csvtosru_update.tcl sru_update.csv mk_version.tcl \ oidtoc.tcl oid.csv sc_test.c YAZCOMP=$(top_srcdir)/util/yaz-asncomp @@ -36,11 +36,15 @@ AM_YFLAGS=-p cql_ # MARC8->UTF8 conversion is generated from codetables.xml marc8.c: charconv.tcl codetables.xml - $(TCLSH) $(srcdir)/charconv.tcl -p marc8 $(srcdir)/codetables.xml -o marc8.c + $(TCLSH) $(srcdir)/charconv.tcl -p marc8 $(srcdir)/codetables.xml -o $@ # UTF-8->MARC8 conversion is generated from codetables.xml marc8r.c: charconv.tcl codetables.xml - $(TCLSH) $(srcdir)/charconv.tcl -r -p marc8r $(srcdir)/codetables.xml -o marc8r.c + $(TCLSH) $(srcdir)/charconv.tcl -r -p marc8r $(srcdir)/codetables.xml -o $@ + +# ISO5426->UTF8 conversion is generated from codetables-iso5426.xml +iso5426.c: charconv.tcl codetables-iso5426.xml + $(TCLSH) $(srcdir)/charconv.tcl -p iso5426 $(srcdir)/codetables-iso5426.xml -o $@ # Generate OID database from CSV oid_std.c $(top_srcdir)/include/yaz/oid_std.h: oidtoc.tcl oid.csv @@ -58,7 +62,7 @@ diagsru_update.c $(top_srcdir)/include/yaz/diagsru_update.h: csvtosru_update.tcl # Auto-generated C-files GEN_FILES = oid_std.c \ - marc8.c marc8r.c \ + marc8.c marc8r.c iso5426.c \ diagbib1.c diagsrw.c diagsru_update.c \ z-accdes1.c z-accform1.c z-acckrb1.c z-core.c \ z-diag1.c z-espec1.c z-estask.c z-exp.c z-grs.c z-mterm2.c z-opac.c \ @@ -71,7 +75,7 @@ GEN_FILES = oid_std.c \ libyaz_la_SOURCES=version.c options.c log.c \ $(GEN_FILES) \ marcdisp.c marc_read_xml.c marc_read_iso2709.c marc_read_line.c \ - wrbuf.c oid_db.c \ + wrbuf.c oid_db.c errno.c \ nmemsdup.c xmalloc.c readconf.c tpath.c nmem.c matchstr.c atoin.c \ siconv.c iconv-p.h utf8.c ucs4.c iso5428.c advancegreek.c \ odr_bool.c ber_bool.c ber_len.c ber_tag.c odr_util.c \ @@ -98,7 +102,7 @@ libyaz_la_SOURCES=version.c options.c log.c \ record_conv.c retrieval.c elementset.c snprintf.c query-charset.c \ copy_types.c match_glob.c poll.c daemon.c \ iconv_encode_marc8.c iconv_encode_iso_8859_1.c iconv_encode_wchar.c \ - iconv_decode_marc8.c sc.c + iconv_decode_marc8.c iconv_decode_iso5426.c iconv_decode_danmarc.c sc.c libyaz_la_LDFLAGS=-version-info $(YAZ_VERSION_INFO)