Adjust build infrastructure for OpenSSH-4.3p2
[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.8 2006/02/13 14:47:58 corecode Exp $
3
4 LIB=    ssh
5 SHLIB_MAJOR= 4
6 SRCS=   acss.c authfd.c authfile.c bufaux.c buffer.c canohost.c channels.c \
7         cipher.c cipher-acss.c cipher-aes.c cipher-bf1.c cipher-ctr.c \
8         cipher-3des1.c cleanup.c compat.c compress.c crc32.c deattack.c \
9         fatal.c hostfile.c log.c match.c moduli.c nchan.c packet.c \
10         readpass.c rsa.c ttymodes.c xmalloc.c atomicio.c \
11         key.c dispatch.c kex.c mac.c uuencode.c misc.c rijndael.c ssh-dss.c \
12         ssh-rsa.c dh.c kexdh.c kexgex.c kexdhc.c kexgexc.c scard.c msg.c \
13         progressmeter.c dns.c scard-opensc.c getrrsetbyname.c
14 # Portability layer
15 SRCS+=  bsd-misc.c entropy.c
16 # FreeBSD additions
17 SRCS+=  version.c
18
19 SRCS+=  openbsd-compat,port-tun.c.patch
20
21 .if defined(WANT_KERBEROS)
22 CFLAGS+= -DKRB5 -DHEIMDAL
23 .endif
24
25 DPADD+= ${LIBZ}
26 LDADD+= -lz
27
28 .include "../../Makefile.ssh.common"
29 .include <bsd.lib.mk>
30
31 .PATH: ${SSHDIR}/openbsd-compat