freebsd-nq/usr.bin/passwd/Makefile
Bill Paul 87a8966828 Cleaned up Makefile a little, added man page links from ypchsh.1 ypchfn.1
and ypchpass.1 to yppasswd.1. Also fixed a typo: ypshfn != ypchfn.
1995-02-01 23:46:20 +00:00

29 lines
869 B
Makefile

# From: @(#)Makefile 8.3 (Berkeley) 4/2/94
# $Id: Makefile,v 1.6 1995/01/19 21:03:48 wollman Exp $
PROG= passwd
SRCS= local_passwd.c yp_passwd.c yppasswd_xdr.c passwd.c pw_copy.c pw_util.c
LDADD= -lcrypt
.PATH: ${.CURDIR}/../../usr.bin/chpass ${.CURDIR}/../../usr.sbin/vipw \
${.CURDIR}/../rlogin ${.CURDIR}/../../gnu/usr.sbin/yppasswdd
CFLAGS+=-DCRYPT -DYP -I${.CURDIR} -I${.CURDIR}/../../usr.sbin/vipw \
-I${.CURDIR}/../../usr.bin/chpass \
-I${.CURDIR}/../../gnu/usr.sbin/yppasswdd
BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg
MAN1=passwd.1 yppasswd.1
MLINKS=yppasswd.1 ypchsh.1 yppasswd.1 ypchpass.1 yppasswd.1 ypchfn.1
afterinstall: symlinks
symlinks: passwd
ln -sf ${BINDIR}/passwd ${BINDIR}/yppasswd
ln -sf ${BINDIR}/passwd ${BINDIR}/ypchsh
ln -sf ${BINDIR}/passwd ${BINDIR}/ypchfn
ln -sf ${BINDIR}/passwd ${BINDIR}/ypchpass
.include <bsd.prog.mk>