2007-12-29 00:44:32 +03:00
|
|
|
# $NetBSD: Makefile,v 1.6 2007/12/28 21:44:32 ad Exp $
|
1995-03-18 17:54:19 +03:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/18/93
|
1994-06-08 23:27:32 +04:00
|
|
|
|
2002-08-19 14:16:51 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1999-03-18 20:18:04 +03:00
|
|
|
PROG= newfs_lfs
|
2005-02-26 08:45:54 +03:00
|
|
|
SRCS= dkcksum.c make_lfs.c lfs_cksum.c misc.c newfs.c
|
2006-09-05 23:44:44 +04:00
|
|
|
SRCS+= bufcache.c vnode.c lfs.c segwrite.c lfs_itimes.c partutil.c
|
1999-03-18 20:18:04 +03:00
|
|
|
MAN= newfs_lfs.8
|
1994-06-08 23:27:32 +04:00
|
|
|
|
2006-09-05 23:44:44 +04:00
|
|
|
DISKLABEL= ${NETBSDSRCDIR}/sbin/disklabel
|
2005-02-26 08:45:54 +03:00
|
|
|
FSCK_LFS= ${NETBSDSRCDIR}/sbin/fsck_lfs
|
2006-09-05 23:44:44 +04:00
|
|
|
FSCK= ${NETBSDSRCDIR}/sbin/fsck
|
|
|
|
|
|
|
|
.PATH: ${NETBSDSRCDIR}/sys/ufs/lfs ${DISKLABEL} ${FSCK_LFS} ${FSCK}
|
|
|
|
|
1999-01-15 16:32:05 +03:00
|
|
|
DPADD= ${LIBUTIL}
|
|
|
|
LDADD= -lutil
|
2007-12-29 00:44:32 +03:00
|
|
|
CPPFLAGS+=-I${FSCK_LFS} -I${FSCK} "-Dmutex_enter(x)=" "-Dmutex_exit(x)=" # -DNDEBUG # -DVERBOSE_BLOCKMAP
|
|
|
|
CPPFLAGS+="-DKASSERT(x)="
|
1996-05-16 11:13:01 +04:00
|
|
|
|
1994-06-08 23:27:32 +04:00
|
|
|
.include <bsd.prog.mk>
|