xref: /netbsd/sbin/dump/Makefile (revision c4a72b64)
1#	$NetBSD: Makefile,v 1.29 2002/08/19 10:16:52 lukem Exp $
2#	@(#)Makefile	8.1 (Berkeley) 6/5/93
3
4#	dump.h			header file
5#	itime.c			reads /etc/dumpdates
6#	main.c			driver
7#	optr.c			operator interface
8#	dumprmt.c		handles remote tape via rmt(8)
9#	rcache.c		read cache
10#	tape.c			handles the mag tape and opening/closing
11#	traverse.c		traverses the file system
12#	unctime.c		undo ctime
13#	ffs_inode.c		FFS-specific filestore routines
14#	ffs_bswap.c		FFS byte-swapping
15#
16#	DEBUG			use local directory to find ddate and dumpdates
17#	TDEBUG			trace out the process forking
18#	FDEBUG			trace dumpdates parsing
19#	WRITEDEBUG		trace slave writes
20#	STATS			read cache statistics
21#	DIAGNOSTICS		read cache diagnostic checks
22
23.include <bsd.own.mk>
24
25PROG=	dump
26LINKS=	${BINDIR}/dump ${BINDIR}/rdump
27CPPFLAGS+=-DRDUMP -I${.CURDIR}
28CPPFLAGS+=-I${NETBSDSRCDIR}/usr.bin/who -DSUPPORT_UTMPX -DSUPPORT_UTMP
29# CPPFLAGS+= -DDEBUG -DTDEBUG -DFDEBUG -DWRITEDEBUG -DSTATS -DDIAGNOSTICS
30SRCS=	itime.c main.c optr.c dumprmt.c rcache.c tape.c traverse.c unctime.c \
31	ffs_inode.c ffs_bswap.c utmpentry.c
32BINGRP=	tty
33BINMODE=2555
34MAN=	dump.8
35MLINKS+=dump.8 rdump.8
36
37.PATH:  ${NETBSDSRCDIR}/sys/ufs/ffs ${NETBSDSRCDIR}/usr.bin/who
38
39.include <bsd.prog.mk>
40