diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-01 12:34:33 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-01 12:34:33 +0000 |
commit | 99aab1619f02b184f140150c72276bf55716cc42 (patch) | |
tree | 4a242345579d7fddff7371432170b6081a3cfd8f /crypto/bf/Makefile.uni | |
parent | 6b01fa64904749537db5dcf948a9a094d63cfc16 (diff) | |
download | openssl-99aab1619f02b184f140150c72276bf55716cc42.tar.gz |
New Makefile variables $(RANLIB) and $(PERL).
Diffstat (limited to 'crypto/bf/Makefile.uni')
-rw-r--r-- | crypto/bf/Makefile.uni | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/crypto/bf/Makefile.uni b/crypto/bf/Makefile.uni index 9ba5b0c854..f67e5ca23b 100644 --- a/crypto/bf/Makefile.uni +++ b/crypto/bf/Makefile.uni @@ -29,6 +29,7 @@ CFLAG= -O3 -fomit-frame-pointer CFLAGS=$(OPTS) $(CFLAG) CPP=$(CC) -E AS=as +RANLIB=ranlib # Assember version of bf_encrypt(). BF_ENC=bf_enc.o # normal C version @@ -105,9 +106,7 @@ test: all $(BLIB): $(LIBOBJ) /bin/rm -f $(BLIB) ar cr $(BLIB) $(LIBOBJ) - -if test -s /bin/ranlib; then /bin/ranlib $(BLIB); \ - else if test -s /usr/bin/ranlib; then /usr/bin/ranlib $(BLIB); \ - else exit 0; fi; fi + $(RANLIB) $(BLIB) bftest: bftest.o $(BLIB) $(CC) $(CFLAGS) -o bftest bftest.o $(BLIB) @@ -142,25 +141,14 @@ install: $(BLIB) if test $(INSTALLTOP); then \ echo SSL style install; \ cp $(BLIB) $(INSTALLTOP)/lib; \ - if test -s /bin/ranlib; then \ - /bin/ranlib $(INSTALLTOP)/lib/$(BLIB); \ - else \ - if test -s /usr/bin/ranlib; then \ - /usr/bin/ranlib $(INSTALLTOP)/lib/$(BLIB); \ - fi; fi; \ + $(RANLIB) $(BLIB); \ chmod 644 $(INSTALLTOP)/lib/$(BLIB); \ cp blowfish.h $(INSTALLTOP)/include; \ chmod 644 $(INSTALLTOP)/include/blowfish.h; \ else \ echo Standalone install; \ cp $(BLIB) $(LIBDIR)/$(BLIB); \ - if test -s /bin/ranlib; then \ - /bin/ranlib $(LIBDIR)/$(BLIB); \ - else \ - if test -s /usr/bin/ranlib; then \ - /usr/bin/ranlib $(LIBDIR)/$(BLIB); \ - fi; \ - fi; \ + $(RANLIB) $(BLIB); \ chmod 644 $(LIBDIR)/$(BLIB); \ cp blowfish.h $(INCDIR)/blowfish.h; \ chmod 644 $(INCDIR)/blowfish.h; \ |