Makefile revision 1.36
11.36Slukem#	$NetBSD: Makefile,v 1.36 2009/04/11 07:58:11 lukem Exp $
21.16Scgd#	@(#)Makefile	8.1 (Berkeley) 6/5/93
31.13Scgd
41.1Scgd#	dump.h			header file
51.13Scgd#	itime.c			reads /etc/dumpdates
61.13Scgd#	main.c			driver
71.13Scgd#	optr.c			operator interface
81.13Scgd#	dumprmt.c		handles remote tape via rmt(8)
91.27Slukem#	rcache.c		read cache
101.13Scgd#	tape.c			handles the mag tape and opening/closing
111.13Scgd#	traverse.c		traverses the file system
121.1Scgd#	unctime.c		undo ctime
131.25Sperseant#	ffs_inode.c		FFS-specific filestore routines
141.25Sperseant#	ffs_bswap.c		FFS byte-swapping
151.1Scgd#
161.1Scgd#	DEBUG			use local directory to find ddate and dumpdates
171.1Scgd#	TDEBUG			trace out the process forking
181.27Slukem#	FDEBUG			trace dumpdates parsing
191.27Slukem#	WRITEDEBUG		trace slave writes
201.27Slukem#	STATS			read cache statistics
211.27Slukem#	DIAGNOSTICS		read cache diagnostic checks
221.1Scgd
231.36SlukemWARNS?=	3	# XXX: sign-compare issues
241.36Slukem
251.29Slukem.include <bsd.own.mk>
261.29Slukem
271.1ScgdPROG=	dump
281.13ScgdLINKS=	${BINDIR}/dump ${BINDIR}/rdump
291.25SperseantCPPFLAGS+=-DRDUMP -I${.CURDIR}
301.22Sbouyer# CPPFLAGS+= -DDEBUG -DTDEBUG -DFDEBUG -DWRITEDEBUG -DSTATS -DDIAGNOSTICS
311.32ShannkenSRCS=	itime.c main.c optr.c dumprmt.c rcache.c snapshot.c tape.c \
321.32Shannken	traverse.c unctime.c ffs_inode.c ffs_bswap.c
331.15ScgdMAN=	dump.8
341.13ScgdMLINKS+=dump.8 rdump.8
351.19Sbouyer
361.30Slukem.PATH:  ${NETBSDSRCDIR}/sys/ufs/ffs
371.31Sfvdl
381.35Sgmcgarry.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
391.33SmrgCOPTS.ffs_inode.c+=	-Wno-pointer-sign
401.33Smrg.endif
411.33Smrg
421.1Scgd.include <bsd.prog.mk>
43