xref: /netbsd-src/sbin/dump/Makefile (revision 3cec974c61d7fac0a37c0377723a33214a458c8b)
1#	$NetBSD: Makefile,v 1.25 1999/10/01 04:35:22 perseant 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#	tape.c			handles the mag tape and opening/closing
10#	traverse.c		traverses the file system
11#	unctime.c		undo ctime
12#	ffs_inode.c		FFS-specific filestore routines
13#	ffs_bswap.c		FFS byte-swapping
14#
15#	DEBUG			use local directory to find ddate and dumpdates
16#	TDEBUG			trace out the process forking
17
18PROG=	dump
19LINKS=	${BINDIR}/dump ${BINDIR}/rdump
20CPPFLAGS+=-DRDUMP -I${.CURDIR}
21# CPPFLAGS+= -DDEBUG -DTDEBUG -DFDEBUG -DWRITEDEBUG -DSTATS -DDIAGNOSTICS
22SRCS=	itime.c main.c optr.c dumprmt.c rcache.c tape.c traverse.c unctime.c \
23	ffs_inode.c ffs_bswap.c
24BINGRP=	tty
25BINMODE=2555
26MAN=	dump.8
27MLINKS+=dump.8 rdump.8
28
29.PATH:  ${.CURDIR}/../../sys/ufs/ffs
30
31.include <bsd.prog.mk>
32