X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2FMakefile.am;h=4575ff9781d95615ec500209d1073ba1e82177db;hb=e9f4ac05ebcdf0bf3497e62d0f70e9b643d9cc80;hp=10ee531b9e0e9648ff3f782cd1ffbaf302209a5d;hpb=2e4e9c6def27f1e1463dcb6f205fab6a98054f38;p=idzebra-moved-to-github.git diff --git a/util/Makefile.am b/util/Makefile.am index 10ee531..4575ff9 100644 --- a/util/Makefile.am +++ b/util/Makefile.am @@ -1,14 +1,40 @@ -## $Id: Makefile.am,v 1.9 2004-08-04 08:35:27 adam Exp $ +## $Id: Makefile.am,v 1.36 2007-10-25 09:22:36 adam Exp $ -noinst_LIBRARIES = libutil.a +noinst_LTLIBRARIES = libidzebra-util.la -noinst_PROGRAMS = passtest +check_PROGRAMS = tstcharmap tstflock tstlockscope tstpass tstres \ + tst_index_types -EXTRA_DIST = zebrasrv.rh +TESTS = $(check_PROGRAMS) + +bin_SCRIPTS = idzebra-config-2.0 + +EXTRA_DIST = zebrasrv.rh tstcharmap.chr tstpass.txt tstres.cfg + +DISTCLEANFILES = idzebra-config-2.0 AM_CPPFLAGS = -I$(srcdir)/../include $(YAZINC) -DDEFAULT_PROFILE_PATH=\"$(pkgdatadir)/tab\" -LDADD = libutil.a $(YAZLIB) $(TCL_LIB) +LDADD = libidzebra-util.la $(YAZLALIB) + +libidzebra_util_la_SOURCES = version.c zint.c res.c charmap.c zebramap.c \ + passwddb.c zebra-lock.c dirent.c xpath.c atoi_zn.c snippet.c flock.c \ + attrfind.c exit.c it_key.c su_codec.c index_types.c + +tstpass_SOURCES = tstpass.c + +tstcharmap_SOURCES = tstcharmap.c + +tstflock_SOURCES = tstflock.c + +tstlockscope_SOURCES = tstlockscope.c + +tstres_SOURCES = tstres.c + +tst_index_types_SOURCES = tst_index_types.c -libutil_a_SOURCES = res.c charmap.c zebramap.c passwddb.c zebra-lock.c dirent.c xpath.c atoi_zn.c +clean-local: + -rm -rf *.LCK + -rm -rf *.log + -rm -rf *.mf + -rm -rf tstflock.out -passtest_SOURCES = passtest.c