]> git.cameronkatri.com Git - pw-darwin.git/blobdiff - pw/Makefile
Sync to HEAD@r274766
[pw-darwin.git] / pw / Makefile
index 9356963df7ddc3cd8a215a02381605c6e143006e..8c5acf901d1c595a44ae235da9924332076b6ea9 100644 (file)
@@ -1,17 +1,20 @@
 # $FreeBSD$
 
 PROG=  pw
+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 edgroup.c psdate.c \
+       grupd.c pwupd.c fileupd.c psdate.c \
        bitmap.c cpdir.c rm_r.c
 
-MAN=   pw.conf.5 pw.8
+WARNS?=        2
 
-#RND=  -DUSE_MD5RAND
-CFLAGS+= -W -Wall
-LDADD= -lcrypt -lutil
 DPADD= ${LIBCRYPT} ${LIBUTIL}
+LDADD= -lcrypt -lutil
+
+.include <src.opts.mk>
 
-BINMODE=0555
+.if ${MK_TESTS} != "no"
+SUBDIR+=       tests
+.endif
 
 .include <bsd.prog.mk>