]> git.ipfire.org Git - thirdparty/openssl.git/blob - crypto/rc4/build.info
unified build scheme: add a "unified" template for Unix Makefile
[thirdparty/openssl.git] / crypto / rc4 / build.info
1 LIBS=../../libcrypto
2 SOURCE[../../libcrypto]=\
3 {- $target{rc4_asm_src} -}
4
5 BEGINRAW[Makefile]
6 {- $builddir -}/rc4-586.s: {- $sourcedir -}/asm/rc4-586.pl {- $sourcetop -}/crypto/perlasm/x86asm.pl
7 $(PERL) {- $sourcedir -}/asm/rc4-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
8
9 {- $builddir -}/rc4-x86_64.s: {- $sourcedir -}/asm/rc4-x86_64.pl
10 $(PERL) {- $sourcedir -}/asm/rc4-x86_64.pl $(PERLASM_SCHEME) > $@
11 {- $builddir -}/rc4-md5-x86_64.s: {- $sourcedir -}/asm/rc4-md5-x86_64.pl
12 $(PERL) {- $sourcedir -}/asm/rc4-md5-x86_64.pl $(PERLASM_SCHEME) > $@
13
14 {- $builddir -}/rc4-ia64.S: {- $sourcedir -}/asm/rc4-ia64.pl
15 $(PERL) {- $sourcedir -}/asm/rc4-ia64.pl $(CFLAGS) > $@
16
17 {- $builddir -}/rc4-parisc.s: {- $sourcedir -}/asm/rc4-parisc.pl
18 $(PERL) {- $sourcedir -}/asm/rc4-parisc.pl $(PERLASM_SCHEME) $@
19
20 {- $builddir -}/rc4-ia64.s: rc4-ia64.S
21 @case `awk '/^#define RC4_INT/{print$$NF}' $(TOP)/include/openssl/opensslconf.h` in \
22 int) set -x; $(CC) $(CFLAGS) -DSZ=4 -E rc4-ia64.S > $@ ;; \
23 char) set -x; $(CC) $(CFLAGS) -DSZ=1 -E rc4-ia64.S > $@ ;; \
24 *) exit 1 ;; \
25 esac
26
27 # GNU make "catch all"
28 {- $builddir -}/rc4-%.s: {- $sourcedir -}/asm/rc4-%.pl
29 $(PERL) $< $(PERLASM_SCHEME) $@
30 ENDRAW[Makefile]