1 1.43 lukem # $NetBSD: Makefile,v 1.43 2023/06/03 09:09:12 lukem Exp $ 2 1.16 cgd # @(#)Makefile 8.1 (Berkeley) 6/5/93 3 1.13 cgd 4 1.1 cgd # dump.h header file 5 1.13 cgd # itime.c reads /etc/dumpdates 6 1.13 cgd # main.c driver 7 1.13 cgd # optr.c operator interface 8 1.13 cgd # dumprmt.c handles remote tape via rmt(8) 9 1.27 lukem # rcache.c read cache 10 1.13 cgd # tape.c handles the mag tape and opening/closing 11 1.13 cgd # traverse.c traverses the file system 12 1.1 cgd # unctime.c undo ctime 13 1.25 perseant # ffs_inode.c FFS-specific filestore routines 14 1.25 perseant # ffs_bswap.c FFS byte-swapping 15 1.1 cgd # 16 1.1 cgd # DEBUG use local directory to find ddate and dumpdates 17 1.1 cgd # TDEBUG trace out the process forking 18 1.27 lukem # FDEBUG trace dumpdates parsing 19 1.27 lukem # WRITEDEBUG trace slave writes 20 1.27 lukem # STATS read cache statistics 21 1.27 lukem # DIAGNOSTICS read cache diagnostic checks 22 1.1 cgd 23 1.36 lukem WARNS?= 3 # XXX: sign-compare issues 24 1.36 lukem 25 1.29 lukem .include <bsd.own.mk> 26 1.29 lukem 27 1.1 cgd PROG= dump 28 1.13 cgd LINKS= ${BINDIR}/dump ${BINDIR}/rdump 29 1.25 perseant CPPFLAGS+=-DRDUMP -I${.CURDIR} 30 1.22 bouyer # CPPFLAGS+= -DDEBUG -DTDEBUG -DFDEBUG -DWRITEDEBUG -DSTATS -DDIAGNOSTICS 31 1.32 hannken SRCS= itime.c main.c optr.c dumprmt.c rcache.c snapshot.c tape.c \ 32 1.32 hannken traverse.c unctime.c ffs_inode.c ffs_bswap.c 33 1.15 cgd MAN= dump.8 34 1.13 cgd MLINKS+=dump.8 rdump.8 35 1.38 christos DPADD+= ${LIBUTIL} 36 1.38 christos LDADD+= -lutil 37 1.19 bouyer 38 1.30 lukem .PATH: ${NETBSDSRCDIR}/sys/ufs/ffs 39 1.31 fvdl 40 1.33 mrg COPTS.ffs_inode.c+= -Wno-pointer-sign 41 1.43 lukem COPTS.traverse.c+= ${CC_WNO_FORMAT_TRUNCATION} 42 1.42 lukem CWARNFLAGS.gcc+= ${CC_WNO_ADDRESS_OF_PACKED_MEMBER} 43 1.43 lukem CWARNFLAGS.gcc+= ${CC_WNO_FORMAT_TRUNCATION} 44 1.33 mrg 45 1.1 cgd .include <bsd.prog.mk> 46