Configurations/unix-Makefile.tmpl: fix HP-UX build.
authorAndy Polyakov <appro@openssl.org>
Tue, 7 Nov 2017 21:01:53 +0000 (22:01 +0100)
committerAndy Polyakov <appro@openssl.org>
Wed, 8 Nov 2017 20:56:30 +0000 (21:56 +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/4697)

(cherry picked from commit b6705d4893d1566c3a5427e387ce99344497758d)

Configurations/unix-Makefile.tmpl

index 3dd09c24662dc55894c425990a5f6b1b0d57775d..f044e95ff9fbea195512d6da29231ac658ee67cd 100644 (file)
@@ -818,7 +818,7 @@ EOF
           }
           return <<"EOF";
 $args{src}: $args{generator}->[0] $deps
-       \$(CC) $incs \$(CFLAGS) -E \$< | \\
+       \$(CC) $incs \$(CFLAGS) -E $args{generator}->[0] | \\
        \$(PERL) -ne '/^#(line)?\\s*[0-9]+/ or print' > \$@
 EOF
       }