X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=dict%2FMakefile.am;h=ff21250dd2d762b7f5c7582892a111984f067aff;hp=c6734045fbb488168eeb8090f8911dde4fca5556;hb=05b9b8ed020c5bfa48a913d6a2e2b50ddf1bab8e;hpb=69da23537c6bb71ab948e079708bf8ea090de73f diff --git a/dict/Makefile.am b/dict/Makefile.am index c673404..ff21250 100644 --- a/dict/Makefile.am +++ b/dict/Makefile.am @@ -1,15 +1,26 @@ -## $Id: Makefile.am,v 1.1 2000-04-05 09:49:35 adam Exp $ +## $Id: Makefile.am,v 1.11 2004-12-08 12:23:08 adam Exp $ -noinst_LIBRARIES = libdict.a -## noinst_PROGRAMS = dicttest dictext +lib_LTLIBRARIES = libidzebra-dict.la +noinst_PROGRAMS = dicttest dictext +check_PROGRAMS = scantest -INCLUDES = -I$(srcdir)/../include @YAZINC@ -LDADD = ../bfile/libbfile.a ../dfa/libdfa.a ../util/libutil.a @YAZLIB@ @LIBS@ +TESTS = $(check_PROGRAMS) -libdict_a_SOURCES = scan.c dopen.c dclose.c drdwr.c open.c close.c insert.c \ - lookup.c lookupec.c lookgrep.c delete.c dcompact.c +AM_CPPFLAGS = -I$(srcdir)/../include $(YAZINC) -## dicttest_SOURCES = dicttest.c +LDADD = libidzebra-dict.la \ + ../bfile/libidzebra-bfile.la \ + ../dfa/libidzebra-dfa.la \ + ../util/libidzebra-util.la \ + $(YAZLALIB) -## dictext_SOURCES = dictext.c +libidzebra_dict_la_SOURCES = dopen.c dclose.c drdwr.c open.c close.c \ + insert.c lookup.c lookupec.c lookgrep.c delete.c scan.c dcompact.c \ + dict-p.h + +dicttest_SOURCES = dicttest.c + +dictext_SOURCES = dictext.c + +scantest_SOURCES = scantest.c