Store Zebra libs in <prefix>/lib/idzebra<suffix> and modules in
[idzebra-moved-to-github.git] / dict / Makefile.am
index ff21250..f77b47e 100644 (file)
@@ -1,6 +1,8 @@
-## $Id: Makefile.am,v 1.11 2004-12-08 12:23:08 adam Exp $
+## $Id: Makefile.am,v 1.14 2006-06-29 09:10:35 adam Exp $
 
-lib_LTLIBRARIES = libidzebra-dict.la
+zebralibdir=$(libdir)/$(PACKAGE)$(PACKAGE_SUFFIX)
+
+zebralib_LTLIBRARIES = libidzebra-dict.la
 noinst_PROGRAMS = dicttest dictext
 check_PROGRAMS = scantest
 
@@ -14,6 +16,7 @@ LDADD = libidzebra-dict.la \
  ../util/libidzebra-util.la \
   $(YAZLALIB)
 
+libidzebra_dict_la_LDFLAGS=-version-info $(ZEBRALIBS_VERSION)
 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
@@ -24,3 +27,9 @@ dictext_SOURCES = dictext.c
 
 scantest_SOURCES = scantest.c
 
+
+clean-local:
+       -rm -rf *.LCK 
+       -rm -rf *.log 
+       -rm -rf *.mf 
+