Makefile (0b2766bd4edd70dd3b9cd8ac37d36b4b5a5c297a) Makefile (9cfa8b3fee2f79940b0b9e5a4ffbc5f095861529)
1# $FreeBSD$
2
1# $FreeBSD$
2
3.include <bsd.own.mk>
4
3PROG= ssh-agent
4SRCS= ssh-agent.c
5CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
6
5PROG= ssh-agent
6SRCS= ssh-agent.c
7CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
8
7# required when linking with a dynamic libssh
9.if !defined(NO_SHARED)
10# required when linking with a dynamic libssh
8SRCS+= roaming_dummy.c
11SRCS+= roaming_dummy.c
12.endif
9
13
10DPADD= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ}
11LDADD= -lssh -lcrypt -lcrypto -lz
14DPADD= ${LIBSSH}
15LDADD= -lssh
12USEPRIVATELIB= ssh
13
16USEPRIVATELIB= ssh
17
18.if ${MK_LDNS} != "no"
19CFLAGS+= -DHAVE_LDNS=1
20#DPADD+= ${LIBLDNS}
21#LDADD+= -lldns
22#USEPRIVATELIB+= ldns
23.endif
24
25DPADD+= ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ}
26LDADD+= -lcrypt -lcrypto -lz
27
14.include <bsd.prog.mk>
15
16.PATH: ${SSHDIR}
17
18${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h
28.include <bsd.prog.mk>
29
30.PATH: ${SSHDIR}
31
32${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h