diff options
author | markm <markm@FreeBSD.org> | 2000-02-24 17:00:55 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2000-02-24 17:00:55 +0000 |
commit | e2eb48858809b3595e98ebc530d7f382cdd3fc40 (patch) | |
tree | baca66ae2b943e94eefb4af6fa76f99f9a4b3962 /secure/lib/libssh | |
parent | f7c4b7763a0f4fb1a11bc2510ac393bb72db1057 (diff) | |
download | FreeBSD-src-e2eb48858809b3595e98ebc530d7f382cdd3fc40.zip FreeBSD-src-e2eb48858809b3595e98ebc530d7f382cdd3fc40.tar.gz |
Add the OpenSSH userland-building Makefiles.
Diffstat (limited to 'secure/lib/libssh')
-rw-r--r-- | secure/lib/libssh/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/secure/lib/libssh/Makefile b/secure/lib/libssh/Makefile new file mode 100644 index 0000000..563a156 --- /dev/null +++ b/secure/lib/libssh/Makefile @@ -0,0 +1,36 @@ +# $FreeBSD$ +# + +SSHSRC= ${.CURDIR}/../../../crypto/openssh + +LIB= ssh +SRCS= authfd.c authfile.c bufaux.c buffer.c canohost.c channels.c \ + cipher.c compat.c compress.c crc32.c deattack.c fingerprint.c \ + hostfile.c log.c match.c mpaux.c nchan.c packet.c readpass.c \ + rsa.c tildexpand.c ttymodes.c uidswap.c xmalloc.c atomicio.c \ + strlcat.c strlcpy.c + +NOPIC= yes + +install: + +.if defined(COMPAT_GETADDRINFO) +SRCS+= getaddrinfo.c getnameinfo.c name6.c rcmd.c bindresvport.c +.endif + +.include <bsd.own.mk> + +.PATH: ${SSHSRC} +.PATH: ${SSHSRC}/lib + +.if defined(MAKE_KERBEROS4) && \ + ((${MAKE_KERBEROS4} == "yes") || (${MAKE_KERBEROS4} == "YES")) +CFLAGS+= -DKRB4 +.endif # MAKE_KERBEROS4 + +.if defined(MAKE_KERBEROS5) && \ + ((${MAKE_KERBEROS5} == "yes") || (${MAKE_KERBEROS5} == "YES")) +CFLAGS+= -DKRB5 +.endif # MAKE_KERBEROS5 + +.include <bsd.lib.mk> |