X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=dfa%2FMakefile.am;h=7fe7993c278c94d91b644d023c13aef880b5f0b2;hb=13551199cc4f367c3699fd079d3f7021075a6059;hp=c8c59ba1c550b640e1d6d59b8c1b1752b4ad65d9;hpb=e5e4f1de02396b2cfab488f8e5918853e96d6b53;p=idzebra-moved-to-github.git diff --git a/dfa/Makefile.am b/dfa/Makefile.am index c8c59ba..7fe7993 100644 --- a/dfa/Makefile.am +++ b/dfa/Makefile.am @@ -1,11 +1,15 @@ -## $Id: Makefile.am,v 1.2 2002-08-17 08:00:27 adam Exp $ -noinst_LIBRARIES = libdfa.a +noinst_LTLIBRARIES = libidzebra-dfa.la noinst_PROGRAMS = agrep lexer grepper -INCLUDES = -I$(srcdir)/../include @YAZINC@ -LDADD = libdfa.a ../util/libutil.a $(YAZLIB) $(TCL_LIB) +check_PROGRAMS = test_dfa +TESTS = $(check_PROGRAMS) + +test_dfa_SOURCES = test_dfa.c + +AM_CPPFLAGS = -I$(srcdir)/../include $(YAZINC) +LDADD = libidzebra-dfa.la ../util/libidzebra-util.la $(YAZLALIB) agrep_SOURCES = agrep.c @@ -13,5 +17,8 @@ lexer_SOURCES = lexer.c readfile.c grepper_SOURCES = grepper.c -libdfa_a_SOURCES = dfa.c imalloc.c states.c set.c bset.c \ +libidzebra_dfa_la_SOURCES = dfa.c imalloc.c states.c set.c bset.c \ dfap.h imalloc.h lexer.h + +clean-local: + -rm -f *.log