yaz-icu part of packages
[yaz-moved-to-github.git] / util / Makefile.am
index 8fb85d8..699b5d2 100644 (file)
@@ -1,47 +1,47 @@
-## Copyright (C) 1994-2003, Index Data
+## Copyright (C) 1995-2007, Index Data
 ## All rights reserved.
-## $Id: Makefile.am,v 1.18 2003-05-06 10:07:33 adam Exp $
+## $Id: Makefile.am,v 1.36 2007-11-12 11:14:49 adam Exp $
 
-noinst_LTLIBRARIES = libutil.la
+bin_SCRIPTS = yaz-asncomp yaz-config
 
-TESTS = tsticonv tstnmem tstmatchstr tstwrbuf
+EXTRA_DIST = yaz-asncomp yaz-icu-example.xml
 
-bin_SCRIPTS = yaz-comp
+DISTCLEANFILES = yaz-config
 
-EXTRA_DIST = yaz-comp cvs-date.tcl charconv.tcl charconv.sgm
+AM_CPPFLAGS=-I$(top_srcdir)/include $(XML2_CFLAGS) $(ICU_CPPFLAGS)
 
-AM_CPPFLAGS=-I$(top_srcdir)/include
-
-noinst_PROGRAMS = marcdump yaziconv
-
-EXTRA_PROGRAMS = tsticonv tstnmem tstmatchstr tstwrbuf
+bin_PROGRAMS = yaz-marcdump yaz-iconv yaz-illclient yaz-icu
+noinst_PROGRAMS = cclsh cql2pqf cql2xcql srwtst yaz-benchmark \
+ yaz-xmlquery
 
 # MARC dumper utility
-marcdump_LDADD = libutil.la 
-marcdump_SOURCES = marcdump.c
+yaz_marcdump_SOURCES = marcdump.c
+yaz_marcdump_LDADD = ../src/libyaz.la
 
 # YAZ Iconv utility
-yaziconv_LDADD = libutil.la 
-yaziconv_SOURCES = yaziconv.c
+yaz_iconv_SOURCES = yaziconv.c
+yaz_iconv_LDADD = ../src/libyaz.la
+
+srwtst_SOURCES=srwtst.c
+srwtst_LDADD = ../src/libyaz.la
 
-# Tests..
-tsticonv_LDADD = libutil.la
-tsticonv_SOURCES = tsticonv.c
+cclsh_SOURCES=cclsh.c
+cclsh_LDADD = ../src/libyaz.la $(READLINE_LIBS)
 
-tstnmem_LDADD = libutil.la
-tstnmem_SOURCES = tstnmem.c
+cql2pqf_SOURCES = cql2pqf.c
+cql2pqf_LDADD = ../src/libyaz.la
 
-tstmatchstr_LDADD = libutil.la
-tstmatchstr_SOURCES = tstmatchstr.c
+cql2xcql_SOURCES = cql2xcql.c
+cql2xcql_LDADD = ../src/libyaz.la
 
-tstwrbuf_LDADD = libutil.la
-tstwrbuf_SOURCES = tstwrbuf.c
+yaz_benchmark_SOURCES = benchmark.c
+yaz_benchmark_LDADD = ../src/libyaz.la
 
-# MARC8 C conversion is generated from charconv.sgm
-marc8.c: charconv.sgm charconv.tcl
-       cd $(srcdir); ./charconv.tcl -p marc8 -s 50 charconv.sgm marc8.c
+yaz_xmlquery_SOURCES = yaz-xmlquery.c
+yaz_xmlquery_LDADD = ../src/libyaz.la
 
-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
+yaz_illclient_SOURCES = yaz-illclient.c
+yaz_illclient_LDADD = ../src/libyaz.la $(READLINE_LIBS)
 
+yaz_icu_SOURCES = yaz-icu.c
+yaz_icu_LDADD =../src/libyaz_icu.la ../src/libyaz.la $(ICU_LIBS)