1 1.35 tsutsui # $NetBSD: Makefile,v 1.35 2008/05/04 15:37:19 tsutsui 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.33 christos LDADD+=-lutil 23 1.33 christos DPADD+=${LIBUTIL} 24 1.33 christos 25 1.29 mrg .if ${HAVE_GCC} == 4 26 1.29 mrg COPTS.ffs_appleufs.c+= -Wno-pointer-sign 27 1.29 mrg .endif 28 1.7 cgd 29 1.35 tsutsui .if ${MACHINE_ARCH} == "m68000" 30 1.35 tsutsui COPTS.pass1.c+= -fno-tree-fre -fno-tree-lrs 31 1.35 tsutsui .endif 32 1.35 tsutsui 33 1.8 cgd .if make(install) 34 1.20 mycroft SUBDIR+=SMM.doc 35 1.7 cgd .endif 36 1.1 cgd 37 1.1 cgd .include <bsd.prog.mk> 38 1.20 mycroft .include <bsd.subdir.mk> 39