freebsd-dev/usr.bin/login/Makefile

36 lines
684 B
Makefile
Raw Normal View History

# @(#)Makefile 8.1 (Berkeley) 7/19/93
1999-08-28 01:08:13 +00:00
# $FreeBSD$
1994-05-27 12:33:43 +00:00
.include <src.opts.mk>
CONFS= fbtab login.conf motd.template login.access
1994-05-27 12:33:43 +00:00
PROG= login
SRCS= login.c login_fbtab.c
CFLAGS+=-DLOGALL
LIBADD= util pam
CAP_MKDB_CMD?= cap_mkdb
WARNS?= 5
.if ${MK_AUDIT} != "no"
SRCS+= login_audit.c
CFLAGS+= -DUSE_BSM_AUDIT
LIBADD+= bsm
.endif
.if ${MK_SETUID_LOGIN} != "no"
BINOWN= root
BINMODE=4555
PRECIOUSPROG=
.endif
1994-05-27 12:33:43 +00:00
.include <bsd.endian.mk>
afterinstallconfig:
${CAP_MKDB_CMD} ${CAP_MKDB_ENDIAN} ${DESTDIR}/etc/login.conf
.if defined(NO_ROOT) && defined(METALOG)
echo "./etc/login.conf.db type=file mode=0644 uname=root gname=wheel" | \
cat -l >> ${METALOG}
.endif
1994-05-27 12:33:43 +00:00
.include <bsd.prog.mk>