head	1.17;
access;
symbols
	netbsd-11-0-RC5:1.17
	netbsd-11-0-RC4:1.17
	netbsd-11-0-RC3:1.17
	netbsd-11-0-RC2:1.17
	netbsd-11-0-RC1:1.17
	perseant-exfatfs-base-20250801:1.17
	netbsd-11:1.17.0.94
	netbsd-11-base:1.17
	netbsd-10-1-RELEASE:1.17
	perseant-exfatfs-base-20240630:1.17
	perseant-exfatfs:1.17.0.92
	perseant-exfatfs-base:1.17
	netbsd-8-3-RELEASE:1.17
	netbsd-9-4-RELEASE:1.17
	netbsd-10-0-RELEASE:1.17
	netbsd-10-0-RC6:1.17
	netbsd-10-0-RC5:1.17
	netbsd-10-0-RC4:1.17
	netbsd-10-0-RC3:1.17
	netbsd-10-0-RC2:1.17
	netbsd-10-0-RC1:1.17
	netbsd-10:1.17.0.90
	netbsd-10-base:1.17
	netbsd-9-3-RELEASE:1.17
	cjep_sun2x-base1:1.17
	cjep_sun2x:1.17.0.88
	cjep_sun2x-base:1.17
	cjep_staticlib_x-base1:1.17
	netbsd-9-2-RELEASE:1.17
	cjep_staticlib_x:1.17.0.86
	cjep_staticlib_x-base:1.17
	netbsd-9-1-RELEASE:1.17
	phil-wifi-20200421:1.17
	phil-wifi-20200411:1.17
	is-mlppp:1.17.0.84
	is-mlppp-base:1.17
	phil-wifi-20200406:1.17
	netbsd-8-2-RELEASE:1.17
	netbsd-9-0-RELEASE:1.17
	netbsd-9-0-RC2:1.17
	netbsd-9-0-RC1:1.17
	phil-wifi-20191119:1.17
	netbsd-9:1.17.0.82
	netbsd-9-base:1.17
	phil-wifi-20190609:1.17
	netbsd-8-1-RELEASE:1.17
	netbsd-8-1-RC1:1.17
	pgoyette-compat-merge-20190127:1.17
	pgoyette-compat-20190127:1.17
	pgoyette-compat-20190118:1.17
	pgoyette-compat-1226:1.17
	pgoyette-compat-1126:1.17
	pgoyette-compat-1020:1.17
	pgoyette-compat-0930:1.17
	pgoyette-compat-0906:1.17
	netbsd-7-2-RELEASE:1.17
	pgoyette-compat-0728:1.17
	netbsd-8-0-RELEASE:1.17
	phil-wifi:1.17.0.80
	phil-wifi-base:1.17
	pgoyette-compat-0625:1.17
	netbsd-8-0-RC2:1.17
	pgoyette-compat-0521:1.17
	pgoyette-compat-0502:1.17
	pgoyette-compat-0422:1.17
	netbsd-8-0-RC1:1.17
	pgoyette-compat-0415:1.17
	pgoyette-compat-0407:1.17
	pgoyette-compat-0330:1.17
	pgoyette-compat-0322:1.17
	pgoyette-compat-0315:1.17
	netbsd-7-1-2-RELEASE:1.17
	pgoyette-compat:1.17.0.78
	pgoyette-compat-base:1.17
	netbsd-7-1-1-RELEASE:1.17
	matt-nb8-mediatek:1.17.0.76
	matt-nb8-mediatek-base:1.17
	perseant-stdc-iso10646:1.17.0.74
	perseant-stdc-iso10646-base:1.17
	netbsd-8:1.17.0.72
	netbsd-8-base:1.17
	prg-localcount2-base3:1.17
	prg-localcount2-base2:1.17
	prg-localcount2-base1:1.17
	prg-localcount2:1.17.0.70
	prg-localcount2-base:1.17
	pgoyette-localcount-20170426:1.17
	bouyer-socketcan-base1:1.17
	pgoyette-localcount-20170320:1.17
	netbsd-7-1:1.17.0.68
	netbsd-7-1-RELEASE:1.17
	netbsd-7-1-RC2:1.17
	netbsd-7-nhusb-base-20170116:1.17
	bouyer-socketcan:1.17.0.66
	bouyer-socketcan-base:1.17
	pgoyette-localcount-20170107:1.17
	netbsd-7-1-RC1:1.17
	pgoyette-localcount-20161104:1.17
	netbsd-7-0-2-RELEASE:1.17
	localcount-20160914:1.17
	netbsd-7-nhusb:1.17.0.64
	netbsd-7-nhusb-base:1.17
	pgoyette-localcount-20160806:1.17
	pgoyette-localcount-20160726:1.17
	pgoyette-localcount:1.17.0.62
	pgoyette-localcount-base:1.17
	netbsd-7-0-1-RELEASE:1.17
	netbsd-7-0:1.17.0.60
	netbsd-7-0-RELEASE:1.17
	netbsd-7-0-RC3:1.17
	netbsd-7-0-RC2:1.17
	netbsd-7-0-RC1:1.17
	netbsd-5-2-3-RELEASE:1.17
	netbsd-5-1-5-RELEASE:1.17
	netbsd-6-0-6-RELEASE:1.17
	netbsd-6-1-5-RELEASE:1.17
	netbsd-7:1.17.0.58
	netbsd-7-base:1.17
	yamt-pagecache-base9:1.17
	yamt-pagecache-tag8:1.17
	netbsd-6-1-4-RELEASE:1.17
	netbsd-6-0-5-RELEASE:1.17
	tls-earlyentropy:1.17.0.56
	tls-earlyentropy-base:1.17
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.17
	riastradh-drm2-base3:1.17
	netbsd-6-1-3-RELEASE:1.17
	netbsd-6-0-4-RELEASE:1.17
	netbsd-5-2-2-RELEASE:1.17
	netbsd-5-1-4-RELEASE:1.17
	netbsd-6-1-2-RELEASE:1.17
	netbsd-6-0-3-RELEASE:1.17
	netbsd-5-2-1-RELEASE:1.17
	netbsd-5-1-3-RELEASE:1.17
	netbsd-6-1-1-RELEASE:1.17
	riastradh-drm2-base2:1.17
	riastradh-drm2-base1:1.17
	riastradh-drm2:1.17.0.48
	riastradh-drm2-base:1.17
	netbsd-6-1:1.17.0.54
	netbsd-6-0-2-RELEASE:1.17
	netbsd-6-1-RELEASE:1.17
	khorben-n900:1.17.0.52
	netbsd-6-1-RC4:1.17
	netbsd-6-1-RC3:1.17
	agc-symver:1.17.0.50
	agc-symver-base:1.17
	netbsd-6-1-RC2:1.17
	netbsd-6-1-RC1:1.17
	yamt-pagecache-base8:1.17
	netbsd-5-2:1.17.0.46
	netbsd-6-0-1-RELEASE:1.17
	yamt-pagecache-base7:1.17
	netbsd-5-2-RELEASE:1.17
	netbsd-5-2-RC1:1.17
	matt-nb6-plus-nbase:1.17
	yamt-pagecache-base6:1.17
	netbsd-6-0:1.17.0.44
	netbsd-6-0-RELEASE:1.17
	netbsd-6-0-RC2:1.17
	tls-maxphys:1.17.0.42
	tls-maxphys-base:1.17
	matt-nb6-plus:1.17.0.40
	matt-nb6-plus-base:1.17
	netbsd-6-0-RC1:1.17
	yamt-pagecache-base5:1.17
	yamt-pagecache-base4:1.17
	netbsd-6:1.17.0.38
	netbsd-6-base:1.17
	netbsd-5-1-2-RELEASE:1.17
	netbsd-5-1-1-RELEASE:1.17
	yamt-pagecache-base3:1.17
	yamt-pagecache-base2:1.17
	yamt-pagecache:1.17.0.36
	yamt-pagecache-base:1.17
	cherry-xenmp:1.17.0.34
	cherry-xenmp-base:1.17
	bouyer-quota2-nbase:1.17
	bouyer-quota2:1.17.0.32
	bouyer-quota2-base:1.17
	matt-mips64-premerge-20101231:1.17
	matt-nb5-mips64-premerge-20101231:1.17
	matt-nb5-pq3:1.17.0.30
	matt-nb5-pq3-base:1.17
	netbsd-5-1:1.17.0.28
	netbsd-5-1-RELEASE:1.17
	netbsd-5-1-RC4:1.17
	matt-nb5-mips64-k15:1.17
	netbsd-5-1-RC3:1.17
	netbsd-5-1-RC2:1.17
	netbsd-5-1-RC1:1.17
	netbsd-5-0-2-RELEASE:1.17
	matt-nb5-mips64-premerge-20091211:1.17
	matt-premerge-20091211:1.17
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.17
	matt-nb4-mips64-k7-u2a-k9b:1.17
	matt-nb5-mips64-u1-k1-k5:1.17
	matt-nb5-mips64:1.17.0.26
	netbsd-5-0-1-RELEASE:1.17
	jym-xensuspend-nbase:1.17
	netbsd-5-0:1.17.0.24
	netbsd-5-0-RELEASE:1.17
	netbsd-5-0-RC4:1.17
	netbsd-5-0-RC3:1.17
	netbsd-5-0-RC2:1.17
	jym-xensuspend:1.17.0.22
	jym-xensuspend-base:1.17
	netbsd-5-0-RC1:1.17
	mjf-devfs2-base2:1.17
	netbsd-5:1.17.0.20
	netbsd-5-base:1.17
	matt-mips64-base2:1.17
	matt-mips64:1.17.0.18
	netbsd-4-0-1-RELEASE:1.16
	wrstuden-revivesa-base-3:1.17
	wrstuden-revivesa-base-2:1.17
	wrstuden-fixsa-newbase:1.16
	wrstuden-revivesa-base-1:1.17
	yamt-pf42-base4:1.17
	yamt-pf42-base3:1.17
	hpcarm-cleanup-nbase:1.17
	yamt-pf42-baseX:1.17
	yamt-pf42-base2:1.17
	wrstuden-revivesa:1.17.0.16
	wrstuden-revivesa-base:1.17
	yamt-pf42:1.17.0.14
	yamt-pf42-base:1.17
	mjf-devfs2:1.17.0.12
	mjf-devfs2-base:1.17
	keiichi-mipv6:1.17.0.10
	keiichi-mipv6-base:1.17
	mjf-devfs:1.17.0.8
	mjf-devfs-base:1.17
	matt-armv6-nbase:1.17
	matt-armv6-prevmlocking:1.17
	wrstuden-fixsa-base-1:1.16
	netbsd-4-0:1.16.0.20
	netbsd-4-0-RELEASE:1.16
	cube-autoconf:1.17.0.6
	cube-autoconf-base:1.17
	netbsd-4-0-RC5:1.16
	netbsd-4-0-RC4:1.16
	netbsd-4-0-RC3:1.16
	netbsd-4-0-RC2:1.16
	netbsd-4-0-RC1:1.16
	matt-armv6:1.17.0.4
	matt-armv6-base:1.17
	matt-mips64-base:1.17
	hpcarm-cleanup:1.17.0.2
	hpcarm-cleanup-base:1.17
	netbsd-3-1-1-RELEASE:1.16
	netbsd-3-0-3-RELEASE:1.16
	wrstuden-fixsa:1.16.0.18
	wrstuden-fixsa-base:1.16
	abandoned-netbsd-4-base:1.16
	abandoned-netbsd-4:1.16.0.12
	netbsd-3-1:1.16.0.14
	netbsd-3-1-RELEASE:1.16
	netbsd-3-0-2-RELEASE:1.16
	netbsd-3-1-RC4:1.16
	netbsd-3-1-RC3:1.16
	netbsd-3-1-RC2:1.16
	netbsd-3-1-RC1:1.16
	netbsd-4:1.16.0.16
	netbsd-4-base:1.16
	netbsd-3-0-1-RELEASE:1.16
	netbsd-3-0:1.16.0.10
	netbsd-3-0-RELEASE:1.16
	netbsd-3-0-RC6:1.16
	netbsd-3-0-RC5:1.16
	netbsd-3-0-RC4:1.16
	netbsd-3-0-RC3:1.16
	netbsd-3-0-RC2:1.16
	netbsd-3-0-RC1:1.16
	netbsd-2-0-3-RELEASE:1.16
	netbsd-2-1:1.16.0.8
	netbsd-2-1-RELEASE:1.16
	netbsd-2-1-RC6:1.16
	netbsd-2-1-RC5:1.16
	netbsd-2-1-RC4:1.16
	netbsd-2-1-RC3:1.16
	netbsd-2-1-RC2:1.16
	netbsd-2-1-RC1:1.16
	netbsd-2-0-2-RELEASE:1.16
	netbsd-3:1.16.0.6
	netbsd-3-base:1.16
	netbsd-2-0-1-RELEASE:1.16
	netbsd-2:1.16.0.4
	netbsd-2-base:1.16
	netbsd-2-0-RELEASE:1.16
	netbsd-2-0-RC5:1.16
	netbsd-2-0-RC4:1.16
	netbsd-2-0-RC3:1.16
	netbsd-2-0-RC2:1.16
	netbsd-2-0-RC1:1.16
	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.16
	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.10.4.1
	netbsd-1-5-PATCH002:1.10.4.1
	netbsd-1-5-PATCH001:1.10.4.1
	netbsd-1-5-RELEASE:1.10
	netbsd-1-5-BETA2:1.10
	netbsd-1-5-BETA:1.10
	netbsd-1-4-PATCH003:1.8.2.1
	netbsd-1-5-ALPHA2:1.10
	netbsd-1-5:1.10.0.4
	netbsd-1-5-base:1.10
	minoura-xpg4dl:1.10.0.2
	minoura-xpg4dl-base:1.10
	netbsd-1-4-PATCH002:1.8.2.1
	wrstuden-devbsize-19991221:1.9
	wrstuden-devbsize:1.9.0.4
	wrstuden-devbsize-base:1.9
	comdex-fall-1999:1.9.0.2
	comdex-fall-1999-base:1.9
	netbsd-1-4-PATCH001:1.8.2.1
	netbsd-1-4-RELEASE:1.8
	netbsd-1-4:1.8.0.2
	netbsd-1-4-base:1.8
	netbsd-1-3-PATCH003:1.2.2.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.2.2.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.2.2.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.2.2.1
	netbsd-1-3-PATCH002:1.2.2.1
	netbsd-1-3-PATCH001:1.2.2.1
	netbsd-1-3-RELEASE:1.2.2.1
	netbsd-1-3-BETA:1.2
	netbsd-1-3:1.2.0.2
	netbsd-1-3-base:1.2
	netbsd-1-2-PATCH001:1.1
	netbsd-1-2-RELEASE:1.1
	netbsd-1-2-BETA:1.1
	netbsd-1-2-base:1.1
	netbsd-1-2:1.1.0.6
	netbsd-1-1-PATCH001:1.1
	netbsd-1-1-RELEASE:1.1
	netbsd-1-1:1.1.0.2
	netbsd-1-1-base:1.1;
locks; strict;
comment	@# @;


1.17
date	2007.07.24.10.49.28;	author pavel;	state Exp;
branches
	1.17.18.1;
next	1.16;

1.16
date	2002.12.17.15.55.01;	author jdolecek;	state Exp;
branches;
next	1.15;

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

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

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

1.12
date	2001.11.29.22.46.01;	author thorpej;	state Exp;
branches;
next	1.11;

1.11
date	2001.04.21.17.43.24;	author he;	state Exp;
branches;
next	1.10;

1.10
date	2000.02.20.03.52.24;	author mycroft;	state Exp;
branches
	1.10.4.1;
next	1.9;

1.9
date	99.05.21.04.02.02;	author gwr;	state Exp;
branches;
next	1.8;

1.8
date	99.02.05.03.01.53;	author cjs;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	98.10.09.10.41.38;	author itohy;	state Exp;
branches;
next	1.6;

1.6
date	98.06.28.09.38.43;	author fair;	state Exp;
branches;
next	1.5;

1.5
date	98.06.25.17.54.05;	author fair;	state Exp;
branches;
next	1.4;

1.4
date	98.02.11.19.19.53;	author gwr;	state Exp;
branches;
next	1.3;

1.3
date	97.12.20.01.56.51;	author gwr;	state Exp;
branches;
next	1.2;

1.2
date	97.09.20.03.05.39;	author mikel;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	95.07.07.16.05.20;	author gwr;	state Exp;
branches;
next	;

1.17.18.1
date	2007.07.24.10.49.28;	author pavel;	state dead;
branches;
next	1.17.18.2;

1.17.18.2
date	2007.07.24.10.49.29;	author pavel;	state Exp;
branches;
next	;

1.10.4.1
date	2001.04.21.17.44.31;	author he;	state Exp;
branches;
next	;

1.8.2.1
date	99.06.21.03.46.28;	author perry;	state Exp;
branches;
next	;

1.2.2.1
date	97.12.20.23.07.45;	author perry;	state Exp;
branches;
next	;


desc
@@


1.17
log
@Add a comment reminding to update the release notes if the list of
kernels change.
@
text
@#	$NetBSD: Makefile.inc,v 1.16 2002/12/17 15:55:01 jdolecek Exp $
#
#	etc.sun3/Makefile.inc -- sun3-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 GENERIC3X DISKLESS DISKLESS3X

EXTRA_KERNELS=		INSTALL INSTALL3X

BUILD_KERNELS=		RAMDISK RAMDISK3X

INSTALLATION_DIRS+=	installation/miniroot	\
			installation/netboot	\
			installation/tapeimage
@


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


1.17.18.2
log
@Add a comment reminding to update the release notes if the list of
kernels change.
@
text
@a0 17
#	$NetBSD: Makefile.inc,v 1.17 2007/07/24 10:49:28 pavel Exp $
#
#	etc.sun3/Makefile.inc -- sun3-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 GENERIC3X DISKLESS DISKLESS3X

EXTRA_KERNELS=		INSTALL INSTALL3X

BUILD_KERNELS=		RAMDISK RAMDISK3X

INSTALLATION_DIRS+=	installation/miniroot	\
			installation/netboot	\
			installation/tapeimage
@


1.16
log
@ttyaction is ${MACHINE}-specific, not per ${MACHINE_ARCH}
remove special ttyaction hook from etc/etc.sun[23]/Makefile.inc, it's no longer
  needed
ld.so.conf is ${MACHINE}-specific, the code happened to work for i386 and sparc
  only because ${MACHINE} == ${MACHINE_ARCH} there
remove basesrc/etc/ld.so.conf and its special vax/ns32k/m68k hook in Makefile -
  vax & m68k are ELF now, and ns32k doesn't need to be handled here
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.15 2002/12/02 13:31:23 lukem Exp $
d6 3
@


1.15
log
@consistency tweaks
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.14 2002/12/02 13:18:13 lukem Exp $
a4 2

BIN3+=			etc.sun3/ttyaction
@


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:49 lukem Exp $
d6 1
a6 1
BIN3+= etc.sun3/ttyaction
@


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 2001/11/29 22:46:01 thorpej Exp $
a16 10

snap_md_post:
# Build the ramdisk image and patch it into the ramdisk kernels.
# Build the miniroot, etc. and copy all to the release area.
.ifndef UPDATE
	cd ${.CURDIR}/../distrib/sun3 && ${MAKE} clean
.endif
	cd ${.CURDIR}/../distrib/sun3 && \
	  ${MAKE} depend && ${MAKE} ${_J} && ${MAKE} release
	cd ${.CURDIR}/../distrib/notes && ${MAKE} && ${MAKE} release
@


1.12
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.11 2001/04/21 17:43:24 he Exp $
d13 4
@


1.11
log
@Also build and install installation notes under "make release"
(actually snap_md_post).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.10 2000/02/20 03:52:24 mycroft Exp $
d8 1
a8 4
# These are put in ${RELEASEDIR} by "make release" in distrib/sun3
# after it builds and patches in the installation ramdisk image.
BUILD_KERNELS= \
 RAMDISK RAMDISK3X
d10 3
a12 5
# These are just built and copied to the release area.
EXTRA_KERNELS= \
 GENERIC3X \
 INSTALL INSTALL3X \
 DISKLESS DISKLESS3X
@


1.10
log
@Let the main Makefile deal with building kernels.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.9 1999/05/21 04:02:02 gwr Exp $
d27 1
a27 1

@


1.10.4.1
log
@Pull up revision 1.11 (requested by he):
  Also build and install installation notes under ``make release''.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.10 2000/02/20 03:52:24 mycroft Exp $
d27 1
a27 1
	cd ${.CURDIR}/../distrib/notes && ${MAKE} && ${MAKE} release
@


1.9
log
@Define our own snap_kern target that builds all the kernels, but
does not install the un-patched ramdisk kernels.  The snap_md_post
target builds the installation ramdisk image, patches that into the
ramdisk kernels, and installs them.  Also the miniroot.
Automated snapshot build works now.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.8 1999/02/05 03:01:53 cjs Exp $
d10 1
a10 1
RAMDISK_KERNELS= \
d14 2
a15 2
OTHER_KERNELS= \
 GENERIC GENERIC3X \
d19 1
a19 18
ALL_KERNELS = $(RAMDISK_KERNELS) $(OTHER_KERNELS)

# Build all the kernels, then copy all but ramdisk kernels
# to the release area.  Those are done by snap_md_post.
snap_kern:
.for configfile in ${ALL_KERNELS}
	cd ${KERNCONFDIR} && config \
		-b ${KERNOBJDIR}/${configfile} -s ${KERNSRCDIR} ${configfile}
.ifndef UPDATE
	cd ${KERNOBJDIR}/${configfile} && ${MAKE} clean 
.endif
	cd ${KERNOBJDIR}/${configfile} && ${MAKE} depend && ${MAKE} ${_J}
.endfor # EXTRA_KERNELS
.for configfile in ${OTHER_KERNELS}
	cd ${KERNOBJDIR}/${configfile} && gzip -c -9 < netbsd > \
		${RELEASEDIR}/binary/kernel/$${kernel}.${configfile}.gz
.endfor # EXTRA_KERNELS

a21 1
snap_md_post:
@


1.8
log
@Update all this crap so that `make snapshot' makes snapshots in release(7)
format, rather than in some unknown format. Also clean up the code a bit,
remove some code duplication, and add documentation to the Makefile.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.7 1998/10/09 10:41:38 itohy Exp $
d6 39
a44 3
# Set this for any kernels beyond GENERIC you want to include
# in the distribution.
EXTRA_KERNELS+= GENERIC3X
a45 1
BIN3+= etc.sun3/ttyaction
@


1.8.2.1
log
@pullup 1.8->1.9 (gwr)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.9 1999/05/21 04:02:02 gwr Exp $
d6 4
a10 39

# These are put in ${RELEASEDIR} by "make release" in distrib/sun3
# after it builds and patches in the installation ramdisk image.
RAMDISK_KERNELS= \
 RAMDISK RAMDISK3X

# These are just built and copied to the release area.
OTHER_KERNELS= \
 GENERIC GENERIC3X \
 INSTALL INSTALL3X \
 DISKLESS DISKLESS3X

ALL_KERNELS = $(RAMDISK_KERNELS) $(OTHER_KERNELS)

# Build all the kernels, then copy all but ramdisk kernels
# to the release area.  Those are done by snap_md_post.
snap_kern:
.for configfile in ${ALL_KERNELS}
	cd ${KERNCONFDIR} && config \
		-b ${KERNOBJDIR}/${configfile} -s ${KERNSRCDIR} ${configfile}
.ifndef UPDATE
	cd ${KERNOBJDIR}/${configfile} && ${MAKE} clean 
.endif
	cd ${KERNOBJDIR}/${configfile} && ${MAKE} depend && ${MAKE} ${_J}
.endfor # EXTRA_KERNELS
.for configfile in ${OTHER_KERNELS}
	cd ${KERNOBJDIR}/${configfile} && gzip -c -9 < netbsd > \
		${RELEASEDIR}/binary/kernel/$${kernel}.${configfile}.gz
.endfor # EXTRA_KERNELS

# Build the ramdisk image and patch it into the ramdisk kernels.
# Build the miniroot, etc. and copy all to the release area.
snap_md_post:
.ifndef UPDATE
	cd ${.CURDIR}/../distrib/sun3 && ${MAKE} clean
.endif
	cd ${.CURDIR}/../distrib/sun3 && \
	  ${MAKE} depend && ${MAKE} ${_J} && ${MAKE} release

@


1.7
log
@Use "${MAKE}" instead of "make" for cross compilation.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.6 1998/06/28 09:38:43 fair Exp $
d6 4
a10 22

.ifdef DESTDIR

# the regular expression does a basename(1) on .CURDIR so that we don't
# have to keep looking up .. at compile time.

KERNSRCDIR?=	${.CURDIR:C/[^\/]+$//}sys
KERNOBJDIR?=	${KERNSRCDIR}/arch/${MACHINE}/compile
KERNCONFDIR?=	${KERNSRCDIR}/arch/${MACHINE}/conf

snap_md:
.for kernel in GENERIC GENERIC3X
	cd ${KERNCONFDIR} && config \
		-b ${KERNOBJDIR}/${kernel} \
		-s ${KERNSRCDIR} \
		${kernel}
	cd ${KERNOBJDIR}/${kernel} &&	\
		${MAKE} clean && ${MAKE} depend && ${MAKE} &&	\
		cp netbsd ${DESTDIR}/snapshot/netbsd.${kernel}
.endfor

.endif	# DESTDIR check
@


1.6
log
@These commits do two things:

1. Provide a consistent and extensible framework for compiling
kernels for the "make snapshot" target.

2. Add OBJDIR support for the "make snapshot" target, in the form
of three new make variables: KERNOBJDIR, KERNSRCDIR, and KERNCONFDIR.
Default values are in the Makefile.inc, and for OBJDIR they should
be defined in /etc/mk.conf as

	KERNSRCDIR=${BSDSRCDIR}/sys
	KERNOBJDIR=${BSDOBJDIR}/sys/arch/${MACHINE}/compile

The next step is to make a new target in the src/etc/Makefile for "release"
(or something like that) to make release(7) format files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.5 1998/06/25 17:54:05 fair Exp $
d23 2
a24 1
	cd ${KERNOBJDIR}/${kernel} && make clean && make depend && make && \
@


1.5
log
@OBJDIR support for "make snapshot"
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.4 1998/02/11 19:19:53 gwr Exp $
d17 1
a17 7
snap_md: netbsd
	cp ${KERNOBJDIR}/GENERIC/netbsd \
		${DESTDIR}/snapshot/netbsd.sun3
	cp ${KERNOBJDIR}/GENERIC3X/netbsd \
		${DESTDIR}/snapshot/netbsd.sun3x

netbsd:
d23 2
a24 1
	cd ${KERNOBJDIR}/${kernel} && make clean && make depend && make
@


1.4
log
@Build both sun3 and sun3x kernels
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.3 1997/12/20 01:56:51 gwr Exp $
d9 22
a30 15
snap_md: netbsd.sun3 netbsd.sun3x
	cp ${.CURDIR}/../sys/arch/sun3/compile/GENERIC/netbsd \
	    ${DESTDIR}/snapshot/netbsd.sun3
	cp ${.CURDIR}/../sys/arch/sun3/compile/GENERIC3X/netbsd \
	    ${DESTDIR}/snapshot/netbsd.sun3x

netbsd.sun3:
	cd ${.CURDIR}/../sys/arch/sun3/conf && config GENERIC
	cd ${.CURDIR}/../sys/arch/sun3/compile/GENERIC && \
	    make clean && make depend && make

netbsd.sun3x:
	cd ${.CURDIR}/../sys/arch/sun3/conf && config GENERIC3X
	cd ${.CURDIR}/../sys/arch/sun3/compile/GENERIC3X && \
	    make clean && make depend && make
@


1.3
log
@Add BIN3+=etc.sun3/ttyaction
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.2 1997/09/20 03:05:39 mikel Exp $
d9 5
a13 1
snap_md: netbsd-gen netbsd-dl
d15 4
a18 4
netbsd-gen:
	cd ${.CURDIR}/../sys/arch/sun3/compile/GENERIC && make
	gzip -9 < ${.CURDIR}/../sys/arch/sun3/compile/GENERIC/netbsd \
	  > ${DESTDIR}/snapshot/netbsd-gen.gz
d20 4
a23 4
netbsd-dl:
	cd ${.CURDIR}/../sys/arch/sun3/compile/DISKLESS && make
	gzip -9 < ${.CURDIR}/../sys/arch/sun3/compile/DISKLESS/netbsd \
	  > ${DESTDIR}/snapshot/netbsd-dl.gz
@


1.2
log
@don't try to copy nonexistent README, & RCSid police
@
text
@d1 1
a1 1
#	$NetBSD$
d5 2
@


1.2.2.1
log
@pullup from trunk (gwr)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.3 1997/12/20 01:56:51 gwr Exp $
a4 2

BIN3+= etc.sun3/ttyaction
@


1.1
log
@Include kernels GENERIC, DISKLESS in binary snapshots.
@
text
@d1 1
a4 1
#	$Id: $
a7 1
	cp -p ${.CURDIR}/etc.sun3/README ${DESTDIR}/snapshot/README
@
