1 # $NetBSD: Makefile,v 1.31 2008/04/10 15:05:24 tsutsui Exp $
6 MAN
= sshd
.8 sshd_config
.5 moduli
.5
10 SRCS
= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
11 sshpty.c sshlogin.c servconf.c serverloop.c uidswap.c \
12 auth.c auth1.c auth2.c auth-options.c session.c \
13 auth-chall.c auth2-chall.c groupaccess.c \
14 auth-skey.c auth-bsdauth.c auth2-hostbased.c auth2-kbdint.c \
15 auth2-none.c auth2-passwd.c auth2-pubkey.c \
16 monitor_mm.c monitor.c monitor_wrap.c \
17 kexdhs.c kexgexs.c sftp-server.c sftp-common.c
19 .if
(${USE_PAM} != "no")
21 LDADD
+= -lpam
${PAM_STATIC_LDADD}
22 DPADD
+= ${LIBPAM} ${PAM_STATIC_DPADD}
31 .if
(${USE_SKEY} != "no")
36 .
endif # USE_PAM == no
38 .if
(${USE_KERBEROS} != "no")
40 SRCS
+= gss-genr.c auth2-gss.c gss-serv.c gss-serv-krb5.c
41 LDADD
+= -lgssapi
-lheimntlm
42 DPADD
+= ${LIBGSSAPI} ${LIBHEIMNTLM}
47 SRCS
+= auth-krb5.c auth2-krb5.c
49 DPADD
+= ${LIBKRB5} ${LIBASN1}
51 LDADD
+= -lcom_err
-lroken
52 DPADD
+= ${LIBCOM_ERR} ${LIBROKEN}
55 .
include <bsd.prog.mk
>
57 LDADD
+= -lcrypt
-lutil
58 DPADD
+= ${LIBCRYPT} ${LIBUTIL}