8c3bc594e0
C preprocessor flags get separated from C flags, which has the advantage that we don't get loads of macro definitions and inclusion directory specs when linking shared libraries, DSOs and programs. This is a step to add support for "make variables" when configuring. Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5177)
19 lines
606 B
Text
19 lines
606 B
Text
LIBS=../../libcrypto
|
|
SOURCE[../../libcrypto]=\
|
|
{- $target{rc4_asm_src} -}
|
|
|
|
GENERATE[rc4-586.s]=asm/rc4-586.pl \
|
|
$(PERLASM_SCHEME) $(CFLAGS) $(LIB_CFLAGS) $(CPPFLAGS) $(LIB_CPPFLAGS) \
|
|
$(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-parisc.s]=asm/rc4-parisc.pl $(PERLASM_SCHEME)
|
|
|
|
BEGINRAW[Makefile]
|
|
# GNU make "catch all"
|
|
{- $builddir -}/rc4-%.s: {- $sourcedir -}/asm/rc4-%.pl
|
|
CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
|
|
ENDRAW[Makefile]
|