head	1.26;
access;
symbols
	netbsd-11-0-RC3:1.26
	netbsd-11-0-RC2:1.26
	netbsd-11-0-RC1:1.26
	perseant-exfatfs-base-20250801:1.26
	netbsd-11:1.26.0.4
	netbsd-11-base:1.26
	netbsd-10-1-RELEASE:1.23.10.2
	perseant-exfatfs-base-20240630:1.26
	perseant-exfatfs:1.26.0.2
	perseant-exfatfs-base:1.26
	netbsd-8-3-RELEASE:1.22
	netbsd-9-4-RELEASE:1.23
	netbsd-10-0-RELEASE:1.23.10.1
	netbsd-10-0-RC6:1.23.10.1
	netbsd-10-0-RC5:1.23.10.1
	netbsd-10-0-RC4:1.23.10.1
	netbsd-10-0-RC3:1.23.10.1
	netbsd-10-0-RC2:1.23.10.1
	netbsd-10-0-RC1:1.23.10.1
	netbsd-10:1.23.0.10
	netbsd-10-base:1.23
	netbsd-9-3-RELEASE:1.23
	cjep_sun2x-base1:1.23
	cjep_sun2x:1.23.0.8
	cjep_sun2x-base:1.23
	cjep_staticlib_x-base1:1.23
	netbsd-9-2-RELEASE:1.23
	cjep_staticlib_x:1.23.0.6
	cjep_staticlib_x-base:1.23
	netbsd-9-1-RELEASE:1.23
	phil-wifi-20200421:1.23
	phil-wifi-20200411:1.23
	is-mlppp:1.23.0.4
	is-mlppp-base:1.23
	phil-wifi-20200406:1.23
	netbsd-8-2-RELEASE:1.22
	netbsd-9-0-RELEASE:1.23
	netbsd-9-0-RC2:1.23
	netbsd-9-0-RC1:1.23
	phil-wifi-20191119:1.23
	netbsd-9:1.23.0.2
	netbsd-9-base:1.23
	phil-wifi-20190609:1.22
	netbsd-8-1-RELEASE:1.22
	netbsd-8-1-RC1:1.22
	pgoyette-compat-merge-20190127:1.22
	pgoyette-compat-20190127:1.22
	pgoyette-compat-20190118:1.22
	pgoyette-compat-1226:1.22
	pgoyette-compat-1126:1.22
	pgoyette-compat-1020:1.22
	pgoyette-compat-0930:1.22
	pgoyette-compat-0906:1.22
	netbsd-7-2-RELEASE:1.22
	pgoyette-compat-0728:1.22
	netbsd-8-0-RELEASE:1.22
	phil-wifi:1.22.0.24
	phil-wifi-base:1.22
	pgoyette-compat-0625:1.22
	netbsd-8-0-RC2:1.22
	pgoyette-compat-0521:1.22
	pgoyette-compat-0502:1.22
	pgoyette-compat-0422:1.22
	netbsd-8-0-RC1:1.22
	pgoyette-compat-0415:1.22
	pgoyette-compat-0407:1.22
	pgoyette-compat-0330:1.22
	pgoyette-compat-0322:1.22
	pgoyette-compat-0315:1.22
	netbsd-7-1-2-RELEASE:1.22
	pgoyette-compat:1.22.0.22
	pgoyette-compat-base:1.22
	netbsd-7-1-1-RELEASE:1.22
	matt-nb8-mediatek:1.22.0.20
	matt-nb8-mediatek-base:1.22
	perseant-stdc-iso10646:1.22.0.18
	perseant-stdc-iso10646-base:1.22
	netbsd-8:1.22.0.16
	netbsd-8-base:1.22
	prg-localcount2-base3:1.22
	prg-localcount2-base2:1.22
	prg-localcount2-base1:1.22
	prg-localcount2:1.22.0.14
	prg-localcount2-base:1.22
	pgoyette-localcount-20170426:1.22
	bouyer-socketcan-base1:1.22
	pgoyette-localcount-20170320:1.22
	netbsd-7-1:1.22.0.12
	netbsd-7-1-RELEASE:1.22
	netbsd-7-1-RC2:1.22
	netbsd-7-nhusb-base-20170116:1.22
	bouyer-socketcan:1.22.0.10
	bouyer-socketcan-base:1.22
	pgoyette-localcount-20170107:1.22
	netbsd-7-1-RC1:1.22
	pgoyette-localcount-20161104:1.22
	netbsd-7-0-2-RELEASE:1.22
	localcount-20160914:1.22
	netbsd-7-nhusb:1.22.0.8
	netbsd-7-nhusb-base:1.22
	pgoyette-localcount-20160806:1.22
	pgoyette-localcount-20160726:1.22
	pgoyette-localcount:1.22.0.6
	pgoyette-localcount-base:1.22
	netbsd-7-0-1-RELEASE:1.22
	netbsd-7-0:1.22.0.4
	netbsd-7-0-RELEASE:1.22
	netbsd-7-0-RC3:1.22
	netbsd-7-0-RC2:1.22
	netbsd-7-0-RC1:1.22
	netbsd-5-2-3-RELEASE:1.20
	netbsd-5-1-5-RELEASE:1.20
	netbsd-6-0-6-RELEASE:1.20
	netbsd-6-1-5-RELEASE:1.20
	netbsd-7:1.22.0.2
	netbsd-7-base:1.22
	yamt-pagecache-base9:1.20
	yamt-pagecache-tag8:1.20
	netbsd-6-1-4-RELEASE:1.20
	netbsd-6-0-5-RELEASE:1.20
	tls-earlyentropy:1.20.0.42
	tls-earlyentropy-base:1.22
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.20
	riastradh-drm2-base3:1.20
	netbsd-6-1-3-RELEASE:1.20
	netbsd-6-0-4-RELEASE:1.20
	netbsd-5-2-2-RELEASE:1.20
	netbsd-5-1-4-RELEASE:1.20
	netbsd-6-1-2-RELEASE:1.20
	netbsd-6-0-3-RELEASE:1.20
	netbsd-5-2-1-RELEASE:1.20
	netbsd-5-1-3-RELEASE:1.20
	netbsd-6-1-1-RELEASE:1.20
	riastradh-drm2-base2:1.20
	riastradh-drm2-base1:1.20
	riastradh-drm2:1.20.0.34
	riastradh-drm2-base:1.20
	netbsd-6-1:1.20.0.40
	netbsd-6-0-2-RELEASE:1.20
	netbsd-6-1-RELEASE:1.20
	khorben-n900:1.20.0.38
	netbsd-6-1-RC4:1.20
	netbsd-6-1-RC3:1.20
	agc-symver:1.20.0.36
	agc-symver-base:1.20
	netbsd-6-1-RC2:1.20
	netbsd-6-1-RC1:1.20
	yamt-pagecache-base8:1.20
	netbsd-5-2:1.20.0.32
	netbsd-6-0-1-RELEASE:1.20
	yamt-pagecache-base7:1.20
	netbsd-5-2-RELEASE:1.20
	netbsd-5-2-RC1:1.20
	matt-nb6-plus-nbase:1.20
	yamt-pagecache-base6:1.20
	netbsd-6-0:1.20.0.30
	netbsd-6-0-RELEASE:1.20
	netbsd-6-0-RC2:1.20
	tls-maxphys:1.20.0.28
	tls-maxphys-base:1.22
	matt-nb6-plus:1.20.0.26
	matt-nb6-plus-base:1.20
	netbsd-6-0-RC1:1.20
	yamt-pagecache-base5:1.20
	yamt-pagecache-base4:1.20
	netbsd-6:1.20.0.24
	netbsd-6-base:1.20
	netbsd-5-1-2-RELEASE:1.20
	netbsd-5-1-1-RELEASE:1.20
	yamt-pagecache-base3:1.20
	yamt-pagecache-base2:1.20
	yamt-pagecache:1.20.0.22
	yamt-pagecache-base:1.20
	cherry-xenmp:1.20.0.20
	cherry-xenmp-base:1.20
	bouyer-quota2-nbase:1.20
	bouyer-quota2:1.20.0.18
	bouyer-quota2-base:1.20
	matt-mips64-premerge-20101231:1.20
	matt-nb5-mips64-premerge-20101231:1.20
	matt-nb5-pq3:1.20.0.16
	matt-nb5-pq3-base:1.20
	netbsd-5-1:1.20.0.14
	netbsd-5-1-RELEASE:1.20
	netbsd-5-1-RC4:1.20
	matt-nb5-mips64-k15:1.20
	netbsd-5-1-RC3:1.20
	netbsd-5-1-RC2:1.20
	netbsd-5-1-RC1:1.20
	netbsd-5-0-2-RELEASE:1.20
	matt-nb5-mips64-premerge-20091211:1.20
	matt-premerge-20091211:1.20
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.20
	matt-nb4-mips64-k7-u2a-k9b:1.20
	matt-nb5-mips64-u1-k1-k5:1.20
	matt-nb5-mips64:1.20.0.12
	netbsd-5-0-1-RELEASE:1.20
	jym-xensuspend-nbase:1.20
	netbsd-5-0:1.20.0.10
	netbsd-5-0-RELEASE:1.20
	netbsd-5-0-RC4:1.20
	netbsd-5-0-RC3:1.20
	netbsd-5-0-RC2:1.20
	jym-xensuspend:1.20.0.8
	jym-xensuspend-base:1.20
	netbsd-5-0-RC1:1.20
	mjf-devfs2-base2:1.20
	netbsd-5:1.20.0.6
	netbsd-5-base:1.20
	matt-mips64-base2:1.20
	matt-mips64:1.19.0.14
	netbsd-4-0-1-RELEASE:1.17.10.1
	wrstuden-revivesa-base-3:1.20
	wrstuden-revivesa-base-2:1.20
	wrstuden-fixsa-newbase:1.17.10.1
	wrstuden-revivesa-base-1:1.20
	yamt-pf42-base4:1.20
	yamt-pf42-base3:1.20
	hpcarm-cleanup-nbase:1.20
	yamt-pf42-baseX:1.20
	yamt-pf42-base2:1.20
	wrstuden-revivesa:1.20.0.4
	wrstuden-revivesa-base:1.20
	yamt-pf42:1.20.0.2
	yamt-pf42-base:1.20
	mjf-devfs2:1.19.0.12
	mjf-devfs2-base:1.20
	keiichi-mipv6:1.19.0.10
	keiichi-mipv6-base:1.20
	mjf-devfs:1.19.0.8
	mjf-devfs-base:1.19
	matt-armv6-nbase:1.20
	matt-armv6-prevmlocking:1.19
	wrstuden-fixsa-base-1:1.17.10.1
	netbsd-4-0:1.17.10.1.0.4
	netbsd-4-0-RELEASE:1.17.10.1
	cube-autoconf:1.19.0.6
	cube-autoconf-base:1.19
	netbsd-4-0-RC5:1.17.10.1
	netbsd-4-0-RC4:1.17.10.1
	netbsd-4-0-RC3:1.17.10.1
	netbsd-4-0-RC2:1.17.10.1
	netbsd-4-0-RC1:1.17.10.1
	matt-armv6:1.19.0.4
	matt-armv6-base:1.19
	matt-mips64-base:1.19
	hpcarm-cleanup:1.19.0.2
	hpcarm-cleanup-base:1.19
	netbsd-3-1-1-RELEASE:1.17
	netbsd-3-0-3-RELEASE:1.17
	wrstuden-fixsa:1.17.10.1.0.2
	wrstuden-fixsa-base:1.17.10.1
	abandoned-netbsd-4-base:1.17
	abandoned-netbsd-4:1.17.0.6
	netbsd-3-1:1.17.0.8
	netbsd-3-1-RELEASE:1.17
	netbsd-3-0-2-RELEASE:1.17
	netbsd-3-1-RC4:1.17
	netbsd-3-1-RC3:1.17
	netbsd-3-1-RC2:1.17
	netbsd-3-1-RC1:1.17
	netbsd-4:1.17.0.10
	netbsd-4-base:1.17
	netbsd-3-0-1-RELEASE:1.17
	netbsd-3-0:1.17.0.4
	netbsd-3-0-RELEASE:1.17
	netbsd-3-0-RC6:1.17
	netbsd-3-0-RC5:1.17
	netbsd-3-0-RC4:1.17
	netbsd-3-0-RC3:1.17
	netbsd-3-0-RC2:1.17
	netbsd-3-0-RC1:1.17
	netbsd-2-0-3-RELEASE:1.16.2.1
	netbsd-2-1:1.16.2.1.0.4
	netbsd-2-1-RELEASE:1.16.2.1
	netbsd-2-1-RC6:1.16.2.1
	netbsd-2-1-RC5:1.16.2.1
	netbsd-2-1-RC4:1.16.2.1
	netbsd-2-1-RC3:1.16.2.1
	netbsd-2-1-RC2:1.16.2.1
	netbsd-2-1-RC1:1.16.2.1
	netbsd-2-0-2-RELEASE:1.16.2.1
	netbsd-3:1.17.0.2
	netbsd-3-base:1.17
	netbsd-2-0-1-RELEASE:1.16.2.1
	netbsd-2:1.16.2.1.0.2
	netbsd-2-base:1.16.2.1
	netbsd-2-0-RELEASE:1.16.2.1
	netbsd-2-0-RC5:1.16.2.1
	netbsd-2-0-RC4:1.16.2.1
	netbsd-2-0-RC3:1.16.2.1
	netbsd-2-0-RC2:1.16.2.1
	netbsd-2-0-RC1:1.16.2.1
	netbsd-2-0:1.16.0.2
	netbsd-2-0-base:1.16
	netbsd-1-6-PATCH002-RELEASE:1.13
	netbsd-1-6-PATCH002:1.13
	netbsd-1-6-PATCH002-RC4:1.13
	netbsd-1-6-PATCH002-RC3:1.13
	netbsd-1-6-PATCH002-RC2:1.13
	netbsd-1-6-PATCH002-RC1:1.13
	unifiedMKDEV-pre:1.16
	netbsd-1-6-PATCH001:1.13
	netbsd-1-6-PATCH001-RELEASE:1.13
	netbsd-1-6-PATCH001-RC3:1.13
	netbsd-1-6-PATCH001-RC2:1.13
	netbsd-1-6-PATCH001-RC1:1.13
	fvdl_fs64_base:1.15
	netbsd-1-6-RELEASE:1.13
	netbsd-1-6-RC3:1.13
	netbsd-1-6-RC2:1.13
	netbsd-1-6-RC1:1.13
	netbsd-1-6:1.13.0.2
	netbsd-1-6-base:1.13
	netbsd-1-5-PATCH003:1.6.2.1
	netbsd-1-5-PATCH002:1.6
	netbsd-1-5-PATCH001:1.6
	netbsd-1-5-RELEASE:1.6
	netbsd-1-5-BETA2:1.6
	netbsd-1-5-BETA:1.6
	netbsd-1-4-PATCH003:1.2.4.3
	netbsd-1-5-ALPHA2:1.6
	netbsd-1-5:1.6.0.2
	netbsd-1-5-base:1.6
	minoura-xpg4dl:1.4.0.2
	minoura-xpg4dl-base:1.4
	netbsd-1-4-PATCH002:1.2.4.2
	wrstuden-devbsize-base:1.1
	netbsd-1-4:1.2.0.4
	wrstuden-devbsize:1.2.0.2
	wrstuden-devbsize-19991221:1.1;
locks; strict;
comment	@# @;


1.26
date	2024.06.05.15.07.13;	author tsutsui;	state Exp;
branches;
next	1.25;
commitid	fgrJ7aezIZly1OcF;

1.25
date	2024.05.31.20.57.32;	author tsutsui;	state Exp;
branches;
next	1.24;
commitid	HMWYul6aG5JS7ccF;

1.24
date	2023.05.19.14.47.16;	author hauke;	state Exp;
branches;
next	1.23;
commitid	Jue05KTEtys6eApE;

1.23
date	2019.07.26.11.38.21;	author rin;	state Exp;
branches
	1.23.2.1
	1.23.10.1;
next	1.22;
commitid	Z870qIsLP5NYXxwB;

1.22
date	2014.06.30.15.34.57;	author martin;	state Exp;
branches
	1.22.24.1;
next	1.21;
commitid	vnMd43df5xaQNyGx;

1.21
date	2014.06.29.17.49.04;	author martin;	state Exp;
branches;
next	1.20;
commitid	jkSv658OXczZzrGx;

1.20
date	2008.03.18.04.20.37;	author lukem;	state Exp;
branches
	1.20.42.1;
next	1.19;

1.19
date	2007.07.24.10.49.26;	author pavel;	state Exp;
branches
	1.19.4.1
	1.19.10.1
	1.19.12.1
	1.19.14.1;
next	1.18;

1.18
date	2007.03.06.21.59.40;	author bouyer;	state Exp;
branches;
next	1.17;

1.17
date	2004.06.26.16.09.09;	author fredb;	state Exp;
branches
	1.17.10.1;
next	1.16;

1.16
date	2003.01.03.15.34.38;	author lukem;	state Exp;
branches
	1.16.2.1;
next	1.15;

1.15
date	2002.12.02.13.31.19;	author lukem;	state Exp;
branches;
next	1.14;

1.14
date	2002.12.02.13.18.08;	author lukem;	state Exp;
branches;
next	1.13;

1.13
date	2002.05.02.15.09.44;	author lukem;	state Exp;
branches;
next	1.12;

1.12
date	2002.03.31.16.07.55;	author bjh21;	state Exp;
branches;
next	1.11;

1.11
date	2002.03.04.16.43.06;	author shiba;	state Exp;
branches;
next	1.10;

1.10
date	2002.02.01.04.57.24;	author fredb;	state Exp;
branches;
next	1.9;

1.9
date	2002.01.27.07.03.04;	author lukem;	state Exp;
branches;
next	1.8;

1.8
date	2001.11.29.22.45.56;	author thorpej;	state Exp;
branches;
next	1.7;

1.7
date	2000.12.07.10.57.18;	author toddpw;	state Exp;
branches;
next	1.6;

1.6
date	2000.06.11.13.01.29;	author fredb;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	2000.05.31.15.45.55;	author fredb;	state Exp;
branches;
next	1.4;

1.4
date	2000.03.30.03.25.48;	author fredb;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2000.02.20.03.52.22;	author mycroft;	state Exp;
branches;
next	1.2;

1.2
date	99.12.24.15.14.29;	author fredb;	state Exp;
branches
	1.2.2.1
	1.2.4.1;
next	1.1;

1.1
date	99.12.17.20.54.31;	author fredb;	state Exp;
branches;
next	;

1.23.2.1
date	2024.08.24.08.12.58;	author martin;	state Exp;
branches;
next	;
commitid	PwoU1EEQoCqPa3nF;

1.23.10.1
date	2023.05.28.09.58.40;	author martin;	state Exp;
branches;
next	1.23.10.2;
commitid	6cAL4WEa9x3SlIqE;

1.23.10.2
date	2024.07.03.18.38.54;	author martin;	state Exp;
branches;
next	;
commitid	ukIKIblTxA6ajqgF;

1.22.24.1
date	2020.04.13.07.45.42;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.20.42.1
date	2014.08.10.06.49.08;	author tls;	state Exp;
branches;
next	;
commitid	0Ouk3OjZgxr2AMLx;

1.19.4.1
date	2008.03.23.00.23.49;	author matt;	state Exp;
branches;
next	;

1.19.10.1
date	2008.03.24.07.14.41;	author keiichi;	state Exp;
branches;
next	;

1.19.12.1
date	2008.04.03.13.54.11;	author mjf;	state Exp;
branches;
next	;

1.19.14.1
date	2007.07.24.10.49.26;	author pavel;	state dead;
branches;
next	1.19.14.2;

1.19.14.2
date	2007.07.24.10.49.27;	author pavel;	state Exp;
branches;
next	;

1.17.10.1
date	2007.03.09.06.59.24;	author riz;	state Exp;
branches;
next	;

1.16.2.1
date	2004.06.27.13.49.42;	author he;	state Exp;
branches;
next	;

1.6.2.1
date	2002.04.03.22.22.13;	author he;	state Exp;
branches;
next	;

1.4.2.1
date	2000.06.23.15.46.00;	author minoura;	state Exp;
branches;
next	;

1.2.2.1
date	99.12.24.15.14.29;	author wrstuden;	state dead;
branches;
next	1.2.2.2;

1.2.2.2
date	99.12.27.18.28.53;	author wrstuden;	state Exp;
branches;
next	;

1.2.4.1
date	99.12.24.15.14.29;	author he;	state dead;
branches;
next	1.2.4.2;

1.2.4.2
date	2000.01.08.20.18.26;	author he;	state Exp;
branches;
next	1.2.4.3;

1.2.4.3
date	2000.06.27.15.12.52;	author he;	state Exp;
branches;
next	;


desc
@@


1.26
log
@Exclude debug.tgz and xdebug.tgz from mac68k ISO to save ~320MB.
@
text
@#	$NetBSD: Makefile.inc,v 1.25 2024/05/31 20:57:32 tsutsui Exp $
#
#	etc.mac68k/Makefile.inc -- mac68k-specific etc Makefile targets
#

# If you change the list of distributed kernels, don't forget
# to update the release documentation in distrib/notes/common/contents

KERNEL_SETS=		GENERIC GENERICSBC WSFB WSFBSBC

BUILD_KERNELS=		INSTALL INSTALLSBC

INSTALLATION_DIRS+=	installation/miniroot	\
			installation/instkernel

snap_md_post:
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/instkernel '*.gz'

# For "make iso-image"
# mkisofs arguments to create a hybrid (HFS/Rockridge) CD-ROM image.
MKISOFS_FLAGS+=	-hfs --macbin \
	-map ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/misc/extensions.map
# exclude large debug sets to avoid possible 700MB overflow
MKISOFS_FLAGS+=	-m debug.tgz -m xdebug.tgz

iso-image: do-iso-image
@


1.25
log
@Drop -data-change-warn from MKISOFS_FLAGS.

It's available only on cdrtools-3.x and later.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.24 2023/05/19 14:47:16 hauke Exp $
d23 2
@


1.24
log
@Creating Type&Creator mappings for .bin (macbinary encoded) files,
mkisofs changes files, then turns around and complains they have been
changed.

This is a self-inflicted wound, so demote the error to a warning.

Reported upstream as <https://codeberg.org/schilytools/schilytools/issues/58>.

Arguably fixes PR toolchain/42166

Request pull-ups to netbsd-{8,9,10}.

XXX What about macppc?
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.23 2019/07/26 11:38:21 rin Exp $
d21 1
a21 1
MKISOFS_FLAGS+=	-hfs --macbin -data-change-warn \
@


1.23
log
@Build and install WSFB and WSFBSBC.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.22 2014/06/30 15:34:57 martin Exp $
d21 1
a21 1
MKISOFS_FLAGS+=	-hfs --macbin \
@


1.23.2.1
log
@Pull up following revision(s) (requested by hauke in ticket #1878):

	etc/etc.mac68k/Makefile.inc: revision 1.24
	distrib/cdrom/Makefile: revision 1.53

Creating Type&Creator mappings for .bin (macbinary encoded) files,
mkisofs changes files, then turns around and complains they have been
changed.

This is a self-inflicted wound, so demote the error to a warning.
Reported upstream as https://codeberg.org/schilytools/schilytools/issues/58

Arguably fixes PR toolchain/41266
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.23 2019/07/26 11:38:21 rin Exp $
d21 1
a21 1
MKISOFS_FLAGS+=	-hfs --macbin -data-change-warn \
@


1.23.10.1
log
@Pull up following revision(s) (requested by lukem in ticket #178):

	etc/etc.mac68k/Makefile.inc: revision 1.24
	distrib/cdrom/Makefile: revision 1.53

Creating Type&Creator mappings for .bin (macbinary encoded) files,
mkisofs changes files, then turns around and complains they have been
changed.

This is a self-inflicted wound, so demote the error to a warning.

Reported upstream as <https://codeberg.org/schilytools/schilytools/issues/58>.

Arguably fixes PR toolchain/42166

Request pull-ups to netbsd-{8,9,10}.
XXX What about macppc?
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.23 2019/07/26 11:38:21 rin Exp $
d21 1
a21 1
MKISOFS_FLAGS+=	-hfs --macbin -data-change-warn \
@


1.23.10.2
log
@Pull up following revision(s) (requested by tsutsui in ticket #733):

	external/gpl2/mkhybrid/dist/mkisofs.h: revision 1.6
	distrib/cdrom/Makefile: revision 1.55
	distrib/cdrom/macppc_installboot/Makefile: revision 1.12
	external/gpl2/mkhybrid/dist/getopt.c: revision 1.2
	external/gpl2/mkhybrid/dist/libfile/LEGAL.NOTICE: revision 1.1
	external/gpl2/mkhybrid/dist/write.c: revision 1.1
	distrib/cdrom/Makefile: revision 1.56
	distrib/cdrom/macppc_installboot/Makefile: revision 1.13
	distrib/cdrom/macppc_installboot/installboot.c: revision 1.6
	external/gpl2/mkhybrid/dist/getopt.c: revision 1.3
	external/gpl2/mkhybrid/dist/write.c: revision 1.2
	external/gpl2/mkhybrid/dist/libhfs_iso/data.h: revision 1.1
	distrib/cdrom/Makefile: revision 1.57
	distrib/cdrom/macppc_installboot/Makefile: revision 1.14
	distrib/cdrom/macppc_installboot/installboot.c: revision 1.7
	tools/Makefile: revision 1.221
	tools/Makefile: revision 1.222
	external/gpl2/mkhybrid/dist/libhfs_iso/file.h: revision 1.1
	external/gpl2/mkhybrid/dist/libhfs_iso/README: revision 1.1
	distrib/macppc/Makefile: revision 1.18
	external/gpl2/mkhybrid/dist/TODO: revision 1.1
	external/gpl2/mkhybrid/dist/libhfs_iso/block.h: revision 1.1
	external/gpl2/mkhybrid/dist/libhfs_iso/record.c: revision 1.1
	external/gpl2/mkhybrid/dist/libhfs_iso/hfs.c: revision 1.1
	external/gpl2/mkhybrid/dist/match.c: revision 1.1
	external/gpl2/mkhybrid/dist/libfile/softmagic.c: revision 1.1
	external/gpl2/mkhybrid/dist/match.c: revision 1.2
	external/gpl2/mkhybrid/dist/libfile/softmagic.c: revision 1.2
	external/gpl2/mkhybrid/dist/volume.c: revision 1.1
	external/gpl2/mkhybrid/dist/volume.c: revision 1.2
	external/gpl2/mkhybrid/dist/libhfs_iso/internal.h: revision 1.1
	external/gpl2/mkhybrid/dist/getopt1.c: revision 1.1
	external/gpl2/mkhybrid/dist/getopt1.c: revision 1.2
	external/gpl2/mkhybrid/dist/getopt1.c: revision 1.3
	external/gpl2/mkhybrid/dist/README.mkisofs: revision 1.1
	external/gpl2/mkhybrid/dist/libhfs_iso/hybrid.h: revision 1.1
	tools/mkhybrid/Makefile: revision 1.1
	external/gpl2/mkhybrid/dist/README.hfs_magic: revision 1.1
	external/gpl2/mkhybrid/dist/apple.h: revision 1.1
	external/gpl2/mkhybrid/dist/include/prototyp.h: revision 1.1
	external/gpl2/mkhybrid/dist/libhfs_iso/volume.h: revision 1.1
	external/gpl2/mkhybrid/dist/apple.h: revision 1.2
	external/gpl2/mkhybrid/dist/mkisofs.c: revision 1.1
	external/gpl2/mkhybrid/dist/desktop.c: revision 1.1
	external/gpl2/mkhybrid/dist/mkisofs.c: revision 1.2
	external/gpl2/mkhybrid/dist/desktop.c: revision 1.2
	external/gpl2/mkhybrid/dist/mkisofs.c: revision 1.3
	external/gpl2/mkhybrid/dist/mkisofs.c: revision 1.4
	external/gpl2/mkhybrid/dist/libfile/file.h: revision 1.1
	external/gpl2/mkhybrid/dist/mkisofs.c: revision 1.5
	external/gpl2/mkhybrid/dist/libfile/file.h: revision 1.2
	external/gpl2/mkhybrid/dist/mkisofs.c: revision 1.6
	external/gpl2/mkhybrid/dist/libfile/file.h: revision 1.3
	external/gpl2/mkhybrid/dist/mkisofs.c: revision 1.7
	external/gpl2/mkhybrid/dist/getopt.h: revision 1.1
	distrib/cdrom/macppc_installboot/installboot.h: revision 1.5
	etc/etc.mac68k/Makefile.inc: revision 1.25
	external/gpl2/mkhybrid/dist/getopt.h: revision 1.2
	external/gpl2/mkhybrid/dist/write.h: revision 1.1
	etc/etc.mac68k/Makefile.inc: revision 1.26
	external/gpl2/mkhybrid/dist/rock.c: revision 1.1
	external/gpl2/mkhybrid/dist/hash.c: revision 1.1
	external/gpl2/mkhybrid/dist/hash.c: revision 1.2
	external/gpl2/mkhybrid/dist/libhfs_iso/record.h: revision 1.1
	external/gpl2/mkhybrid/dist/README.hfs_boot: revision 1.1
	external/gpl2/mkhybrid/dist/README: revision 1.1
	external/gpl2/mkhybrid/dist/README.win32: revision 1.1
	external/gpl2/mkhybrid/dist/libhfs_iso/hfs.h: revision 1.1
	external/gpl2/mkhybrid/dist/libhfs_iso/hfs.h: revision 1.2
	external/gpl2/mkhybrid/dist/config.h.in: revision 1.1
	external/gpl2/mkhybrid/dist/config.h.in: revision 1.2
	distrib/cdrom/boothfs.uue: revision 1.2
	external/gpl2/mkhybrid/dist/config.h.in: revision 1.3
	external/gpl2/mkhybrid/dist/volume.h: revision 1.1
	external/gpl2/mkhybrid/dist/volume.h: revision 1.2
	external/gpl2/mkhybrid/dist/ChangeLog: revision 1.1
	external/gpl2/mkhybrid/dist/libfile/apprentice.c: revision 1.1
	external/gpl2/mkhybrid/dist/libfile/apprentice.c: revision 1.2
	external/gpl2/mkhybrid/dist/mapping: revision 1.1
	external/gpl2/mkhybrid/dist/libhfs_iso/btree.h: revision 1.1
	external/gpl2/mkhybrid/bin/Makefile: revision 1.1
	external/gpl2/mkhybrid/dist/include/statdefs.h: revision 1.1
	external/gpl2/mkhybrid/dist/libhfs_iso/Makefile: revision 1.1
	external/gpl2/mkhybrid/bin/Makefile: revision 1.2
	external/gpl2/mkhybrid/dist/magic: revision 1.1
	external/gpl2/mkhybrid/dist/libhfs_iso/node.h: revision 1.1
	external/gpl2/mkhybrid/bin/Makefile: revision 1.3
	external/gpl2/mkhybrid/dist/acconfig.h: revision 1.1
	external/gpl2/mkhybrid/dist/eltorito.c: revision 1.1
	external/gpl2/mkhybrid/dist/libfile/patchlevel.h: revision 1.1
	share/mk/bsd.own.mk: revision 1.1375
	share/mk/bsd.own.mk: revision 1.1376
	external/gpl2/mkhybrid/dist/README.session: revision 1.1
	external/gpl2/mkhybrid/dist/libfile/lfile.c: revision 1.1
	external/gpl2/mkhybrid/dist/libfile/lfile.c: revision 1.2
	tools/macppc_installboot/Makefile: revision 1.1
	external/gpl2/mkhybrid/README.md: revision 1.1
	etc/etc.macppc/Makefile.inc: revision 1.13
	external/gpl2/mkhybrid/dist/defaults.h: revision 1.1
	external/gpl2/mkhybrid/dist/mkisofs.spec: revision 1.1
	external/gpl2/mkhybrid/dist/defaults.h: revision 1.2
	external/gpl2/mkhybrid/dist/mac_label.h: revision 1.1
	external/gpl2/mkhybrid/dist/defaults.h: revision 1.3
	external/gpl2/mkhybrid/dist/include/mconfig.h: revision 1.1
	external/gpl2/mkhybrid/dist/include/mconfig.h: revision 1.2
	external/gpl2/mkhybrid/dist/libfile/proto.h: revision 1.1
	external/gpl2/mkhybrid/dist/COPYING: revision 1.1
	external/gpl2/mkhybrid/dist/name.c: revision 1.1
	external/gpl2/mkhybrid/dist/configure.in: revision 1.1
	external/gpl2/mkhybrid/dist/configure.in: revision 1.2
	external/gpl2/mkhybrid/dist/mac_label_proto.h: revision 1.1
	external/gpl2/mkhybrid/dist/configure.in: revision 1.3
	external/gpl2/mkhybrid/dist/libhfs_iso/low.c: revision 1.1
	distrib/cdrom/macppc_mkboothfs/mkboothfs.c: revision 1.4
	external/gpl2/mkhybrid/dist/mkhybrid.8: revision 1.1
	external/gpl2/mkhybrid/dist/libhfs_iso/btree.c: revision 1.1
	distrib/cdrom/macppc_installboot/cd9660.c: revision 1.5
	external/gpl2/mkhybrid/dist/config.h: revision 1.1
	external/gpl2/mkhybrid/dist/mkhybrid.8: revision 1.2
	distrib/cdrom/macppc_installboot/cd9660.c: revision 1.6
	external/gpl2/mkhybrid/dist/config.h: revision 1.2
	external/gpl2/mkhybrid/dist/libhfs_iso/node.c: revision 1.1
	external/gpl2/mkhybrid/dist/libhfs_iso/data.c: revision 1.1
	external/gpl2/mkhybrid/dist/libhfs_iso/file.c: revision 1.1
	external/gpl2/mkhybrid/dist/README.eltorito: revision 1.1
	external/gpl2/mkhybrid/dist/include/fctldefs.h: revision 1.1
	external/gpl2/mkhybrid/dist/libfile/README: revision 1.1
	external/gpl2/mkhybrid/dist/libhfs_iso/block.c: revision 1.1
	external/gpl2/mkhybrid/dist/mactypes.h: revision 1.1
	external/gpl2/mkhybrid/dist/apple_proto.h: revision 1.1
	external/gpl2/mkhybrid/dist/apple_proto.h: revision 1.2
	external/gpl2/mkhybrid/dist/multi.c: revision 1.1
	external/gpl2/mkhybrid/dist/match.h: revision 1.1
	external/gpl2/mkhybrid/dist/match.h: revision 1.2
	external/gpl2/mkhybrid/dist/mac_label.c: revision 1.1
	external/gpl2/mkhybrid/dist/Makefile.in: revision 1.1
	external/gpl2/mkhybrid/dist/mac_label.c: revision 1.2
	external/gpl2/mkhybrid/dist/libhfs_iso/lvolume.c: revision 1.1
	external/gpl2/mkhybrid/dist/Makefile.in: revision 1.2
	external/gpl2/mkhybrid/dist/configure: revision 1.1
	external/gpl2/mkhybrid/dist/configure: revision 1.2
	external/gpl2/mkhybrid/dist/install-sh: revision 1.1
	external/gpl2/mkhybrid/dist/configure: revision 1.3
	distrib/cdrom/macppc_installboot/cd9660.c: file removal
	external/gpl2/mkhybrid/dist/README.mkhybrid: revision 1.1
	external/gpl2/mkhybrid/dist/ChangeLog.mkhybrid: revision 1.1
	external/gpl2/mkhybrid/dist/iso9660.h: revision 1.1
	external/gpl2/mkhybrid/dist/joliet.c: revision 1.1
	external/gpl2/mkhybrid/dist/apple.c: revision 1.1
	external/gpl2/mkhybrid/dist/apple.c: revision 1.2
	external/gpl2/mkhybrid/dist/apple.c: revision 1.3
	etc/Makefile: revision 1.471
	external/gpl2/mkhybrid/dist/apple.c: revision 1.4
	external/gpl2/mkhybrid/dist/tree.c: revision 1.1
	etc/Makefile: revision 1.472
	external/gpl2/mkhybrid/dist/tree.c: revision 1.2
	external/gpl2/mkhybrid/dist/tree.c: revision 1.3
	external/gpl2/mkhybrid/dist/libhfs_iso/low.h: revision 1.1
	external/gpl2/mkhybrid/dist/mkisofs.h: revision 1.1
	external/gpl2/mkhybrid/dist/mkisofs.8: revision 1.1
	external/gpl2/mkhybrid/dist/mkisofs.h: revision 1.2
	external/gpl2/mkhybrid/dist/mkisofs.h: revision 1.3
	external/gpl2/mkhybrid/dist/mkisofs.h: revision 1.4
	external/gpl2/mkhybrid/dist/mkisofs.h: revision 1.5
	distrib/cdrom/Makefile: revision 1.54
	external/gpl2/mkhybrid/dist/getopt.c: revision 1.1

Add -data-change-warn to MKISOFS_ARGS for macppc as done for mac68k:
https://mail-index.netbsd.org/source-changes/2023/05/19/msg144826.html

Creating Type&Creator mappings for .bin (macbinary encoded) files,
mkisofs changes files, then turns around and complains they have been
changed.
This is a self-inflicted wound, so demote the error to a warning.
This looks to make macppccd builds with cdrtools-3.02a10.
Sync with src/usr.sbin/installboot/cd9660.c:
- include now properly updated cd9660_extern.h for function prototypes
  and remove them from local installboot.h
- use ISO_MAXNAMLEN rather than (BSD specific and incorrect) MAXNAMLEN
- use proper names for the secondary boot file
- appease several pointer signedness warnings (not fatal on HOST tools)
Use native cd9660 blocksize to specify block numbers in cd9660.c.
This reduces diffs from src/usr.sbin/installboot/cd9660.c.
Also explicitly call cd9660_match() to get fstype->blocksize properly.
Pull sharable src/usr.sbin/installboot/cd9660.c.
Import mkhybrid from OpenBSD 7.3 to create ISO9660/HFS hybrid ISO images.
- files in libfile except proto.h prepared by OpenBSD are not imported
  due to non-standard license
  (newer BSD Licensed versions will be imported later)
- unnecessary files for tools build are not imported
- RCSId strings are trimmed to avoid unintended substitutions
Proposed on tech-toolchain@@:
https://mail-index.netbsd.org/tech-toolchain/2024/05/25/msg004355.html

Import BSD licensed libfile for mkhybrid builds from cdrtools-3.01.
- unnecessary files for tools build are not imported
- file.c is renamed to lfile.c to avoid conflict with libhfs_iso
- RCSId strings are trimmed
Remove dependencies on non-existent exclude.h.
Pull changes from mkisofs-1.12.1 to avoid statvfs(2).
Make newer BSD Licensed libfile sources build as tools.
Update mkhybrid Makefile for NetBSD's tools builds.
Suppress implicit declaration warnings.
Appease discard-const warnings.
Remove duplicated SYSTEM_ID_DEFAULT definitions.
Don't redefine SYSTEM_ID_DEFAULT if it's specified in CPPFLAGS.
Remove ancient rlimit hacks for NetBSD disabled in cdrtools-2.01.
Always use local getopt.h as cdrtools-2.01 did.
Tweak and regen configure using autoconf-2.13 to use pkgsrc tools.
Check <stdlib.h> and <flock.h> in configure and regen config.h.
Use HAVE_CONFIG_H to include <stdlib.h> and <string.h> in getopt sources.
Appease more warnings and remove unused getopt functions.
Pull options -hide-joliet-trans-tbl and -hide-rr-moved from mkisofs-1.13.
Pull -graft-points option from mkisofs-1.13 and cdrtools-2.01.
Also remove #ifdef APPLE_HYB for NON-HFS changes to reduce diffs.
Tweak OPTION_* definitions to reduce diffs from mkisofs-1.13.
Pull malloc related fixes from cdrtools-2.01.
This seems to fix SIGSEGV during free(3) in write.c:write_one_file().
Build mkhybrid as a build tool.
Build mac68k and macppc iso images using tools/mkhybrid.
Drop -data-change-warn from MKISOFS_FLAGS.
It's available only on cdrtools-3.x and later.
Use tools/mkhybrid as MKISOFS for mac68k and future macppc.
Note about current status.
Also pull man page description of options pulled from mkisofs-1.13.
Don't print progress if -quiet is specfied as cdrtools-2.01 and later.
Exclude debug.tgz and xdebug.tgz from mac68k ISO to save ~320MB.
Drop -T (for non-Rock Ridge capable systems) from ${MKISOFS_FLAGS}.
Even old mac68k and macppc don't require it, and somehow TRANS.TBL
files are shown on NetBSD when the ISO images created with both -T
and and -hide-joliet-trans-tbl are mounted by mount_cd9660(8).
Note this also happens with mkisofs(8) from cdrtools-3.02,
but I have not investigated if it's expected behavior.
Build src/distrib/cdrom/macppc_installboot in src/tools as a tool.
Also use the tools version ${TOOLS_MACPPC_INSTALLBOOT} to create
bootable ISO9660/HFS hybrid installcd image for macppc.
Make sure NetBSD_BootBlock partition has 32KB to avoid extra padding.
It looks at least OpenFirmware 2.x fails to load the primary bootloader
in the NetBSD_BootBlock partition if the partition size is too small,
probably because OpenFirmware read() function implicitly uses 32KB blocks.
Build macppc iso with TOOL_MKHYBRID via "iso-image" target in src/etc.
No need to check and redefine C89 strerror(3) and strtoul(3).
Fixes build error on MacOS 10.4 with Xcode 2.5.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.23.10.1 2023/05/28 09:58:40 martin Exp $
d21 1
a21 1
MKISOFS_FLAGS+=	-hfs --macbin \
a22 2
# exclude large debug sets to avoid possible 700MB overflow
MKISOFS_FLAGS+=	-m debug.tgz -m xdebug.tgz
@


1.22
log
@Undo the mac68k specific previous change and instead move all mkisofs-based
images into ${RELEASEDIR}/images (just like the makefs ones).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.21 2014/06/29 17:49:04 martin Exp $
d9 1
a9 1
KERNEL_SETS=		GENERIC GENERICSBC
@


1.22.24.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
#	$NetBSD$
d9 1
a9 1
KERNEL_SETS=		GENERIC GENERICSBC WSFB WSFBSBC
@


1.21
log
@Make sure the iso target directory is created in-time for the mkisofs
invocation
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.20 2008/03/18 04:20:37 lukem Exp $
d24 1
a24 4
check-iso-dir:
	-mkdir -p ${RELEASEDIR}/iso

iso-image: check-iso-dir .WAIT do-iso-image
@


1.20
log
@Convert all the etc/etc.*/Makefile.inc to use RELEASEDIR/RELEASEMACHINEDIR
just like etc/Makefile does.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.19 2007/07/24 10:49:26 pavel Exp $
d24 4
a27 1
iso-image: do-iso-image
@


1.20.42.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.22 2014/06/30 15:34:57 martin Exp $
@


1.19
log
@Add a comment reminding to update the release notes if the list of
kernels change.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.18 2007/03/06 21:59:40 bouyer Exp $
d17 1
a17 1
	${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation/instkernel '*.gz'
d22 1
a22 1
	-map ${RELEASEDIR}/${MACHINE}/installation/misc/extensions.map
@


1.19.14.1
log
@file Makefile.inc was added on branch matt-mips64 on 2007-07-24 10:49:27 +0000
@
text
@d1 24
@


1.19.14.2
log
@Add a comment reminding to update the release notes if the list of
kernels change.
@
text
@a0 24
#	$NetBSD: Makefile.inc,v 1.19 2007/07/24 10:49:26 pavel Exp $
#
#	etc.mac68k/Makefile.inc -- mac68k-specific etc Makefile targets
#

# If you change the list of distributed kernels, don't forget
# to update the release documentation in distrib/notes/common/contents

KERNEL_SETS=		GENERIC GENERICSBC

BUILD_KERNELS=		INSTALL INSTALLSBC

INSTALLATION_DIRS+=	installation/miniroot	\
			installation/instkernel

snap_md_post:
	${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation/instkernel '*.gz'

# For "make iso-image"
# mkisofs arguments to create a hybrid (HFS/Rockridge) CD-ROM image.
MKISOFS_FLAGS+=	-hfs --macbin \
	-map ${RELEASEDIR}/${MACHINE}/installation/misc/extensions.map

iso-image: do-iso-image
@


1.19.12.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d17 1
a17 1
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/instkernel '*.gz'
d22 1
a22 1
	-map ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/misc/extensions.map
@


1.19.10.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.20 2008/03/18 04:20:37 lukem Exp $
d17 1
a17 1
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/instkernel '*.gz'
d22 1
a22 1
	-map ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/misc/extensions.map
@


1.19.4.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	Makefile.inc,v 1.19 2007/07/24 10:49:26 pavel Exp
d17 1
a17 1
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/instkernel '*.gz'
d22 1
a22 1
	-map ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/misc/extensions.map
@


1.18
log
@Make iso-image do nothing for all but mac68k, which still
relies on mkisofs to create bootable ISO image. macppc should also be there,
but it seems the code to make an iso bootable never got added in etc.macppc/
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.17 2004/06/26 16:09:09 fredb Exp $
d6 3
@


1.17
log
@Make the "iso-image" a hybrid HFS/Rockride image. The main benefit, is
that the Macbinary files in the "misc" directly are now directly executable
from within Mac OS. This solves a "chicken-and-egg" problem: you can't even
distribute a tool to unpack the archives on a plain ISO image, as the
executable code is all in the resource fork on mac68k. In other words, a
user can now begin the installation by simply double-clicking on the Booter
program on the CD-ROM.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.16 2003/01/03 15:34:38 lukem Exp $
d20 2
@


1.17.10.1
log
@Pull up following revision(s) (requested by bouyer in ticket #494):
	sys/arch/i386/conf/GENERIC.MP: revision 1.9
	distrib/pc532/cdroms/installcd/Makefile: revision 1.1
	distrib/macppc/Makefile: revision 1.15
	distrib/ofppc/Makefile: revision 1.2
	distrib/ibmnws/Makefile: revision 1.2
	distrib/acorn32/Makefile: revision 1.18
	distrib/x68k/cdroms/installcd/Makefile: revision 1.1
	distrib/sparc/Makefile: revision 1.7
	distrib/sparc64/cdroms/Makefile: revision 1.1
	distrib/hp300/cdroms/Makefile: revision 1.1
	distrib/hpcsh/Makefile: revision 1.6
	distrib/ofppc/cdroms/installcd/Makefile: revision 1.1
	distrib/playstation2/Makefile: revision 1.13
	distrib/news68k/cdroms/installcd/Makefile: revision 1.1
	distrib/amiga/cdroms/installcd/Makefile: revision 1.1
	distrib/hp700/cdroms/installcd/Makefile: revision 1.1
	distrib/playstation2/cdroms/Makefile: revision 1.1
	distrib/amiga/cdroms/Makefile: revision 1.1
	etc/etc.mac68k/Makefile.inc: revision 1.18
	distrib/shark/cdroms/installcd/Makefile: revision 1.1
	distrib/hpcmips/Makefile: revision 1.28
	distrib/hpcmips/cdroms/Makefile: revision 1.1
	distrib/amd64/floppies/Makefile: revision 1.3
	sys/arch/amd64/conf/INSTALL_ACPI: file removal
	distrib/i386/cdroms/Makefile: revision 1.4
	distrib/acorn26/cdroms/installcd/Makefile: revision 1.1
	distrib/hpcsh/cdroms/Makefile: revision 1.1
	distrib/prep/cdroms/Makefile: revision 1.1
	distrib/pc532/Makefile: revision 1.4
	distrib/acorn32/cdroms/installcd/Makefile: revision 1.1
	distrib/sun2/Makefile: revision 1.8
	distrib/vax/Makefile: revision 1.17
	distrib/sparc64/cdroms/installcd/Makefile: revision 1.1
	distrib/pmax/cdroms/Makefile: revision 1.1
	distrib/mipsco/cdroms/installcd/Makefile: revision 1.1
	distrib/sun3/cdroms/installcd/Makefile: revision 1.1
	distrib/vax/cdroms/installcd/Makefile: revision 1.1
	distrib/hpcarm/cdroms/installcd/Makefile: revision 1.1
	distrib/mvme68k/Makefile: revision 1.4
	distrib/mvmeppc/cdroms/Makefile: revision 1.1
	distrib/newsmips/Makefile: revision 1.4
	sys/arch/i386/conf/GENERIC.MPACPI: file removal
	distrib/hpcarm/cdroms/Makefile: revision 1.1
	distrib/evbppc/cdroms/Makefile: revision 1.1
	sys/arch/i386/conf/INSTALL_LARGE: revision 1.1
	distrib/i386/cdroms/installcd/Makefile: revision 1.2
	distrib/i386/cdroms/installcd/Makefile: revision 1.3
	doc/CHANGES: revision 1.804
	distrib/hpcsh/cdroms/installcd/Makefile: revision 1.1
	distrib/i386/cdroms/bootcd/Makefile: revision 1.2
	distrib/mvmeppc/cdroms/installcd/Makefile: revision 1.1
	distrib/i386/cdroms/bootcd/Makefile: revision 1.3
	distrib/evbarm/Makefile: revision 1.8
	distrib/mvmeppc/Makefile: revision 1.3
	distrib/i386/cdroms/bootcd-com/Makefile: revision 1.2
	distrib/i386/cdroms/bootcd-com/Makefile: revision 1.3
	distrib/macppc/cdroms/installcd/Makefile: revision 1.1
	distrib/acorn26/cdroms/Makefile: revision 1.1
	distrib/alpha/cdroms/Makefile: revision 1.1
	distrib/hp300/cdroms/installcd/Makefile: revision 1.1
	distrib/amd64/floppies/bootfloppy/Makefile: revision 1.4
	distrib/pmppc/cdroms/installcd/Makefile: revision 1.1
	distrib/hp700/Makefile: revision 1.2
	distrib/pmppc/Makefile: revision 1.2
	distrib/arc/cdroms/Makefile: revision 1.1
	sys/arch/amd64/conf/INSTALL: revision 1.66
	distrib/sun3/cdroms/Makefile: revision 1.1
	distrib/mipsco/Makefile: revision 1.4
	distrib/sun3/Makefile: revision 1.9
	distrib/vax/cdroms/Makefile: revision 1.1
	distrib/pmppc/cdroms/Makefile: revision 1.1
	distrib/amd64/cdroms/Makefile.cdrom: revision 1.1
	distrib/atari/cdroms/installcd/Makefile: revision 1.1
	distrib/evbppc/cdroms/installcd/Makefile: revision 1.1
	distrib/newsmips/cdroms/installcd/Makefile: revision 1.1
	distrib/pmax/Makefile: revision 1.4
	Makefile: revision 1.247
	distrib/cats/cdroms/installcd/Makefile: revision 1.1
	sys/arch/amd64/conf/GENERIC: revision 1.130
	sys/arch/amd64/conf/GENERIC: revision 1.131
	distrib/sgimips/cdroms/installcd/Makefile: revision 1.1
	distrib/hp700/cdroms/Makefile: revision 1.1
	distrib/cats/cdroms/Makefile: revision 1.1
	distrib/evbmips/Makefile: revision 1.3
	distrib/evbmips/Makefile: revision 1.4
	sys/arch/amd64/conf/GENERIC_ACPI: file removal
	distrib/ews4800mips/Makefile: revision 1.2
	distrib/amd64/cdroms/bootcd-com/Makefile: revision 1.2
	distrib/i386/Makefile: revision 1.5
	distrib/amd64/cdroms/installcd/Makefile: revision 1.2
	distrib/mvme68k/cdroms/installcd/Makefile: revision 1.1
	distrib/alpha/cdroms/installcd/Makefile: revision 1.1
	etc/etc.amd64/Makefile.inc: revision 1.7
	distrib/i386/instkernel/Makefile: revision 1.6
	distrib/x68k/cdroms/Makefile: revision 1.1
	distrib/i386/cdroms/Makefile.cdrom: revision 1.1
	distrib/sandpoint/Makefile: revision 1.4
	distrib/i386/cdroms/Makefile.cdrom: revision 1.2
	distrib/amiga/Makefile: revision 1.3
	distrib/amd64/cdroms/bootcd/Makefile: revision 1.2
	distrib/news68k/Makefile: revision 1.4
	distrib/amd64/floppies/bootfloppy-com/Makefile: revision 1.5
	distrib/news68k/cdroms/Makefile: revision 1.1
	distrib/sparc/cdroms/Makefile: revision 1.1
	distrib/shark/cdroms/Makefile: revision 1.1
	etc/Makefile: revision 1.341
	distrib/amd64/instkernel/Makefile: revision 1.2
	distrib/sparc64/Makefile: revision 1.7
	distrib/dreamcast/cdroms/Makefile: revision 1.1
	distrib/shark/Makefile: revision 1.3
	distrib/ews4800mips/cdroms/Makefile: revision 1.1
	distrib/sun2/cdroms/installcd/Makefile: revision 1.1
	distrib/shark/Makefile: revision 1.4
	distrib/macppc/cdroms/Makefile: revision 1.1
	distrib/mvme68k/cdroms/Makefile: revision 1.1
	distrib/sun2/cdroms/Makefile: revision 1.1
	distrib/hpcarm/Makefile: revision 1.3
	distrib/arc/cdroms/installcd/Makefile: revision 1.1
	distrib/hpcmips/cdroms/installcd/Makefile: revision 1.1
	distrib/mipsco/cdroms/Makefile: revision 1.1
	distrib/Makefile.inc: revision 1.9
	distrib/playstation2/cdroms/installcd/Makefile: revision 1.1
	distrib/ibmnws/cdroms/installcd/Makefile: revision 1.1
	distrib/newsmips/cdroms/Makefile: revision 1.1
	distrib/arc/Makefile: revision 1.3
	distrib/sparc/cdroms/installcd/Makefile: revision 1.1
	distrib/evbmips/cdroms/installcd/Makefile: revision 1.1
	distrib/ews4800mips/cdroms/installcd/Makefile: revision 1.1
	distrib/prep/Makefile: revision 1.3
	distrib/ibmnws/cdroms/Makefile: revision 1.1
	distrib/sandpoint/cdroms/Makefile: revision 1.1
	distrib/atari/Makefile: revision 1.6
	distrib/sgimips/cdroms/Makefile: revision 1.1
	distrib/amd64/Makefile: revision 1.4
	distrib/atari/cdroms/Makefile: revision 1.1
	distrib/x68k/Makefile: revision 1.5
	distrib/x68k/Makefile: revision 1.6
	distrib/sandpoint/cdroms/installcd/Makefile: revision 1.1
	distrib/evbarm/cdroms/Makefile: revision 1.1
	distrib/acorn32/cdroms/Makefile: revision 1.1
	distrib/cats/Makefile: revision 1.3
	distrib/evbmips/cdroms/Makefile: revision 1.1
	distrib/pc532/cdroms/Makefile: revision 1.1
	distrib/Makefile: revision 1.14
	distrib/evbarm/cdroms/installcd/Makefile: revision 1.1
	distrib/ofppc/cdroms/Makefile: revision 1.1
	distrib/amd64/cdroms/Makefile: revision 1.3
	distrib/common/Makefile.bootcd: revision 1.8
	distrib/i386/cdroms/bootcd-laptop/Makefile: file removal
	sys/arch/i386/conf/GENERIC: revision 1.813
	distrib/hp300/Makefile: revision 1.17
	sys/arch/i386/conf/GENERIC: revision 1.814
	distrib/evbppc/Makefile: revision 1.2
	distrib/pmax/cdroms/installcd/Makefile: revision 1.1
	etc/etc.i386/Makefile.inc: revision 1.49
	distrib/sgimips/Makefile: revision 1.2
	distrib/prep/cdroms/installcd/Makefile: revision 1.1
	distrib/acorn26/Makefile: revision 1.4
	distrib/dreamcast/cdroms/installcd/Makefile: revision 1.1
	distrib/alpha/Makefile: revision 1.22
	distrib/dreamcast/Makefile: revision 1.2
Improve the use of makefs to build boot CDs, and make it truely MI:
- allow to specify the "instkernel" directory, and allow to put multiple
  kernels on the image
- allow to specify the directory where the image will be created
- only use bootxx_cd9660 if it exists
- search for second-stage boot as usr/mdec/boot.${MACHINE} in addition to
  usr/mdec/boot
- make 'installboot -e' optional
- use target 'release' or 'iso_image' depending on ${CDRELEASE}
- call some MD targets, which will eventually complete the file list or
  make the image bootable
For the benefit of modern hardware, enable ACPI by default in INSTALL and
GENERIC kernels. If ACPI is an issue on your hardware, 'boot -c' and
'disable acpi' should be a workaround. ACPI-enabled kernels works fine
on pre-acpi hardware.
for amd64:
- add ACPI to INSTALL and GENERIC, remove the *_ACPI config files.
- get rid of the bootfloppy-big.fs boot image, and got to a 3-floppy boot
  image
for i386:
- introduce INSTALL_LARGE which has ACPI and some devices with big firmware
- move some devices from INSTALL to INSTALL_LARGE
- Boot floppies still use INSTALL, and bootfloppy-big.fs is still there
  (for thoses who want to build el-torito floppy emulation boot CD) and use
  INSTALL.
For both, drop the 'iso-image' code in etc/ to make the iso bootable, we'll
use something else to build bootable CDs.
Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.
call iso_image in distrib/ for iso-image in the top Makefile.
Use the new common/Makefile.bootcd to make i386 and amd64 bootable ISO
images. amd64 gets a single kernel; i386 images gets 3 kernels:
- netbsd, copy from netbsd-INSTALL_LARGE.gz, loaded by default
- nbsd-l, copy from netbsd-INSTALL_LAPTOP.gz
- nbsd-i, copy from netbsd-INSTALL.gz for those who want the traditionnal
  non-ACPI kernel
- drop the bootcd-laptop image
both gets an installcd image, which is the same as bootcd but with the
binary sets in addition to kernels.
Make iso-image do nothing for all but mac68k, which still
relies on mkisofs to create bootable ISO image. macppc should also be there,
but it seems the code to make an iso bootable never got added in etc.macppc/
Fix typo in subdir name.
Revert local changes that went in accidentally with the "add ACPI" commit.
Note ACPI by default in i386/amd64, and the iso-image changes.
Fix SUBDIR in previous
Remove duplicate ACPIVERBOSE and ACPI_SCANPCI; pointed out by Nicolas Joly.
Correct typo: the directory is named cdroms, not cdrom.
Use nblaptop and nbnoacpi for the alternative kernel names; as suggected by
Alan Barrett. While there factor out the kernels in Makefile.cdrom.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.17 2004/06/26 16:09:09 fredb Exp $
a19 2

iso-image: do-iso-image
@


1.16
log
@Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.15 2002/12/02 13:31:19 lukem Exp $
d15 5
@


1.16.2.1
log
@Pull up revision 1.17 (requested by fredb in ticket #561):
  Make the ``iso-image'' a hybrid HFS/Rockridge image.  The
  main benefit is that the Macbinary files in the ``misc''
  directory are now directly executable from within MacOS.
  This solves a ``chicken-and-egg'' problem: you can't even
  distribute a tool to unpack the archives on a plain ISO
  image, as the executable code is all in the resource fork
  on mac68k.  In other words, a user can now begin the
  installation by simply double-clicking on the Booter program
  on the CD-ROM.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.16 2003/01/03 15:34:38 lukem Exp $
a14 5

# For "make iso-image"
# mkisofs arguments to create a hybrid (HFS/Rockridge) CD-ROM image.
MKISOFS_FLAGS+=	-hfs --macbin \
	-map ${RELEASEDIR}/${MACHINE}/installation/misc/extensions.map
@


1.15
log
@consistency tweaks
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.14 2002/12/02 13:18:08 lukem Exp $
d14 1
a14 1
	${MAKESUMS} -t ${RELEASEDIR}/installation/instkernel '*.gz'
@


1.14
log
@- add snap_post, which makes "clean depend all release" in ../distrib/
  for all platforms.
- remove now unnecessary replicated code in the various snap_md_post targets
- remove snap_md_pre; nothing uses it any more
- use ${NETBSDSRCDIR} and ${KERNSRCDIR} as appropriate
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.13 2002/05/02 15:09:44 lukem Exp $
d3 1
a3 1
#	mac68k-specific release building goo
@


1.13
log
@- consistency cleanup
- ensure INSTALLATION_DIRS contains the appropriate extra directories
  for a given platform
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.12 2002/03/31 16:07:55 bjh21 Exp $
a13 6
.ifndef UPDATE
	cd ${.CURDIR}/../distrib && ${MAKE} cleandir
.endif
	cd ${.CURDIR}/../distrib && ${MAKE} depend && ${MAKE}
	cd ${.CURDIR}/../distrib/mac68k && ${MAKE} release
	cd ${.CURDIR}/../distrib/notes && ${MAKE} release
@


1.12
log
@Add a MAKESUMS variable which invokes makesums with CKSUM in its environment.
Use this whenever we want to invoke makesums.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.11 2002/03/04 16:43:06 shiba Exp $
d10 2
a11 1
INSTALLATION_DIRS+=	installation/instkernel
@


1.11
log
@Clean up make release procedure. But just make through
in distrib/mac68k/miniroot.

Reviewed by fredb, briggs
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.10 2002/02/01 04:57:24 fredb Exp $
d19 1
a19 1
	sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/instkernel '*.gz'
@


1.10
log
@Remove a comment that's no longer true: it's no longer necessary for a
release builder to generate the INSTALLSBC and GENERICSBC kernels by hand.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.9 2002/01/27 07:03:04 lukem Exp $
d14 1
a14 1
	cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && ${MAKE} ${MAKEFLAGS} clean
d16 4
a19 23
	cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && ${MAKE} ${MAKEFLAGS}
.ifndef UPDATE
	cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && ${MAKE} ${MAKEFLAGS} clean
.endif
.for k in ${BUILD_KERNELS}
.ifndef UPDATE
	cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && \
		${MAKE} clean
.endif
	cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && \
		${MAKE} ${MAKEFLAGS} INSTALL_KERNEL=${k} && \
		${MAKE} ${MAKEFLAGS} INSTALL_KERNEL=${k} release
.endfor
	cd ${KERNOBJDIR}/GENERICSBC &&	\
		GZIP=-9 ${PAX} -zwf	\
		    ${RELEASEDIR}/binary/sets/kern_sbc.tgz netbsd
.ifndef UPDATE
	cd ${.CURDIR}/../distrib/notes && ${MAKE} clean
.endif
	cd ${.CURDIR}/../distrib/notes && \
		${MAKE} ${MAKEFLAGS} && \
		${MAKE} ${MAKEFLAGS} release
	sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/instkernel
@


1.9
log
@use ${PAX} instead of tar | gzip
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.8 2001/11/29 22:45:56 thorpej Exp $
a3 6
#

# You will find no configs for GENERICSBC or INSTALLSBC in the
# sources. That's because they're trivial to generate--each is
# simply its corresponding config with "ncrscsi" commented out,
# and "sbc" uncommented.
@


1.8
log
@Change the way kernel sets are specified, and make them
more consistent.  To quote the comment in etc/Makefile
that describes how it's done:

# This target builds the kernels specified by each port.  A port may
# specify the following kernels:
#
#       KERNEL_SETS             The list of kernels that will be
#                               packaged into sets, named
#                               kern-${kernel}.tgz.  These kernels
#                               are also placed in the binary/kernels
#                               area of the release package as
#                               netbsd-${kernel}.gz.
#
#       EXTRA_KERNELS           Additional kernels to place in the
#                               binary/kernels area of the release
#                               package as netbsd-${kernel}.gz, but
#                               which are not placed into sets. This
#                               allows a port to provide e.g. a netbootable
#                               installation kernel containing a ramdisk.
#
#       BUILD_KERNELS           Additional kernels to build which are
#                               not placed into sets nor into the
#                               binary/kernels area of the release
#                               package.  These are typically kernels
#                               that are built for inclusion only in
#                               installation disk/CD-ROM/tape images.
#
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.7 2000/12/07 10:57:18 toddpw Exp $
d36 2
a37 2
		tar cf - netbsd |\
		gzip -c -9 > ${RELEASEDIR}/binary/sets/kern_sbc.tgz
@


1.7
log
@Fix PR port-mac68k/11343
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.6 2000/06/11 13:01:29 fredb Exp $
d11 4
a14 2
BUILD_KERNELS?=	INSTALL	INSTALLSBC
EXTRA_KERNELS?=		GENERICSBC
@


1.6
log
@Pass ${MAKEFLAGS} to all recursive invocations of ${MAKE}.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.5 2000/05/31 15:45:55 fredb Exp $
d11 2
a12 2
BUILD_KERNELS?=	INSTALL	# INSTALLSBC
EXTRA_KERNELS?=		# GENERICSBC
d25 4
d30 2
a31 1
		${MAKE} ${MAKEFLAGS} INSTALL_KERNEL=${k} && ${MAKE} ${MAKEFLAGS} release INSTALL_KERNEL=${k}
d33 9
a41 1
	cd ${.CURDIR}/../distrib/notes && ${MAKE} ${MAKEFLAGS} && ${MAKE} ${MAKEFLAGS} release
@


1.6.2.1
log
@Apply patch (requested by oster):
  Also build the INSTALLSBC and GENERICSBC kernels.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.6 2000/06/11 13:01:29 fredb Exp $
d11 2
a12 2
BUILD_KERNELS?=	INSTALL	INSTALLSBC
EXTRA_KERNELS?=		GENERICSBC
@


1.5
log
@Build and install the release notes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.4 2000/03/30 03:25:48 fredb Exp $
d18 1
a18 1
	cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && ${MAKE} clean
d20 1
a20 1
	cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && ${MAKE}
d22 1
a22 1
	cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && ${MAKE} clean
d26 1
a26 1
		${MAKE} INSTALL_KERNEL=${k} && ${MAKE} release INSTALL_KERNEL=${k}
d28 1
a28 1
	cd ${.CURDIR}/../distrib/notes && ${MAKE} && ${MAKE} release
@


1.4
log
@- - Take BUILD_KERNELS to be the kernels to make into sysinstall kernels.
- - Clean up.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.3 2000/02/20 03:52:22 mycroft Exp $
d28 1
@


1.4.2.1
log
@Sync w/ netbsd-1-5-base.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.6 2000/06/11 13:01:29 fredb Exp $
d18 1
a18 1
	cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && ${MAKE} ${MAKEFLAGS} clean
d20 1
a20 1
	cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && ${MAKE} ${MAKEFLAGS}
d22 1
a22 1
	cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && ${MAKE} ${MAKEFLAGS} clean
d26 1
a26 1
		${MAKE} ${MAKEFLAGS} INSTALL_KERNEL=${k} && ${MAKE} ${MAKEFLAGS} release INSTALL_KERNEL=${k}
a27 1
	cd ${.CURDIR}/../distrib/notes && ${MAKE} ${MAKEFLAGS} && ${MAKE} ${MAKEFLAGS} release
@


1.3
log
@Let the main Makefile deal with building kernels.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.2 1999/12/24 15:14:29 fredb Exp $
d6 4
a9 2
# This is commented out in the distribution, because GENERICSBC isn't
# distributed (it's just GENERIC:s/ncrsci/sbc/).
d11 2
a12 2
#EXTRA_KERNELS+=	GENERICSBC
BUILD_KERNELS+= 	INSTALL
d14 1
a14 1
INSTALLATION_DIRS+=		installation/instkernel
a16 3
#
# Build the ramdisk...
#
d18 1
a18 2
	cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && \
		${MAKE} clean
d20 1
a20 6
	cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && \
		${MAKE} ${_J}
#
# and put them all together.
#
.for k in ${EXTRA_INSTALL_KERNELS}
d22 1
a22 2
	cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && \
		${MAKE} clean
d24 1
@


1.2
log
@Make nomenclature more sensible: INST_KERNELS -> EXTRA_INSTALL_KERNELS,
and pass it through to the instkernel/Makefile release target.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.1 1999/12/17 20:54:31 fredb Exp $
d6 2
a7 1
# This is commented out in the distribution, because
d9 2
a10 10
#  1) GENERICSBC isn't distributed
#     (It's just GENERIC:s/ncrsci/sbc/),
#
# and
#
#  2) if we include GENERIC here without also setting
#     UPDATE, we'll end up building GENERIC twice.
#
#EXTRA_KERNELS+= 		GENERIC GENERICSBC
EXTRA_INSTALL_KERNELS+= 	INSTALL
d16 1
a16 12
# Build the install kernels...
#
.for k in ${EXTRA_INSTALL_KERNELS}
	cd ${KERNCONFDIR} && config \
		-b ${KERNOBJDIR}/${k} -s ${KERNSRCDIR} ${k}
.ifndef UPDATE
	cd ${KERNOBJDIR}/${k} && ${MAKE} cleandir
.endif
	cd ${KERNOBJDIR}/${k} && ${MAKE} depend && ${MAKE} ${_J}
.endfor
#
# the ramdisk...
@


1.2.4.1
log
@file Makefile.inc was added on branch netbsd-1-4 on 2000-01-08 20:18:26 +0000
@
text
@d1 53
@


1.2.4.2
log
@Pull up revisions 1.1-1.2 and apply patch (requested by fredb):
  Build the mac68k instkernel (bootable sysinstall), and include
  it in the standard release.
@
text
@a0 57
#	$NetBSD: Makefile.inc,v 1.2.4.1 2000/01/08 20:18:26 he Exp $
#
#	mac68k-specific release building goo
#

# This is commented out in the distribution, because
#
#  1) GENERICSBC isn't distributed
#     (It's just GENERIC:s/ncrsci/sbc/),
#
# and
#
#  2) if we include GENERIC here without also setting
#     UPDATE, we'll end up building GENERIC twice.
#
#EXTRA_KERNELS+= 		GENERIC GENERICSBC
EXTRA_INSTALL_KERNELS+= 	INSTALL

INSTALLATION_DIRS+=		installation/instkernel

snap_md_post:
#
# Build the install kernels...
#
.for k in ${EXTRA_INSTALL_KERNELS}
	cd ${KERNCONFDIR} && config \
		-b ${KERNOBJDIR}/${k} -s ${KERNSRCDIR} ${k}
.ifndef UPDATE
	cd ${KERNOBJDIR}/${k} && ${MAKE} cleandir
.endif
	cd ${KERNOBJDIR}/${k} && ${MAKE} depend && ${MAKE} ${_J}
.endfor
#
# the ramdisk...
#
.ifndef UPDATE
	cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && \
		${MAKE} clean
.endif
	cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && \
		${MAKE} ${_J}
#
# and put them all together.
#
.for k in ${EXTRA_INSTALL_KERNELS}
.ifndef UPDATE
	cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && \
		${MAKE} clean
.endif
	cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && \
		${MAKE} INSTALL_KERNEL=${k} && ${MAKE} release INSTALL_KERNEL=${k}
.endfor
	cd ${RELEASEDIR}/installation/instkernel && \
		cksum -o 1 *.gz >BSDSUM && \
		cksum *.gz >CKSUM && \
		cksum -m *.gz >MD5 && \
		cksum -o 2 *.gz >SYSVSUM
@


1.2.4.3
log
@Pull up revision 1.5 (requested by fredb):
  Build and install release notes under ``make release''.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.2.4.2 2000/06/27 15:12:52 he Exp $
a52 1
	cd ${.CURDIR}/../distrib/notes && ${MAKE} && ${MAKE} release
@


1.2.2.1
log
@file Makefile.inc was added on branch wrstuden-devbsize on 1999-12-27 18:28:53 +0000
@
text
@d1 53
@


1.2.2.2
log
@Pull up to last week's -current.
@
text
@a0 53
#	$NetBSD: Makefile.inc,v 1.2.2.1 1999/12/27 18:28:53 wrstuden Exp $
#
#	mac68k-specific release building goo
#

# This is commented out in the distribution, because
#
#  1) GENERICSBC isn't distributed
#     (It's just GENERIC:s/ncrsci/sbc/),
#
# and
#
#  2) if we include GENERIC here without also setting
#     UPDATE, we'll end up building GENERIC twice.
#
#EXTRA_KERNELS+= 	GENERIC GENERICSBC

INST_KERNELS+= 		INSTALL
INSTALLATION_DIRS+=	installation/instkernel

snap_md_post:
#
# Build the install kernels...
#
.for k in ${INST_KERNELS}
	cd ${KERNCONFDIR} && config \
		-b ${KERNOBJDIR}/${k} -s ${KERNSRCDIR} ${k}
.ifndef UPDATE
	cd ${KERNOBJDIR}/${k} && ${MAKE} cleandir
.endif
	cd ${KERNOBJDIR}/${k} && ${MAKE} depend && ${MAKE} ${_J}
.endfor
#
# the ramdisk...
#
.ifndef UPDATE
	cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && \
		${MAKE} clean
.endif
	cd ${.CURDIR}/../distrib/mac68k/instkernel/ramdisk && \
		${MAKE} ${_J}
#
# and put them all together.
#
.for k in ${INST_KERNELS}
.ifndef UPDATE
	cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && \
		${MAKE} clean
.endif
	cd ${.CURDIR}/../distrib/mac68k/instkernel/instkernel && \
		${MAKE} INSTALL_KERNEL=${k} && ${MAKE} release
.endfor
	sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/instkernel
@


1.1
log
@Add goo to build instkernel for mac68k as part of "make release". Actually,
multiple install kernels, by setting INST_KERNELS in /etc/mk.conf or the
environment, or on the command line. "INSTALL" is always added to the list.
@
text
@d1 1
a1 1
#	$NetBSD$
d16 2
a17 1
#EXTRA_KERNELS+= 	GENERIC GENERICSBC
d19 1
a19 2
INST_KERNELS+= 		INSTALL
INSTALLATION_DIRS+=	installation/instkernel
d25 1
a25 1
.for k in ${INST_KERNELS}
d45 1
a45 1
.for k in ${INST_KERNELS}
d51 1
a51 1
		${MAKE} INSTALL_KERNEL=${k} && ${MAKE} release
@
