Makefile revision 57434
1# $FreeBSD: head/secure/usr.sbin/sshd/Makefile 57434 2000-02-24 17:00:55Z markm $ 2# 3 4SSHSRC= ${.CURDIR}/../../../crypto/openssh 5 6PROG= sshd 7BINOWN= root 8BINMODE=555 9MAN8= sshd.8 10 11SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \ 12 pty.c log-server.c login.c servconf.c serverloop.c 13 14CFLAGS= -DLIBWRAP 15 16.include <bsd.own.mk> 17 18.PATH: ${SSHSRC} 19 20.if defined(MAKE_KERBEROS4) && \ 21 ((${MAKE_KERBEROS4} == "yes") || (${MAKE_KERBEROS4} == "YES")) 22CFLAGS+= -DKRB4 23SRCS+= auth-krb4.c 24LDADD+= -lkrb -lcom_err 25DPADD+= ${LIBKRB} ${LIBCOM_ERR} 26.endif # MAKE_KERBEROS4 27 28.if defined(MAKE_KERBEROS5) && \ 29 ((${MAKE_KERBEROS5} == "yes") || (${MAKE_KERBEROS5} == "YES")) 30CFLAGS+= -DKRB5 31SRCS+= auth-krb5.c 32LDADD+= -lkrb5 -lcom_err 33DPADD+= ${LIBKRB5} ${LIBCOM_ERR} 34.endif # MAKE_KERBEROS5 35 36.include <bsd.prog.mk> 37 38LDADD+= -L${.OBJDIR}/../../lib/libssh -lssh -lcrypt -lcrypto -lutil -lz -lwrap 39DPADD+= ${LIBCRYPT} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} ${LIBWRAP} 40.if defined(RSAREF) && ${RSAREF} == YES 41LDADD+= -lRSAglue 42DPADD+= ${LIBRSAGLUE} 43.endif 44