Makefile revision 1.3
11.3Srin# $NetBSD: Makefile,v 1.3 2023/07/26 02:26:11 rin Exp $ 21.1Srin# Build a smaller newfs (i.e. for boot media). 31.1Srin# Support for Endian-Independent FFS and Apple UFS is dropped unless FFS_EI=1 41.1Srin# and APPLE_UFS=1 are added to CRUNCHENV, respectively. 51.1Srin 61.1SrinNOMAN= # defined 71.1Srin 81.1Srin.include <bsd.own.mk> 91.1Srin 101.1SrinSRCDIR= ${.CURDIR}/../../../sbin/newfs 111.1Srin 121.1Srin.ifdef FFS_EI 131.1SrinSRCS+= ffs_bswap.c 141.1Srin.else 151.1SrinCPPFLAGS+= -DNO_FFS_EI 161.1Srin.endif 171.1Srin 181.1Srin.ifdef APPLE_UFS 191.1SrinSRCS+= ffs_appleufs.c 201.3SrinCOPTS.ffs_appleufs.c+= -Wno-error=address-of-packed-member 211.1Srin.else 221.1SrinCPPFLAGS+= -DNO_APPLE_UFS 231.1Srin.endif 241.1Srin 251.2SjdolecekCPPFLAGS+= -DSMALL 261.2SjdolecekCPPFLAGS+= -DNO_IOBUF_ALIGNED 271.2Sjdolecek 281.1Srin.PATH: ${SRCDIR} 291.1Srin 301.1Srin.include "${SRCDIR}/Makefile.common" 311.1Srin 321.1Srin.include <bsd.prog.mk> 33