1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5PROG= ssh-keygen 6SRCS= ssh-keygen.c 7CFLAGS+=-I${SSHDIR} -include ssh_namespace.h 8 9.if !defined(NO_SHARED) 10# required when linking with a dynamic libssh 11SRCS+= roaming_dummy.c 12.endif 13 14LIBADD= ssh 15 16.if ${MK_LDNS} != "no" 17CFLAGS+= -DHAVE_LDNS=1 18.endif 19 20LIBADD+= crypto 21 22.include <bsd.prog.mk> 23 24.PATH: ${SSHDIR} 25 26${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h 27