2013-12-06 12:04:52 +01:00
|
|
|
# $NetBSD: Makefile,v 1.6 2013/11/09 21:39:27 christos Exp $
|
2011-12-22 17:54:36 +01:00
|
|
|
# @(#)Makefile 8.2 (Berkeley) 3/27/94
|
|
|
|
|
2012-10-26 15:22:39 +02:00
|
|
|
CWARNFLAGS+= -Wno-sign-compare
|
2011-12-22 17:54:36 +01:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
PROG= newfs_ext2fs
|
|
|
|
SRCS= newfs_ext2fs.c mke2fs.c ext2fs_bswap.c partutil.c
|
|
|
|
MAN= newfs_ext2fs.8
|
|
|
|
|
|
|
|
FSCK=${NETBSDSRCDIR}/sbin/fsck
|
|
|
|
CPPFLAGS+=-I${.CURDIR} -I${FSCK}
|
|
|
|
|
|
|
|
DPADD+= ${LIBUTIL}
|
|
|
|
LDADD+= -lutil
|
|
|
|
|
|
|
|
LDADD+=-lprop
|
|
|
|
DPADD+=${LIBPROP}
|
|
|
|
|
2013-12-06 12:04:52 +01:00
|
|
|
.PATH: ${NETBSDSRCDIR}/sys/ufs/ext2fs ${FSCK}
|
2011-12-22 17:54:36 +01:00
|
|
|
|
2013-12-06 12:04:52 +01:00
|
|
|
.if ${MACHINE_ARCH} == "vax"
|
|
|
|
COPTS.mke2fs.c=-O0
|
|
|
|
.endif
|
2011-12-22 17:54:36 +01:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|