]> git.cameronkatri.com Git - pw-darwin.git/blobdiff - pw/Makefile
Cleanup a bit includes
[pw-darwin.git] / pw / Makefile
index fbd614f02bbef1bf40c39600fb0759ea70f6af6c..f26c9de540e91742ba45ddf7c0723cd6bda5da15 100644 (file)
@@ -1,18 +1,19 @@
-# $Id$
+# $FreeBSD$
 
 PROG=  pw
-SRCS=  pw.c pw_conf.c pw_user.c pw_group.c pw_log.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
-       
-CFLAGS+= -Wall $(CDB)
-LDADD= -lcrypt
-DPADD= ${LIBCRYPT}
+WARNS?=        3
 
-BINOWN=        root
-BINMODE=0555
+LIBADD=        crypt util sbuf
+
+.include <src.opts.mk>
+
+.if ${MK_TESTS} != "no"
+SUBDIR+=       tests
+.endif
 
 .include <bsd.prog.mk>