mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-09 12:46:43 +00:00
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
36 lines
662 B
Makefile
36 lines
662 B
Makefile
|
|
.include <src.opts.mk>
|
|
.include <src.tools.mk>
|
|
|
|
PACKAGE= runtime
|
|
|
|
CONFS= fbtab login.conf motd.template login.access
|
|
PROG= login
|
|
SRCS= login.c login_fbtab.c
|
|
CFLAGS+=-DLOGALL
|
|
LIBADD= util pam
|
|
|
|
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
|
|
|
|
.include <bsd.endian.mk>
|
|
afterinstallconfig:
|
|
${CAP_MKDB_CMD} ${CAP_MKDB_ENDIAN} ${DESTDIR}/etc/login.conf
|
|
.if defined(NO_ROOT) && defined(METALOG)
|
|
echo ".${DISTBASE}/etc/login.conf.db type=file mode=0644 uname=root gname=wheel" | \
|
|
cat -l >> ${METALOG}
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|