]> git.cameronkatri.com Git - pw-darwin.git/blobdiff - pw/Makefile
Cleanup a bit includes
[pw-darwin.git] / pw / Makefile
index ae0023c6a3232dae958fd3a4335a6140e40ec2dc..f26c9de540e91742ba45ddf7c0723cd6bda5da15 100644 (file)
@@ -3,12 +3,17 @@
 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 \
-       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?=        1
+WARNS?=        3
 
-DPADD= ${LIBCRYPT} ${LIBUTIL}
-LDADD= -lcrypt -lutil
+LIBADD=        crypt util sbuf
+
+.include <src.opts.mk>
+
+.if ${MK_TESTS} != "no"
+SUBDIR+=       tests
+.endif
 
 .include <bsd.prog.mk>