Home | History | Annotate | Line # | Download | only in dump
      1 #	$NetBSD: Makefile,v 1.43 2023/06/03 09:09:12 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 WARNS?=	3	# XXX: sign-compare issues
     24 
     25 .include <bsd.own.mk>
     26 
     27 PROG=	dump
     28 LINKS=	${BINDIR}/dump ${BINDIR}/rdump
     29 CPPFLAGS+=-DRDUMP -I${.CURDIR}
     30 # CPPFLAGS+= -DDEBUG -DTDEBUG -DFDEBUG -DWRITEDEBUG -DSTATS -DDIAGNOSTICS
     31 SRCS=	itime.c main.c optr.c dumprmt.c rcache.c snapshot.c tape.c \
     32 	traverse.c unctime.c ffs_inode.c ffs_bswap.c
     33 MAN=	dump.8
     34 MLINKS+=dump.8 rdump.8
     35 DPADD+= ${LIBUTIL}
     36 LDADD+= -lutil
     37 
     38 .PATH:  ${NETBSDSRCDIR}/sys/ufs/ffs
     39 
     40 COPTS.ffs_inode.c+=	-Wno-pointer-sign
     41 COPTS.traverse.c+=	${CC_WNO_FORMAT_TRUNCATION}
     42 CWARNFLAGS.gcc+=	${CC_WNO_ADDRESS_OF_PACKED_MEMBER}
     43 CWARNFLAGS.gcc+=	${CC_WNO_FORMAT_TRUNCATION}
     44 
     45 .include <bsd.prog.mk>
     46