Fixed bug regarding user-defined attribute sets.
[idzebra-moved-to-github.git] / index / Makefile.am
index 045a022..adf2b96 100644 (file)
@@ -1,7 +1,9 @@
-## $Id: Makefile.am,v 1.1 2000-04-05 09:59:42 adam Exp $
+## $Id: Makefile.am,v 1.5 2000-12-05 10:01:44 adam Exp $
+
+noinst_PROGRAMS = apitest kdump
 
 if ISZMBOL
-bin_PROGRAMS = zmbolidx zmbolsrv apitest
+bin_PROGRAMS = zmbolidx zmbolsrv 
 zmbolidx_SOURCES = main.c dir.c dirs.c trav.c extract.c kinput.c kcompare.c \
  symtab.c recindex.c recstat.c lockutil.c lockidx.c \
  zinfo.c invstat.c sortidx.c compact.c \
@@ -29,6 +31,19 @@ apitest_SOURCES = apitest.c kcompare.c zrpn.c zsets.c attribute.c recindex.c \
  retrieve.c kinput.c \
  index.h recindex.h recindxp.h zebraapi.h zinfo.h zserver.h
 
-INCLUDES = -I$(srcdir)/../include @YAZINC@
+kdump_SOURCES=kdump.c kcompare.c
+
+INCLUDES = -I$(srcdir)/../include $(YAZINC) $(TCL_INCLUDE)
+
+if ISZMBOL
+zmbol_libs = ../isam/libisam.a ../isamc/libisamc.a ../isamb/libisamb.a
+else
+zmbol_libs =
+endif
 
-LDADD = @SUBLIBS@ @YAZLIB@
+LDADD = \
+ ../rset/librset.a ../dict/libdict.a  ../isams/libisams.a \
+ $(zmbol_libs) \
+ ../recctrl/librecctrl.a ../bfile/libbfile.a ../dfa/libdfa.a \
+ ../util/libutil.a \
+ $(YAZLIB) $(TCL_LIB)