Add $(LIB_CFLAGS) for any build.info generator that uses $(CFLAGS)
[openssl.git] / crypto / aes / build.info
1 LIBS=../../libcrypto
2 SOURCE[../../libcrypto]=\
3         aes_misc.c aes_ecb.c aes_cfb.c aes_ofb.c \
4         aes_ige.c aes_wrap.c {- $target{aes_asm_src} -}
5
6 GENERATE[aes-ia64.s]=asm/aes-ia64.S
7
8 GENERATE[aes-586.s]=asm/aes-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(LIB_CFLAGS) $(PROCESSOR)
9 DEPEND[aes-586.s]=../perlasm/x86asm.pl
10 GENERATE[vpaes-x86.s]=asm/vpaes-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(LIB_CFLAGS) $(PROCESSOR)
11 DEPEND[vpaes-586.s]=../perlasm/x86asm.pl
12 GENERATE[aesni-x86.s]=asm/aesni-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(LIB_CFLAGS) $(PROCESSOR)
13 DEPEND[aesni-586.s]=../perlasm/x86asm.pl
14
15 GENERATE[aes-x86_64.s]=asm/aes-x86_64.pl $(PERLASM_SCHEME)
16 GENERATE[vpaes-x86_64.s]=asm/vpaes-x86_64.pl $(PERLASM_SCHEME)
17 GENERATE[bsaes-x86_64.s]=asm/bsaes-x86_64.pl $(PERLASM_SCHEME)
18 GENERATE[aesni-x86_64.s]=asm/aesni-x86_64.pl $(PERLASM_SCHEME)
19 GENERATE[aesni-sha1-x86_64.s]=asm/aesni-sha1-x86_64.pl $(PERLASM_SCHEME)
20 GENERATE[aesni-sha256-x86_64.s]=asm/aesni-sha256-x86_64.pl $(PERLASM_SCHEME)
21 GENERATE[aesni-mb-x86_64.s]=asm/aesni-mb-x86_64.pl $(PERLASM_SCHEME)
22
23 GENERATE[aes-sparcv9.S]=asm/aes-sparcv9.pl $(PERLASM_SCHEME)
24 INCLUDE[aes-sparcv9.o]=..
25 GENERATE[aest4-sparcv9.S]=asm/aest4-sparcv9.pl $(PERLASM_SCHEME)
26 INCLUDE[aest4-sparcv9.o]=..
27 DEPEND[aest4-sparcv9.S]=../perlasm/sparcv9_modes.pl
28
29 GENERATE[aes-ppc.s]=asm/aes-ppc.pl $(PERLASM_SCHEME)
30 GENERATE[vpaes-ppc.s]=asm/vpaes-ppc.pl $(PERLASM_SCHEME)
31 GENERATE[aesp8-ppc.s]=asm/aesp8-ppc.pl $(PERLASM_SCHEME)
32
33 GENERATE[aes-parisc.s]=asm/aes-parisc.pl $(PERLASM_SCHEME)
34
35 GENERATE[aes-mips.S]=asm/aes-mips.pl $(PERLASM_SCHEME)
36
37 GENERATE[aesv8-armx.S]=asm/aesv8-armx.pl $(PERLASM_SCHEME)
38 INCLUDE[aesv8-armx.o]=..
39 GENERATE[vpaes-armv8.S]=asm/vpaes-armv8.pl $(PERLASM_SCHEME)
40
41 GENERATE[aes-armv4.S]=asm/aes-armv4.pl $(PERLASM_SCHEME)
42 INCLUDE[aes-armv4.o]=..
43 GENERATE[bsaes-armv7.S]=asm/bsaes-armv7.pl $(PERLASM_SCHEME)
44 INCLUDE[bsaes-armv7.o]=..
45
46 BEGINRAW[Makefile]
47 ##### AES assembler implementations
48
49 # GNU make "catch all"
50 {- $builddir -}/aes-%.S:        {- $sourcedir -}/asm/aes-%.pl
51         CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
52 {- $builddir -}/bsaes-%.S:      {- $sourcedir -}/asm/bsaes-%.pl
53         CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
54
55 ENDRAW[Makefile]