diff options
| author | Christian S.J. Peron <csjp@FreeBSD.org> | 2006-12-13 06:13:32 +0000 |
|---|---|---|
| committer | Christian S.J. Peron <csjp@FreeBSD.org> | 2006-12-13 06:13:32 +0000 |
| commit | 0c59c145edb2403bc0bb9dda12d5b8d09ff6dfd2 (patch) | |
| tree | 767fd550a2d64bab44f513680d367afa1a9f05ab /usr.bin/login/Makefile | |
| parent | 812403402e0bc2165c03e37c6f657c7405f95c15 (diff) | |
Notes
Diffstat (limited to 'usr.bin/login/Makefile')
| -rw-r--r-- | usr.bin/login/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/usr.bin/login/Makefile b/usr.bin/login/Makefile index 8a2daa3bd976..22c73b9993d9 100644 --- a/usr.bin/login/Makefile +++ b/usr.bin/login/Makefile @@ -4,10 +4,17 @@ .include <bsd.own.mk> PROG= login -SRCS= login.c login_audit.c login_fbtab.c +SRCS= login.c login_fbtab.c CFLAGS+=-DLOGALL -DPADD= ${LIBUTIL} ${LIBPAM} ${LIBBSM} -LDADD= -lutil ${MINUSLPAM} -lbsm +DPADD= ${LIBUTIL} ${LIBPAM} +LDADD= -lutil ${MINUSLPAM} + +.if ${MK_AUDIT} != "no" +SRCS+= login_audit.c +CFLAGS+= -DUSE_BSM_AUDIT +DPADD+= ${LIBBSM} +LDADD+= -lbsm +.endif .if ${MK_SETUID_LOGIN} != "no" BINOWN= root |
