head	1.13;
access;
symbols
	netbsd-11-0-RC4:1.13
	netbsd-11-0-RC3:1.13
	netbsd-11-0-RC2:1.13
	netbsd-11-0-RC1:1.13
	perseant-exfatfs-base-20250801:1.13
	netbsd-11:1.13.0.40
	netbsd-11-base:1.13
	netbsd-10-1-RELEASE:1.13
	perseant-exfatfs-base-20240630:1.13
	perseant-exfatfs:1.13.0.38
	perseant-exfatfs-base:1.13
	netbsd-8-3-RELEASE:1.13
	netbsd-9-4-RELEASE:1.13
	netbsd-10-0-RELEASE:1.13
	netbsd-10-0-RC6:1.13
	netbsd-10-0-RC5:1.13
	netbsd-10-0-RC4:1.13
	netbsd-10-0-RC3:1.13
	netbsd-10-0-RC2:1.13
	netbsd-10-0-RC1:1.13
	netbsd-10:1.13.0.36
	netbsd-10-base:1.13
	netbsd-9-3-RELEASE:1.13
	cjep_sun2x-base1:1.13
	cjep_sun2x:1.13.0.34
	cjep_sun2x-base:1.13
	cjep_staticlib_x-base1:1.13
	netbsd-9-2-RELEASE:1.13
	cjep_staticlib_x:1.13.0.32
	cjep_staticlib_x-base:1.13
	netbsd-9-1-RELEASE:1.13
	phil-wifi-20200421:1.13
	phil-wifi-20200411:1.13
	is-mlppp:1.13.0.30
	is-mlppp-base:1.13
	phil-wifi-20200406:1.13
	netbsd-8-2-RELEASE:1.13
	netbsd-9-0-RELEASE:1.13
	netbsd-9-0-RC2:1.13
	netbsd-9-0-RC1:1.13
	phil-wifi-20191119:1.13
	netbsd-9:1.13.0.28
	netbsd-9-base:1.13
	phil-wifi-20190609:1.13
	netbsd-8-1-RELEASE:1.13
	netbsd-8-1-RC1:1.13
	pgoyette-compat-merge-20190127:1.13
	pgoyette-compat-20190127:1.13
	pgoyette-compat-20190118:1.13
	pgoyette-compat-1226:1.13
	pgoyette-compat-1126:1.13
	pgoyette-compat-1020:1.13
	pgoyette-compat-0930:1.13
	pgoyette-compat-0906:1.13
	netbsd-7-2-RELEASE:1.13
	pgoyette-compat-0728:1.13
	netbsd-8-0-RELEASE:1.13
	phil-wifi:1.13.0.26
	phil-wifi-base:1.13
	pgoyette-compat-0625:1.13
	netbsd-8-0-RC2:1.13
	pgoyette-compat-0521:1.13
	pgoyette-compat-0502:1.13
	pgoyette-compat-0422:1.13
	netbsd-8-0-RC1:1.13
	pgoyette-compat-0415:1.13
	pgoyette-compat-0407:1.13
	pgoyette-compat-0330:1.13
	pgoyette-compat-0322:1.13
	pgoyette-compat-0315:1.13
	netbsd-7-1-2-RELEASE:1.13
	pgoyette-compat:1.13.0.24
	pgoyette-compat-base:1.13
	netbsd-7-1-1-RELEASE:1.13
	matt-nb8-mediatek:1.13.0.22
	matt-nb8-mediatek-base:1.13
	perseant-stdc-iso10646:1.13.0.20
	perseant-stdc-iso10646-base:1.13
	netbsd-8:1.13.0.18
	netbsd-8-base:1.13
	prg-localcount2-base3:1.13
	prg-localcount2-base2:1.13
	prg-localcount2-base1:1.13
	prg-localcount2:1.13.0.16
	prg-localcount2-base:1.13
	pgoyette-localcount-20170426:1.13
	bouyer-socketcan-base1:1.13
	pgoyette-localcount-20170320:1.13
	netbsd-7-1:1.13.0.14
	netbsd-7-1-RELEASE:1.13
	netbsd-7-1-RC2:1.13
	netbsd-7-nhusb-base-20170116:1.13
	bouyer-socketcan:1.13.0.12
	bouyer-socketcan-base:1.13
	pgoyette-localcount-20170107:1.13
	netbsd-7-1-RC1:1.13
	pgoyette-localcount-20161104:1.13
	netbsd-7-0-2-RELEASE:1.13
	localcount-20160914:1.13
	netbsd-7-nhusb:1.13.0.10
	netbsd-7-nhusb-base:1.13
	pgoyette-localcount-20160806:1.13
	pgoyette-localcount-20160726:1.13
	pgoyette-localcount:1.13.0.8
	pgoyette-localcount-base:1.13
	netbsd-7-0-1-RELEASE:1.13
	netbsd-7-0:1.13.0.6
	netbsd-7-0-RELEASE:1.13
	netbsd-7-0-RC3:1.13
	netbsd-7-0-RC2:1.13
	netbsd-7-0-RC1:1.13
	netbsd-5-2-3-RELEASE:1.12
	netbsd-5-1-5-RELEASE:1.12
	netbsd-6-0-6-RELEASE:1.12
	netbsd-6-1-5-RELEASE:1.12
	netbsd-7:1.13.0.4
	netbsd-7-base:1.13
	yamt-pagecache-base9:1.13
	yamt-pagecache-tag8:1.12
	netbsd-6-1-4-RELEASE:1.12
	netbsd-6-0-5-RELEASE:1.12
	tls-earlyentropy:1.13.0.2
	tls-earlyentropy-base:1.13
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.13
	riastradh-drm2-base3:1.13
	netbsd-6-1-3-RELEASE:1.12
	netbsd-6-0-4-RELEASE:1.12
	netbsd-5-2-2-RELEASE:1.12
	netbsd-5-1-4-RELEASE:1.12
	netbsd-6-1-2-RELEASE:1.12
	netbsd-6-0-3-RELEASE:1.12
	netbsd-5-2-1-RELEASE:1.12
	netbsd-5-1-3-RELEASE:1.12
	netbsd-6-1-1-RELEASE:1.12
	riastradh-drm2-base2:1.12
	riastradh-drm2-base1:1.12
	riastradh-drm2:1.12.0.30
	riastradh-drm2-base:1.12
	netbsd-6-1:1.12.0.36
	netbsd-6-0-2-RELEASE:1.12
	netbsd-6-1-RELEASE:1.12
	khorben-n900:1.12.0.34
	netbsd-6-1-RC4:1.12
	netbsd-6-1-RC3:1.12
	agc-symver:1.12.0.32
	agc-symver-base:1.12
	netbsd-6-1-RC2:1.12
	netbsd-6-1-RC1:1.12
	yamt-pagecache-base8:1.12
	netbsd-5-2:1.12.0.28
	netbsd-6-0-1-RELEASE:1.12
	yamt-pagecache-base7:1.12
	netbsd-5-2-RELEASE:1.12
	netbsd-5-2-RC1:1.12
	matt-nb6-plus-nbase:1.12
	yamt-pagecache-base6:1.12
	netbsd-6-0:1.12.0.26
	netbsd-6-0-RELEASE:1.12
	netbsd-6-0-RC2:1.12
	tls-maxphys:1.12.0.24
	tls-maxphys-base:1.13
	matt-nb6-plus:1.12.0.22
	matt-nb6-plus-base:1.12
	netbsd-6-0-RC1:1.12
	yamt-pagecache-base5:1.12
	yamt-pagecache-base4:1.12
	netbsd-6:1.12.0.20
	netbsd-6-base:1.12
	netbsd-5-1-2-RELEASE:1.12
	netbsd-5-1-1-RELEASE:1.12
	yamt-pagecache-base3:1.12
	yamt-pagecache-base2:1.12
	yamt-pagecache:1.12.0.18
	yamt-pagecache-base:1.12
	cherry-xenmp:1.12.0.16
	cherry-xenmp-base:1.12
	bouyer-quota2-nbase:1.12
	bouyer-quota2:1.12.0.14
	bouyer-quota2-base:1.12
	matt-mips64-premerge-20101231:1.12
	matt-nb5-mips64-premerge-20101231:1.12
	matt-nb5-pq3:1.12.0.12
	matt-nb5-pq3-base:1.12
	netbsd-5-1:1.12.0.10
	netbsd-5-1-RELEASE:1.12
	netbsd-5-1-RC4:1.12
	matt-nb5-mips64-k15:1.12
	netbsd-5-1-RC3:1.12
	netbsd-5-1-RC2:1.12
	netbsd-5-1-RC1:1.12
	netbsd-5-0-2-RELEASE:1.12
	matt-nb5-mips64-premerge-20091211:1.12
	matt-premerge-20091211:1.12
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.12
	matt-nb4-mips64-k7-u2a-k9b:1.12
	matt-nb5-mips64-u1-k1-k5:1.12
	matt-nb5-mips64:1.12.0.8
	netbsd-5-0-1-RELEASE:1.12
	jym-xensuspend-nbase:1.12
	netbsd-5-0:1.12.0.6
	netbsd-5-0-RELEASE:1.12
	netbsd-5-0-RC4:1.12
	netbsd-5-0-RC3:1.12
	netbsd-5-0-RC2:1.12
	jym-xensuspend:1.12.0.4
	jym-xensuspend-base:1.12
	netbsd-5-0-RC1:1.12
	netbsd-5:1.12.0.2
	netbsd-5-base:1.12
	matt-mips64-base2:1.12
	matt-mips64:1.10.0.24
	netbsd-4-0-1-RELEASE:1.10
	wrstuden-revivesa-base-3:1.12
	wrstuden-revivesa-base-2:1.12
	wrstuden-fixsa-newbase:1.10
	wrstuden-revivesa-base-1:1.11
	yamt-pf42-base4:1.11
	yamt-pf42-base3:1.11
	hpcarm-cleanup-nbase:1.11
	yamt-pf42-baseX:1.10
	yamt-pf42-base2:1.11
	wrstuden-revivesa:1.11.0.2
	wrstuden-revivesa-base:1.11
	yamt-pf42:1.10.0.22
	yamt-pf42-base:1.10
	mjf-devfs2:1.10.0.20
	mjf-devfs2-base:1.12
	keiichi-mipv6:1.10.0.18
	keiichi-mipv6-base:1.10
	mjf-devfs:1.10.0.16
	mjf-devfs-base:1.10
	matt-armv6-nbase:1.10
	matt-armv6-prevmlocking:1.10
	wrstuden-fixsa-base-1:1.10
	netbsd-4-0:1.10.0.14
	netbsd-4-0-RELEASE:1.10
	cube-autoconf:1.10.0.12
	cube-autoconf-base:1.10
	netbsd-4-0-RC5:1.10
	netbsd-4-0-RC4:1.10
	netbsd-4-0-RC3:1.10
	netbsd-4-0-RC2:1.10
	netbsd-4-0-RC1:1.10
	matt-armv6:1.10.0.10
	matt-armv6-base:1.10
	matt-mips64-base:1.10
	hpcarm-cleanup:1.10.0.8
	hpcarm-cleanup-base:1.10
	netbsd-3-1-1-RELEASE:1.9
	netbsd-3-0-3-RELEASE:1.9
	wrstuden-fixsa:1.10.0.6
	wrstuden-fixsa-base:1.10
	abandoned-netbsd-4-base:1.10
	abandoned-netbsd-4:1.10.0.2
	netbsd-3-1:1.9.0.12
	netbsd-3-1-RELEASE:1.9
	netbsd-3-0-2-RELEASE:1.9
	netbsd-3-1-RC4:1.9
	netbsd-3-1-RC3:1.9
	netbsd-3-1-RC2:1.9
	netbsd-3-1-RC1:1.9
	netbsd-4:1.10.0.4
	netbsd-4-base:1.10
	netbsd-3-0-1-RELEASE:1.9
	netbsd-3-0:1.9.0.10
	netbsd-3-0-RELEASE:1.9
	netbsd-3-0-RC6:1.9
	netbsd-3-0-RC5:1.9
	netbsd-3-0-RC4:1.9
	netbsd-3-0-RC3:1.9
	netbsd-3-0-RC2:1.9
	netbsd-3-0-RC1:1.9
	netbsd-2-0-3-RELEASE:1.9
	netbsd-2-1:1.9.0.8
	netbsd-2-1-RELEASE:1.9
	netbsd-2-1-RC6:1.9
	netbsd-2-1-RC5:1.9
	netbsd-2-1-RC4:1.9
	netbsd-2-1-RC3:1.9
	netbsd-2-1-RC2:1.9
	netbsd-2-1-RC1:1.9
	netbsd-2-0-2-RELEASE:1.9
	netbsd-3:1.9.0.6
	netbsd-3-base:1.9
	netbsd-2-0-1-RELEASE:1.9
	netbsd-2:1.9.0.4
	netbsd-2-base:1.9
	netbsd-2-0-RELEASE:1.9
	netbsd-2-0-RC5:1.9
	netbsd-2-0-RC4:1.9
	netbsd-2-0-RC3:1.9
	netbsd-2-0-RC2:1.9
	netbsd-2-0-RC1:1.9
	netbsd-2-0:1.9.0.2
	netbsd-2-0-base:1.9
	netbsd-1-6-PATCH002-RELEASE:1.7
	netbsd-1-6-PATCH002:1.7
	netbsd-1-6-PATCH002-RC4:1.7
	netbsd-1-6-PATCH002-RC3:1.7
	netbsd-1-6-PATCH002-RC2:1.7
	netbsd-1-6-PATCH002-RC1:1.7
	netbsd-1-6-PATCH001:1.7
	netbsd-1-6-PATCH001-RELEASE:1.7
	netbsd-1-6-PATCH001-RC3:1.7
	netbsd-1-6-PATCH001-RC2:1.7
	netbsd-1-6-PATCH001-RC1:1.7
	fvdl_fs64_base:1.7
	netbsd-1-6-RELEASE:1.7
	netbsd-1-6-RC3:1.7
	netbsd-1-6-RC2:1.7
	netbsd-1-6-RC1:1.7
	netbsd-1-6:1.7.0.2
	netbsd-1-6-base:1.7;
locks; strict;
comment	@# @;


1.13
date	2014.01.27.08.18.07;	author apb;	state Exp;
branches;
next	1.12;
commitid	wwPlzP7Kwl0vkJmx;

1.12
date	2008.06.23.02.16.54;	author matt;	state Exp;
branches
	1.12.18.1
	1.12.24.1;
next	1.11;

1.11
date	2008.04.30.21.15.33;	author garbled;	state Exp;
branches
	1.11.2.1;
next	1.10;

1.10
date	2006.03.23.18.51.19;	author garbled;	state Exp;
branches
	1.10.20.1
	1.10.22.1;
next	1.9;

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

1.8
date	2003.01.03.15.34.34;	author lukem;	state Exp;
branches;
next	1.7;

1.7
date	2002.05.03.20.54.18;	author kleink;	state Exp;
branches;
next	1.6;

1.6
date	2002.05.02.18.02.49;	author lukem;	state Exp;
branches;
next	1.5;

1.5
date	2002.04.26.15.50.44;	author lukem;	state Exp;
branches;
next	1.4;

1.4
date	2002.04.12.14.52.57;	author lukem;	state Exp;
branches;
next	1.3;

1.3
date	2002.03.05.21.23.30;	author thorpej;	state Exp;
branches;
next	1.2;

1.2
date	2001.10.21.23.23.22;	author jmc;	state Exp;
branches;
next	1.1;

1.1
date	2001.01.16.16.53.58;	author nonaka;	state Exp;
branches;
next	;

1.12.18.1
date	2014.05.22.12.01.31;	author yamt;	state Exp;
branches;
next	;
commitid	yqlfOuaAhYmASwBx;

1.12.24.1
date	2014.08.19.23.45.42;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.11.2.1
date	2008.09.18.04.41.12;	author wrstuden;	state Exp;
branches;
next	;

1.10.20.1
date	2008.06.02.13.21.17;	author mjf;	state Exp;
branches;
next	1.10.20.2;

1.10.20.2
date	2008.06.29.08.25.13;	author mjf;	state Exp;
branches;
next	1.10.20.3;

1.10.20.3
date	2008.10.05.20.10.31;	author mjf;	state dead;
branches;
next	;

1.10.22.1
date	2008.05.18.12.29.38;	author yamt;	state Exp;
branches;
next	;


desc
@@


1.13
log
@Use ${TOOL_GZIP} instead of just gzip in all Makefiles
outside */dist/* subdirectories.

When USE_PIGZGZIP=yes, bsd.own.mk sets TOOL_GZIP=${TOOL_PIGZ},
so there's no need to test USE_PIGZGZIP in these Makefiles.
@
text
@#	$NetBSD: Makefile.inc,v 1.12 2008/06/23 02:16:54 matt Exp $

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

# Required variables:
#	IMAGE
#	KERNEL

MDEC?=		${DESTDIR}/usr/mdec
BOOTLOADER?=	${MDEC}/boot_com0
TMPKERNEL=	${.OBJDIR}/netbsd

${IMAGE}: ${KERNEL}
	${TOOL_GZIP} -cd ${KERNEL} > ${TMPKERNEL}
	${TOOL_POWERPCMKBOOTIMAGE} -m ${MACHINE} -b ${BOOTLOADER} 	\
		-k ${TMPKERNEL} ${.TARGET}
	-rm -f ${TMPKERNEL}

KFILES=	${IMAGE}

CLEANFILES+=	${KFILES}


realall: ${KFILES}

release: check_RELEASEDIR .WAIT ${KFILES}
	${RELEASE_INSTALL} ${KFILES} \
	    ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/floppy

.include <bsd.prog.mk>
@


1.12
log
@Change remaining instances of ${RELEASEDIR}/${MACHINES} to
${RELEASEDIR}/${RELEASEMACHINEDIR}
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.11 2008/04/30 21:15:33 garbled Exp $
d15 1
a15 1
	gzip -cd ${KERNEL} > ${TMPKERNEL}
@


1.12.24.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d15 1
a15 1
	${TOOL_GZIP} -cd ${KERNEL} > ${TMPKERNEL}
@


1.12.18.1
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.12 2008/06/23 02:16:54 matt Exp $
d15 1
a15 1
	${TOOL_GZIP} -cd ${KERNEL} > ${TMPKERNEL}
@


1.11
log
@Convert prep to use the new unified mkbootimage rather than it's own.  This
mkbootimage can be shared by prep, rs6000, and bebox.

TODO: Convert bebox to use this.  Needs someone to test.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.10 2006/03/23 18:51:19 garbled Exp $
d29 1
a29 1
	    ${RELEASEDIR}/${MACHINE}/installation/floppy
@


1.11.2.1
log
@Sync with wrstuden-revivesa-base-2.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.11 2008/04/30 21:15:33 garbled Exp $
d29 1
a29 1
	    ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/floppy
@


1.10
log
@Modify these makefiles to use the new mkbootimage..  hopefully I got this
right.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.9 2003/07/10 10:34:13 lukem Exp $
d16 2
a17 1
	${TOOL_PREPMKBOOTIMAGE} -b ${BOOTLOADER} -k ${TMPKERNEL} ${.TARGET}
@


1.10.20.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d16 1
a16 2
	${TOOL_POWERPCMKBOOTIMAGE} -m ${MACHINE} -b ${BOOTLOADER} 	\
		-k ${TMPKERNEL} ${.TARGET}
@


1.10.20.2
log
@Sync with HEAD.
@
text
@d29 1
a29 1
	    ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/floppy
@


1.10.20.3
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.10.20.2 2008/06/29 08:25:13 mjf Exp $
@


1.10.22.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.10 2006/03/23 18:51:19 garbled Exp $
d16 1
a16 2
	${TOOL_POWERPCMKBOOTIMAGE} -m ${MACHINE} -b ${BOOTLOADER} 	\
		-k ${TMPKERNEL} ${.TARGET}
@


1.9
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
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.8 2003/01/03 15:34:34 lukem Exp $
d12 1
d15 3
a17 1
	${TOOL_PREPMKBOOTIMAGE} ${BOOTLOADER} ${.TARGET} ${KERNEL} # XXXDISTRIB
d19 1
a19 4
${IMAGE}.gz: ${IMAGE}
	gzip -9c ${IMAGE} > ${.TARGET}

KFILES=	${IMAGE} ${IMAGE}.gz
@


1.8
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.7 2002/05/03 20:54:18 kleink Exp $
a10 1
MKBOOTIMAGE?=	${PREPMKBOOTIMAGE}
d14 1
a14 1
	${MKBOOTIMAGE} ${BOOTLOADER} ${.TARGET} ${KERNEL}	# XXXDISTRIB
@


1.7
log
@Use $PREPMKBOOTIMAGE.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.6 2002/05/02 18:02:49 lukem Exp $
d28 2
a29 1
	${RELEASE_INSTALL} ${KFILES} ${RELEASEDIR}/installation/floppy
@


1.6
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.inc,v 1.5 2002/04/26 15:50:44 lukem Exp $
d11 1
a11 1
MKBOOTIMAGE?=	${MDEC}/mkbootimage
@


1.5
log
@replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.4 2002/04/12 14:52:57 lukem Exp $
d4 1
a4 1
.include "${NETBSDSRCDIR}/distrib/Makefile.inc"
d28 1
a28 2
	-mkdir -p ${RELEASEDIR}/installation/floppy
	${RELINSTALL} ${KFILES} ${RELEASEDIR}/installation/floppy
@


1.4
log
@NDWO cleanup
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.3 2002/03/05 21:23:30 thorpej Exp $
d4 1
a4 1
.include "${_SRC_TOP_}/distrib/Makefile.inc"
@


1.3
log
@Make sure <bsd.own.mk> is pulled in before ${PRINTOBJDIR} is used.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.2 2001/10/21 23:23:22 jmc Exp $
a2 3
TOP=		${.CURDIR}/..

.include "${TOP}/Makefile.inc"
d4 1
a4 1
.include <bsd.subdir.mk>
d6 3
a8 3
IMAGE?=		boot.fs
KERNDIR?=	cd ${.CURDIR}/../kernel-ramdisk && ${PRINTOBJDIR}
KERN?=		${KERNDIR}/netbsd.INSTALL.gz
a12 1
MDSETIMAGE?=	mdsetimage
d14 7
a20 1
realall: ${IMAGE}
d22 1
a22 2
${IMAGE}: ${KERN}
	${MKBOOTIMAGE} ${BOOTLOADER} ${.TARGET} ${KERN}
d24 4
a27 6
.ifndef RELEASEDIR
release:
	@@echo set RELEASEDIR first!
	@@false
.else
release:
d29 1
a29 6
	cp -p ${IMAGE} ${RELEASEDIR}/installation/floppy
	gzip -9c ${IMAGE} > ${RELEASEDIR}/installation/floppy/${IMAGE}.gz
.endif

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


1.2
log
@Convert to using ${MDSETIMAGE}.

Provide a default value for $MDSETIMAGE and pull in bsd.own.mk to have
it overriden as needed for cross/-current builds.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.1 2001/01/16 16:53:58 nonaka Exp $
d6 1
a36 1
.include <bsd.own.mk>
@


1.1
log
@Add prep installer
@
text
@d1 1
a1 1
#	$NetBSD$
d36 1
@

