f7b63674e0f73462c6ae762a9f87571943b4aa85
[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.12 2008/09/28 03:19:46 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 .if defined(WANT_KERBEROS)
21 CFLAGS+= -DKRB5 -DHEIMDAL
22 .endif
23
24 DPADD+= ${LIBZ}
25 LDADD+= -lz
26
27 .include "../../Makefile.ssh.common"
28 .include <bsd.lib.mk>
29
30 .PATH: ${SSHDIR}/openbsd-compat