2019-03-31 13:55:58 +03:00
|
|
|
# $NetBSD: Makefile,v 1.18 2019/03/31 10:55:58 mlelstv Exp $
|
1997-06-11 15:21:39 +04:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
|
|
|
|
2002-08-19 14:16:51 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1997-06-11 15:21:39 +04:00
|
|
|
PROG= fsck_ext2fs
|
|
|
|
MAN= fsck_ext2fs.8
|
|
|
|
SRCS= dir.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
|
2019-03-31 13:55:58 +03:00
|
|
|
pass5.c fsutil.c setup.c utilities.c ext2fs_bswap.c \
|
|
|
|
partutil.c
|
2002-08-19 14:16:51 +04:00
|
|
|
FSCK= ${NETBSDSRCDIR}/sbin/fsck
|
1997-10-10 23:47:50 +04:00
|
|
|
CPPFLAGS+= -I${FSCK}
|
2002-08-19 14:16:51 +04:00
|
|
|
.PATH: ${NETBSDSRCDIR}/sys/ufs/ext2fs ${FSCK}
|
1997-06-11 15:21:39 +04:00
|
|
|
|
2014-03-05 01:07:22 +04:00
|
|
|
CWARNFLAGS.clang+= -Wno-error=tautological-pointer-compare
|
|
|
|
|
1997-06-11 15:21:39 +04:00
|
|
|
.include <bsd.prog.mk>
|
2006-05-12 03:16:28 +04:00
|
|
|
|
2006-08-26 22:14:28 +04:00
|
|
|
LDADD+=-lutil
|
|
|
|
DPADD+=${LIBUTIL}
|
2019-03-31 13:55:58 +03:00
|
|
|
|
|
|
|
LDADD+=-lprop
|
|
|
|
DPADD+=${LIBPROP}
|