-## $Id: Makefile.am,v 1.10 2002-03-21 20:12:27 adam Exp $
-
-noinst_PROGRAMS = apitest kdump
-
-noinst_LIBRARIES = libzebra.a
-
-libzebra_a_SOURCES = dir.c dirs.c trav.c kinput.c kcompare.c \
- attribute.c symtab.c recindex.c recstat.c lockutil.c \
- zebraapi.c zinfo.c invstat.c sortidx.c compact.c zsets.c zrpn.c \
- rank1.c trunc.c retrieve.c extract.c index.h recindex.h recindxp.h \
- zebraapi.h zinfo.h zserver.h
-if ISZMBOL
-zmbol_libs = ../isam/libisam.a ../isamc/libisamc.a ../isamb/libisamb.a
-else
-zmbol_libs =
-endif
-
-libzebra_a_LIBADD = \
- ../rset/librset.a ../dict/libdict.a ../isams/libisams.a \
- $(zmbol_libs) ../recctrl/librecctrl.a ../bfile/libbfile.a ../dfa/libdfa.a \
- ../util/libutil.a
-
-if ISZMBOL
-bin_PROGRAMS = zmbolidx zmbolsrv
-else
+## $Id: Makefile.am,v 1.44 2006-06-28 18:19:32 adam Exp $
+
+
+noinst_PROGRAMS = apitest kdump zebrash
+
+lib_LTLIBRARIES = libidzebra-api.la
+
+libidzebra_api_la_LDFLAGS=-version-info $(ZEBRALIBS_VERSION)
+libidzebra_api_la_SOURCES = \
+ api_swig.c attribute.c \
+ compact.c \
+ dir.c dirs.c \
+ extract.c \
+ index.h invstat.c \
+ kinput.c kcompare.c kcontrol.c \
+ limit.c \
+ orddict.c orddict.h \
+ rank.h rank1.c ranksimilarity.c rankstatic.c \
+ recindex.c recindex.h recindxp.h reckeys.c reckeys.h recstat.c retrieve.c \
+ sortidx.c symtab.c \
+ update_path.c update_file.c trunc.c \
+ zebraapi.c zinfo.c zinfo.h zserver.h zsets.c zrpn.c
+
+