New Makefile variables $(RANLIB) and $(PERL).
[openssl.git] / crypto / bn / Makefile.ssl
index d34cdbd4cf8253031844104f33c63bf4094ac337..1f03090ed38195a0e0119c9a8dd522f56441a779 100644 (file)
@@ -57,7 +57,7 @@ knuth.fast: bn_knuth.c
 
 lib:   $(LIBOBJ)
        $(AR) $(LIB) $(LIBOBJ)
-       sh $(TOP)/util/ranlib.sh $(LIB)
+       $(RANLIB) $(LIB)
        @touch lib
 
 # elf
@@ -93,10 +93,10 @@ asm/co86bsdi.o: asm/co86unix.cpp
        $(CPP) -DBSDI asm/co86unix.cpp | sed 's/ :/:/' | as -o asm/co86bsdi.o
 
 asm/bn86unix.cpp: asm/bn-586.pl
-       (cd asm; perl bn-586.pl cpp >bn86unix.cpp )
+       (cd asm; $(PERL) bn-586.pl cpp >bn86unix.cpp )
 
 asm/co86unix.cpp: asm/co-586.pl
-       (cd asm; perl co-586.pl cpp >co86unix.cpp )
+       (cd asm; $(PERL) co-586.pl cpp >co86unix.cpp )
 
 # MIPS 64 bit assember 
 asm/mips3.o: asm/mips3.s
@@ -107,7 +107,7 @@ asm/mips1.o: asm/mips1.s
        /usr/bin/as -O2 -o asm/mips1.o asm/mips1.s
 
 files:
-       perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
+       $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
 
 links:
        @$(TOP)/util/point.sh Makefile.ssl Makefile
@@ -142,7 +142,7 @@ depend:
        $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
 
 dclean:
-       perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
+       $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
        mv -f Makefile.new $(MAKEFILE)
 
 clean:
@@ -151,9 +151,9 @@ clean:
 errors: $(ERRC).c
 
 $(ERRC).c: $(ERR).err
-       perl $(TOP)/util/err-ins.pl $(ERR).err $(ERR).org # special case .org
-       perl $(TOP)/util/err-ins.pl $(ERR).err $(ERR).h
-       perl ../err/err_genc.pl -s $(ERR).h $(ERRC).c
+       $(PERL) $(TOP)/util/err-ins.pl $(ERR).err $(ERR).org # special case .org
+       $(PERL) $(TOP)/util/err-ins.pl $(ERR).err $(ERR).h
+       $(PERL) ../err/err_genc.pl -s $(ERR).h $(ERRC).c
 
 # DO NOT DELETE THIS LINE -- make depend depends on it.