Merge branch 'vendor/LIBRESSL'
[dragonfly.git] / secure / Makefile.ssh.common
1 SSHDIR=         ${.CURDIR}/../../../crypto/openssh
2
3 XAUTH_PATH?=    /usr/local/bin/xauth
4 CFLAGS+=        -DXAUTH_PATH=\"${XAUTH_PATH}\"
5 CFLAGS+=        -I${.CURDIR}/../../lib/libssh -I${SSHDIR}
6
7 .if ${.CURDIR:T} != "libssh"
8 DPADD+= ${LIBSSH} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} ${LIBPTHREAD}
9 LDADD+= -lprivate_ssh -lcrypto -lutil -lz -lpthread
10 LDFLAGS+=       -rpath /usr/lib/priv -L ${_SHLIBDIRPREFIX}/usr/lib/priv
11 .endif
12
13 .PATH:  ${SSHDIR} ${SSHDIR}/openbsd-compat