Merge branch 'vendor/OPENSSH' (early part)
[dragonfly.git] / secure / lib / libssh / Makefile
1 # $FreeBSD: src/secure/lib/libssh/Makefile,v 1.2.2.7 2003/02/03 17:31:12 des Exp $
2 # $DragonFly: src/secure/lib/libssh/Makefile,v 1.13 2008/09/28 17:18:02 pavalos Exp $
3
4 LIB=    ssh
5 SHLIB_MAJOR= 4
6 SRCS=   acss.c addrmatch.c authfd.c authfile.c \
7         bufaux.c bufbn.c buffer.c canohost.c \
8         channels.c cipher.c cipher-acss.c cipher-aes.c cipher-bf1.c \
9         cipher-ctr.c cipher-3des1.c cleanup.c compat.c compress.c crc32.c \
10         deattack.c fatal.c hostfile.c log.c match.c moduli.c nchan.c packet.c \
11         readpass.c rsa.c ttymodes.c xmalloc.c atomicio.c \
12         key.c dispatch.c kex.c mac.c uuencode.c misc.c rijndael.c ssh-dss.c \
13         ssh-rsa.c dh.c kexdh.c kexgex.c kexdhc.c kexgexc.c scard.c msg.c \
14         progressmeter.c dns.c scard-opensc.c getrrsetbyname.c uidswap.c umac.c
15 # Portability layer
16 SRCS+=  bsd-arc4random.c bsd-misc.c entropy.c port-tun.c
17 # FreeBSD additions
18 SRCS+=  version.c
19
20 MAN=    moduli.5
21
22 .if defined(WANT_KERBEROS)
23 CFLAGS+= -DKRB5 -DHEIMDAL
24 .endif
25
26 DPADD+= ${LIBZ}
27 LDADD+= -lz
28
29 .include "../../Makefile.ssh.common"
30 .include <bsd.lib.mk>
31
32 .PATH: ${SSHDIR}/openbsd-compat