Annotation of src/usr.bin/chpass/Makefile, Revision 1.9
1.9 ! espie 1: # $OpenBSD: Makefile,v 1.8 2000/09/03 18:41:17 espie Exp $
1.1 deraadt 2:
1.4 deraadt 3: .include <bsd.own.mk>
4:
1.1 deraadt 5: PROG= chpass
1.2 deraadt 6: SRCS= chpass.c edit.c field.c pw_yp.c table.c util.c getpwent.c
1.1 deraadt 7: BINOWN= root
8: BINMODE=4555
1.2 deraadt 9: .PATH: ${.CURDIR}/../../lib/libc/gen
1.1 deraadt 10: LINKS= ${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh
11: MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
1.8 espie 12: .if (${YP:L} == "yes")
1.5 tholo 13: CFLAGS+=-DYP -I${.CURDIR}/../../lib/libc/yp
1.4 deraadt 14: .endif
1.2 deraadt 15: DPADD+= ${LIBRPCSVC} ${LIBUTIL}
16: LDADD+= -lrpcsvc -lutil
1.1 deraadt 17:
18: .include <bsd.prog.mk>
19:
20: getpwent.o: getpwent.c
1.9 ! espie 21: ${COMPILE.c} -UYP ${.CURDIR}/getpwent.c