Home | History | Annotate | Line # | Download | only in x_newfs
Makefile revision 1.1
      1  1.1  rin # $NetBSD: Makefile,v 1.1 2017/02/08 16:11:40 rin 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.1  rin .PATH:		${SRCDIR}
     25  1.1  rin 
     26  1.1  rin .include "${SRCDIR}/Makefile.common"
     27  1.1  rin 
     28  1.1  rin .include <bsd.prog.mk>
     29