1 # $NetBSD: Makefile,v 1.39 2009/04/11 07:58:12 lukem Exp $
2 # @(#)Makefile 8.2 (Berkeley) 4/27/95
4 WARNS?
= 3 # XXX: sign-compare issues
10 SRCS
= dir.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
11 pass5.c fsutil.c setup.c utilities.c ffs_bswap.c ffs_subr.c \
12 ffs_tables.c ffs_appleufs.c partutil.c snapshot.c
14 FSCK
= ${NETBSDSRCDIR}/sbin
/fsck
15 DUMP
= ${NETBSDSRCDIR}/sbin
/dump
16 CPPFLAGS
+=-I
${FSCK} -I
${DUMP}
23 .PATH
: ${NETBSDSRCDIR}/sys
/ufs
/ffs
${FSCK} ${DUMP}
25 SRCS
+= vfs_wapbl.c wapbl.c
26 .PATH
: ${NETBSDSRCDIR}/sys
/kern
27 CPPFLAGS
+=-DWAPBL_DEBUG_PRINT
=0
35 .if
(defined
(HAVE_GCC
) && ${HAVE_GCC} == 4) || defined
(HAVE_PCC
)
36 COPTS.ffs_appleufs.c
+= -Wno-pointer-sign
39 .if
${MACHINE_ARCH} == "m68000"
40 COPTS.pass1.c
+= -fno-tree-fre
-fno-tree-lrs
47 .
include <bsd.prog.mk
>
48 .
include <bsd.subdir.mk
>