Sync some manuals from bin & sbin with NetBSD-8
[minix.git] / sbin / fsck_ext2fs / Makefile
blob06f469c5fb32e15308fe49d19445918680159a6b
1 # $NetBSD: Makefile,v 1.17 2014/03/04 21:07:22 joerg Exp $
2 # @(#)Makefile 8.1 (Berkeley) 6/5/93
4 .include <bsd.own.mk>
6 PROG= fsck_ext2fs
7 MAN= fsck_ext2fs.8
8 SRCS= dir.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
9 pass5.c fsutil.c setup.c utilities.c ext2fs_bswap.c
10 FSCK= ${NETBSDSRCDIR}/sbin/fsck
11 CPPFLAGS+= -I${FSCK}
12 .PATH: ${NETBSDSRCDIR}/sys/ufs/ext2fs ${FSCK}
14 CWARNFLAGS.clang+= -Wno-error=tautological-pointer-compare
16 .if defined(__MINIX)
17 # To compile with clang 3.4
18 NOCLANGERROR= yes
19 .endif # defined(__MINIX)
21 .include <bsd.prog.mk>
23 LDADD+=-lutil
24 DPADD+=${LIBUTIL}