20 lines
586 B
Makefile
20 lines
586 B
Makefile
# from: @(#)Makefile 5.5 (Berkeley) 2/19/91
|
|
# $Id: Makefile,v 1.3 1993/07/31 15:25:07 mycroft Exp $
|
|
|
|
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
|
|
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
|
|
${CC} ${CFLAGS} -UYP -c ${.IMPSRC}
|