1# $OpenBSD: Makefile.inc,v 1.6 2021/05/01 16:11:09 visa 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 12SSLASM+= bn mips bn-mips 13CFLAGS+= -DBN_DIV3W 14SSLASM+= bn mips-mont mips-mont 15CFLAGS+= -DOPENSSL_BN_ASM_MONT 16# camellia 17SRCS+= camellia.c cmll_cbc.c cmll_misc.c 18# des 19SRCS+= des_enc.c fcrypt_b.c 20# rc4 21SRCS+= rc4_enc.c rc4_skey.c 22# sha 23SSLASM+= sha sha1-mips sha1-mips 24CFLAGS+= -DSHA1_ASM 25SSLASM+= sha sha512-mips sha256-mips 26CFLAGS+= -DSHA256_ASM 27SSLASM+= sha sha512-mips sha512-mips 28CFLAGS+= -DSHA512_ASM 29# whrlpool 30SRCS+= wp_block.c 31 32.for dir src dst in ${SSLASM} 33SRCS+= ${dst}.S 34GENERATED+=${dst}.S 35${dst}.S: ${LCRYPTO_SRC}/${dir}/asm/${src}.pl 36 /usr/bin/env CC=${CC} /usr/bin/perl \ 37 ${LCRYPTO_SRC}/${dir}/asm/${src}.pl 64 ${.TARGET} > ${.TARGET} 38.endfor 39