mirror of
https://github.com/openssh/libopenssh
synced 2026-04-17 18:27:32 +00:00
34 lines
677 B
Makefile
34 lines
677 B
Makefile
# $OpenBSD: Makefile,v 1.56 2012/08/24 19:50:19 deraadt Exp $
|
|
|
|
.PATH: ${.CURDIR}/..
|
|
|
|
PROG= ssh
|
|
BINOWN= root
|
|
|
|
#BINMODE?=4555
|
|
|
|
BINDIR= /usr/bin
|
|
MAN= ssh.1 ssh_config.5
|
|
LINKS= ${BINDIR}/ssh ${BINDIR}/slogin
|
|
MLINKS= ssh.1 slogin.1
|
|
|
|
SRCS= ssh.c readconf.c clientloop.c sshtty.c \
|
|
sshconnect.c sshconnect1.c sshconnect2.c mux.c \
|
|
roaming_common.c roaming_client.c
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.if (${KERBEROS5:L} == "yes")
|
|
CFLAGS+= -DKRB5 -I${DESTDIR}/usr/include/kerberosV -DGSSAPI
|
|
.endif # KERBEROS5
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.if (${KERBEROS5:L} == "yes")
|
|
DPADD+= ${LIBGSSAPI} ${LIBKRB5}
|
|
LDADD+= -lgssapi -lkrb5
|
|
.endif # KERBEROS5
|
|
|
|
DPADD+= ${LIBCRYPTO} ${LIBZ}
|
|
LDADD+= -lcrypto -lz
|