summaryrefslogtreecommitdiffstats
path: root/usr.bin/login/Makefile
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-08-30 11:27:36 +0000
committermarkm <markm@FreeBSD.org>2001-08-30 11:27:36 +0000
commita09c0b5da3faec1491ed3e3e6ffd31c256974c73 (patch)
tree9764b0c770c3e7a139477c48e4bc0278b31d5c70 /usr.bin/login/Makefile
parent0c489177928186c0db9ce676ce6608044d6a849c (diff)
downloadFreeBSD-src-a09c0b5da3faec1491ed3e3e6ffd31c256974c73.zip
FreeBSD-src-a09c0b5da3faec1491ed3e3e6ffd31c256974c73.tar.gz
Like su(1), make PAM use mandatory. Remove parts of the authentication
logic that are handled by PAM. Fix documentation to reflect this.
Diffstat (limited to 'usr.bin/login/Makefile')
-rw-r--r--usr.bin/login/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/usr.bin/login/Makefile b/usr.bin/login/Makefile
index 970e591..9ed8603 100644
--- a/usr.bin/login/Makefile
+++ b/usr.bin/login/Makefile
@@ -5,16 +5,10 @@ PROG= login
SRCS= login.c login_access.c login_fbtab.c
MAN= login.1 login.access.5
-CFLAGS+=-Wall -DLOGIN_ACCESS -DLOGALL
+CFLAGS+=-DLOGIN_ACCESS -DLOGALL
-DPADD= ${LIBUTIL} ${LIBCRYPT}
-LDADD= -lutil -lcrypt
-
-.if !defined(NOPAM)
-CFLAGS+= -DUSE_PAM
-DPADD+= ${LIBPAM}
-LDADD+= ${MINUSLPAM}
-.endif
+DPADD= ${LIBUTIL} ${LIBCRYPT} ${LIBPAM}
+LDADD= -lutil -lcrypt ${MINUSLPAM}
BINMODE=4555
INSTALLFLAGS=-fschg
OpenPOWER on IntegriCloud