]> git.cameronkatri.com Git - pw-darwin.git/blobdiff - pw/Makefile
Add HAS_TESTS to all Makefiles that are currently using the
[pw-darwin.git] / pw / Makefile
index 8c5acf901d1c595a44ae235da9924332076b6ea9..8db96d90f6e229af5e02ab678e8e7552b6be59a7 100644 (file)
@@ -3,18 +3,16 @@
 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 psdate.c \
-       bitmap.c cpdir.c rm_r.c
+       grupd.c pwupd.c psdate.c bitmap.c cpdir.c rm_r.c strtounum.c \
+       pw_utils.c
 
-WARNS?=        2
+WARNS?=        3
 
-DPADD= ${LIBCRYPT} ${LIBUTIL}
-LDADD= -lcrypt -lutil
+LIBADD=        crypt util sbuf
 
 .include <src.opts.mk>
 
-.if ${MK_TESTS} != "no"
-SUBDIR+=       tests
-.endif
+HAS_TESTS=
+SUBDIR.${MK_TESTS}+= tests
 
 .include <bsd.prog.mk>