34dd728d42
so handle it in each Makefile rather than sys.mk. These ICEs might be related with GCC Bugzilla Bug 32424 which is not resolved yet even in the upstream.
39 lines
782 B
Makefile
39 lines
782 B
Makefile
# $NetBSD: Makefile,v 1.35 2008/05/04 15:37:19 tsutsui Exp $
|
|
# @(#)Makefile 8.2 (Berkeley) 4/27/95
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= fsck_ffs
|
|
MAN= fsck_ffs.8
|
|
SRCS= dir.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
|
|
pass5.c fsutil.c setup.c utilities.c ffs_bswap.c ffs_subr.c \
|
|
ffs_tables.c ffs_appleufs.c partutil.c
|
|
|
|
FSCK= ${NETBSDSRCDIR}/sbin/fsck
|
|
CPPFLAGS+=-I${FSCK}
|
|
.ifndef SMALLPROG
|
|
CPPFLAGS+=-DPROGRESS
|
|
.endif
|
|
SRCS+= progress.c
|
|
.PATH: ${FSCK}
|
|
|
|
.PATH: ${NETBSDSRCDIR}/sys/ufs/ffs ${FSCK}
|
|
|
|
LDADD+=-lutil
|
|
DPADD+=${LIBUTIL}
|
|
|
|
.if ${HAVE_GCC} == 4
|
|
COPTS.ffs_appleufs.c+= -Wno-pointer-sign
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "m68000"
|
|
COPTS.pass1.c+= -fno-tree-fre -fno-tree-lrs
|
|
.endif
|
|
|
|
.if make(install)
|
|
SUBDIR+=SMM.doc
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|
|
.include <bsd.subdir.mk>
|