summaryrefslogtreecommitdiffstats
path: root/secure/lib
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib')
-rw-r--r--secure/lib/libssh/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/secure/lib/libssh/Makefile b/secure/lib/libssh/Makefile
index e5146bb..7bfbdc3 100644
--- a/secure/lib/libssh/Makefile
+++ b/secure/lib/libssh/Makefile
@@ -8,8 +8,12 @@ SRCS= authfd.c authfile.c bufaux.c buffer.c canohost.c channels.c \
rsa.c tildexpand.c ttymodes.c xmalloc.c atomicio.c \
key.c dispatch.c kex.c mac.c uuencode.c misc.c \
rijndael.c ssh-dss.c ssh-rsa.c dh.c kexdh.c kexgex.c \
- scard.c monitor_wrap.c monitor_fdpass.c msg.c \
- uidswap.c version.c
+ scard.c monitor_wrap.c monitor_fdpass.c msg.c
+# Portability layer
+SRCS+= bsd-misc.c entropy.c
+# FreeBSD additions
+SRCS+= version.c
+CFLAGS+=-I${SSHDIR}
.if defined(COMPAT_GETADDRINFO)
SRCS+= getaddrinfo.c getnameinfo.c name6.c rcmd.c bindresvport.c
@@ -20,4 +24,4 @@ LDADD= -lcrypto -lz
.include <bsd.lib.mk>
-.PATH: ${SSHDIR} ${SSHDIR}/lib
+.PATH: ${SSHDIR} ${SSHDIR}/openbsd-compat
OpenPOWER on IntegriCloud