NetBSD/sbin/fsck_ffs/Makefile

35 lines
694 B
Makefile
Raw Normal View History

# $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
.include <bsd.own.mk>
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 \
pass5.c fsutil.c setup.c utilities.c ffs_bswap.c ffs_subr.c \
ffs_tables.c ffs_appleufs.c partutil.c
FSCK= ${NETBSDSRCDIR}/sbin/fsck
1997-10-10 23:47:50 +04:00
CPPFLAGS+=-I${FSCK}
.ifndef SMALLPROG
CPPFLAGS+=-DPROGRESS
.endif
SRCS+= progress.c
.PATH: ${FSCK}
.PATH: ${NETBSDSRCDIR}/sys/ufs/ffs ${FSCK}
1993-03-21 12:45:37 +03:00
LDADD+=-lutil
DPADD+=${LIBUTIL}
.if ${HAVE_GCC} == 4
COPTS.ffs_appleufs.c+= -Wno-pointer-sign
.endif
1994-06-30 09:33:30 +04:00
.if make(install)
1997-10-11 13:34:07 +04:00
SUBDIR+=SMM.doc
.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>