2011-06-20 11:43:56 +04:00
|
|
|
# $NetBSD: Makefile,v 1.37 2011/06/20 07:43:59 mrg Exp $
|
1995-03-18 17:54:19 +03:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
1993-12-22 13:19:31 +03:00
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
# dump.h header file
|
1993-12-22 13:19:31 +03:00
|
|
|
# itime.c reads /etc/dumpdates
|
|
|
|
# main.c driver
|
|
|
|
# optr.c operator interface
|
|
|
|
# dumprmt.c handles remote tape via rmt(8)
|
2001-12-25 14:56:14 +03:00
|
|
|
# rcache.c read cache
|
1993-12-22 13:19:31 +03:00
|
|
|
# tape.c handles the mag tape and opening/closing
|
|
|
|
# traverse.c traverses the file system
|
1993-03-21 12:45:37 +03:00
|
|
|
# unctime.c undo ctime
|
1999-10-01 08:35:21 +04:00
|
|
|
# ffs_inode.c FFS-specific filestore routines
|
|
|
|
# ffs_bswap.c FFS byte-swapping
|
1993-03-21 12:45:37 +03:00
|
|
|
#
|
|
|
|
# DEBUG use local directory to find ddate and dumpdates
|
|
|
|
# TDEBUG trace out the process forking
|
2001-12-25 14:56:14 +03:00
|
|
|
# FDEBUG trace dumpdates parsing
|
|
|
|
# WRITEDEBUG trace slave writes
|
|
|
|
# STATS read cache statistics
|
|
|
|
# DIAGNOSTICS read cache diagnostic checks
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2009-04-11 11:58:11 +04:00
|
|
|
WARNS?= 3 # XXX: sign-compare issues
|
|
|
|
|
2002-08-19 14:16:51 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
PROG= dump
|
1993-12-22 13:19:31 +03:00
|
|
|
LINKS= ${BINDIR}/dump ${BINDIR}/rdump
|
1999-10-01 08:35:21 +04:00
|
|
|
CPPFLAGS+=-DRDUMP -I${.CURDIR}
|
1999-03-23 17:22:59 +03:00
|
|
|
# CPPFLAGS+= -DDEBUG -DTDEBUG -DFDEBUG -DWRITEDEBUG -DSTATS -DDIAGNOSTICS
|
2005-04-19 11:26:38 +04:00
|
|
|
SRCS= itime.c main.c optr.c dumprmt.c rcache.c snapshot.c tape.c \
|
|
|
|
traverse.c unctime.c ffs_inode.c ffs_bswap.c
|
1994-12-22 13:44:04 +03:00
|
|
|
MAN= dump.8
|
1993-12-22 13:19:31 +03:00
|
|
|
MLINKS+=dump.8 rdump.8
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2003-03-27 16:56:46 +03:00
|
|
|
.PATH: ${NETBSDSRCDIR}/sys/ufs/ffs
|
1998-03-18 19:54:56 +03:00
|
|
|
|
2011-06-20 11:43:56 +04:00
|
|
|
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
2006-05-12 03:16:28 +04:00
|
|
|
COPTS.ffs_inode.c+= -Wno-pointer-sign
|
|
|
|
.endif
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|