Added h-files.
[idzebra-moved-to-github.git] / index / Makefile.am
index 2f5d6ad..0a835a2 100644 (file)
@@ -1,4 +1,4 @@
-## $Id: Makefile.am,v 1.7 2002-02-20 17:30:01 adam Exp $
+## $Id: Makefile.am,v 1.9 2002-03-21 13:31:37 adam Exp $
 
 noinst_PROGRAMS = apitest kdump
 
@@ -7,8 +7,8 @@ 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
-
+ 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
@@ -39,6 +39,7 @@ LDADD = libzebra.a $(YAZLIB) $(TCL_LIB)
 
 libzebra.a: $(libzebra_a_OBJECTS) $(libzebra_a_DEPENDENCIES)
        -test ! -d atmp && mkdir atmp
+       -rm -f libzebra.a
        mkdir atmp; for i in $(libzebra_a_LIBADD); do cd atmp; ar x ../$$i; cd ..; done
-       ar qc libzebra.a $(libzebra_a_OBJECTS) libzebra.a atmp/*.o
+       ar cru libzebra.a $(libzebra_a_OBJECTS) libzebra.a atmp/*.o
        $(RANLIB) libzebra.a