> From: Ben Laurie <[EMAIL PROTECTED]>
> ben> GNU archives it is an optional extra, so failure to do it 
> doesn't really
> ben> hurt.
> 
> Only problem with that is that we can't really assume we're in a GNU
> environment...
>
Yes, the best approach was already suggested: do a single ranlib command
in the superior makefile, after all the subdirectories have completed.
Best is to also use a timestamp file to control when ranlib must be
performed:

libxxx.a:
  (whatever rules...)

stamp-libxxx.a: libxxx.a
        $(RANLIB) $?
        touch $@

all: stamp-libxxx.a

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc  
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to