mirror of
https://github.com/openssl/openssl.git
synced 2024-12-27 06:21:43 +08:00
3c9d51ce8b
This gets rid of the BEGINRAW..ENDRAW sections in crypto/rc4/build.info. This also moves the assembler generating perl scripts to take the output file name as last command line argument, where necessary. Reviewed-by: Andy Polyakov <appro@openssl.org>
27 lines
867 B
Plaintext
27 lines
867 B
Plaintext
LIBS=../../libcrypto
|
|
SOURCE[../../libcrypto]=\
|
|
{- $target{rc4_asm_src} -}
|
|
|
|
GENERATE[rc4-586.s]=asm/rc4-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR)
|
|
DEPEND[rc4-586.s]=../perlasm/x86asm.pl
|
|
|
|
GENERATE[rc4-x86_64.s]=asm/rc4-x86_64.pl $(PERLASM_SCHEME)
|
|
GENERATE[rc4-md5-x86_64.s]=asm/rc4-md5-x86_64.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[rc4-ia64.S]=asm/rc4-ia64.pl $(CFLAGS)
|
|
|
|
GENERATE[rc4-parisc.s]=asm/rc4-parisc.pl $(PERLASM_SCHEME)
|
|
|
|
BEGINRAW[Makefile]
|
|
{- $builddir -}/rc4-ia64.s: rc4-ia64.S
|
|
@case `awk '/^#define RC4_INT/{print$$NF}' $(SRCDIR)/include/openssl/opensslconf.h` in \
|
|
int) set -x; $(CC) $(CFLAGS) -DSZ=4 -E rc4-ia64.S > $@ ;; \
|
|
char) set -x; $(CC) $(CFLAGS) -DSZ=1 -E rc4-ia64.S > $@ ;; \
|
|
*) exit 1 ;; \
|
|
esac
|
|
|
|
# GNU make "catch all"
|
|
{- $builddir -}/rc4-%.s: {- $sourcedir -}/asm/rc4-%.pl
|
|
CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
|
|
ENDRAW[Makefile]
|