]> git.cameronkatri.com Git - pw-darwin.git/blobdiff - pw/Makefile
backout remove of -q option for pw [user|group] next
[pw-darwin.git] / pw / Makefile
index 7b630dd12cc413991cf4ed9c55ab8d399cdf618b..4bcf6917ff134e8be1fc5931cdfac74335238f5d 100644 (file)
@@ -1,18 +1,19 @@
-# $Id: Makefile,v 1.6 1998/09/19 22:42:12 obrien Exp $
+# $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
 
-MAN5=  pw.conf.5
-MAN8=  pw.8
+WARNS?=        3
 
-#RND=  -DUSE_MD5RAND
-CFLAGS+= -W -Wall $(CDB) $(RND)
-LDADD= -lcrypt
-DPADD= ${LIBCRYPT}
+LIBADD=        crypt util sbuf
 
-BINMODE=0555
+.include <src.opts.mk>
+
+.if ${MK_TESTS} != "no"
+SUBDIR+=       tests
+.endif
 
 .include <bsd.prog.mk>