]> git.ipfire.org Git - thirdparty/openssl.git/blame - crypto/modes/build.info
Pass $(CC) to perlasm scripts via the environment
[thirdparty/openssl.git] / crypto / modes / build.info
CommitLineData
777a2882
RL
1LIBS=../../libcrypto
2SOURCE[../../libcrypto]=\
3 cbc128.c ctr128.c cts128.c cfb128.c ofb128.c gcm128.c \
4 ccm128.c xts128.c wrap128.c ocb128.c \
5 {- $target{modes_asm_src} -}
567a9e6f
RL
6
7BEGINRAW[Makefile]
8{- $builddir -}/ghash-ia64.s: {- $sourcedir -}/asm/ghash-ia64.pl
de72be2e 9 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghash-ia64.pl $@ $(CFLAGS)
567a9e6f 10{- $builddir -}/ghash-x86.s: {- $sourcedir -}/asm/ghash-x86.pl
de72be2e 11 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghash-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
567a9e6f 12{- $builddir -}/ghash-x86_64.s: {- $sourcedir -}/asm/ghash-x86_64.pl
de72be2e 13 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghash-x86_64.pl $(PERLASM_SCHEME) > $@
567a9e6f 14{- $builddir -}/aesni-gcm-x86_64.s: {- $sourcedir -}/asm/aesni-gcm-x86_64.pl
de72be2e 15 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/aesni-gcm-x86_64.pl $(PERLASM_SCHEME) > $@
567a9e6f 16{- $builddir -}/ghash-sparcv9.s: {- $sourcedir -}/asm/ghash-sparcv9.pl
de72be2e 17 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghash-sparcv9.pl $@ $(CFLAGS)
567a9e6f
RL
18{- $builddir -}/ghash-alpha.s: {- $sourcedir -}/asm/ghash-alpha.pl
19 (preproc=$$$$.$@.S; trap "rm $$preproc" INT; \
de72be2e 20 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghash-alpha.pl > $$preproc && \
567a9e6f
RL
21 $(CC) -E -P $$preproc > $@ && rm $$preproc)
22{- $builddir -}/ghash-parisc.s: {- $sourcedir -}/asm/ghash-parisc.pl
de72be2e 23 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghash-parisc.pl $(PERLASM_SCHEME) $@
567a9e6f 24{- $builddir -}/ghashv8-armx.S: {- $sourcedir -}/asm/ghashv8-armx.pl
de72be2e 25 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghashv8-armx.pl $(PERLASM_SCHEME) $@
567a9e6f 26{- $builddir -}/ghashp8-ppc.s: {- $sourcedir -}/asm/ghashp8-ppc.pl
de72be2e 27 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghashp8-ppc.pl $(PERLASM_SCHEME) $@
567a9e6f
RL
28
29# GNU make "catch all"
30{- $builddir -}/ghash-%.S: {- $sourcedir -}/asm/ghash-%.pl
de72be2e 31 CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
567a9e6f 32ENDRAW[Makefile]