3 .PATH: ${SRCTOP}/sys/crypto/openssl
4 .PATH: ${SRCTOP}/sys/crypto/openssl/${MACHINE_CPUARCH}
7 OBJS+= ${OBJS.${MACHINE_CPUARCH}}
18 ${SRCS.${MACHINE_CPUARCH}}
51 # For arm64, we are forced to rewrite the compiler invocation for the assembly
52 # files, to remove -mgeneral-regs-only.
53 ${SRCS.aarch64:M*.S:S/S/o/}: ${.TARGET:R}.S
54 ${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} ${PROF} ${.IMPSRC}
57 # Based on modules/armv8crypto/Makefile.
58 # Clang doesn't recognize "aes*" instructions without -march set.
59 aesv8-armx.o: aesv8-armx.S
60 ${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} ${PROF} \
61 -march=armv8-a+crypto ${.IMPSRC}
64 OBJS.aarch64= aesv8-armx.o
66 .include <bsd.kmod.mk>