head	1.3;
access;
symbols
	netbsd-11-0-RC4:1.3
	netbsd-11-0-RC3:1.3
	netbsd-11-0-RC2:1.3
	netbsd-11-0-RC1:1.3
	perseant-exfatfs-base-20250801:1.3
	netbsd-11:1.3.0.4
	netbsd-11-base:1.3
	netbsd-10-1-RELEASE:1.2
	perseant-exfatfs-base-20240630:1.3
	perseant-exfatfs:1.3.0.2
	perseant-exfatfs-base:1.3
	netbsd-8-3-RELEASE:1.1
	netbsd-9-4-RELEASE:1.1
	netbsd-10-0-RELEASE:1.2
	netbsd-10-0-RC6:1.2
	netbsd-10-0-RC5:1.2
	netbsd-10-0-RC4:1.2
	netbsd-10-0-RC3:1.2
	netbsd-10-0-RC2:1.2
	netbsd-10-0-RC1:1.2
	netbsd-10:1.2.0.6
	netbsd-10-base:1.2
	netbsd-9-3-RELEASE:1.1
	cjep_sun2x-base1:1.2
	cjep_sun2x:1.2.0.4
	cjep_sun2x-base:1.2
	cjep_staticlib_x-base1:1.2
	netbsd-9-2-RELEASE:1.1
	cjep_staticlib_x:1.2.0.2
	cjep_staticlib_x-base:1.2
	netbsd-9-1-RELEASE:1.1
	phil-wifi-20200421:1.2
	phil-wifi-20200411:1.1
	is-mlppp:1.1.0.18
	is-mlppp-base:1.1
	phil-wifi-20200406:1.1
	netbsd-8-2-RELEASE:1.1
	netbsd-9-0-RELEASE:1.1
	netbsd-9-0-RC2:1.1
	netbsd-9-0-RC1:1.1
	phil-wifi-20191119:1.1
	netbsd-9:1.1.0.16
	netbsd-9-base:1.1
	phil-wifi-20190609:1.1
	netbsd-8-1-RELEASE:1.1
	netbsd-8-1-RC1:1.1
	pgoyette-compat-merge-20190127:1.1
	pgoyette-compat-20190127:1.1
	pgoyette-compat-20190118:1.1
	pgoyette-compat-1226:1.1
	pgoyette-compat-1126:1.1
	pgoyette-compat-1020:1.1
	pgoyette-compat-0930:1.1
	pgoyette-compat-0906:1.1
	pgoyette-compat-0728:1.1
	netbsd-8-0-RELEASE:1.1
	phil-wifi:1.1.0.14
	phil-wifi-base:1.1
	pgoyette-compat-0625:1.1
	netbsd-8-0-RC2:1.1
	pgoyette-compat-0521:1.1
	pgoyette-compat-0502:1.1
	pgoyette-compat-0422:1.1
	netbsd-8-0-RC1:1.1
	pgoyette-compat-0415:1.1
	pgoyette-compat-0407:1.1
	pgoyette-compat-0330:1.1
	pgoyette-compat-0322:1.1
	pgoyette-compat-0315:1.1
	pgoyette-compat:1.1.0.12
	pgoyette-compat-base:1.1
	matt-nb8-mediatek:1.1.0.10
	matt-nb8-mediatek-base:1.1
	perseant-stdc-iso10646:1.1.0.8
	perseant-stdc-iso10646-base:1.1
	netbsd-8:1.1.0.6
	netbsd-8-base:1.1
	prg-localcount2-base3:1.1
	prg-localcount2-base2:1.1
	prg-localcount2-base1:1.1
	prg-localcount2:1.1.0.4
	prg-localcount2-base:1.1
	pgoyette-localcount-20170426:1.1
	bouyer-socketcan-base1:1.1
	pgoyette-localcount:1.1.0.2
	pgoyette-localcount-20170320:1.1;
locks; strict;
comment	@# @;


1.3
date	2023.07.26.02.26.11;	author rin;	state Exp;
branches;
next	1.2;
commitid	wINA8hO5ngKYWfyE;

1.2
date	2020.04.18.12.56.38;	author jdolecek;	state Exp;
branches;
next	1.1;
commitid	r7znedNPZKfNOR4C;

1.1
date	2017.02.08.16.11.39;	author rin;	state Exp;
branches
	1.1.2.1
	1.1.14.1;
next	;
commitid	E19jwSaYRiCWjaFz;

1.1.2.1
date	2017.02.08.16.11.39;	author pgoyette;	state dead;
branches;
next	1.1.2.2;
commitid	jjw7cAwgyKq7RfKz;

1.1.2.2
date	2017.03.20.06.52.10;	author pgoyette;	state Exp;
branches;
next	;
commitid	jjw7cAwgyKq7RfKz;

1.1.14.1
date	2020.04.21.18.41.54;	author martin;	state Exp;
branches;
next	;
commitid	86tA4aEmdr3VCh5C;


desc
@@


1.3
log
@x_fsck_ffs, x_newfs: XXX: Sprinkle -Wno-error=address-of-packed-member
for GCC/powerpc 10.5.0 with -Os.
@
text
@# $NetBSD: Makefile,v 1.2 2020/04/18 12:56:38 jdolecek Exp $
# Build a smaller fsck_ffs (i.e. for boot media).
# Support for Endian-Independent FFS and Apple UFS is dropped unless FFS_EI=1
# and APPLE_UFS=1 are added to CRUNCHENV, respectively.

NOMAN=		# defined

.include <bsd.own.mk>

SRCDIR=		${.CURDIR}/../../../sbin/fsck_ffs

.ifdef FFS_EI
SRCS+=		ffs_bswap.c
.else
CPPFLAGS+=	-DNO_FFS_EI
.endif

.ifdef APPLE_UFS
SRCS+=		ffs_appleufs.c
COPTS.ffs_appleufs.c+=	-Wno-error=address-of-packed-member
.else
CPPFLAGS+=	-DNO_APPLE_UFS
.endif

CPPFLAGS+=	-DNO_IOBUF_ALIGNED

.PATH:		${SRCDIR}

.include "${SRCDIR}/Makefile.common"

.include <bsd.prog.mk>
@


1.2
log
@enable NO_IOBUF_ALIGNED for x_newfs and x_fsck_ffs
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2017/02/08 16:11:39 rin Exp $
d20 1
@


1.1
log
@Add smaller versions of fsck_ffs(8) and newfs(8) for install media, where
support for Endian-Independent FFS and Apple UFS is disabled unless FFS_EI=1
and APPLE_UFS=1 are added to CRUNCHENV, respectively.

This reduces the size of ramdisk image for atari by over 15KB.

Thanks tsutsui and christos for their useful comments.
@
text
@d1 1
a1 1
# $NetBSD$
d24 2
@


1.1.14.1
log
@Sync with HEAD
@
text
@a23 2
CPPFLAGS+=	-DNO_IOBUF_ALIGNED

@


1.1.2.1
log
@file Makefile was added on branch pgoyette-localcount on 2017-03-20 06:52:10 +0000
@
text
@d1 28
@


1.1.2.2
log
@Sync with HEAD
@
text
@a0 28
# $NetBSD: Makefile,v 1.1 2017/02/08 16:11:39 rin Exp $
# Build a smaller fsck_ffs (i.e. for boot media).
# Support for Endian-Independent FFS and Apple UFS is dropped unless FFS_EI=1
# and APPLE_UFS=1 are added to CRUNCHENV, respectively.

NOMAN=		# defined

.include <bsd.own.mk>

SRCDIR=		${.CURDIR}/../../../sbin/fsck_ffs

.ifdef FFS_EI
SRCS+=		ffs_bswap.c
.else
CPPFLAGS+=	-DNO_FFS_EI
.endif

.ifdef APPLE_UFS
SRCS+=		ffs_appleufs.c
.else
CPPFLAGS+=	-DNO_APPLE_UFS
.endif

.PATH:		${SRCDIR}

.include "${SRCDIR}/Makefile.common"

.include <bsd.prog.mk>
@


