[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh / ssh

File: [local] / src / usr.bin / ssh / ssh / Makefile (download)

Revision 1.56, Fri Aug 24 19:50:19 2012 UTC (11 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.55: +2 -2 lines

comment about bsd.own.mk is now false; ok markus

#	$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