3161c603a6
for bin/, commands/, libexec/, sbin/, test/, usr.bin/ and usr.sbin/. Change-Id: I8fa12c3cd86865311cef71b7faa7cf4fa785174f
33 lines
642 B
Makefile
33 lines
642 B
Makefile
# $NetBSD: Makefile,v 1.4 2012/03/24 08:22:24 joerg Exp $
|
|
# @(#)Makefile 8.2 (Berkeley) 3/27/94
|
|
|
|
.if defined(__MINIX)
|
|
WARNS=3
|
|
.endif
|
|
|
|
WARNS?= 4
|
|
|
|
CWARNFLAGS+= -Wno-sign-compare
|
|
|
|
.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}
|
|
|
|
SYMLINKS+= $(BINDIR)/$(PROG) $(BINDIR)/newfs_ext2 \
|
|
$(BINDIR)/$(PROG) $(BINDIR)/mkfs.ext2
|
|
|
|
#.PATH: ${NETBSDSRCDIR}/sys/ufs/ext2fs ${FSCK}
|
|
.PATH: ${NETBSDSRCDIR}/sbin/fsck_ext2fs ${FSCK}
|
|
|
|
.include <bsd.prog.mk>
|