summaryrefslogtreecommitdiffstats
path: root/crypto/Makefile
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2013-11-12 21:49:15 +0100
committerAndy Polyakov <appro@openssl.org>2013-11-12 21:51:37 +0100
commitd1cf23ac86c05b22b8780e2c03b67230564d2d34 (patch)
treefab7c0654592fafd2f9e7bf260179bf1beb3268b /crypto/Makefile
parent16bc45ba956fdf07c7cda7feda88de597569df63 (diff)
Make Makefiles OSF-make-friendly.
PR: 3165
Diffstat (limited to 'crypto/Makefile')
-rw-r--r--crypto/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/Makefile b/crypto/Makefile
index 1de9d5f4b9..b253f504a6 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -86,7 +86,9 @@ ia64cpuid.s: ia64cpuid.S; $(CC) $(CFLAGS) -E ia64cpuid.S > $@
ppccpuid.s: ppccpuid.pl; $(PERL) ppccpuid.pl $(PERLASM_SCHEME) $@
pariscid.s: pariscid.pl; $(PERL) pariscid.pl $(PERLASM_SCHEME) $@
alphacpuid.s: alphacpuid.pl
- $(PERL) $< | $(CC) -E - | tee $@ > /dev/null
+ (preproc=/tmp/$$$$.$@; trap "rm $$preproc" INT; \
+ $(PERL) alphacpuid.pl > $$preproc && \
+ $(CC) -E $$preproc > $@ && rm $$preproc)
subdirs:
@target=all; $(RECURSIVE_MAKE)