2001-05-04 03:57:05 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.30 2001/04/14 16:33:20 stevesk Exp $
|
|
|
|
|
2000-02-24 14:29:47 +00:00
|
|
|
.PATH: ${.CURDIR}/..
|
|
|
|
|
|
|
|
PROG= ssh
|
|
|
|
BINOWN= root
|
|
|
|
|
|
|
|
BINMODE?=4555
|
|
|
|
|
|
|
|
BINDIR= /usr/bin
|
|
|
|
MAN= ssh.1
|
|
|
|
LINKS= ${BINDIR}/ssh ${BINDIR}/slogin
|
|
|
|
MLINKS= ssh.1 slogin.1
|
|
|
|
|
2001-05-04 03:57:05 +00:00
|
|
|
SRCS= ssh.c readconf.c clientloop.c sshtty.c \
|
2000-05-15 04:37:24 +00:00
|
|
|
sshconnect.c sshconnect1.c sshconnect2.c
|
2000-02-24 14:29:47 +00:00
|
|
|
|
|
|
|
.include <bsd.own.mk> # for AFS
|
|
|
|
|
2000-09-10 08:31:17 +00:00
|
|
|
.if (${KERBEROS:L} == "yes")
|
2000-03-26 07:07:24 +00:00
|
|
|
CFLAGS+= -DKRB4 -I${DESTDIR}/usr/include/kerberosIV
|
2000-02-24 14:29:47 +00:00
|
|
|
LDADD+= -lkrb
|
|
|
|
DPADD+= ${LIBKRB}
|
2000-09-10 08:31:17 +00:00
|
|
|
.if (${AFS:L} == "yes")
|
2000-02-24 14:29:47 +00:00
|
|
|
CFLAGS+= -DAFS
|
|
|
|
LDADD+= -lkafs
|
|
|
|
DPADD+= ${LIBKRBAFS}
|
|
|
|
.endif # AFS
|
|
|
|
.endif # KERBEROS
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
2001-05-04 03:57:05 +00:00
|
|
|
LDADD+= -lcrypto -lz
|
|
|
|
DPADD+= ${LIBCRYPTO} ${LIBZ}
|