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