1# $FreeBSD: head/secure/usr.sbin/sshd/Makefile 93221 2002-03-26 12:52:28Z ru $
| 1# $FreeBSD: head/secure/usr.sbin/sshd/Makefile 95509 2002-04-26 17:55:27Z ru $
|
2# 3 4PROG= sshd 5SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \ 6 sshpty.c sshlogin.c servconf.c serverloop.c \ 7 auth.c auth1.c auth2.c auth-options.c session.c \ 8 auth-chall.c auth2-chall.c auth-skey.c auth-pam.c auth2-pam.c \ 9 groupaccess.c 10MAN= sshd.8 11 12CFLAGS+= -DLIBWRAP -DHAVE_LOGIN_CAP -DUSE_PAM -DHAVE_PAM_GETENVLIST 13
| 2# 3 4PROG= sshd 5SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \ 6 sshpty.c sshlogin.c servconf.c serverloop.c \ 7 auth.c auth1.c auth2.c auth-options.c session.c \ 8 auth-chall.c auth2-chall.c auth-skey.c auth-pam.c auth2-pam.c \ 9 groupaccess.c 10MAN= sshd.8 11 12CFLAGS+= -DLIBWRAP -DHAVE_LOGIN_CAP -DUSE_PAM -DHAVE_PAM_GETENVLIST 13
|
14.if defined(MAKE_KERBEROS4) && \ 15 ((${MAKE_KERBEROS4} == "yes") || (${MAKE_KERBEROS4} == "YES"))
| 14.if defined(MAKE_KERBEROS4)
|
16DISTRIBUTION=krb4 17CFLAGS+= -DKRB4 18SRCS+= auth-krb4.c 19LDADD+= -lkrb -lcom_err 20DPADD+= ${LIBKRB} ${LIBCOM_ERR}
| 15DISTRIBUTION=krb4 16CFLAGS+= -DKRB4 17SRCS+= auth-krb4.c 18LDADD+= -lkrb -lcom_err 19DPADD+= ${LIBKRB} ${LIBCOM_ERR}
|
21.endif # MAKE_KERBEROS4
| 20.endif
|
22
| 21
|
23.if defined(MAKE_KERBEROS5) && \ 24 ((${MAKE_KERBEROS5} == "yes") || (${MAKE_KERBEROS5} == "YES"))
| 22.if defined(MAKE_KERBEROS5)
|
25DISTRIBUTION=krb5 26CFLAGS+= -DKRB5 27SRCS+= auth-krb5.c 28LDADD+= -lkrb5 -lasn1 -lcom_err -lmd -L${.OBJDIR}/../../../kerberos5/lib/libroken -lroken 29DPADD+= ${LIBKRB5} ${LIBCOM_ERR} ${LIBASN1} ${LIBMD}
| 23DISTRIBUTION=krb5 24CFLAGS+= -DKRB5 25SRCS+= auth-krb5.c 26LDADD+= -lkrb5 -lasn1 -lcom_err -lmd -L${.OBJDIR}/../../../kerberos5/lib/libroken -lroken 27DPADD+= ${LIBKRB5} ${LIBCOM_ERR} ${LIBASN1} ${LIBMD}
|
30.endif # MAKE_KERBEROS5
| 28.endif
|
31 32CFLAGS+= -DSKEY 33LDADD+= -lopie -lmd 34DPADD+= ${LIBOPIE} ${LIBMD} 35 36.if defined(X11BASE) 37CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\" 38.endif 39 40LDADD+= -lssh -lcrypt -lcrypto -lutil -lz -lwrap ${MINUSLPAM} 41DPADD+= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM} 42 43.include <bsd.prog.mk> 44 45.PATH: ${SSHDIR}
| 29 30CFLAGS+= -DSKEY 31LDADD+= -lopie -lmd 32DPADD+= ${LIBOPIE} ${LIBMD} 33 34.if defined(X11BASE) 35CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\" 36.endif 37 38LDADD+= -lssh -lcrypt -lcrypto -lutil -lz -lwrap ${MINUSLPAM} 39DPADD+= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM} 40 41.include <bsd.prog.mk> 42 43.PATH: ${SSHDIR}
|