Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/dump_lfs Fix dump_lfs build following recent utmp changes.



details:   https://anonhg.NetBSD.org/src/rev/43471dd75f34
branches:  trunk
changeset: 534749:43471dd75f34
user:      scw <scw%NetBSD.org@localhost>
date:      Fri Aug 02 12:29:36 2002 +0000

description:
Fix dump_lfs build following recent utmp changes.

diffstat:

 sbin/dump_lfs/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 5595dbe3d1da -r 43471dd75f34 sbin/dump_lfs/Makefile
--- a/sbin/dump_lfs/Makefile    Fri Aug 02 12:27:32 2002 +0000
+++ b/sbin/dump_lfs/Makefile    Fri Aug 02 12:29:36 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2001/07/13 20:30:18 perseant Exp $
+#      $NetBSD: Makefile,v 1.3 2002/08/02 12:29:36 scw Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/5/93
 
 #      lfs_inode.c             LFS filestore-specific routines
@@ -10,15 +10,16 @@
 LINKS= ${BINDIR}/dump_lfs ${BINDIR}/rdump_lfs
 CPPFLAGS+=-DRDUMP -I${.CURDIR} -I${.CURDIR}/../dump
 CPPFLAGS+=-DDUMP_LFS
+CPPFLAGS+=-I${.CURDIR}/../../usr.bin/who -DSUPPORT_UTMPX -DSUPPORT_UTMP
 # CPPFLAGS+= -DDEBUG -DTDEBUG -DFDEBUG -DWRITEDEBUG -DSTATS -DDIAGNOSTICS
 SRCS=  itime.c main.c optr.c dumprmt.c rcache.c tape.c traverse.c unctime.c \
-       ffs_bswap.c lfs_inode.c
+       ffs_bswap.c lfs_inode.c utmpentry.c
 BINGRP=        tty
 BINMODE=2555
 MAN=   dump_lfs.8
 MLINKS+=dump_lfs.8 rdump_lfs.8
 CFLAGS+=-g
 
-.PATH:  ${.CURDIR}/../dump ${.CURDIR}/../../sys/ufs/lfs ${.CURDIR}/../../sys/ufs/ffs
+.PATH:  ${.CURDIR}/../dump ${.CURDIR}/../../sys/ufs/lfs ${.CURDIR}/../../sys/ufs/ffs ${.CURDIR}/../../usr.bin/who
 
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index