1 # $NetBSD: Makefile,v 1.25 2009/04/11 07:58:12 lukem Exp $
2 # @(#)Makefile 8.1 (Berkeley) 6/5/93
4 WARNS?
= 3 # XXX: sign-compare issues in ../fsck_ffs
10 SRCS
= fsdb.c fsdbutil.c
11 SRCS
+= dir.c inode.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
12 pass5.c setup.c utilities.c
13 SRCS
+= ffs_bswap.c ffs_subr.c ffs_tables.c ffs_appleufs.c
14 SRCS
+= fsutil.c partutil.c
16 FSCK
= ${NETBSDSRCDIR}/sbin
/fsck
17 FSCK_FFS
=${NETBSDSRCDIR}/sbin
/fsck_ffs
18 CPPFLAGS
+= -I
${FSCK} -I
${FSCK_FFS}
19 .PATH
: ${FSCK} ${FSCK_FFS} ${NETBSDSRCDIR}/sys
/ufs
/ffs
21 SRCS
+= vfs_wapbl.c wapbl.c
22 .PATH
: ${NETBSDSRCDIR}/sys
/kern
23 CPPFLAGS
+=-DWAPBL_DEBUG_PRINT
=0
25 LDADD
+= -lutil
-ledit
-ltermcap
-lprop
27 DPADD
+= ${LIBUTIL} ${LIBEDIT} ${LIBTERMCAP} ${LIBPROP}
30 .if
(defined
(HAVE_GCC
) && ${HAVE_GCC} == 4) || defined
(HAVE_PCC
)
31 .for f in fsdb ffs_appleufs
32 COPTS.
${f}.c
+= -Wno-pointer-sign
36 .if
${MACHINE_ARCH} == "m68000"
37 COPTS.pass1.c
+= -fno-tree-fre
-fno-tree-lrs
40 .
include <bsd.prog.mk
>