xref: /freebsd/secure/usr.bin/ssh-add/Makefile (revision 0bd7d22e032d045c75660ad4a8c6e290c79ca23b)
1# $FreeBSD$
2
3.include <src.opts.mk>
4
5PROG=	ssh-add
6SRCS+=	ssh-add.c
7CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
8PACKAGE=	ssh
9
10.if !defined(NO_SHARED)
11# required when linking with a dynamic libssh
12SRCS+=	roaming_dummy.c
13.endif
14
15LIBADD=	ssh
16
17.if ${MK_LDNS} != "no"
18CFLAGS+=	-DHAVE_LDNS=1
19#DPADD+=	${LIBLDNS}
20#LDADD+=	-lldns
21#USEPRIVATELIB+= ldns
22.endif
23
24.include <bsd.prog.mk>
25
26.PATH:	${SSHDIR}
27
28${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h
29