1# $OpenBSD: Makefile,v 1.42 2024/01/22 21:07:10 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} -DFORCE_DBOPEN 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