freebsd-dev/usr.bin/login/Makefile
Mark Murray 5bc9d93db3 Add full PAM support for account management and sessions.
The PAM_FAIL_CHECK and PAM_END macros in su.c came from the util-linux
package's PAM patches to the BSD login.c

Submitted by:	"David J. MacKenzie" <djm@web.us.uu.net>
2001-03-27 19:40:51 +00:00

24 lines
395 B
Makefile

# From: @(#)Makefile 8.1 (Berkeley) 7/19/93
# $FreeBSD$
PROG= login
SRCS= login.c login_access.c login_fbtab.c
MAN= login.1 login.access.5
CFLAGS+=-Wall -DLOGIN_ACCESS -DLOGALL
DPADD= ${LIBUTIL} ${LIBCRYPT}
LDADD= -lutil -lcrypt
.if !defined(NOPAM)
CFLAGS+= -DUSE_PAM
DPADD+= ${LIBPAM}
LDADD+= ${MINUSLPAM}
.endif
BINMODE=4555
INSTALLFLAGS=-fschg
NEED_LIBNAMES= yes
.include <bsd.prog.mk>