summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2008-07-22 19:01:18 +0000
committerdes <des@FreeBSD.org>2008-07-22 19:01:18 +0000
commitf1596419c2717cb81dd4b676d5e0cf1a3e30e98c (patch)
tree9827eb822991aa369cf5d220fce40c3d2011c19f /lib/Makefile
parent666aa9cc1660793c97ef29a6cb66dfbb894dde8f (diff)
downloadFreeBSD-src-f1596419c2717cb81dd4b676d5e0cf1a3e30e98c.zip
FreeBSD-src-f1596419c2717cb81dd4b676d5e0cf1a3e30e98c.tar.gz
Properly flatten openssh/dist.
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
new file mode 100644
index 0000000..ac950a9
--- /dev/null
+++ b/lib/Makefile
@@ -0,0 +1,35 @@
+# $OpenBSD: Makefile,v 1.36 2002/06/11 15:23:29 hin Exp $
+
+.PATH: ${.CURDIR}/..
+
+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 fatal.c \
+ hostfile.c log.c match.c mpaux.c nchan.c packet.c readpass.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
+
+DEBUGLIBS= no
+NOPROFILE= yes
+NOPIC= yes
+
+install:
+ @echo -n
+
+.include <bsd.own.mk>
+
+.if (${KERBEROS5:L} == "yes")
+CFLAGS+= -DKRB5 -I${DESTDIR}/usr/include/kerberosV
+.endif # KERBEROS5
+
+.if (${KERBEROS:L} == "yes")
+CFLAGS+= -DKRB4 -I${DESTDIR}/usr/include/kerberosIV
+.if (${AFS:L} == "yes")
+CFLAGS+= -DAFS
+SRCS+= radix.c
+.endif # AFS
+.endif # KERBEROS
+
+.include <bsd.lib.mk>
OpenPOWER on IntegriCloud