1 # $NetBSD: Makefile,v 1.12 2025/12/28 09:39:35 nia Exp $ 2 3 BINDIR= /usr/bin 4 5 PROG= ssh-keygen 6 SRCS= ssh-keygen.c sshsig.c 7 8 .include "../Makefile.inc" 9 10 .ifdef WITH_OPENSSL 11 SRCS+= moduli.c 12 .endif 13 14 COPTS.ssh-keygen.c+= -Wno-pointer-sign 15 16 COPTS.ssh-keygen.c+= ${CC_WNO_FORMAT_TRUNCATION} 17 COPTS.ssh-keygen.c+= -Wno-error=deprecated-declarations 18 COPTS.moduli.c+= -Wno-error=deprecated-declarations 19 COPTS.ssh-keygen.c+= ${${ACTIVE_CC} == "clang":? -Wno-error=invalid-noreturn :} 20 21 .include <bsd.prog.mk> 22