1# $NetBSD: Makefile,v 1.15 2020/03/21 18:58:43 riastradh Exp $ 2# 3 4.PATH: ${.CURDIR}/../../../../ufs/lfs 5 6LIB= rumpfs_lfs 7COMMENT=Log-structured File System 8 9SRCS= lfs_alloc.c lfs_balloc.c lfs_bio.c lfs_cksum.c lfs_debug.c \ 10 lfs_inode.c lfs_itimes.c lfs_pages.c lfs_rename.c lfs_rfw.c \ 11 lfs_segment.c lfs_subr.c lfs_syscalls.c lfs_vfsops.c lfs_vnops.c 12 13SRCS+= ulfs_bmap.c ulfs_dirhash.c ulfs_extattr.c \ 14 ulfs_inode.c ulfs_lookup.c ulfs_quota.c ulfs_quota1.c \ 15 ulfs_quota2.c ulfs_quota1_subr.c ulfs_quota2_subr.c \ 16 ulfs_snapshot.c ulfs_vfsops.c ulfs_vnops.c 17 18 19CFLAGS+= -DLFS_KERNEL_RFW 20.if ${MACHINE_ARCH} == "vax" 21COPTS.lfs_inode.c+=-O0 22.endif 23 24# Follow the suit of Makefile.kern.inc; needed for the lfs64 union 25# accessors -- they don't actually dereference the resulting pointer, 26# just use it for type-checking. 27CWARNFLAGS.clang+= -Wno-error=address-of-packed-member 28 29.include <bsd.lib.mk> 30.include <bsd.klinks.mk> 31