1 SSHDIR= ${.CURDIR}/../../../crypto/openssh
3 CFLAGS+= -I${.CURDIR}/../../lib/libssh -I${SSHDIR}
5 .if ${.CURDIR:T} != "libssh"
6 DPADD+= ${LIBSSH} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} ${LIBPTHREAD}
7 LDADD+= -lprivate_ssh -lcrypto -lutil -lz -lpthread
8 LDFLAGS+= -rpath /usr/lib/priv -L ${_SHLIBDIRPREFIX}/usr/lib/priv
11 .PATH: ${SSHDIR} ${SSHDIR}/openbsd-compat