xref: /openbsd/usr.bin/passwd/Makefile (revision 5af055cd)
1#	$OpenBSD: Makefile,v 1.41 2015/11/26 19:01:47 deraadt Exp $
2
3.include <bsd.own.mk>
4
5PROG=	passwd
6SRCS=	local_passwd.c passwd.c getpwent.c \
7	pwd_check.c
8.PATH:  ${.CURDIR}/../../lib/libc/gen
9DPADD+= ${LIBRPCSVC} ${LIBUTIL}
10LDADD+= -lrpcsvc -lutil
11CFLAGS+= -I${.CURDIR}
12
13CFLAGS+=-I${.CURDIR}/../../lib/libc/include
14
15BINMODE=4555
16BINOWN=root
17
18getpwent.o: getpwent.c
19	${COMPILE.c} -UYP -D'DEF_WEAK(x)=asm("")' \
20	    ${.CURDIR}/../../lib/libc/gen/getpwent.c
21
22.include <bsd.prog.mk>
23