No empty .Rs/.Re
[netbsd-mini2440.git] / crypto / external / bsd / openssh / bin / sshd / Makefile
bloba10edc7ca6bb63ea0cb81d574af1b62985fd48aa
1 # $NetBSD: Makefile,v 1.31 2008/04/10 15:05:24 tsutsui Exp $
3 .include <bsd.own.mk>
5 PROG= sshd
6 MAN= sshd.8 sshd_config.5 moduli.5
8 BINDIR= /usr/sbin
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")
20 SRCS+= auth-pam.c
21 LDADD+= -lpam ${PAM_STATIC_LDADD}
22 DPADD+= ${LIBPAM} ${PAM_STATIC_DPADD}
24 .if ${USE_YP} != "no"
25 LDADD+= -lrpcsvc
26 DPADD+= ${LIBRPCSVC}
27 .endif
29 .else # USE_PAM == no
31 .if (${USE_SKEY} != "no")
32 LDADD+= -lskey
33 DPADD+= ${LIBSKEY}
34 .endif
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}
44 LDADD+= -lkafs
45 DPADD+= ${LIBKAFS}
47 SRCS+= auth-krb5.c auth2-krb5.c
48 LDADD+= -lkrb5 -lasn1
49 DPADD+= ${LIBKRB5} ${LIBASN1}
51 LDADD+= -lcom_err -lroken
52 DPADD+= ${LIBCOM_ERR} ${LIBROKEN}
53 .endif
55 .include <bsd.prog.mk>
57 LDADD+= -lcrypt -lutil
58 DPADD+= ${LIBCRYPT} ${LIBUTIL}
60 LDADD+= -lwrap
61 DPADD+= ${LIBWRAP}