X-Git-Url: https://git.cameronkatri.com/pw-darwin.git/blobdiff_plain/b1da672b1218212f3151eff39f55f65f6f1bbac0..4c441010ff4830aa1a0bed11a624da42f1e55ccc:/pw/Makefile diff --git a/pw/Makefile b/pw/Makefile index f02e256..8c5acf9 100644 --- a/pw/Makefile +++ b/pw/Makefile @@ -1,18 +1,20 @@ -# $Id: Makefile,v 1.1.1.2 1996/12/09 23:55:12 joerg Exp $ +# $FreeBSD$ PROG= pw -SRCS= pw.c pw_conf.c pw_user.c pw_group.c pw_log.c \ - grupd.c pwupd.c fileupd.c edgroup.c psdate.c \ +MAN= pw.conf.5 pw.8 +SRCS= pw.c pw_conf.c pw_user.c pw_group.c pw_log.c pw_nis.c pw_vpw.c \ + grupd.c pwupd.c fileupd.c psdate.c \ bitmap.c cpdir.c rm_r.c -MAN5= pw.conf.5 -MAN8= pw.8 - -CFLAGS+= -Wall $(CDB) -LDADD= -lcrypt -DPADD= ${LIBCRYPT} +WARNS?= 2 -BINOWN= root -BINMODE=0555 +DPADD= ${LIBCRYPT} ${LIBUTIL} +LDADD= -lcrypt -lutil + +.include <src.opts.mk> + +.if ${MK_TESTS} != "no" +SUBDIR+= tests +.endif .include <bsd.prog.mk>