2000-02-24 17:00:55 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2013-09-10 22:26:11 +00:00
|
|
|
|
2000-02-24 17:00:55 +00:00
|
|
|
PROG= ssh-keygen
|
2009-10-01 17:12:52 +00:00
|
|
|
SRCS= ssh-keygen.c
|
2006-05-13 13:47:45 +00:00
|
|
|
CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
|
2000-02-24 17:00:55 +00:00
|
|
|
|
2013-09-10 22:26:11 +00:00
|
|
|
.if !defined(NO_SHARED)
|
|
|
|
# required when linking with a dynamic libssh
|
|
|
|
SRCS+= roaming_dummy.c
|
|
|
|
.endif
|
2009-10-01 17:12:52 +00:00
|
|
|
|
2014-11-25 21:18:18 +00:00
|
|
|
LIBADD= ssh
|
2000-02-24 17:00:55 +00:00
|
|
|
|
2013-09-10 22:26:11 +00:00
|
|
|
.if ${MK_LDNS} != "no"
|
|
|
|
CFLAGS+= -DHAVE_LDNS=1
|
|
|
|
.endif
|
|
|
|
|
2014-11-25 22:25:13 +00:00
|
|
|
LIBADD+= crypto
|
2013-09-10 22:26:11 +00:00
|
|
|
|
2001-03-26 14:53:33 +00:00
|
|
|
.include <bsd.prog.mk>
|
2000-02-24 17:00:55 +00:00
|
|
|
|
2001-03-26 14:53:33 +00:00
|
|
|
.PATH: ${SSHDIR}
|
2006-05-13 21:38:16 +00:00
|
|
|
|
|
|
|
${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h
|