summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arch/mips64/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/arch/mips64/Makefile.inc')
-rw-r--r--src/lib/libcrypto/arch/mips64/Makefile.inc44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/lib/libcrypto/arch/mips64/Makefile.inc b/src/lib/libcrypto/arch/mips64/Makefile.inc
deleted file mode 100644
index b6fc8971e7..0000000000
--- a/src/lib/libcrypto/arch/mips64/Makefile.inc
+++ /dev/null
@@ -1,44 +0,0 @@
1# $OpenBSD: Makefile.inc,v 1.4 2014/12/07 15:45:44 miod Exp $
2
3# mips64-specific libcrypto build rules
4
5# aes
6SRCS+= aes_cbc.c
7CFLAGS+= -DAES_ASM
8SSLASM+= aes aes-mips aes-mips
9# bf
10SRCS+= bf_enc.c
11# bn
12.if ${MACHINE} == "sgi" # because of R4000 support
13SRCS+= bn_asm.c
14.else
15SSLASM+= bn mips bn-mips
16CFLAGS+= -DBN_DIV3W
17.endif
18SSLASM+= bn mips-mont mips-mont
19CFLAGS+= -DOPENSSL_BN_ASM_MONT
20# camellia
21SRCS+= camellia.c cmll_cbc.c cmll_misc.c
22# des
23SRCS+= des_enc.c fcrypt_b.c
24# rc4
25SRCS+= rc4_enc.c rc4_skey.c
26## rc5
27#SRCS+= rc5_enc.c
28# sha
29SSLASM+= sha sha1-mips sha1-mips
30CFLAGS+= -DSHA1_ASM
31SSLASM+= sha sha512-mips sha256-mips
32CFLAGS+= -DSHA256_ASM
33SSLASM+= sha sha512-mips sha512-mips
34CFLAGS+= -DSHA512_ASM
35# whrlpool
36SRCS+= wp_block.c
37
38.for dir src dst in ${SSLASM}
39SRCS+= ${dst}.S
40GENERATED+=${dst}.S
41${dst}.S: ${LCRYPTO_SRC}/${dir}/asm/${src}.pl
42 /usr/bin/env CC=${CC} /usr/bin/perl \
43 ${LCRYPTO_SRC}/${dir}/asm/${src}.pl 64 ${.TARGET} > ${.TARGET}
44.endfor