1# $NetBSD: Makefile,v 1.15 2021/09/14 20:13:03 rillig Exp $ 2# @(#)Makefile 8.1 (Berkeley) 6/18/93 3 4WARNS?= 3 # XXX: sign-compare issues 5 6.include <bsd.own.mk> 7 8PROG= newfs_lfs 9SRCS= dkcksum.c make_lfs.c lfs_cksum.c misc.c newfs.c 10SRCS+= bufcache.c vnode.c lfs.c segwrite.c lfs_itimes.c partutil.c 11SRCS+= kernelops.c 12MAN= newfs_lfs.8 13 14DISKLABEL= ${NETBSDSRCDIR}/sbin/disklabel 15FSCK_LFS= ${NETBSDSRCDIR}/sbin/fsck_lfs 16FSCK= ${NETBSDSRCDIR}/sbin/fsck 17 18.PATH: ${NETBSDSRCDIR}/sys/ufs/lfs ${DISKLABEL} ${FSCK_LFS} ${FSCK} 19 20DPADD= ${LIBUTIL} 21LDADD= -lutil 22 23LDADD+=-lprop 24DPADD+=${LIBPROP} 25 26CPPFLAGS+=-I${FSCK_LFS} -I${FSCK} # -DNDEBUG # -DVERBOSE_BLOCKMAP 27 28# As of 2021-09-14, lint does not recognize the types as equal, but it should. 29# vnode.c(104): error: redeclaration of register_vget [27] 30# vnode.h(75): previous declaration of register_vget [260] 31LINT_SUPPORTED= no 32 33.include <bsd.prog.mk> 34