1 # $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.5.2.9 2003/02/03 17:31:12 des Exp $
2 # $DragonFly: src/secure/usr.sbin/sshd/Makefile,v 1.3 2003/08/05 07:45:43 asmodai Exp $
6 SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
7 sshpty.c sshlogin.c servconf.c serverloop.c uidswap.c \
8 auth.c auth1.c auth2.c auth-options.c session.c \
9 auth-chall.c auth2-chall.c groupaccess.c \
10 auth-skey.c auth-bsdauth.c monitor_mm.c monitor.c \
11 auth2-none.c auth2-passwd.c auth2-pubkey.c \
12 auth2-hostbased.c auth2-kbdint.c \
13 auth2-pam-freebsd.c monitor_wrap.c monitor_fdpass.c
16 MAN= sshd.8 sshd_config.5
19 .if defined(MAKE_KERBEROS5)
21 CFLAGS+= -DKRB5 -DHEIMDAL
23 LDADD+= -lkrb5 -lasn1 -lcom_err -lmd -L${.OBJDIR}/../../../kerberos5/lib/libroken -lroken
24 DPADD+= ${LIBKRB5} ${LIBCOM_ERR} ${LIBASN1} ${LIBMD}
28 DPADD+= ${LIBOPIE} ${LIBMD}
31 CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\"
34 LDADD+= -lssh -lcrypt -lcrypto -lutil -lz -lwrap ${MINUSLPAM}
35 DPADD+= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM}
37 .if defined(OPENSSH_USE_POSIX_THREADS) && !defined(NOLIBC_R)
38 CFLAGS+=-DUSE_POSIX_THREADS
43 .include <bsd.prog.mk>