1# $FreeBSD: head/secure/usr.sbin/sshd/Makefile 82484 2001-08-29 07:07:48Z bde $
|
1# $FreeBSD: head/secure/usr.sbin/sshd/Makefile 89705 2002-01-23 15:54:17Z ru $ |
2# 3 4LOGINSRC= ${.CURDIR}/../../../usr.bin/login 5 6PROG= sshd 7SRCS= 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 auth-pam.c login_access.c groupaccess.c 11MAN= sshd.8 12 13CFLAGS+= -DLIBWRAP -DHAVE_LOGIN_CAP -DLOGIN_ACCESS -I${LOGINSRC} -DUSE_PAM -DHAVE_PAM_GETENVLIST 14 15.if defined(MAKE_KERBEROS4) && \ 16 ((${MAKE_KERBEROS4} == "yes") || (${MAKE_KERBEROS4} == "YES")) 17DISTRIBUTION=krb4 18CFLAGS+= -DKRB4 19SRCS+= auth-krb4.c 20LDADD+= -lkrb -lcom_err 21DPADD+= ${LIBKRB} ${LIBCOM_ERR} 22.endif # MAKE_KERBEROS4 23 24.if defined(MAKE_KERBEROS5) && \ 25 ((${MAKE_KERBEROS5} == "yes") || (${MAKE_KERBEROS5} == "YES")) 26DISTRIBUTION=krb5 27CFLAGS+= -DKRB5 28SRCS+= auth-krb5.c 29LDADD+= -lkrb5 -lasn1 -lcom_err -lmd -L${.OBJDIR}/../../../kerberos5/lib/libroken -lroken 30DPADD+= ${LIBKRB5} ${LIBCOM_ERR} ${LIBASN1} ${LIBMD} 31.endif # MAKE_KERBEROS5 32 33CFLAGS+= -DSKEY 34LDADD+= -lopie -lmd 35DPADD+= ${LIBOPIE} ${LIBMD} 36 37.if defined(X11BASE) 38CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\" 39.endif 40
|
41LDADD+= ${LIBSSH} -lcrypt -lcrypto -lutil -lz -lwrap ${MINUSLPAM}
|
41LDADD+= -lssh -lcrypt -lcrypto -lutil -lz -lwrap ${MINUSLPAM} |
42DPADD+= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM} 43 44.include <bsd.prog.mk> 45 46.PATH: ${SSHDIR} ${LOGINSRC}
|