if_iwm - Recognize IWM_FW_PAGING_BLOCK_CMD wide cmd response correctly.
[dragonfly.git] / lib / libcrypto / asm / Makefile
1 # This file automatically generates the asm .s files after importing a new
2 # version of OpenSSL.
3
4 OPENSSL_SRC=    ../../../crypto/openssl
5
6 .PATH:  ${OPENSSL_SRC}/crypto \
7         ${OPENSSL_SRC}/crypto/aes/asm \
8         ${OPENSSL_SRC}/crypto/bf/asm \
9         ${OPENSSL_SRC}/crypto/bn/asm \
10         ${OPENSSL_SRC}/crypto/camellia/asm \
11         ${OPENSSL_SRC}/crypto/des/asm \
12         ${OPENSSL_SRC}/crypto/ec/asm \
13         ${OPENSSL_SRC}/crypto/md5/asm \
14         ${OPENSSL_SRC}/crypto/modes/asm \
15         ${OPENSSL_SRC}/crypto/perlasm \
16         ${OPENSSL_SRC}/crypto/rc4/asm \
17         ${OPENSSL_SRC}/crypto/ripemd/asm \
18         ${OPENSSL_SRC}/crypto/sha/asm \
19         ${OPENSSL_SRC}/crypto/whrlpool/asm
20
21 # cpuid
22 SRCS=   x86_64cpuid.pl
23
24 # bn
25 SRCS+=  x86_64-mont.pl x86_64-mont5.pl x86_64-gf2m.pl \
26         rsaz-x86_64.pl rsaz-avx2.pl
27
28 # ec
29 SRCS+=  ecp_nistz256-x86_64.pl
30
31 # aes
32 SRCS+=  aes-x86_64.pl vpaes-x86_64.pl bsaes-x86_64.pl \
33         aesni-x86_64.pl aesni-sha1-x86_64.pl aesni-sha256-x86_64.pl \
34         aesni-mb-x86_64.pl
35
36 # rc4
37 SRCS+=  rc4-x86_64.pl rc4-md5-x86_64.pl
38
39 # md5
40 SRCS+=  md5-x86_64.pl
41
42 # sha
43 SRCS+=  sha1-x86_64.pl sha256-x86_64.s sha512-x86_64.pl \
44         sha1-mb-x86_64.pl sha256-mb-x86_64.pl
45
46 # whrlpool
47 SRCS+=  wp-x86_64.pl
48
49 # camellia
50 SRCS+=  cmll-x86_64.pl
51
52 # modes
53 SRCS+=  ghash-x86_64.pl aesni-gcm-x86_64.pl
54
55 PERLFLAGS=
56
57 all:    ${SRCS:S/.pl$/.s/}
58
59 CLEANFILES+=    ${SRCS:S/.pl$/.s/}
60 .SUFFIXES:      .pl
61
62 sha{256,512}-x86_64.s:  ${OPENSSL_SRC}/crypto/sha/asm/sha512-x86_64.pl
63         env CC=cc perl ${.ALLSRC} elf ${.TARGET}
64         echo ".section .note.GNU-stack,\"\",%progbits" >>${.TARGET}
65
66 .pl.s:
67         env CC=cc perl ${.IMPSRC} elf > ${.TARGET}
68         echo ".section .note.GNU-stack,\"\",%progbits" >>${.TARGET}
69
70 .include <bsd.prog.mk>