Added readline and history support to cclsh
[yaz-moved-to-github.git] / ccl / Makefile.am
index 14e5e9e..8843743 100644 (file)
@@ -1,10 +1,14 @@
-noinst_LIBRARIES = libccl.a
+## $Id: Makefile.am,v 1.4 2001-03-18 20:45:39 ja7 Exp $
+
+noinst_LTLIBRARIES = libccl.la
 
 noinst_PROGRAMS = cclsh
 
-INCLUDES=-I../include
+LIBS = $(READLINE_LIBS)
+
+INCLUDES=-I$(srcdir)/../include
 
-libccl_a_SOURCES = cclfind.c ccltoken.c cclerrms.c cclqual.c cclptree.c \
+libccl_la_SOURCES = cclfind.c ccltoken.c cclerrms.c cclqual.c cclptree.c \
   cclqfile.c cclstr.c
 cclsh_SOURCES=cclsh.c
-cclsh_LDADD = libccl.a
+cclsh_LDADD = libccl.la