summaryrefslogtreecommitdiff
path: root/lib/libcrypto/arch/aarch64/Makefile.inc
blob: 75df7f1ea0f5fca9ed8472a42b4f704a1cbc803d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $OpenBSD: Makefile.inc,v 1.12 2024/03/29 06:03:20 jsing Exp $

# aarch64-specific libcrypto build rules

# camellia
SRCS+= camellia.c cmll_cbc.c cmll_misc.c

.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 void ${.TARGET} > ${.TARGET}
.endfor

CFLAGS+= -DOPENSSL_CPUID_OBJ
AFLAGS+= -mmark-bti-property
SRCS+=	arm64cpuid.S arm64cap.c