diff options
Diffstat (limited to 'secure/usr.sbin/sshd/Makefile')
-rw-r--r-- | secure/usr.sbin/sshd/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/secure/usr.sbin/sshd/Makefile b/secure/usr.sbin/sshd/Makefile index 0e23288..7567505 100644 --- a/secure/usr.sbin/sshd/Makefile +++ b/secure/usr.sbin/sshd/Makefile @@ -1,6 +1,8 @@ # $FreeBSD$ # +.include <bsd.own.mk> + PROG= sshd SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \ sshpty.c sshlogin.c servconf.c serverloop.c \ @@ -23,13 +25,13 @@ CFLAGS+=-I${SSHDIR} DPADD= ${LIBSSH} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM} LDADD= -lssh -lutil -lz -lwrap ${MINUSLPAM} -.if !defined(NO_AUDIT) +.if ${MK_AUDIT} != "no" CFLAGS+= -DUSE_BSM_AUDIT DPADD+= ${LIBBSM} LDADD+= -lbsm .endif -.if !defined(NO_KERBEROS) +.if ${MK_KERBEROS_SUPPORT} != "no" CFLAGS+= -DGSSAPI -DHAVE_GSSAPI_GSSAPI_H=1 -DKRB5 -DHEIMDAL DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN} LDADD+= -lgssapi -lkrb5 -lasn1 -lcom_err -lroken |