NetBSD/sbin/dump_lfs/Makefile
mrg 9bf1d4a9b8 work around some GCC4 internal problems on m68000 platform.
document the hack, and update another GCC4 list.
2006-06-24 05:21:11 +00:00

30 lines
854 B
Makefile

# $NetBSD: Makefile,v 1.7 2006/06/24 05:21:11 mrg Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
# lfs_inode.c LFS filestore-specific routines
#
# DEBUG use local directory to find ddate and dumpdates
# TDEBUG trace out the process forking
.include <bsd.own.mk>
PROG= dump_lfs
LINKS= ${BINDIR}/dump_lfs ${BINDIR}/rdump_lfs
CPPFLAGS+=-DRDUMP -I${.CURDIR} -I${NETBSDSRCDIR}/sbin/dump
CPPFLAGS+=-DDUMP_LFS
# 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_bswap.c lfs_inode.c
MAN= dump_lfs.8
MLINKS+=dump_lfs.8 rdump_lfs.8
CFLAGS+=-g
.PATH: ${NETBSDSRCDIR}/sbin/dump ${NETBSDSRCDIR}/sys/ufs/lfs \
${NETBSDSRCDIR}/sys/ufs/ffs
.if ${HAVE_GCC} == 4 && ${MACHINE_ARCH} == "m68000"
COPTS.lfs_inode.c+= -O0
.endif
.include <bsd.prog.mk>