No empty .Rs/.Re
[netbsd-mini2440.git] / sbin / fsck_ffs / Makefile
blob34a9c023ba9fabdf479237951f71cb7de44f2262
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
6 .include <bsd.own.mk>
8 PROG= fsck_ffs
9 MAN= fsck_ffs.8
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}
17 .ifndef SMALLPROG
18 CPPFLAGS+=-DPROGRESS
19 .endif
20 SRCS+= progress.c
21 .PATH: ${FSCK}
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
29 LDADD+=-lutil
30 DPADD+=${LIBUTIL}
32 LDADD+=-lprop
33 DPADD+=${LIBPROP}
35 .if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
36 COPTS.ffs_appleufs.c+= -Wno-pointer-sign
37 .endif
39 .if ${MACHINE_ARCH} == "m68000"
40 COPTS.pass1.c+= -fno-tree-fre -fno-tree-lrs
41 .endif
43 .if make(install)
44 SUBDIR+=SMM.doc
45 .endif
47 .include <bsd.prog.mk>
48 .include <bsd.subdir.mk>