1# $FreeBSD: head/secure/usr.sbin/sshd/Makefile 124242 2004-01-08 09:05:24Z des $
| 1# $FreeBSD: head/secure/usr.sbin/sshd/Makefile 124249 2004-01-08 11:40:19Z 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 uidswap.c \ 7 auth.c auth1.c auth2.c auth-options.c session.c \ 8 auth-chall.c auth2-chall.c groupaccess.c \ 9 auth-skey.c auth-bsdauth.c auth2-hostbased.c auth2-kbdint.c \ 10 auth2-none.c auth2-passwd.c auth2-pubkey.c \ 11 monitor_mm.c monitor.c monitor_wrap.c monitor_fdpass.c \ 12 kexdhs.c kexgexs.c \ 13 auth-krb5.c \ 14 auth2-gss.c gss-serv.c gss-serv-krb5.c \ 15 loginrec.c auth-pam.c auth-sia.c md5crypt.c 16MAN= sshd.8 sshd_config.5 17CFLAGS+=-I${SSHDIR} 18
| 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 uidswap.c \ 7 auth.c auth1.c auth2.c auth-options.c session.c \ 8 auth-chall.c auth2-chall.c groupaccess.c \ 9 auth-skey.c auth-bsdauth.c auth2-hostbased.c auth2-kbdint.c \ 10 auth2-none.c auth2-passwd.c auth2-pubkey.c \ 11 monitor_mm.c monitor.c monitor_wrap.c monitor_fdpass.c \ 12 kexdhs.c kexgexs.c \ 13 auth-krb5.c \ 14 auth2-gss.c gss-serv.c gss-serv-krb5.c \ 15 loginrec.c auth-pam.c auth-sia.c md5crypt.c 16MAN= sshd.8 sshd_config.5 17CFLAGS+=-I${SSHDIR} 18
|
| 19DPADD= ${LIBSSH} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM} 20LDADD= -lssh -lutil -lz -lwrap ${MINUSLPAM} 21
|
19.if !defined(NO_KERBEROS) 20CFLAGS+= -DGSSAPI -DKRB5 -DHEIMDAL 21DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN} 22LDADD+= -lgssapi -lkrb5 -lasn1 -lcom_err -lmd -lroken 23.endif 24 25DPADD+= ${LIBOPIE} ${LIBMD} 26LDADD+= -lopie -lmd 27 28.if defined(X11BASE) 29CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\" 30.endif 31
| 22.if !defined(NO_KERBEROS) 23CFLAGS+= -DGSSAPI -DKRB5 -DHEIMDAL 24DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN} 25LDADD+= -lgssapi -lkrb5 -lasn1 -lcom_err -lmd -lroken 26.endif 27 28DPADD+= ${LIBOPIE} ${LIBMD} 29LDADD+= -lopie -lmd 30 31.if defined(X11BASE) 32CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\" 33.endif 34
|
32DPADD+= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM} 33LDADD+= -lssh -lcrypt -lcrypto -lutil -lz -lwrap ${MINUSLPAM}
| 35DPADD+= ${LIBCRYPT} ${LIBCRYPTO} 36LDADD+= -lcrypt -lcrypto
|
34 35.if defined(OPENSSH_USE_POSIX_THREADS) && !defined(NOLIBC_R) 36CFLAGS+=-DUSE_POSIX_THREADS 37DPADD+= ${LIBC_R} 38LDADD+= -lc_r 39.endif 40 41.include <bsd.prog.mk> 42 43.PATH: ${SSHDIR}
| 37 38.if defined(OPENSSH_USE_POSIX_THREADS) && !defined(NOLIBC_R) 39CFLAGS+=-DUSE_POSIX_THREADS 40DPADD+= ${LIBC_R} 41LDADD+= -lc_r 42.endif 43 44.include <bsd.prog.mk> 45 46.PATH: ${SSHDIR}
|