Merge with eBones stuff

Submitted by: mark@grondar.za
This commit is contained in:
Andrey A. Chernov 1995-02-11 18:20:06 +00:00
parent cc01ee1e51
commit 279c49616d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6314

View File

@ -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