# $NetBSD: Makefile,v 1.13 2002/07/28 23:43:12 christos Exp $ .include PROG= sshd MAN= sshd.8 sshd_config.5 moduli.5 BINDIR= /usr/sbin SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \ sshpty.c sshlogin.c servconf.c serverloop.c uidswap.c \ auth.c auth1.c auth2.c auth-options.c session.c \ auth-chall.c auth2-chall.c groupaccess.c \ auth-skey.c auth-bsdauth.c monitor_mm.c monitor.c \ auth2-none.c auth2-passwd.c auth2-pubkey.c \ auth2-hostbased.c auth2-kbdint.c .if (${USE_KERBEROS} != "no") CPPFLAGS+=-DKRB5 -DAFS -I${DESTDIR}/usr/include/krb5 SRCS+= auth-krb5.c LDADD+= -lkrb5 -lkafs -lasn1 DPADD+= ${LIBKRB5} ${LIBKAFS} ${LIBASN1} CPPFLAGS+=-DKRB4 -I${DESTDIR}/usr/include/kerberosIV CPPFLAGS+=-DSUPPORT_UTMP -DSUPPORT_UTMPX SRCS+= auth-krb4.c LDADD+= -lkrb -lcom_err -lroken DPADD+= ${LIBKRB} ${LIBCOM_ERR} ${LIBROKEN} .endif .include LDADD+= -lcrypt -lcrypto -lutil -lz DPADD+= ${LIBCRYPT} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} CPPFLAGS+=-DLIBWRAP LDADD+= -lwrap DPADD+= ${LIBWRAP} .if (${USE_SKEY} != "no") CPPFLAGS+=-DSKEY LDADD+= -lskey DPADD+= ${LIBSKEY} .endif