summaryrefslogtreecommitdiffstats
path: root/usr.bin/passwd/Makefile
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-02-11 18:20:06 +0000
committerache <ache@FreeBSD.org>1995-02-11 18:20:06 +0000
commit0355a4308c1598200ae62927e936fca37212237d (patch)
treeb78834a3aea87a978dabe278c801914994c246cf /usr.bin/passwd/Makefile
parent1865731df4b8614832897f45a4edf2d5fb6b2cbf (diff)
downloadFreeBSD-src-0355a4308c1598200ae62927e936fca37212237d.zip
FreeBSD-src-0355a4308c1598200ae62927e936fca37212237d.tar.gz
Merge with eBones stuff
Submitted by: mark@grondar.za
Diffstat (limited to 'usr.bin/passwd/Makefile')
-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 40ac456..f9d929a 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
OpenPOWER on IntegriCloud