Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[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.2 2003/06/17 04:27:48 dillon Exp $
3
4 LIB=    ssh
5 SRCS=   authfd.c authfile.c bufaux.c buffer.c canohost.c channels.c \
6         cipher.c compat.c compress.c crc32.c deattack.c fatal.c \
7         hostfile.c log.c match.c mpaux.c nchan.c packet.c readpass.c \
8         rsa.c tildexpand.c ttymodes.c xmalloc.c atomicio.c \
9         key.c dispatch.c kex.c mac.c uuencode.c misc.c \
10         rijndael.c ssh-dss.c ssh-rsa.c dh.c kexdh.c kexgex.c \
11         scard.c monitor_wrap.c monitor_fdpass.c msg.c xmmap.c
12 # Portability layer
13 SRCS+=  bsd-misc.c entropy.c
14 # FreeBSD additions
15 SRCS+=  version.c
16
17 .if defined(COMPAT_GETADDRINFO)
18 SRCS+=  getaddrinfo.c getnameinfo.c name6.c rcmd.c bindresvport.c
19 .endif
20
21 CFLAGS+= -I${SSHDIR}
22 .if defined(MAKE_KERBEROS4)
23 CFLAGS+= -DKRB4
24 .endif
25 .if defined(MAKE_KERBEROS5)
26 CFLAGS+= -DKRB5 -DHEIMDAL
27 .endif
28
29 NOLINT= true
30
31 DPADD=  ${LIBCRYPTO} ${LIBZ}
32 LDADD=  -lcrypto -lz
33
34 .include <bsd.lib.mk>
35
36 .PATH: ${SSHDIR} ${SSHDIR}/openbsd-compat