-## $Id: Makefile.am,v 1.9 2006-06-29 13:47:54 adam Exp $
-lib_LTLIBRARIES = libidzebra-dfa.la
+noinst_LTLIBRARIES = libidzebra-dfa.la
noinst_PROGRAMS = agrep lexer grepper
+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)
grepper_SOURCES = grepper.c
-libidzebra_dfa_la_LDFLAGS=-version-info $(ZEBRALIBS_VERSION)
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