From c23e256eefa3a3fa4d991e28c9cad41c1bfef81b Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Thu, 24 Feb 2000 17:00:55 +0000 Subject: Add the OpenSSH userland-building Makefiles. --- secure/lib/libssh/Makefile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 secure/lib/libssh/Makefile (limited to 'secure/lib/libssh') diff --git a/secure/lib/libssh/Makefile b/secure/lib/libssh/Makefile new file mode 100644 index 000000000000..563a156f399b --- /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 + +.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 -- cgit v1.3