]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - secure/usr.sbin/sshd/Makefile
This commit was generated by cvs2svn to compensate for changes in r175261,
[FreeBSD/FreeBSD.git] / secure / usr.sbin / sshd / Makefile
1 # $FreeBSD$
2 #
3
4 .include <bsd.own.mk>
5
6 PROG=   sshd
7 SRCS=   sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
8         sshpty.c sshlogin.c servconf.c serverloop.c \
9         auth.c auth1.c auth2.c auth-options.c session.c \
10         auth-chall.c auth2-chall.c groupaccess.c \
11         auth-skey.c auth-bsdauth.c auth2-hostbased.c auth2-kbdint.c \
12         auth2-none.c auth2-passwd.c auth2-pubkey.c \
13         monitor_mm.c monitor.c monitor_wrap.c kexdhs.c kexgexs.c \
14         auth-krb5.c \
15         auth2-gss.c gss-serv.c gss-serv-krb5.c \
16         loginrec.c auth-pam.c auth-shadow.c auth-sia.c md5crypt.c \
17         audit.c audit-bsm.c platform.c \
18         gss-genr.c
19
20 # gss-genr.c really belongs in libssh; see src/secure/lib/libssh/Makefile
21
22 MAN=    sshd.8 sshd_config.5
23 CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
24
25 DPADD=  ${LIBSSH} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM}
26 LDADD=  -lssh -lutil -lz -lwrap ${MINUSLPAM}
27
28 .if ${MK_AUDIT} != "no"
29 CFLAGS+= -DUSE_BSM_AUDIT
30 DPADD+=  ${LIBBSM}
31 LDADD+=  -lbsm
32 .endif
33
34 .if ${MK_KERBEROS_SUPPORT} != "no"
35 CFLAGS+= -DGSSAPI -DHAVE_GSSAPI_GSSAPI_H=1 -DKRB5 -DHEIMDAL
36 DPADD+=  ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN}
37 LDADD+=  -lgssapi -lkrb5 -lasn1 -lcom_err -lroken
38 .endif
39
40 .if defined(X11BASE)
41 CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\"
42 .endif
43
44 DPADD+= ${LIBCRYPTO} ${LIBCRYPT}
45 LDADD+= -lcrypto -lcrypt
46
47 .include <bsd.prog.mk>
48
49 .PATH:  ${SSHDIR}
50
51 ${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h