summaryrefslogtreecommitdiffstats
path: root/pw/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-10-30 08:00:53 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-10-30 08:00:53 +0000
commit32215e1fded83eb454a0ec2522dbd53877e5a384 (patch)
tree39860234c3deda7de976cccc795de42ae7b0aa77 /pw/Makefile
parent955a095f02cda3bf4ac1e3bd760317addf54b19a (diff)
downloadpw-darwin-32215e1fded83eb454a0ec2522dbd53877e5a384.tar.gz
pw-darwin-32215e1fded83eb454a0ec2522dbd53877e5a384.tar.zst
pw-darwin-32215e1fded83eb454a0ec2522dbd53877e5a384.zip
Teach pw(8) about how to use pw/gr API to reduce code duplication
MFC after: 2 months
Diffstat (limited to 'pw/Makefile')
-rw-r--r--pw/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/pw/Makefile b/pw/Makefile
new file mode 100644
index 0000000..eae0b87
--- /dev/null
+++ b/pw/Makefile
@@ -0,0 +1,14 @@
+# $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 psdate.c \
+ bitmap.c cpdir.c rm_r.c
+
+WARNS?= 2
+
+DPADD= ${LIBCRYPT} ${LIBUTIL}
+LDADD= -lcrypt -lutil
+
+.include <bsd.prog.mk>