Makefile (255386) | Makefile (255460) |
---|---|
1# $FreeBSD: head/secure/usr.sbin/sshd/Makefile 255386 2013-09-08 10:04:26Z des $ 2# | 1# $FreeBSD: head/secure/usr.sbin/sshd/Makefile 255460 2013-09-10 22:26:11Z des $ |
3 4.include <bsd.own.mk> 5 6PROG= sshd 7SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \ 8 audit.c audit-bsm.c audit-linux.c platform.c \ 9 sshpty.c sshlogin.c servconf.c serverloop.c \ 10 auth.c auth1.c auth2.c auth-options.c session.c \ --- 9 unchanged lines hidden (view full) --- 20 sandbox-null.c sandbox-rlimit.c sandbox-systrace.c sandbox-darwin.c 21 22# gss-genr.c really belongs in libssh; see src/secure/lib/libssh/Makefile 23SRCS+= gss-genr.c 24 25MAN= sshd.8 sshd_config.5 26CFLAGS+=-I${SSHDIR} -include ssh_namespace.h 27 | 2 3.include <bsd.own.mk> 4 5PROG= sshd 6SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \ 7 audit.c audit-bsm.c audit-linux.c platform.c \ 8 sshpty.c sshlogin.c servconf.c serverloop.c \ 9 auth.c auth1.c auth2.c auth-options.c session.c \ --- 9 unchanged lines hidden (view full) --- 19 sandbox-null.c sandbox-rlimit.c sandbox-systrace.c sandbox-darwin.c 20 21# gss-genr.c really belongs in libssh; see src/secure/lib/libssh/Makefile 22SRCS+= gss-genr.c 23 24MAN= sshd.8 sshd_config.5 25CFLAGS+=-I${SSHDIR} -include ssh_namespace.h 26 |
28DPADD= ${LIBSSH} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM} 29LDADD= -lssh -lutil -lz -lwrap ${MINUSLPAM} | 27DPADD= ${LIBSSH} ${LIBUTIL} ${LIBWRAP} ${LIBPAM} 28LDADD= -lssh -lutil -lwrap ${MINUSLPAM} |
30USEPRIVATELIB= ssh 31 | 29USEPRIVATELIB= ssh 30 |
31.if ${MK_LDNS} != "no" 32CFLAGS+= -DHAVE_LDNS=1 33#DPADD+= ${LIBLDNS} 34#LDADD+= -lldns 35#USEPRIVATELIB+= ldns 36.endif 37 |
|
32.if ${MK_AUDIT} != "no" 33CFLAGS+= -DUSE_BSM_AUDIT -DHAVE_GETAUDIT_ADDR 34DPADD+= ${LIBBSM} 35LDADD+= -lbsm 36.endif 37 38.if ${MK_KERBEROS_SUPPORT} != "no" | 38.if ${MK_AUDIT} != "no" 39CFLAGS+= -DUSE_BSM_AUDIT -DHAVE_GETAUDIT_ADDR 40DPADD+= ${LIBBSM} 41LDADD+= -lbsm 42.endif 43 44.if ${MK_KERBEROS_SUPPORT} != "no" |
39CFLAGS+= -DGSSAPI -DHAVE_GSSAPI_GSSAPI_H=1 -DHAVE_GSSAPI_GSSAPI_KRB5_H=1 -DKRB5 -DHEIMDAL 40DPADD+= ${LIBGSSAPI_KRB5} ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} 41LDADD+= -lgssapi_krb5 -lgssapi -lkrb5 -lasn1 | 45CFLAGS+= -DGSSAPI -DKRB5 -DHEIMDAL \ 46 -DHAVE_GSSAPI_GSSAPI_H=1 -DHAVE_GSSAPI_GSSAPI_KRB5_H=1 47DPADD+= ${LIBGSSAPI_KRB5} ${LIBGSSAPI} ${LIBKRB5} ${LIBHX509} ${LIBASN1} \ 48 ${LIBCOM_ERR} ${LIBROKEN} ${LIBWIND} ${LIBHEIMBASE} ${LIBHEIMIPCC} 49LDADD+= -lgssapi_krb5 -lgssapi -lkrb5 -lhx509 -lasn1 \ 50 -lcom_err -lroken -lwind -lheimbase -lheimipcc |
42.endif 43 44.if ${MK_OPENSSH_NONE_CIPHER} != "no" 45CFLAGS+= -DNONE_CIPHER_ENABLED 46.endif 47 | 51.endif 52 53.if ${MK_OPENSSH_NONE_CIPHER} != "no" 54CFLAGS+= -DNONE_CIPHER_ENABLED 55.endif 56 |
48DPADD+= ${LIBCRYPTO} ${LIBCRYPT} 49LDADD+= -lcrypto -lcrypt | 57DPADD+= ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ} 58LDADD+= -lcrypt -lcrypto -lz |
50 51.if defined(LOCALBASE) 52CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\" 53.endif 54 55.include <bsd.prog.mk> 56 57.PATH: ${SSHDIR} 58 59${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h | 59 60.if defined(LOCALBASE) 61CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\" 62.endif 63 64.include <bsd.prog.mk> 65 66.PATH: ${SSHDIR} 67 68${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h |