aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-02-11 18:20:06 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-02-11 18:20:06 +0000
commit279c49616df5c8b9f86e6b52c3c281e74c63eb79 (patch)
treeb78834a3aea87a978dabe278c801914994c246cf
parentcc01ee1e516b8fccecbaf7d45c1cdac203f4b65b (diff)
downloadsrc-279c49616df5c8b9f86e6b52c3c281e74c63eb79.tar.gz
src-279c49616df5c8b9f86e6b52c3c281e74c63eb79.zip
Merge with eBones stuff
Submitted by: mark@grondar.za
Notes
Notes: svn path=/head/; revision=6314
-rw-r--r--usr.bin/passwd/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/usr.bin/passwd/Makefile b/usr.bin/passwd/Makefile
index 40ac4564b191..f9d929abf136 100644
--- a/usr.bin/passwd/Makefile
+++ b/usr.bin/passwd/Makefile
@@ -1,5 +1,5 @@
# From: @(#)Makefile 8.3 (Berkeley) 4/2/94
-# $Id: Makefile,v 1.6 1995/01/19 21:03:48 wollman Exp $
+# $Id: Makefile,v 1.9 1995/02/01 23:46:20 wpaul Exp $
PROG= passwd
SRCS= local_passwd.c yp_passwd.c yppasswd_xdr.c passwd.c pw_copy.c pw_util.c
@@ -17,6 +17,18 @@ INSTALLFLAGS=-fschg
MAN1=passwd.1 yppasswd.1
MLINKS=yppasswd.1 ypchsh.1 yppasswd.1 ypchpass.1 yppasswd.1 ypchfn.1
+.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_EBONES))
+SRCS+= kpasswd.c
+.PATH: ${.CURDIR}/../../usr.bin/chpass ${.CURDIR}/../../usr.sbin/vipw \
+ ${.CURDIR}/../../usr.bin/rlogin ${.CURDIR}/../../usr.bin/passwd \
+ ${.CURDIR}/../../eBones/passwd
+
+CFLAGS+= -DKERBEROS \
+ -I${.CURDIR}/../../eBones/include \
+ -I${.CURDIR}/../../eBones/libkadm
+LDADD= -lkadm -lkrb -ldes -lcrypt -lcom_err
+.endif
+
afterinstall: symlinks
symlinks: passwd