Redo argv processing to better conform to standards. A NULL argv is no
[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.4 2004/07/31 19:03:00 geekgod Exp $
3
4 LIB=    ssh
5 SRCS=   acss.c authfd.c authfile.c bufaux.c buffer.c canohost.c channels.c \
6         cipher.c cipher-acss.c cipher-aes.c cipher-bf1.c cipher-ctr.c \
7         cipher-3des1.c cleanup.c compat.c compress.c crc32.c deattack.c \
8         fatal.c hostfile.c log.c match.c moduli.c mpaux.c nchan.c packet.c \
9         readpass.c rsa.c tildexpand.c ttymodes.c xmalloc.c atomicio.c \
10         key.c dispatch.c kex.c mac.c uuencode.c misc.c rijndael.c ssh-dss.c \
11         ssh-rsa.c dh.c kexdh.c kexgex.c kexdhc.c kexgexc.c scard.c msg.c \
12         progressmeter.c dns.c scard-opensc.c getrrsetbyname.c vis.c
13 # Portability layer
14 SRCS+=  bsd-misc.c entropy.c
15 # FreeBSD additions
16 SRCS+=  version.c
17
18 # Patches
19 SRCS+=  log.c.patch
20
21 .if defined(MAKE_KERBEROS5)
22 CFLAGS+= -DKRB5 -DHEIMDAL
23 .endif
24
25 DPADD+= ${LIBZ}
26 LDADD+= -lz
27
28 etc-ssh:
29         ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 ${SSHDIR}/moduli ${DESTDIR}/etc/ssh
30
31 .include "../../Makefile.ssh.common"
32 .include <bsd.lib.mk>
33
34 .PATH: ${SSHDIR}/openbsd-compat