Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sbin / dump_lfs / Makefile
bloba3f5b1c4d87c87df9667956d206963f5e27ac76f
1 # $NetBSD: Makefile,v 1.10 2009/02/13 16:02:05 uebayasi Exp $
2 # @(#)Makefile 8.1 (Berkeley) 6/5/93
4 # lfs_inode.c LFS filestore-specific routines
6 # DEBUG use local directory to find ddate and dumpdates
7 # TDEBUG trace out the process forking
9 WARNS?= 3 # XXX: sign-compare issues
11 .include <bsd.own.mk>
13 PROG= dump_lfs
14 LINKS= ${BINDIR}/dump_lfs ${BINDIR}/rdump_lfs
15 CPPFLAGS+=-DRDUMP -I${.CURDIR} -I${NETBSDSRCDIR}/sbin/dump
16 CPPFLAGS+=-DDUMP_LFS
17 # CPPFLAGS+= -DDEBUG -DTDEBUG -DFDEBUG -DWRITEDEBUG -DSTATS -DDIAGNOSTICS
18 SRCS= itime.c main.c optr.c dumprmt.c rcache.c snapshot.c tape.c \
19 traverse.c unctime.c ffs_bswap.c lfs_inode.c
20 MAN= dump_lfs.8
21 MLINKS+=dump_lfs.8 rdump_lfs.8
22 #CFLAGS+=-g
24 .if ${MACHINE_ARCH} == "m68000"
25 COPTS.lfs_inode.c+= -fno-tree-ter
26 .endif
28 .PATH: ${NETBSDSRCDIR}/sbin/dump ${NETBSDSRCDIR}/sys/ufs/lfs \
29 ${NETBSDSRCDIR}/sys/ufs/ffs
31 .include <bsd.prog.mk>