summaryrefslogtreecommitdiffstats
path: root/usr.bin/login/Makefile
diff options
context:
space:
mode:
authordavidn <davidn@FreeBSD.org>1997-01-11 07:16:35 +0000
committerdavidn <davidn@FreeBSD.org>1997-01-11 07:16:35 +0000
commit95ffdc288ece8dd0c544bca931302f826a351bf5 (patch)
treefdf736662256debbf0130a756ccf8d4252a28738 /usr.bin/login/Makefile
parent28348225e5d0c64129b52fd69842b86a2bed19ef (diff)
downloadFreeBSD-src-95ffdc288ece8dd0c544bca931302f826a351bf5.zip
FreeBSD-src-95ffdc288ece8dd0c544bca931302f826a351bf5.tar.gz
Makes login login_cap-savvy.
Note that LOGIN_CAP_AUTH code (login authentication) is not (yet) enabled and requires /usr/libexec/login_<style> authentication program support to be added at a later date. The Makefile contains a macro LC_AUTH to turn it on and prevent unnecessarily linking against skey/krb libs and the addition of klogin.c module. All other aspects of login_cap support are fully functional.
Diffstat (limited to 'usr.bin/login/Makefile')
-rw-r--r--usr.bin/login/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.bin/login/Makefile b/usr.bin/login/Makefile
index 9b9a7ed..4444828 100644
--- a/usr.bin/login/Makefile
+++ b/usr.bin/login/Makefile
@@ -1,12 +1,15 @@
# From: @(#)Makefile 8.1 (Berkeley) 7/19/93
-# $Id: Makefile,v 1.12 1995/03/18 17:18:15 nate Exp $
+# $Id: Makefile,v 1.13 1995/05/30 06:31:25 rgrimes Exp $
PROG= login
MAN1= login.1
MAN5= login.access.5
SRCS= login.c login_access.c login_fbtab.c
-CFLAGS+=-DLOGIN_ACCESS -DSKEY -DLOGALL
+#Uncomment to activate login_auth
+#Warning: requires src/libexec/login_* auth modules
+#LC_AUTH=-DLOGIN_CAP_AUTH
+CFLAGS+=-DSKEY -DLOGIN_ACCESS -DLOGALL -DLOGIN_CAP $(LC_AUTH)
.if defined(KLOGIN_PARANOID)
CFLAGS+=-DKLOGIN_PARANOID
@@ -15,7 +18,7 @@ CFLAGS+=-DKLOGIN_PARANOID
DPADD= ${LIBUTIL} ${LIBSKEY} ${LIBMD} ${LIBCRYPT}
LDADD= -lutil -lskey -lmd -lcrypt
-.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_EBONES)
+.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_EBONES) && !defined(LC_AUTH)
CFLAGS+=-DKERBEROS
SRCS+= klogin.c
DPADD+= ${LIBKRB} ${LIBDES}
OpenPOWER on IntegriCloud