summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arch/alpha/Makefile.inc
blob: 1073ac3c1e6beead0a35f1b2b98b43ed2cc07a07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $OpenBSD: Makefile.inc,v 1.15 2025/02/14 12:01:58 jsing Exp $

# alpha-specific libcrypto build rules

# bn
SSLASM+= bn alpha-mont
CFLAGS+= -DOPENSSL_BN_ASM_MONT
# modes
CFLAGS+= -DGHASH_ASM
SSLASM+= modes ghash-alpha
# sha
SSLASM+= sha sha1-alpha

.for dir f in ${SSLASM}
SRCS+=	${f}.S
GENERATED+=${f}.S
${f}.S: ${LCRYPTO_SRC}/${dir}/asm/${f}.pl
	/usr/bin/perl \
		${LCRYPTO_SRC}/${dir}/asm/${f}.pl > ${.TARGET}
.endfor