2008-02-09 05:37:21 +03:00
|
|
|
# $NetBSD: Makefile,v 1.34 2008/02/09 02:37:22 mrg Exp $
|
1997-09-16 20:44:43 +04:00
|
|
|
# @(#)Makefile 8.2 (Berkeley) 4/27/95
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2002-08-19 14:16:51 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1996-04-05 05:44:24 +04:00
|
|
|
PROG= fsck_ffs
|
|
|
|
MAN= fsck_ffs.8
|
1993-03-21 12:45:37 +03:00
|
|
|
SRCS= dir.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
|
2002-09-29 00:11:05 +04:00
|
|
|
pass5.c fsutil.c setup.c utilities.c ffs_bswap.c ffs_subr.c \
|
2006-08-27 02:03:47 +04:00
|
|
|
ffs_tables.c ffs_appleufs.c partutil.c
|
2005-01-13 18:22:35 +03:00
|
|
|
|
2002-08-19 14:16:51 +04:00
|
|
|
FSCK= ${NETBSDSRCDIR}/sbin/fsck
|
1997-10-10 23:47:50 +04:00
|
|
|
CPPFLAGS+=-I${FSCK}
|
2005-01-13 22:56:02 +03:00
|
|
|
.ifndef SMALLPROG
|
|
|
|
CPPFLAGS+=-DPROGRESS
|
|
|
|
.endif
|
2005-01-13 18:22:35 +03:00
|
|
|
SRCS+= progress.c
|
|
|
|
.PATH: ${FSCK}
|
|
|
|
|
2002-08-19 14:16:51 +04:00
|
|
|
.PATH: ${NETBSDSRCDIR}/sys/ufs/ffs ${FSCK}
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2006-08-27 02:03:47 +04:00
|
|
|
LDADD+=-lutil
|
|
|
|
DPADD+=${LIBUTIL}
|
|
|
|
|
2006-05-12 03:16:28 +04:00
|
|
|
.if ${HAVE_GCC} == 4
|
|
|
|
COPTS.ffs_appleufs.c+= -Wno-pointer-sign
|
|
|
|
.endif
|
1998-03-18 20:01:23 +03:00
|
|
|
|
1994-06-30 09:33:30 +04:00
|
|
|
.if make(install)
|
1997-10-11 13:34:07 +04:00
|
|
|
SUBDIR+=SMM.doc
|
1994-06-25 09:57:47 +04:00
|
|
|
.endif
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|
1997-10-11 13:34:07 +04:00
|
|
|
.include <bsd.subdir.mk>
|