xref: /freebsd/secure/usr.bin/ssh-add/Makefile (revision ee5a34ecba51f02e3bf46b112e265abf976f39b6)
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
23LIBADD+=	crypt crypto z
24
25.include <bsd.prog.mk>
26
27.PATH:	${SSHDIR}
28
29${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h
30