xref: /freebsd/secure/usr.bin/ssh-add/Makefile (revision f4b37ed0f8b307b1f3f0f630ca725d68f1dff30d)
1# $FreeBSD$
2
3.include <src.opts.mk>
4
5PROG=	ssh-add
6SRCS+=	ssh-add.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#DPADD+=	${LIBLDNS}
19#LDADD+=	-lldns
20#USEPRIVATELIB+= ldns
21.endif
22
23.include <bsd.prog.mk>
24
25.PATH:	${SSHDIR}
26
27${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h
28