21 lines
653 B
Makefile
21 lines
653 B
Makefile
# $NetBSD: Makefile,v 1.5 1995/03/26 04:55:22 glass Exp $
|
|
# @(#)Makefile 8.2 (Berkeley) 4/2/94
|
|
|
|
PROG= chpass
|
|
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
|
|
BINOWN= root
|
|
BINMODE=4555
|
|
.PATH: ${.CURDIR}/../../usr.sbin/pwd_mkdb ${.CURDIR}/../../usr.sbin/vipw \
|
|
${.CURDIR}/../../lib/libc/gen
|
|
CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../usr.sbin/vipw
|
|
LINKS= ${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh
|
|
MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
|
|
CFLAGS+=-DYP
|
|
DPADD+= ${LIBRPCSVC}
|
|
LDADD+= -lrpcsvc
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
getpwent.o: getpwent.c
|
|
${COMPILE.c} -UYP ${.IMPSRC}
|