head	1.16;
access;
symbols
	netbsd-11-0-RC4:1.16
	netbsd-11-0-RC3:1.16
	netbsd-11-0-RC2:1.16
	netbsd-11-0-RC1:1.16
	perseant-exfatfs-base-20250801:1.16
	netbsd-11:1.16.0.114
	netbsd-11-base:1.16
	netbsd-10-1-RELEASE:1.16
	perseant-exfatfs-base-20240630:1.16
	perseant-exfatfs:1.16.0.112
	perseant-exfatfs-base:1.16
	netbsd-8-3-RELEASE:1.16
	netbsd-9-4-RELEASE:1.16
	netbsd-10-0-RELEASE:1.16
	netbsd-10-0-RC6:1.16
	netbsd-10-0-RC5:1.16
	netbsd-10-0-RC4:1.16
	netbsd-10-0-RC3:1.16
	netbsd-10-0-RC2:1.16
	netbsd-10-0-RC1:1.16
	netbsd-10:1.16.0.110
	netbsd-10-base:1.16
	netbsd-9-3-RELEASE:1.16
	cjep_sun2x-base1:1.16
	cjep_sun2x:1.16.0.108
	cjep_sun2x-base:1.16
	cjep_staticlib_x-base1:1.16
	netbsd-9-2-RELEASE:1.16
	cjep_staticlib_x:1.16.0.106
	cjep_staticlib_x-base:1.16
	netbsd-9-1-RELEASE:1.16
	phil-wifi-20200421:1.16
	phil-wifi-20200411:1.16
	is-mlppp:1.16.0.104
	is-mlppp-base:1.16
	phil-wifi-20200406:1.16
	netbsd-8-2-RELEASE:1.16
	netbsd-9-0-RELEASE:1.16
	netbsd-9-0-RC2:1.16
	netbsd-9-0-RC1:1.16
	phil-wifi-20191119:1.16
	netbsd-9:1.16.0.102
	netbsd-9-base:1.16
	phil-wifi-20190609:1.16
	netbsd-8-1-RELEASE:1.16
	netbsd-8-1-RC1:1.16
	pgoyette-compat-merge-20190127:1.16
	pgoyette-compat-20190127:1.16
	pgoyette-compat-20190118:1.16
	pgoyette-compat-1226:1.16
	pgoyette-compat-1126:1.16
	pgoyette-compat-1020:1.16
	pgoyette-compat-0930:1.16
	pgoyette-compat-0906:1.16
	netbsd-7-2-RELEASE:1.16
	pgoyette-compat-0728:1.16
	netbsd-8-0-RELEASE:1.16
	phil-wifi:1.16.0.100
	phil-wifi-base:1.16
	pgoyette-compat-0625:1.16
	netbsd-8-0-RC2:1.16
	pgoyette-compat-0521:1.16
	pgoyette-compat-0502:1.16
	pgoyette-compat-0422:1.16
	netbsd-8-0-RC1:1.16
	pgoyette-compat-0415:1.16
	pgoyette-compat-0407:1.16
	pgoyette-compat-0330:1.16
	pgoyette-compat-0322:1.16
	pgoyette-compat-0315:1.16
	netbsd-7-1-2-RELEASE:1.16
	pgoyette-compat:1.16.0.98
	pgoyette-compat-base:1.16
	netbsd-7-1-1-RELEASE:1.16
	matt-nb8-mediatek:1.16.0.96
	matt-nb8-mediatek-base:1.16
	perseant-stdc-iso10646:1.16.0.94
	perseant-stdc-iso10646-base:1.16
	netbsd-8:1.16.0.92
	netbsd-8-base:1.16
	prg-localcount2-base3:1.16
	prg-localcount2-base2:1.16
	prg-localcount2-base1:1.16
	prg-localcount2:1.16.0.90
	prg-localcount2-base:1.16
	pgoyette-localcount-20170426:1.16
	bouyer-socketcan-base1:1.16
	pgoyette-localcount-20170320:1.16
	netbsd-7-1:1.16.0.88
	netbsd-7-1-RELEASE:1.16
	netbsd-7-1-RC2:1.16
	netbsd-7-nhusb-base-20170116:1.16
	bouyer-socketcan:1.16.0.86
	bouyer-socketcan-base:1.16
	pgoyette-localcount-20170107:1.16
	netbsd-7-1-RC1:1.16
	pgoyette-localcount-20161104:1.16
	netbsd-7-0-2-RELEASE:1.16
	localcount-20160914:1.16
	netbsd-7-nhusb:1.16.0.84
	netbsd-7-nhusb-base:1.16
	pgoyette-localcount-20160806:1.16
	pgoyette-localcount-20160726:1.16
	pgoyette-localcount:1.16.0.82
	pgoyette-localcount-base:1.16
	netbsd-7-0-1-RELEASE:1.16
	netbsd-7-0:1.16.0.80
	netbsd-7-0-RELEASE:1.16
	netbsd-7-0-RC3:1.16
	netbsd-7-0-RC2:1.16
	netbsd-7-0-RC1:1.16
	netbsd-5-2-3-RELEASE:1.16
	netbsd-5-1-5-RELEASE:1.16
	netbsd-6-0-6-RELEASE:1.16
	netbsd-6-1-5-RELEASE:1.16
	netbsd-7:1.16.0.78
	netbsd-7-base:1.16
	yamt-pagecache-base9:1.16
	yamt-pagecache-tag8:1.16
	netbsd-6-1-4-RELEASE:1.16
	netbsd-6-0-5-RELEASE:1.16
	tls-earlyentropy:1.16.0.76
	tls-earlyentropy-base:1.16
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.16
	riastradh-drm2-base3:1.16
	netbsd-6-1-3-RELEASE:1.16
	netbsd-6-0-4-RELEASE:1.16
	netbsd-5-2-2-RELEASE:1.16
	netbsd-5-1-4-RELEASE:1.16
	netbsd-6-1-2-RELEASE:1.16
	netbsd-6-0-3-RELEASE:1.16
	netbsd-5-2-1-RELEASE:1.16
	netbsd-5-1-3-RELEASE:1.16
	netbsd-6-1-1-RELEASE:1.16
	riastradh-drm2-base2:1.16
	riastradh-drm2-base1:1.16
	riastradh-drm2:1.16.0.68
	riastradh-drm2-base:1.16
	netbsd-6-1:1.16.0.74
	netbsd-6-0-2-RELEASE:1.16
	netbsd-6-1-RELEASE:1.16
	khorben-n900:1.16.0.72
	netbsd-6-1-RC4:1.16
	netbsd-6-1-RC3:1.16
	agc-symver:1.16.0.70
	agc-symver-base:1.16
	netbsd-6-1-RC2:1.16
	netbsd-6-1-RC1:1.16
	yamt-pagecache-base8:1.16
	netbsd-5-2:1.16.0.66
	netbsd-6-0-1-RELEASE:1.16
	yamt-pagecache-base7:1.16
	netbsd-5-2-RELEASE:1.16
	netbsd-5-2-RC1:1.16
	matt-nb6-plus-nbase:1.16
	yamt-pagecache-base6:1.16
	netbsd-6-0:1.16.0.64
	netbsd-6-0-RELEASE:1.16
	netbsd-6-0-RC2:1.16
	tls-maxphys:1.16.0.62
	tls-maxphys-base:1.16
	matt-nb6-plus:1.16.0.60
	matt-nb6-plus-base:1.16
	netbsd-6-0-RC1:1.16
	yamt-pagecache-base5:1.16
	yamt-pagecache-base4:1.16
	netbsd-6:1.16.0.58
	netbsd-6-base:1.16
	netbsd-5-1-2-RELEASE:1.16
	netbsd-5-1-1-RELEASE:1.16
	yamt-pagecache-base3:1.16
	yamt-pagecache-base2:1.16
	yamt-pagecache:1.16.0.56
	yamt-pagecache-base:1.16
	cherry-xenmp:1.16.0.54
	cherry-xenmp-base:1.16
	bouyer-quota2-nbase:1.16
	bouyer-quota2:1.16.0.52
	bouyer-quota2-base:1.16
	matt-mips64-premerge-20101231:1.16
	matt-nb5-mips64-premerge-20101231:1.16
	matt-nb5-pq3:1.16.0.50
	matt-nb5-pq3-base:1.16
	netbsd-5-1:1.16.0.48
	netbsd-5-1-RELEASE:1.16
	netbsd-5-1-RC4:1.16
	matt-nb5-mips64-k15:1.16
	netbsd-5-1-RC3:1.16
	netbsd-5-1-RC2:1.16
	netbsd-5-1-RC1:1.16
	netbsd-5-0-2-RELEASE:1.16
	matt-nb5-mips64-premerge-20091211:1.16
	matt-premerge-20091211:1.16
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.16
	matt-nb4-mips64-k7-u2a-k9b:1.16
	matt-nb5-mips64-u1-k1-k5:1.16
	matt-nb5-mips64:1.16.0.46
	netbsd-5-0-1-RELEASE:1.16
	jym-xensuspend-nbase:1.16
	netbsd-5-0:1.16.0.44
	netbsd-5-0-RELEASE:1.16
	netbsd-5-0-RC4:1.16
	netbsd-5-0-RC3:1.16
	netbsd-5-0-RC2:1.16
	jym-xensuspend:1.16.0.42
	jym-xensuspend-base:1.16
	netbsd-5-0-RC1:1.16
	netbsd-5:1.16.0.40
	netbsd-5-base:1.16
	matt-mips64-base2:1.16
	matt-mips64:1.16.0.38
	netbsd-4-0-1-RELEASE:1.16
	wrstuden-revivesa-base-3:1.16
	wrstuden-revivesa-base-2:1.16
	wrstuden-fixsa-newbase:1.16
	wrstuden-revivesa-base-1:1.16
	yamt-pf42-base4:1.16
	yamt-pf42-base3:1.16
	hpcarm-cleanup-nbase:1.16
	yamt-pf42-baseX:1.16
	yamt-pf42-base2:1.16
	wrstuden-revivesa:1.16.0.36
	wrstuden-revivesa-base:1.16
	yamt-pf42:1.16.0.34
	yamt-pf42-base:1.16
	mjf-devfs2:1.16.0.32
	mjf-devfs2-base:1.16
	keiichi-mipv6:1.16.0.30
	keiichi-mipv6-base:1.16
	mjf-devfs:1.16.0.28
	mjf-devfs-base:1.16
	matt-armv6-nbase:1.16
	matt-armv6-prevmlocking:1.16
	wrstuden-fixsa-base-1:1.16
	netbsd-4-0:1.16.0.26
	netbsd-4-0-RELEASE:1.16
	cube-autoconf:1.16.0.24
	cube-autoconf-base:1.16
	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.16.0.22
	matt-armv6-base:1.16
	matt-mips64-base:1.16
	hpcarm-cleanup:1.16.0.20
	hpcarm-cleanup-base:1.16
	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.14
	netbsd-1-6-PATCH002:1.14
	netbsd-1-6-PATCH002-RC4:1.14
	netbsd-1-6-PATCH002-RC3:1.14
	netbsd-1-6-PATCH002-RC2:1.14
	netbsd-1-6-PATCH002-RC1:1.14
	netbsd-1-6-PATCH001:1.14
	netbsd-1-6-PATCH001-RELEASE:1.14
	netbsd-1-6-PATCH001-RC3:1.14
	netbsd-1-6-PATCH001-RC2:1.14
	netbsd-1-6-PATCH001-RC1:1.14
	fvdl_fs64_base:1.15
	netbsd-1-6-RELEASE:1.14
	netbsd-1-6-RC3:1.14
	netbsd-1-6-RC2:1.14
	netbsd-1-6-RC1:1.14
	netbsd-1-6:1.14.0.2
	netbsd-1-6-base:1.14
	netbsd-1-5-PATCH003:1.6
	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-5-ALPHA2:1.6
	netbsd-1-5:1.6.0.2
	netbsd-1-5-base:1.6
	minoura-xpg4dl:1.2.0.2
	minoura-xpg4dl-base:1.2
	wrstuden-devbsize-base:1.1
	wrstuden-devbsize:1.1.0.2
	wrstuden-devbsize-19991221:1.1;
locks; strict;
comment	@# @;


1.16
date	2003.07.10.10.34.09;	author lukem;	state Exp;
branches
	1.16.32.1;
next	1.15;

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

1.14
date	2002.05.21.16.33.38;	author tsutsui;	state Exp;
branches;
next	1.13;

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

1.12
date	2002.05.02.18.02.44;	author lukem;	state Exp;
branches;
next	1.11;

1.11
date	2002.04.26.15.04.47;	author lukem;	state Exp;
branches;
next	1.10;

1.10
date	2002.03.17.21.34.38;	author lukem;	state Exp;
branches;
next	1.9;

1.9
date	2002.03.05.21.23.29;	author thorpej;	state Exp;
branches;
next	1.8;

1.8
date	2001.11.09.20.52.19;	author tsutsui;	state Exp;
branches;
next	1.7;

1.7
date	2001.01.07.08.39.33;	author tsutsui;	state Exp;
branches;
next	1.6;

1.6
date	2000.06.17.18.37.43;	author tsutsui;	state Exp;
branches;
next	1.5;

1.5
date	2000.06.14.10.24.24;	author tsutsui;	state Exp;
branches;
next	1.4;

1.4
date	2000.06.11.11.35.21;	author tsutsui;	state Exp;
branches;
next	1.3;

1.3
date	2000.06.10.02.50.34;	author tsutsui;	state Exp;
branches;
next	1.2;

1.2
date	2000.05.02.16.06.52;	author sjg;	state Exp;
branches;
next	1.1;

1.1
date	99.12.09.14.59.01;	author tsutsui;	state Exp;
branches
	1.1.2.1;
next	;

1.16.32.1
date	2008.10.05.20.10.24;	author mjf;	state dead;
branches;
next	;

1.1.2.1
date	99.12.27.18.28.26;	author wrstuden;	state Exp;
branches;
next	;


desc
@@


1.16
log
@Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
@
text
@#	$NetBSD: Makefile,v 1.15 2002/11/18 12:39:48 lukem Exp $

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

FLOPPYBASE=	boot
FLOPPYSIZE=	2880
FLOPPYFILES=	boot netbsd
FLOPPYMAX=	2
FLOPPYSUFFIX=	.fs

FLOPPY_RELEASEDIR=	installation/floppy

MDEC=		${DESTDIR}/usr/mdec
KERNOBJ!=	cd ${.CURDIR}/../instkernel && ${PRINTOBJDIR}
FLOPPY_NETBSD=	${KERNOBJ}/netbsd-INSTALL.gz
FLOPPY_BOOT=	${MDEC}/boot
FLOPPYINSTBOOT= "${TOOL_INSTALLBOOT} -m ${MACHINE} -t raw -v -B 17 @@IMAGE@@ ${MDEC}/bootxx boot"

.include "${DISTRIBDIR}/common/Makefile.tarfloppy"

.include <bsd.prog.mk>
@


1.16.32.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2003/07/10 10:34:09 lukem Exp $
@


1.15
log
@Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX".
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2002/05/21 16:33:38 tsutsui Exp $
d18 1
a18 2
FLOPPYINSTBOOT= \
    "${INSTALLBOOT} -m ${MACHINE} -t raw -v -B 17 @@IMAGE@@ ${MDEC}/bootxx boot"
@


1.14
log
@Rename dir ramdisk-kernel/ -> instkernel/
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2002/05/20 16:14:20 lukem Exp $
d16 1
a16 1
FLOPPY_NETBSD=	${KERNOBJ}/netbsd.INSTALL.gz
@


1.13
log
@Convert to NDWO build.
(From Izumi Tsutsui <tsutsui@@ceres.dti.ne.jp>)
@
text
@d1 1
a1 1
#	$NetBSD$
d15 1
a15 1
KERNOBJ!=	cd ${.CURDIR}/../ramdisk-kernel && ${PRINTOBJDIR}
@


1.12
log
@yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
  (fixes problem caused by implicit include of ../Makefile.inc in certain
  submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*;  rely upon "snap_pre" target of
  etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2002/04/26 15:04:47 lukem Exp $
d3 2
d6 5
a10 2
.include "${.CURDIR}/../../../Makefile.inc"
.include <bsd.own.mk>
d12 1
a12 3
IMAGE=		boot.fs
KERNDIR!=	cd ${.CURDIR}/../ramdisk-kernel && ${PRINTOBJDIR}
KERN=		${KERNDIR}/netbsd.INSTALL.gz
a13 10
MOUNT_POINT?=	/mnt
VND?=		vnd0
VND_DEV=	/dev/${VND}a
VND_RDEV=	/dev/r${VND}a
VND_CDEV=	/dev/${VND}c
VND_CRDEV=	/dev/r${VND}c
FD?=		fd0
FD_RDEV=	/dev/r${FD}a
IMAGE?=		xxx.fs
KERN?=		netbsd-xxx
d15 5
d21 1
a21 41
DISKTYPE=	floppy

CLEANFILES+=	${IMAGE}

# Some reasonable values for the -i parameter to newfs are:
#
#  8192		1387k, 189 inodes free
# 16384		1399k,  93 inodes free
# 65536		1407k,  29 inodes free
INO_BYTES?=	65536

all:	${KERN}
	dd if=/dev/zero of=${IMAGE} bs=1440k count=1
	vnconfig -t ${DISKTYPE} -v -c ${VND} ${IMAGE}
	disklabel -rw ${VND} ${DISKTYPE}
	newfs -B be -m 0 -o space -i ${INO_BYTES} -c 80 \
	    -f 1024 -b 8192 ${VND_RDEV}
	mount ${VND_DEV} ${MOUNT_POINT}
	cp ${KERN} ${MOUNT_POINT}/netbsd
	@@echo ""
	@@df -i ${MOUNT_POINT}
	@@echo ""
	@@echo "installing new bootblocks"
	-rm -f ${MOUNT_POINT}/boot
	cp ${MDEC}/boot ${MOUNT_POINT}/boot
	sync
	${MDEC}/installboot -v ${MOUNT_POINT}/boot ${MDEC}/bootxx ${VND_CRDEV}
	umount ${MOUNT_POINT}
	vnconfig -u ${VND}

unconfig:
	-umount -f ${MOUNT_POINT}
	-vnconfig -u ${VND}

release: check_RELEASEDIR .WAIT ${IMAGE}
	${RELEASE_INSTALL} ${IMAGE} ${RELEASEDIR}/installation/floppy
	# XXX: do we want both?
	gzip -c -9 ${IMAGE} > ${RELEASEDIR}/installation/floppy/${IMAGE}.gz

real-floppy:
	dd if=${IMAGE} of=${FD_RDEV} bs=45k
@


1.11
log
@use RELINSTALL
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2002/03/17 21:34:38 lukem Exp $
d57 2
a58 3
release: check_RELEASEDIR
	-mkdir -p ${RELEASEDIR}/installation/floppy
	${RELINSTALL} ${IMAGE} ${RELEASEDIR}/installation/floppy
@


1.10
log
@deprecate Makefile.inc in favor of including ../../Makefile.inc directly
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2002/03/05 21:23:29 thorpej Exp $
d59 2
a60 1
	cp -p ${IMAGE} ${RELEASEDIR}/installation/floppy
@


1.9
log
@Make sure <bsd.own.mk> is pulled in before ${PRINTOBJDIR} is used.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2001/11/09 20:52:19 tsutsui Exp $
a2 1
TOP=		${.CURDIR}/..
d4 1
a4 1
.include "${TOP}/Makefile.inc"
a5 1
.include <bsd.subdir.mk>
d25 2
d57 1
a57 6
.ifndef RELEASEDIR
release:
	@@echo set RELEASEDIR first!
	@@false
.else
release:
a60 4
.endif

clean cleandir distclean:
	rm -f *.core ${IMAGE} ${CLEANFILES}
d65 1
a65 1
.include <bsd.obj.mk>
@


1.8
log
@Use "vnd0" instead of "/dev/vnd0c" as argument for "vnconfig" because it
is more portable and works with the latest "vnconfig".

XXX news68k (and alpha) use /dev/vnd0c to installboot vnd images..
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2001/01/07 08:39:33 tsutsui Exp $
d6 1
@


1.7
log
@Use ${PRINTOBJDIR}.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2000/06/17 18:37:43 tsutsui Exp $
d35 2
a36 2
	vnconfig -t ${DISKTYPE} -v -c ${VND_CDEV} ${IMAGE}
	disklabel -rw ${VND_CDEV} ${DISKTYPE}
d50 1
a50 1
	vnconfig -u ${VND_CDEV}
d54 1
a54 1
	-vnconfig -u ${VND_DEV}
@


1.6
log
@Include bsd.subdir.mk first to pull in /etc/mk.conf (via bsd.own.mk).
Otherwise, ".ifndef RELEASEDIR" fails if RELEASEDIR is defined in mk.conf.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2000/06/14 10:24:24 tsutsui Exp $
d9 1
a9 3
.if !make(print-objdir)
KERNDIR!=	cd ${.CURDIR}/../ramdisk-kernel && ${MAKE} print-objdir
.endif
@


1.5
log
@Change directory name (floppies -> floppy) like other ports.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2000/06/11 11:35:21 tsutsui Exp $
d6 1
a75 1
.include <bsd.subdir.mk>
@


1.4
log
@- Build an INSTALL kernel on the separate directory.
- Install an INSTALL kernel and boot.fs image to RELEASEDIR.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2000/05/02 16:06:52 sjg Exp $
d63 3
a65 3
	-mkdir -p ${RELEASEDIR}/installation/floppies
	cp -p ${IMAGE} ${RELEASEDIR}/installation/floppies
	gzip -c -9 ${IMAGE} > ${RELEASEDIR}/installation/floppies/${IMAGE}.gz
@


1.3
log
@Remove include bsd.own.mk. It is included by bsd.subdir.mk.
@
text
@a5 1
.include <bsd.kernobj.mk>
d8 4
a11 1
KERN=		${KERNOBJDIR}/INSTALL/netbsd
a24 5
LISTS=		${.CURDIR}/list
RAMDISK!=	cd $(.CURDIR)/../ramdisk/; \
		    printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}/ramdisk.fs\n" | \
		    ${MAKE} -s -f-

d34 1
a34 3
CLEANFILES+=	netbsd.ram.gz netbsd.tmp

all:	netbsd.ram.gz
a35 1
	# vnconfig -v -c ${VND_CDEV} ${IMAGE}
d41 1
a41 3
	TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
	    KERNOBJDIR=${KERNOBJDIR} \
	    TARGDIR=${MOUNT_POINT} sh ${TOP}/runlist.sh ${LISTS}
d57 10
a66 5
netbsd.ram.gz: ${KERN} ${RAMDISK}
	cp ${KERN} netbsd.tmp
	mdsetimage -v netbsd.tmp ${RAMDISK}
	gzip -9 netbsd.tmp
	mv netbsd.tmp.gz ${.TARGET}
@


1.2
log
@use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 1999/12/09 14:59:01 tsutsui Exp $
a76 1
.include <bsd.own.mk>
@


1.1
log
@Initial import of news68k port.
@
text
@d1 1
a1 1
#	$NetBSD:$
d6 1
d9 1
a9 1
KERN=		${.CURDIR}/../../../../sys/arch/${MACHINE}/compile/INSTALL/netbsd
d48 1
@


1.1.2.1
log
@Pull up to last week's -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 1999/12/09 14:59:01 tsutsui Exp $
@

