rc4/build.info: fix HP-UX rc4-ia64 rule.
authorAndy Polyakov <appro@openssl.org>
Tue, 7 Nov 2017 19:43:17 +0000 (20:43 +0100)
committerAndy Polyakov <appro@openssl.org>
Wed, 8 Nov 2017 20:49:22 +0000 (21:49 +0100)
HP-UX make doesn't recognize $< in explict target rules, only in
inference ones such as .c.o.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4694)

crypto/rc4/build.info

index 6c488890f9b04ff5878f7ce7abb664212aaa4239..8659526d7184f8fe7af61a27159562ca640095be 100644 (file)
@@ -20,7 +20,7 @@ ENDRAW[makefile(windows)]
 BEGINRAW[Makefile]
 {- $builddir -}/rc4-ia64.s: {- $sourcedir -}/asm/rc4-ia64.pl
        @(trap "rm $@.*" INT 0; \
-         $(PERL) $< $(CFLAGS) $(LIB_CFLAGS) $@.S; \
+         $(PERL) {- $sourcedir -}/asm/rc4-ia64.pl $(CFLAGS) $(LIB_CFLAGS) $@.S; \
          case `awk '/^#define RC4_INT/{print$$NF}' $(BLDDIR)/include/openssl/opensslconf.h` in \
          int)  set -x; $(CC) $(CFLAGS) $(LIB_CFLAGS) -DSZ=4 -E $@.S > $@.i && mv -f $@.i $@;; \
          char) set -x; $(CC) $(CFLAGS) $(LIB_CFLAGS) -DSZ=1 -E $@.S > $@.i && mv -f $@.i $@;; \