2826da432c
Update login(1), its manual pages, similar utilities, and motd.5 to refer to the new location. Suggested by: delphij@ (re: r349256) Reviewed by: bcr (manpages), delphij Differential Revision: https://reviews.freebsd.org/D20721
36 lines
684 B
Makefile
36 lines
684 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 7/19/93
|
|
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
CONFS= fbtab login.conf motd.template login.access
|
|
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
|
|
|
|
.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
|
|
|
|
.include <bsd.prog.mk>
|