rc4-x86_64.pl: fix due credit.
[openssl.git] / crypto / rc4 / Makefile
index 3f467a68fd75097ce338d93538646247d5504eca..3e1708980c87b1b909a26cb6a5c9448cd41035a2 100644 (file)
@@ -37,7 +37,7 @@ top:
 all:   lib
 
 lib:   $(LIBOBJ)
-       $(AR) $(LIB) $(LIBOBJ)
+       $(ARX) $(LIB) $(LIBOBJ)
        $(RANLIB) $(LIB) || echo Never mind.
        @touch lib
 
@@ -50,9 +50,6 @@ rc4-x86_64.s: asm/rc4-x86_64.pl
 rc4-ia64.S: asm/rc4-ia64.pl
        $(PERL) asm/rc4-ia64.pl $(CFLAGS) > $@
 
-rc4-s390x.s:   asm/rc4-s390x.pl
-       $(PERL) asm/rc4-s390x.pl > $@
-
 rc4-parisc.s:  asm/rc4-parisc.pl
        $(PERL) asm/rc4-parisc.pl $(PERLASM_SCHEME) $@
 
@@ -63,6 +60,9 @@ rc4-ia64.s: rc4-ia64.S
        *)      exit 1 ;; \
        esac
 
+# GNU make "catch all"
+rc4-%.s:       asm/rc4-%.pl;   $(PERL) $< $(PERLASM_SCHEME) $@
+
 files:
        $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO