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