umount: getopt return value is int, not char
[minix.git] / sbin / newfs_ext2fs / Makefile
blob374e76f5b9070fd32fe50299b962403d40ad35e4
1 # $NetBSD: Makefile,v 1.4 2012/03/24 08:22:24 joerg Exp $
2 # @(#)Makefile 8.2 (Berkeley) 3/27/94
4 WARNS?= 4
6 CWARNFLAGS+= -Wno-sign-compare
8 .include <bsd.own.mk>
10 PROG= newfs_ext2fs
11 SRCS= newfs_ext2fs.c mke2fs.c ext2fs_bswap.c partutil.c
12 MAN= newfs_ext2fs.8
14 FSCK=${NETBSDSRCDIR}/sbin/fsck
15 CPPFLAGS+=-I${.CURDIR} -I${FSCK}
17 DPADD+= ${LIBUTIL}
18 LDADD+= -lutil
20 LDADD+=-lprop
21 DPADD+=${LIBPROP}
23 SYMLINKS+= $(BINDIR)/$(PROG) $(BINDIR)/newfs_ext2 \
24 $(BINDIR)/$(PROG) $(BINDIR)/mkfs.ext2
26 #.PATH: ${NETBSDSRCDIR}/sys/ufs/ext2fs ${FSCK}
27 .PATH: ${NETBSDSRCDIR}/sbin/fsck_ext2fs ${FSCK}
29 .include <bsd.prog.mk>