]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - dm/Makefile
Clarify how one is supposed to use the pointers returned by getutentries()
[bsdgames-darwin.git] / dm / Makefile
index 8fc5c5acf00238e63b0d819cb27f7b6db9c22540..c3fa4b2b2ae7588d30541278c12e8b0090056691 100644 (file)
@@ -1,14 +1,17 @@
-#      from: @(#)Makefile      5.7 (Berkeley) 9/30/90
-#      $Id: Makefile,v 1.4 1994/01/28 00:26:35 cgd Exp $
+#      $NetBSD: Makefile,v 1.11 2002/09/18 03:23:00 lukem Exp $
+#      @(#)Makefile    8.1 (Berkeley) 5/31/93
+
+.include <bsd.own.mk>
 
 # -DLOG                log games
 PROG=  dm
-MAN8=  dm.0
-MAN5=  dm.conf.0
-BINOWN= games
-BINGRP=        kmem
-BINMODE=6555
-LDADD= -lc -lkvm       # XXX (for getloadavg)
-DPADD= ${LIBKVM}
+SRCS=  dm.c utmpentry.c
+MAN=   dm.8 dm.conf.5
+# shouldn't be necessary; just in case.
+BINGRP= games
+BINMODE=2555
+
+.PATH.c: ${NETBSDSRCDIR}/usr.bin/who
+CPPFLAGS+=-I${NETBSDSRCDIR}/usr.bin/who -DSUPPORT_UTMPX -DSUPPORT_UTMP
 
 .include <bsd.prog.mk>