Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / secure / usr.bin / ssh / Makefile
1 # $FreeBSD: src/secure/usr.bin/ssh/Makefile,v 1.4.2.8 2003/02/03 17:31:12 des Exp $
2 # $DragonFly: src/secure/usr.bin/ssh/Makefile,v 1.2 2003/06/17 04:27:48 dillon Exp $
3 #
4
5 PROG=   ssh
6 CFLAGS+=-I${SSHDIR}
7 LINKS=  ${BINDIR}/ssh ${BINDIR}/slogin
8 MAN=    ssh.1 ssh_config.5
9 MLINKS= ssh.1 slogin.1
10
11 SRCS=   ssh.c authfd.c hostfile.c msg.c readconf.c clientloop.c sshtty.c \
12         sshconnect.c sshconnect1.c sshconnect2.c
13
14 .if defined(MAKE_KERBEROS4)
15 DISTRIBUTION=krb4
16 CFLAGS+= -DKRB4
17 LDADD+=  -lkrb -lcom_err
18 DPADD+=  ${LIBKRB} ${LIBCOM_ERR}
19 .endif
20
21 .if defined(MAKE_KERBEROS5)
22 DISTRIBUTION=krb5
23 CFLAGS+= -DKRB5 -DHEIMDAL
24 LDADD+=  -lkrb5 -lasn1 -lcom_err -lmd -L${.OBJDIR}/../../../kerberos5/lib/libroken -lroken -lcrypt
25 DPADD+=  ${LIBKRB5} ${LIBCOM_ERR} ${LIBASN1} ${LIBMD} ${LIBCRYPT}
26 .endif
27
28 .if defined(X11BASE)
29 CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\"
30 .endif
31
32 LDADD+= -lssh -lcrypto -lutil -lz
33 DPADD+= ${LIBSSH} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
34
35 .include <bsd.prog.mk>
36
37 .PATH:  ${SSHDIR}