]> git.ipfire.org Git - thirdparty/openssl.git/blame - crypto/rc4/build.info
Pass $(CC) to perlasm scripts via the environment
[thirdparty/openssl.git] / crypto / rc4 / build.info
CommitLineData
777a2882
RL
1LIBS=../../libcrypto
2SOURCE[../../libcrypto]=\
3 {- $target{rc4_asm_src} -}
567a9e6f
RL
4
5BEGINRAW[Makefile]
6{- $builddir -}/rc4-586.s: {- $sourcedir -}/asm/rc4-586.pl {- $sourcetop -}/crypto/perlasm/x86asm.pl
de72be2e 7 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/rc4-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
567a9e6f
RL
8
9{- $builddir -}/rc4-x86_64.s: {- $sourcedir -}/asm/rc4-x86_64.pl
de72be2e 10 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/rc4-x86_64.pl $(PERLASM_SCHEME) > $@
567a9e6f 11{- $builddir -}/rc4-md5-x86_64.s: {- $sourcedir -}/asm/rc4-md5-x86_64.pl
de72be2e 12 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/rc4-md5-x86_64.pl $(PERLASM_SCHEME) > $@
567a9e6f
RL
13
14{- $builddir -}/rc4-ia64.S: {- $sourcedir -}/asm/rc4-ia64.pl
de72be2e 15 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/rc4-ia64.pl $(CFLAGS) > $@
567a9e6f
RL
16
17{- $builddir -}/rc4-parisc.s: {- $sourcedir -}/asm/rc4-parisc.pl
de72be2e 18 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/rc4-parisc.pl $(PERLASM_SCHEME) $@
567a9e6f
RL
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
de72be2e 29 CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
567a9e6f 30ENDRAW[Makefile]