]> 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 c752a610b607476be6151ef83a299c54f94107d7..8db96d90f6e229af5e02ab678e8e7552b6be59a7 100644 (file)
@@ -1,19 +1,18 @@
-# $Id: Makefile,v 1.2 1996/12/17 14:15:33 davidn Exp $
+# $FreeBSD$
 
 PROG=  pw
-SRCS=  pw.c pw_conf.c pw_user.c pw_group.c pw_log.c pw_nis.c \
-       grupd.c pwupd.c fileupd.c edgroup.c psdate.c \
-       bitmap.c cpdir.c rm_r.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 psdate.c bitmap.c cpdir.c rm_r.c strtounum.c \
+       pw_utils.c
 
-MAN5=  pw.conf.5
-MAN8=  pw.8
+WARNS?=        3
 
-#RND=  -DUSE_MD5RAND
-CFLAGS+= -Wall $(CDB) $(RND)
-LDADD= -lcrypt
-DPADD= ${LIBCRYPT}
+LIBADD=        crypt util sbuf
 
-BINOWN=        root
-BINMODE=0555
+.include <src.opts.mk>
+
+HAS_TESTS=
+SUBDIR.${MK_TESTS}+= tests
 
 .include <bsd.prog.mk>