1995-03-26 08:55:22 +04:00
|
|
|
# $NetBSD: Makefile,v 1.5 1995/03/26 04:55:22 glass Exp $
|
|
|
|
# @(#)Makefile 8.2 (Berkeley) 4/2/94
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
PROG= chpass
|
1993-06-11 04:34:38 +04:00
|
|
|
SRCS= chpass.c edit.c field.c pw_copy.c pw_scan.c pw_util.c pw_yp.c table.c util.c getpwent.c
|
1993-03-21 12:45:37 +03:00
|
|
|
BINOWN= root
|
|
|
|
BINMODE=4555
|
1993-06-11 04:34:38 +04:00
|
|
|
.PATH: ${.CURDIR}/../../usr.sbin/pwd_mkdb ${.CURDIR}/../../usr.sbin/vipw \
|
|
|
|
${.CURDIR}/../../lib/libc/gen
|
1995-03-26 08:55:22 +04:00
|
|
|
CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../usr.sbin/vipw
|
1993-03-21 12:45:37 +03:00
|
|
|
LINKS= ${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh
|
|
|
|
MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
|
1993-06-11 04:34:38 +04:00
|
|
|
CFLAGS+=-DYP
|
|
|
|
DPADD+= ${LIBRPCSVC}
|
|
|
|
LDADD+= -lrpcsvc
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
1993-06-11 04:34:38 +04:00
|
|
|
|
|
|
|
getpwent.o: getpwent.c
|
1995-01-08 02:07:03 +03:00
|
|
|
${COMPILE.c} -UYP ${.IMPSRC}
|