1 SSHDIR= ${.CURDIR}/../../../crypto/openssh
3 XAUTH_PATH?= /usr/local/bin/xauth
4 CFLAGS+= -DXAUTH_PATH=\"${XAUTH_PATH}\"
5 CFLAGS+= -I${.CURDIR}/../../../crypto/libressl/include
6 CFLAGS+= -I${.CURDIR}/../../lib/libssh -I${SSHDIR}
8 .if ${.CURDIR:T} != "libssh"
9 DPADD+= ${LIBSSH} ${LIBRECRYPTO} ${LIBUTIL} ${LIBZ} ${LIBPTHREAD}
10 LDADD+= -lprivate_ssh -lprivate_crypto -lutil -lz -lpthread
11 LDFLAGS+= -rpath /lib/priv:/usr/lib/priv -L ${_SHLIBDIRPREFIX}/usr/lib/priv
14 .PATH: ${SSHDIR} ${SSHDIR}/openbsd-compat