summaryrefslogtreecommitdiffstats
path: root/usr.bin/login/Makefile
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1997-09-28 08:57:24 +0000
committermarkm <markm@FreeBSD.org>1997-09-28 08:57:24 +0000
commit991f2e7747012b7a3ac9aaefb97e4ccbb4125789 (patch)
tree544fbda0330e990e150c4b3c6b3277caf457742f /usr.bin/login/Makefile
parent9a65690bbfef5ffb763f038713e5be5aee18fe55 (diff)
downloadFreeBSD-src-991f2e7747012b7a3ac9aaefb97e4ccbb4125789.zip
FreeBSD-src-991f2e7747012b7a3ac9aaefb97e4ccbb4125789.tar.gz
Changes for KTH KerberosIV.
Also quieten -Wall a bit.
Diffstat (limited to 'usr.bin/login/Makefile')
-rw-r--r--usr.bin/login/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/usr.bin/login/Makefile b/usr.bin/login/Makefile
index ad1003c..6bbe886 100644
--- a/usr.bin/login/Makefile
+++ b/usr.bin/login/Makefile
@@ -1,5 +1,5 @@
# From: @(#)Makefile 8.1 (Berkeley) 7/19/93
-# $Id: Makefile,v 1.17 1997/09/05 12:00:01 peter Exp $
+# $Id$
PROG= login
MAN1= login.1
@@ -9,22 +9,16 @@ SRCS= login.c login_access.c login_fbtab.c
#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)
+CFLAGS+=-Wall -DSKEY -DLOGIN_ACCESS -DLOGALL -DLOGIN_CAP $(LC_AUTH)
.if defined(KLOGIN_PARANOID)
CFLAGS+=-DKLOGIN_PARANOID
.endif
-DPADD= ${LIBUTIL} ${LIBSKEY} ${LIBCRYPT}
-LDADD= -lutil -lskey -lcrypt
+DPADD= ${LIBUTIL} ${LIBSKEY} ${LIBMD} ${LIBCRYPT}
+LDADD= -lutil -lskey -lmd -lcrypt
-# have to provide libmd.a for libskey.so to use.
-.if ${BINFORMAT} != elf
-DPADD+= ${LIBMD}
-LDADD+= -lmd
-.endif
-
-.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_EBONES) && !defined(LC_AUTH)
+.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4) && !defined(LC_AUTH)
CFLAGS+=-DKERBEROS
SRCS+= klogin.c
DPADD+= ${LIBKRB} ${LIBDES}
OpenPOWER on IntegriCloud