From: Adam Dickmeiss Date: Thu, 21 Mar 2002 20:12:27 +0000 (+0000) Subject: fix build of libzebra.a X-Git-Tag: CHANGELOG~17 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=779d03c32f5e82d36929465522973c16b48d5991;p=idzebra-moved-to-github.git fix build of libzebra.a --- diff --git a/index/Makefile.am b/index/Makefile.am index 0a835a2..18cc727 100644 --- a/index/Makefile.am +++ b/index/Makefile.am @@ -1,4 +1,4 @@ -## $Id: Makefile.am,v 1.9 2002-03-21 13:31:37 adam Exp $ +## $Id: Makefile.am,v 1.10 2002-03-21 20:12:27 adam Exp $ noinst_PROGRAMS = apitest kdump @@ -38,8 +38,9 @@ CFLAGS = -I$(srcdir)/../include $(YAZINC) $(TCL_INCLUDE) LDADD = libzebra.a $(YAZLIB) $(TCL_LIB) libzebra.a: $(libzebra_a_OBJECTS) $(libzebra_a_DEPENDENCIES) - -test ! -d atmp && mkdir atmp + -mkdir atmp -rm -f libzebra.a - mkdir atmp; for i in $(libzebra_a_LIBADD); do cd atmp; ar x ../$$i; cd ..; done - ar cru libzebra.a $(libzebra_a_OBJECTS) libzebra.a atmp/*.o + -rm -f atmp/*.o + for i in $(libzebra_a_LIBADD); do cd atmp; rm -f __*; ar x ../$$i; cd ..; done + ar cru libzebra.a $(libzebra_a_OBJECTS) atmp/*.o $(RANLIB) libzebra.a