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