NetBSD/sbin/dump/Makefile

43 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.39 2012/08/10 12:20:11 joerg Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
1993-03-21 12:45:37 +03:00
# dump.h header file
# 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
# 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
# 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
WARNS?= 3 # XXX: sign-compare issues
.include <bsd.own.mk>
1993-03-21 12:45:37 +03:00
PROG= dump
LINKS= ${BINDIR}/dump ${BINDIR}/rdump
CPPFLAGS+=-DRDUMP -I${.CURDIR}
# CPPFLAGS+= -DDEBUG -DTDEBUG -DFDEBUG -DWRITEDEBUG -DSTATS -DDIAGNOSTICS
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
MLINKS+=dump.8 rdump.8
2012-04-07 08:52:20 +04:00
DPADD+= ${LIBUTIL}
LDADD+= -lutil
1993-03-21 12:45:37 +03:00
.PATH: ${NETBSDSRCDIR}/sys/ufs/ffs
COPTS.ffs_inode.c+= -Wno-pointer-sign
1993-03-21 12:45:37 +03:00
.include <bsd.prog.mk>