]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - ssh/Makefile
Properly flatten openssh/dist.
[FreeBSD/FreeBSD.git] / ssh / Makefile
1 #       $OpenBSD: Makefile,v 1.42 2002/06/20 19:56:07 stevesk Exp $
2
3 .PATH:          ${.CURDIR}/..
4
5 PROG=   ssh
6 BINOWN= root
7
8 #BINMODE?=4555
9
10 BINDIR= /usr/bin
11 MAN=    ssh.1 ssh_config.5
12 LINKS=  ${BINDIR}/ssh ${BINDIR}/slogin
13 MLINKS= ssh.1 slogin.1
14
15 SRCS=   ssh.c readconf.c clientloop.c sshtty.c \
16         sshconnect.c sshconnect1.c sshconnect2.c
17
18 .include <bsd.own.mk> # for AFS
19
20 .if (${KERBEROS5:L} == "yes")
21 CFLAGS+= -DKRB5 -I${DESTDIR}/usr/include/kerberosV
22 LDADD+=  -lkrb5 -lasn1 -lcom_err
23 DPADD+=  ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR}
24 .endif # KERBEROS5
25
26 .if (${KERBEROS:L} == "yes")
27 CFLAGS+= -DKRB4 -I${DESTDIR}/usr/include/kerberosIV
28 LDADD+=  -lkrb
29 DPADD+=  ${LIBKRB}
30 .if (${AFS:L} == "yes")
31 CFLAGS+= -DAFS
32 LDADD+=  -lkafs
33 DPADD+=  ${LIBKAFS}
34 .endif # AFS
35 .endif # KERBEROS
36
37 .include <bsd.prog.mk>
38
39 LDADD+= -lcrypto -lz -ldes
40 DPADD+= ${LIBCRYPTO} ${LIBZ} ${LIBDES}