1 1.37 gmcgarry # $NetBSD: Makefile,v 1.37 2008/08/29 00:02:23 gmcgarry Exp $ 2 1.17 lukem # @(#)Makefile 8.2 (Berkeley) 4/27/95 3 1.1 cgd 4 1.23 lukem .include <bsd.own.mk> 5 1.23 lukem 6 1.11 cgd PROG= fsck_ffs 7 1.11 cgd MAN= fsck_ffs.8 8 1.1 cgd SRCS= dir.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c pass4.c \ 9 1.24 dbj pass5.c fsutil.c setup.c utilities.c ffs_bswap.c ffs_subr.c \ 10 1.33 christos ffs_tables.c ffs_appleufs.c partutil.c 11 1.25 christos 12 1.23 lukem FSCK= ${NETBSDSRCDIR}/sbin/fsck 13 1.19 christos CPPFLAGS+=-I${FSCK} 14 1.26 christos .ifndef SMALLPROG 15 1.26 christos CPPFLAGS+=-DPROGRESS 16 1.26 christos .endif 17 1.25 christos SRCS+= progress.c 18 1.25 christos .PATH: ${FSCK} 19 1.25 christos 20 1.23 lukem .PATH: ${NETBSDSRCDIR}/sys/ufs/ffs ${FSCK} 21 1.21 bouyer 22 1.36 simonb SRCS+= vfs_wapbl.c wapbl.c 23 1.36 simonb .PATH: ${NETBSDSRCDIR}/sys/kern 24 1.36 simonb CPPFLAGS+=-DWAPBL_DEBUG_PRINT=0 25 1.36 simonb 26 1.33 christos LDADD+=-lutil 27 1.33 christos DPADD+=${LIBUTIL} 28 1.33 christos 29 1.37 gmcgarry .if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC) 30 1.29 mrg COPTS.ffs_appleufs.c+= -Wno-pointer-sign 31 1.29 mrg .endif 32 1.7 cgd 33 1.35 tsutsui .if ${MACHINE_ARCH} == "m68000" 34 1.35 tsutsui COPTS.pass1.c+= -fno-tree-fre -fno-tree-lrs 35 1.35 tsutsui .endif 36 1.35 tsutsui 37 1.8 cgd .if make(install) 38 1.20 mycroft SUBDIR+=SMM.doc 39 1.7 cgd .endif 40 1.1 cgd 41 1.1 cgd .include <bsd.prog.mk> 42 1.20 mycroft .include <bsd.subdir.mk> 43