TSORT = @TSORT@
RANLIB = @RANLIB@
LIBTOOL = @LIBTOOL@
+GNU_LIBTOOL = @GNU_LIBTOOL@
# flags passed to recursive makes in subdirectories
MAKEDEFS = CC='$(CC)' CPPFLAGS='$(CPPFLAGS)' DEFS='$(DEFS)' \
libzot.a: $(OBJS)
rm -f $@
- if test x$(LIBTOOL) != xno ; then \
+ if test x$(LIBTOOL) != x -a x$(GNU_LIBTOOL) = x ; then \
$(LIBTOOL) -static -c $(OBJS) -o $@ ; \
else \
ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)` ; \