2002-04-21 12:43:14 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 7/19/93
|
1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1994-05-27 12:33:43 +00:00
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1994-05-27 12:33:43 +00:00
|
|
|
PROG= login
|
2006-12-13 06:13:32 +00:00
|
|
|
SRCS= login.c login_fbtab.c
|
2002-01-30 19:10:21 +00:00
|
|
|
CFLAGS+=-DLOGALL
|
2006-12-13 06:13:32 +00:00
|
|
|
DPADD= ${LIBUTIL} ${LIBPAM}
|
|
|
|
LDADD= -lutil ${MINUSLPAM}
|
|
|
|
|
2010-01-02 10:27:05 +00:00
|
|
|
WARNS?= 5
|
|
|
|
|
2006-12-13 06:13:32 +00:00
|
|
|
.if ${MK_AUDIT} != "no"
|
|
|
|
SRCS+= login_audit.c
|
|
|
|
CFLAGS+= -DUSE_BSM_AUDIT
|
|
|
|
DPADD+= ${LIBBSM}
|
|
|
|
LDADD+= -lbsm
|
|
|
|
.endif
|
2006-03-06 12:31:25 +00:00
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_SETUID_LOGIN} != "no"
|
2004-02-29 06:39:11 +00:00
|
|
|
BINOWN= root
|
2004-02-27 17:50:59 +00:00
|
|
|
BINMODE=4555
|
2004-11-03 18:01:21 +00:00
|
|
|
PRECIOUSPROG=
|
2004-02-27 17:50:59 +00:00
|
|
|
.endif
|
1994-05-27 12:33:43 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|