1# $OpenBSD: Makefile,v 1.58 2003/07/16 19:10:13 deraadt Exp $ 2 3.PATH: ${.CURDIR}/.. 4 5PROG= sshd 6BINOWN= root 7BINMODE=555 8BINDIR= /usr/sbin 9MAN= sshd.8 sshd_config.5 10CFLAGS+=-DHAVE_LOGIN_CAP -DBSD_AUTH 11 12SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \ 13 sshpty.c sshlogin.c servconf.c serverloop.c uidswap.c \ 14 auth.c auth1.c auth2.c auth-options.c session.c \ 15 auth-chall.c auth2-chall.c groupaccess.c \ 16 auth-skey.c auth-bsdauth.c auth2-hostbased.c auth2-kbdint.c \ 17 auth2-none.c auth2-passwd.c auth2-pubkey.c \ 18 monitor_mm.c monitor.c monitor_wrap.c monitor_fdpass.c \ 19 kexdhs.c kexgexs.c 20 21.include <bsd.own.mk> # for KERBEROS and AFS 22 23.if (${KERBEROS5:L} == "yes") 24CFLAGS+=-DKRB5 -I${DESTDIR}/usr/include/kerberosV 25SRCS+= auth-krb5.c auth2-krb5.c 26DPADD+= ${LIBKRB5} ${LIBASN1} 27LDADD+= -lkrb5 -lasn1 28.endif # KERBEROS5 29 30.include <bsd.prog.mk> 31 32DPADD+= ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} ${LIBDES} 33LDADD+= -lcrypto -lutil -lz -ldes 34 35.if (${TCP_WRAPPERS:L} == "yes") 36CFLAGS+= -DLIBWRAP 37DPADD+= ${LIBWRAP} 38LDADD+= -lwrap 39.endif 40 41#.if (${SKEY:L} == "yes") 42#CFLAGS+= -DSKEY 43#DPADD+= ${SKEY} 44#LDADD+= -lskey 45#.endif 46