Makefile revision 1.2
11.2Sjdolecek# $NetBSD: Makefile,v 1.2 2020/04/18 12:56:38 jdolecek 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.1Srin.else
211.1SrinCPPFLAGS+=	-DNO_APPLE_UFS
221.1Srin.endif
231.1Srin
241.2SjdolecekCPPFLAGS+=	-DSMALL
251.2SjdolecekCPPFLAGS+=	-DNO_IOBUF_ALIGNED
261.2Sjdolecek
271.1Srin.PATH:		${SRCDIR}
281.1Srin
291.1Srin.include "${SRCDIR}/Makefile.common"
301.1Srin
311.1Srin.include <bsd.prog.mk>
32