head	1.3;
access;
symbols
	perseant-exfatfs-base-20250801:1.3
	perseant-exfatfs-base-20240630:1.3
	perseant-exfatfs:1.3.0.48
	perseant-exfatfs-base:1.3
	cjep_sun2x:1.3.0.46
	cjep_sun2x-base:1.3
	cjep_staticlib_x-base1:1.3
	cjep_staticlib_x:1.3.0.44
	cjep_staticlib_x-base:1.3
	phil-wifi-20200421:1.3
	phil-wifi-20200411:1.3
	phil-wifi-20200406:1.3
	pgoyette-compat-merge-20190127:1.3
	pgoyette-compat-20190127:1.3
	pgoyette-compat-20190118:1.3
	pgoyette-compat-1226:1.3
	pgoyette-compat-1126:1.3
	pgoyette-compat-1020:1.3
	pgoyette-compat-0930:1.3
	pgoyette-compat-0906:1.3
	pgoyette-compat-0728:1.3
	pgoyette-compat-0625:1.3
	pgoyette-compat-0521:1.3
	pgoyette-compat-0502:1.3
	pgoyette-compat-0422:1.3
	pgoyette-compat-0415:1.3
	pgoyette-compat-0407:1.3
	pgoyette-compat-0330:1.3
	pgoyette-compat-0322:1.3
	pgoyette-compat-0315:1.3
	pgoyette-compat:1.3.0.42
	pgoyette-compat-base:1.3
	perseant-stdc-iso10646:1.3.0.40
	perseant-stdc-iso10646-base:1.3
	prg-localcount2-base3:1.3
	prg-localcount2-base2:1.3
	prg-localcount2-base1:1.3
	prg-localcount2:1.3.0.38
	prg-localcount2-base:1.3
	pgoyette-localcount-20170426:1.3
	bouyer-socketcan-base1:1.3
	pgoyette-localcount-20170320:1.3
	bouyer-socketcan:1.3.0.36
	bouyer-socketcan-base:1.3
	pgoyette-localcount-20170107:1.3
	pgoyette-localcount-20161104:1.3
	localcount-20160914:1.3
	pgoyette-localcount-20160806:1.3
	pgoyette-localcount-20160726:1.3
	pgoyette-localcount:1.3.0.34
	pgoyette-localcount-base:1.3
	netbsd-5-2-3-RELEASE:1.3
	netbsd-5-1-5-RELEASE:1.3
	yamt-pagecache-base9:1.3
	yamt-pagecache-tag8:1.3
	tls-earlyentropy:1.3.0.30
	tls-earlyentropy-base:1.3
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.3
	riastradh-drm2-base3:1.3
	netbsd-5-2-2-RELEASE:1.3
	netbsd-5-1-4-RELEASE:1.3
	netbsd-5-2-1-RELEASE:1.3
	netbsd-5-1-3-RELEASE:1.3
	agc-symver:1.3.0.32
	agc-symver-base:1.3
	tls-maxphys-base:1.3
	yamt-pagecache-base8:1.3
	netbsd-5-2:1.3.0.28
	yamt-pagecache-base7:1.3
	netbsd-5-2-RELEASE:1.3
	netbsd-5-2-RC1:1.3
	yamt-pagecache-base6:1.3
	yamt-pagecache-base5:1.3
	yamt-pagecache-base4:1.3
	netbsd-5-1-2-RELEASE:1.3
	netbsd-5-1-1-RELEASE:1.3
	yamt-pagecache-base3:1.3
	yamt-pagecache-base2:1.3
	yamt-pagecache:1.3.0.26
	yamt-pagecache-base:1.3
	bouyer-quota2-nbase:1.3
	bouyer-quota2:1.3.0.24
	bouyer-quota2-base:1.3
	matt-nb5-pq3:1.3.0.22
	matt-nb5-pq3-base:1.3
	netbsd-5-1:1.3.0.20
	netbsd-5-1-RELEASE:1.3
	netbsd-5-1-RC4:1.3
	netbsd-5-1-RC3:1.3
	netbsd-5-1-RC2:1.3
	netbsd-5-1-RC1:1.3
	netbsd-5-0-2-RELEASE:1.3
	netbsd-5-0-1-RELEASE:1.3
	jym-xensuspend-nbase:1.3
	netbsd-5-0:1.3.0.18
	netbsd-5-0-RELEASE:1.3
	netbsd-5-0-RC4:1.3
	netbsd-5-0-RC3:1.3
	netbsd-5-0-RC2:1.3
	jym-xensuspend:1.3.0.16
	jym-xensuspend-base:1.3
	netbsd-5-0-RC1:1.3
	netbsd-5:1.3.0.14
	netbsd-5-base:1.3
	yamt-pf42-base4:1.3
	yamt-pf42-base3:1.3
	hpcarm-cleanup-nbase:1.3
	yamt-pf42-base2:1.3
	yamt-pf42:1.3.0.12
	yamt-pf42-base:1.3
	mjf-devfs2:1.3.0.10
	mjf-devfs2-base:1.3
	keiichi-mipv6:1.3.0.8
	keiichi-mipv6-base:1.3
	mjf-devfs:1.3.0.6
	mjf-devfs-base:1.3
	cube-autoconf:1.3.0.4
	cube-autoconf-base:1.3
	hpcarm-cleanup:1.3.0.2
	hpcarm-cleanup-base:1.3;
locks; strict;
comment	@# @;


1.3
date	2002.05.13.01.04.20;	author lukem;	state dead;
branches;
next	1.2;

1.2
date	2002.05.07.14.08.32;	author isaki;	state Exp;
branches;
next	1.1;

1.1
date	2002.05.07.13.55.41;	author isaki;	state Exp;
branches;
next	;


desc
@@


1.3
log
@- reorganise to be more consistent with other distrib/* directories
  (no need for a "common" subdir which contains stuff only really
  referenced by one other directory)
- use Makefile.tarfloppy instead of local code to build floppies
- use .WAIT in the top-level Makefile appropriately
- install inst.fs directly from ramdisk/Makefile rather than providing
  separate inst/Makefile
@
text
@#	$NetBSD: Makefile.instkernel,v 1.2 2002/05/07 14:08:32 isaki Exp $

.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"

.include <bsd.kernobj.mk>

RAMDISKDIR?=	${.CURDIR}/../ramdisk/
KERN?=		netbsd-xxx
KERNNAME?=	netbsd.xxx
GZNAME?=	${KERNNAME}.gz
MDSETIMAGE?=	mdsetimage

.if ${RAMDISKDIR} != ""
RAMDISK	!=cd ${RAMDISKDIR}; ${MAKE} echoimage
.endif

CLEANFILES+=	${KERNNAME} ${GZNAME} netbsd.tmp*

realall: ${GZNAME}

.if defined(RAMDISK)
${GZNAME}: ${KERN} ${RAMDISK}
	-/bin/rm -f netbsd.tmp*
	cp ${KERN} netbsd.tmp
	${MDSETIMAGE} -v netbsd.tmp ${RAMDISK}
	mv -f netbsd.tmp ${KERNNAME}
.else
${KERNNAME}: ${KERN}
	cp ${KERN} ${.TARGET}
.endif
	gzip -v9 ${KERNNAME}

depend:

release: check_RELEASEDIR .WAIT ${GZNAME}
.ifndef NOKERNCOPY
	${RELEASE_INSTALL} ${GZNAME} ${RELEASEDIR}/binary/kernel
.endif


.include <bsd.prog.mk>
@


1.2
log
@Rewrite with MI distrib. based on Minoura-san's work.
it makes x68k port cross buildable.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.instkernel,v 1.1 2002/05/07 13:55:41 isaki Exp $
@


1.1
log
@Move common files into floppies/common directory.
 bootfloppy-common/Makefile.inc    -> common/Makefile.bootfloppy
 instkernel-common/Makefile.inc    -> common/Makefile.instkernel
 ramdisk-common/Makefile.inc       -> common/Makefile.ramdisk
 ramdisk-common/*                  -> common/*
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.3 2002/05/02 18:03:03 lukem Exp $
d8 1
a8 1
RAMDISKDIR?=	$(.CURDIR)/../ramdisk/
d23 1
a23 1
${KERNNAME}: ${KERN} ${RAMDISK}
d27 1
a27 1
	mv -f netbsd.tmp ${.TARGET}
d32 1
a32 3

${GZNAME}: ${KERNNAME}
	gzip -cv9 ${KERNNAME} > ${.TARGET}
d36 1
a36 1
release: check_RELEASEDIR .WAIT ${KERNNAME} ${GZNAME}
d38 1
a38 1
	${RELEASE_INSTALL} ${KERNNAME} ${GZNAME} ${RELEASEDIR}/binary/kernel
@

