Fix sample PQF
[yaz-moved-to-github.git] / ccl / Makefile.am
index 5357a20..13beca9 100644 (file)
@@ -1,14 +1,23 @@
-## $Id: Makefile.am,v 1.3 2000-04-05 07:39:54 adam Exp $
+## $Id: Makefile.am,v 1.10 2003-06-23 10:22:21 adam Exp $
 
 noinst_LTLIBRARIES = libccl.la
 
 noinst_PROGRAMS = cclsh
 
-LIBS =
+check_PROGRAMS = tstccl
 
-INCLUDES=-I$(srcdir)/../include
+TESTS = $(check_PROGRAMS)
+
+EXTRA_DIST = bib1
+
+AM_CPPFLAGS=-I$(top_srcdir)/include
 
 libccl_la_SOURCES = cclfind.c ccltoken.c cclerrms.c cclqual.c cclptree.c \
   cclqfile.c cclstr.c
+
 cclsh_SOURCES=cclsh.c
-cclsh_LDADD = libccl.la
+cclsh_LDADD = libccl.la ../util/libutil.la $(READLINE_LIBS)
+
+tstccl_SOURCES = tstccl.c
+tstccl_LDADD = libccl.la ../util/libutil.la
+