]> git.cameronkatri.com Git - pw-darwin.git/blobdiff - pw/Makefile
MFhead@r322057
[pw-darwin.git] / pw / Makefile
index c265399730c7d4ccddab22ae1acfcc9376842957..8db96d90f6e229af5e02ab678e8e7552b6be59a7 100644 (file)
@@ -3,7 +3,8 @@
 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 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?=        3
 
@@ -11,8 +12,7 @@ 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>