Home | History | Annotate | Line # | Download | only in x_newfs
Makefile revision 1.2
      1  1.2  jdolecek # $NetBSD: Makefile,v 1.2 2020/04/18 12:56:38 jdolecek Exp $
      2  1.1       rin # Build a smaller newfs (i.e. for boot media).
      3  1.1       rin # Support for Endian-Independent FFS and Apple UFS is dropped unless FFS_EI=1
      4  1.1       rin # and APPLE_UFS=1 are added to CRUNCHENV, respectively.
      5  1.1       rin 
      6  1.1       rin NOMAN=		# defined
      7  1.1       rin 
      8  1.1       rin .include <bsd.own.mk>
      9  1.1       rin 
     10  1.1       rin SRCDIR=		${.CURDIR}/../../../sbin/newfs
     11  1.1       rin 
     12  1.1       rin .ifdef FFS_EI
     13  1.1       rin SRCS+=		ffs_bswap.c
     14  1.1       rin .else
     15  1.1       rin CPPFLAGS+=	-DNO_FFS_EI
     16  1.1       rin .endif
     17  1.1       rin 
     18  1.1       rin .ifdef APPLE_UFS
     19  1.1       rin SRCS+=		ffs_appleufs.c
     20  1.1       rin .else
     21  1.1       rin CPPFLAGS+=	-DNO_APPLE_UFS
     22  1.1       rin .endif
     23  1.1       rin 
     24  1.2  jdolecek CPPFLAGS+=	-DSMALL
     25  1.2  jdolecek CPPFLAGS+=	-DNO_IOBUF_ALIGNED
     26  1.2  jdolecek 
     27  1.1       rin .PATH:		${SRCDIR}
     28  1.1       rin 
     29  1.1       rin .include "${SRCDIR}/Makefile.common"
     30  1.1       rin 
     31  1.1       rin .include <bsd.prog.mk>
     32