de4fb434c7
Generate asm files with Makefile rules.
From:
- 0d9a86c7cb
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8351)
25 lines
1.1 KiB
Text
25 lines
1.1 KiB
Text
LIBS=../../libcrypto
|
|
SOURCE[../../libcrypto]=\
|
|
poly1305_pmeth.c \
|
|
poly1305_ameth.c \
|
|
poly1305.c {- $target{poly1305_asm_src} -}
|
|
|
|
GENERATE[poly1305-sparcv9.S]=asm/poly1305-sparcv9.pl $(PERLASM_SCHEME)
|
|
INCLUDE[poly1305-sparcv9.o]=..
|
|
GENERATE[poly1305-x86.s]=asm/poly1305-x86.pl \
|
|
$(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR)
|
|
GENERATE[poly1305-x86_64.s]=asm/poly1305-x86_64.pl $(PERLASM_SCHEME)
|
|
GENERATE[poly1305-ppc.s]=asm/poly1305-ppc.pl $(PERLASM_SCHEME)
|
|
GENERATE[poly1305-ppcfp.s]=asm/poly1305-ppcfp.pl $(PERLASM_SCHEME)
|
|
GENERATE[poly1305-armv4.S]=asm/poly1305-armv4.pl $(PERLASM_SCHEME)
|
|
INCLUDE[poly1305-armv4.o]=..
|
|
GENERATE[poly1305-armv8.S]=asm/poly1305-armv8.pl $(PERLASM_SCHEME)
|
|
INCLUDE[poly1305-armv8.o]=..
|
|
GENERATE[poly1305-mips.S]=asm/poly1305-mips.pl $(PERLASM_SCHEME)
|
|
INCLUDE[poly1305-mips.o]=..
|
|
GENERATE[poly1305-s390x.S]=asm/poly1305-s390x.pl $(PERLASM_SCHEME)
|
|
|
|
BEGINRAW[Makefile(unix)]
|
|
{- $builddir -}/poly1305-%.S: {- $sourcedir -}/asm/poly1305-%.pl
|
|
CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
|
|
ENDRAW[Makefile(unix)]
|