head	1.56;
access;
symbols
	netbsd-11-0-RC4:1.56
	netbsd-11-0-RC3:1.56
	netbsd-11-0-RC2:1.56
	netbsd-11-0-RC1:1.56
	perseant-exfatfs-base-20250801:1.56
	netbsd-11:1.56.0.2
	netbsd-11-base:1.56
	netbsd-10-1-RELEASE:1.55
	perseant-exfatfs-base-20240630:1.55
	perseant-exfatfs:1.55.0.8
	perseant-exfatfs-base:1.55
	netbsd-8-3-RELEASE:1.47
	netbsd-9-4-RELEASE:1.52
	netbsd-10-0-RELEASE:1.55
	netbsd-10-0-RC6:1.55
	netbsd-10-0-RC5:1.55
	netbsd-10-0-RC4:1.55
	netbsd-10-0-RC3:1.55
	netbsd-10-0-RC2:1.55
	netbsd-10-0-RC1:1.55
	netbsd-10:1.55.0.6
	netbsd-10-base:1.55
	netbsd-9-3-RELEASE:1.52
	cjep_sun2x-base1:1.55
	cjep_sun2x:1.55.0.4
	cjep_sun2x-base:1.55
	cjep_staticlib_x-base1:1.55
	netbsd-9-2-RELEASE:1.52
	cjep_staticlib_x:1.55.0.2
	cjep_staticlib_x-base:1.55
	netbsd-9-1-RELEASE:1.52
	phil-wifi-20200421:1.53
	phil-wifi-20200411:1.53
	is-mlppp:1.53.0.2
	is-mlppp-base:1.53
	phil-wifi-20200406:1.53
	netbsd-8-2-RELEASE:1.47
	netbsd-9-0-RELEASE:1.52
	netbsd-9-0-RC2:1.52
	netbsd-9-0-RC1:1.52
	phil-wifi-20191119:1.52
	netbsd-9:1.52.0.2
	netbsd-9-base:1.52
	phil-wifi-20190609:1.51
	netbsd-8-1-RELEASE:1.47
	netbsd-8-1-RC1:1.47
	pgoyette-compat-merge-20190127:1.48
	pgoyette-compat-20190127:1.48
	pgoyette-compat-20190118:1.48
	pgoyette-compat-1226:1.48
	pgoyette-compat-1126:1.48
	pgoyette-compat-1020:1.48
	pgoyette-compat-0930:1.48
	pgoyette-compat-0906:1.48
	netbsd-7-2-RELEASE:1.46
	pgoyette-compat-0728:1.48
	netbsd-8-0-RELEASE:1.47
	phil-wifi:1.48.0.6
	phil-wifi-base:1.48
	pgoyette-compat-0625:1.48
	netbsd-8-0-RC2:1.47
	pgoyette-compat-0521:1.48
	pgoyette-compat-0502:1.48
	pgoyette-compat-0422:1.48
	netbsd-8-0-RC1:1.47
	pgoyette-compat-0415:1.48
	pgoyette-compat-0407:1.48
	pgoyette-compat-0330:1.48
	pgoyette-compat-0322:1.48
	pgoyette-compat-0315:1.48
	netbsd-7-1-2-RELEASE:1.46
	pgoyette-compat:1.48.0.4
	pgoyette-compat-base:1.48
	netbsd-7-1-1-RELEASE:1.46
	matt-nb8-mediatek:1.47.0.6
	matt-nb8-mediatek-base:1.47
	perseant-stdc-iso10646:1.48.0.2
	perseant-stdc-iso10646-base:1.48
	netbsd-8:1.47.0.4
	netbsd-8-base:1.47
	prg-localcount2-base3:1.47
	prg-localcount2-base2:1.47
	prg-localcount2-base1:1.47
	prg-localcount2:1.47.0.2
	prg-localcount2-base:1.47
	pgoyette-localcount-20170426:1.47
	bouyer-socketcan-base1:1.47
	pgoyette-localcount-20170320:1.47
	netbsd-7-1:1.46.0.22
	netbsd-7-1-RELEASE:1.46
	netbsd-7-1-RC2:1.46
	netbsd-7-nhusb-base-20170116:1.46
	bouyer-socketcan:1.46.0.20
	bouyer-socketcan-base:1.46
	pgoyette-localcount-20170107:1.46
	netbsd-7-1-RC1:1.46
	pgoyette-localcount-20161104:1.46
	netbsd-7-0-2-RELEASE:1.46
	localcount-20160914:1.46
	netbsd-7-nhusb:1.46.0.18
	netbsd-7-nhusb-base:1.46
	pgoyette-localcount-20160806:1.46
	pgoyette-localcount-20160726:1.46
	pgoyette-localcount:1.46.0.16
	pgoyette-localcount-base:1.46
	netbsd-7-0-1-RELEASE:1.46
	netbsd-7-0:1.46.0.14
	netbsd-7-0-RELEASE:1.46
	netbsd-7-0-RC3:1.46
	netbsd-7-0-RC2:1.46
	netbsd-7-0-RC1:1.46
	netbsd-5-2-3-RELEASE:1.37
	netbsd-5-1-5-RELEASE:1.37
	netbsd-6-0-6-RELEASE:1.45.8.1
	netbsd-6-1-5-RELEASE:1.45.8.1
	netbsd-7:1.46.0.12
	netbsd-7-base:1.46
	yamt-pagecache-base9:1.46
	yamt-pagecache-tag8:1.45.6.1
	netbsd-6-1-4-RELEASE:1.45.8.1
	netbsd-6-0-5-RELEASE:1.45.8.1
	tls-earlyentropy:1.46.0.10
	tls-earlyentropy-base:1.46
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.46
	riastradh-drm2-base3:1.46
	netbsd-6-1-3-RELEASE:1.45.8.1
	netbsd-6-0-4-RELEASE:1.45.8.1
	netbsd-5-2-2-RELEASE:1.37
	netbsd-5-1-4-RELEASE:1.37
	netbsd-6-1-2-RELEASE:1.45.8.1
	netbsd-6-0-3-RELEASE:1.45.8.1
	netbsd-5-2-1-RELEASE:1.37
	netbsd-5-1-3-RELEASE:1.37
	netbsd-6-1-1-RELEASE:1.45.8.1
	riastradh-drm2-base2:1.46
	riastradh-drm2-base1:1.46
	riastradh-drm2:1.46.0.4
	riastradh-drm2-base:1.46
	netbsd-6-1:1.45.8.1.0.6
	netbsd-6-0-2-RELEASE:1.45.8.1
	netbsd-6-1-RELEASE:1.45.8.1
	khorben-n900:1.46.0.8
	netbsd-6-1-RC4:1.45.8.1
	netbsd-6-1-RC3:1.45.8.1
	agc-symver:1.46.0.6
	agc-symver-base:1.46
	netbsd-6-1-RC2:1.45.8.1
	netbsd-6-1-RC1:1.45.8.1
	yamt-pagecache-base8:1.46
	netbsd-5-2:1.37.0.30
	netbsd-6-0-1-RELEASE:1.45.8.1
	yamt-pagecache-base7:1.46
	netbsd-5-2-RELEASE:1.37
	netbsd-5-2-RC1:1.37
	matt-nb6-plus-nbase:1.45.8.1
	yamt-pagecache-base6:1.46
	netbsd-6-0:1.45.8.1.0.4
	netbsd-6-0-RELEASE:1.45.8.1
	netbsd-6-0-RC2:1.45.8.1
	tls-maxphys:1.46.0.2
	tls-maxphys-base:1.46
	matt-nb6-plus:1.45.8.1.0.2
	matt-nb6-plus-base:1.45.8.1
	netbsd-6-0-RC1:1.45.8.1
	yamt-pagecache-base5:1.45
	yamt-pagecache-base4:1.45
	netbsd-6:1.45.0.8
	netbsd-6-base:1.45
	netbsd-5-1-2-RELEASE:1.37
	netbsd-5-1-1-RELEASE:1.37
	yamt-pagecache-base3:1.45
	yamt-pagecache-base2:1.45
	yamt-pagecache:1.45.0.6
	yamt-pagecache-base:1.45
	cherry-xenmp:1.45.0.4
	cherry-xenmp-base:1.45
	bouyer-quota2-nbase:1.45
	bouyer-quota2:1.45.0.2
	bouyer-quota2-base:1.45
	matt-mips64-premerge-20101231:1.45
	matt-nb5-mips64-premerge-20101231:1.37
	matt-nb5-pq3:1.37.0.28
	matt-nb5-pq3-base:1.37
	netbsd-5-1:1.37.0.26
	netbsd-5-1-RELEASE:1.37
	netbsd-5-1-RC4:1.37
	matt-nb5-mips64-k15:1.37
	netbsd-5-1-RC3:1.37
	netbsd-5-1-RC2:1.37
	netbsd-5-1-RC1:1.37
	netbsd-5-0-2-RELEASE:1.37
	matt-nb5-mips64-premerge-20091211:1.37
	matt-premerge-20091211:1.43
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.37
	matt-nb4-mips64-k7-u2a-k9b:1.37
	matt-nb5-mips64-u1-k1-k5:1.37
	matt-nb5-mips64:1.37.0.24
	netbsd-5-0-1-RELEASE:1.37
	jym-xensuspend-nbase:1.39
	netbsd-5-0:1.37.0.22
	netbsd-5-0-RELEASE:1.37
	netbsd-5-0-RC4:1.37
	netbsd-5-0-RC3:1.37
	netbsd-5-0-RC2:1.37
	jym-xensuspend:1.39.0.2
	jym-xensuspend-base:1.39
	netbsd-5-0-RC1:1.37
	netbsd-5:1.37.0.20
	netbsd-5-base:1.37
	matt-mips64-base2:1.37
	matt-mips64:1.37.0.18
	netbsd-4-0-1-RELEASE:1.36
	wrstuden-revivesa-base-3:1.37
	wrstuden-revivesa-base-2:1.37
	wrstuden-fixsa-newbase:1.36
	wrstuden-revivesa-base-1:1.37
	yamt-pf42-base4:1.37
	yamt-pf42-base3:1.37
	hpcarm-cleanup-nbase:1.37
	yamt-pf42-baseX:1.37
	yamt-pf42-base2:1.37
	wrstuden-revivesa:1.37.0.16
	wrstuden-revivesa-base:1.37
	yamt-pf42:1.37.0.14
	yamt-pf42-base:1.37
	mjf-devfs2:1.37.0.12
	mjf-devfs2-base:1.37
	keiichi-mipv6:1.37.0.10
	keiichi-mipv6-base:1.37
	mjf-devfs:1.37.0.8
	mjf-devfs-base:1.37
	matt-armv6-nbase:1.37
	matt-armv6-prevmlocking:1.37
	wrstuden-fixsa-base-1:1.36
	netbsd-4-0:1.36.0.8
	netbsd-4-0-RELEASE:1.36
	cube-autoconf:1.37.0.6
	cube-autoconf-base:1.37
	netbsd-4-0-RC5:1.36
	netbsd-4-0-RC4:1.36
	netbsd-4-0-RC3:1.36
	netbsd-4-0-RC2:1.36
	netbsd-4-0-RC1:1.36
	matt-armv6:1.37.0.4
	matt-armv6-base:1.37
	matt-mips64-base:1.37
	hpcarm-cleanup:1.37.0.2
	hpcarm-cleanup-base:1.37
	netbsd-3-1-1-RELEASE:1.34
	netbsd-3-0-3-RELEASE:1.34
	wrstuden-fixsa:1.36.0.6
	wrstuden-fixsa-base:1.36
	abandoned-netbsd-4-base:1.36
	abandoned-netbsd-4:1.36.0.2
	netbsd-3-1:1.34.0.6
	netbsd-3-1-RELEASE:1.34
	netbsd-3-0-2-RELEASE:1.34
	netbsd-3-1-RC4:1.34
	netbsd-3-1-RC3:1.34
	netbsd-3-1-RC2:1.34
	netbsd-3-1-RC1:1.34
	netbsd-4:1.36.0.4
	netbsd-4-base:1.36
	netbsd-3-0-1-RELEASE:1.34
	netbsd-3-0:1.34.0.4
	netbsd-3-0-RELEASE:1.34
	netbsd-3-0-RC6:1.34
	netbsd-3-0-RC5:1.34
	netbsd-3-0-RC4:1.34
	netbsd-3-0-RC3:1.34
	netbsd-3-0-RC2:1.34
	netbsd-3-0-RC1:1.34
	netbsd-2-0-3-RELEASE:1.31.2.1
	netbsd-2-1:1.31.2.1.0.4
	netbsd-2-1-RELEASE:1.31.2.1
	netbsd-2-1-RC6:1.31.2.1
	netbsd-2-1-RC5:1.31.2.1
	netbsd-2-1-RC4:1.31.2.1
	netbsd-2-1-RC3:1.31.2.1
	netbsd-2-1-RC2:1.31.2.1
	netbsd-2-1-RC1:1.31.2.1
	netbsd-2-0-2-RELEASE:1.31.2.1
	netbsd-3:1.34.0.2
	netbsd-3-base:1.34
	netbsd-2-0-1-RELEASE:1.31.2.1
	netbsd-2:1.31.2.1.0.2
	netbsd-2-base:1.31.2.1
	netbsd-2-0-RELEASE:1.31.2.1
	netbsd-2-0-RC5:1.31.2.1
	netbsd-2-0-RC4:1.31.2.1
	netbsd-2-0-RC3:1.31.2.1
	netbsd-2-0-RC2:1.31.2.1
	netbsd-2-0-RC1:1.31.2.1
	netbsd-2-0:1.31.0.2
	netbsd-2-0-base:1.31
	netbsd-1-6-PATCH002-RELEASE:1.30
	netbsd-1-6-PATCH002:1.30
	netbsd-1-6-PATCH002-RC4:1.30
	netbsd-1-6-PATCH002-RC3:1.30
	netbsd-1-6-PATCH002-RC2:1.30
	netbsd-1-6-PATCH002-RC1:1.30
	netbsd-1-6-PATCH001:1.30
	netbsd-1-6-PATCH001-RELEASE:1.30
	netbsd-1-6-PATCH001-RC3:1.30
	netbsd-1-6-PATCH001-RC2:1.30
	netbsd-1-6-PATCH001-RC1:1.30
	fvdl_fs64_base:1.30
	netbsd-1-6-RELEASE:1.30
	netbsd-1-6-RC3:1.30
	netbsd-1-6-RC2:1.30
	netbsd-1-6-RC1:1.30
	netbsd-1-6:1.30.0.2
	netbsd-1-6-base:1.30
	netbsd-1-5-PATCH003:1.12.4.1
	netbsd-1-5-PATCH002:1.12
	netbsd-1-5-PATCH001:1.12
	netbsd-1-5-RELEASE:1.12
	netbsd-1-5-BETA2:1.12
	netbsd-1-5-BETA:1.12
	netbsd-1-4-PATCH003:1.2.2.2
	netbsd-1-5-ALPHA2:1.12
	netbsd-1-5:1.12.0.4
	netbsd-1-5-base:1.12
	minoura-xpg4dl:1.12.0.2
	minoura-xpg4dl-base:1.12
	netbsd-1-4-PATCH002:1.2.2.2
	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.2.2.1
	netbsd-1-4-RELEASE:1.2.2.1
	netbsd-1-4:1.2.0.2
	netbsd-1-4-base:1.2;
locks; strict;
comment	@# @;


1.56
date	2024.11.27.17.06.19;	author christos;	state Exp;
branches;
next	1.55;
commitid	LexTZXXjsR8s4jzF;

1.55
date	2021.04.25.23.40.06;	author christos;	state Exp;
branches
	1.55.8.1;
next	1.54;
commitid	YWr3KWO8Dq4dqJQC;

1.54
date	2020.09.07.09.05.10;	author mrg;	state Exp;
branches;
next	1.53;
commitid	fImUEYatyTHqY5nC;

1.53
date	2019.12.29.18.26.18;	author christos;	state Exp;
branches;
next	1.52;
commitid	QaphWvAMkPXycDQB;

1.52
date	2019.06.26.07.33.19;	author martin;	state Exp;
branches;
next	1.51;
commitid	5hZIQG31UjEPzFsB;

1.51
date	2019.04.03.11.29.39;	author christos;	state Exp;
branches;
next	1.50;
commitid	CVt4tM6Cf8XaAThB;

1.50
date	2019.03.29.16.06.28;	author christos;	state Exp;
branches;
next	1.49;
commitid	HrD0mQp4E8WchhhB;

1.49
date	2019.02.13.07.55.33;	author gson;	state Exp;
branches;
next	1.48;
commitid	85hHbxV6zQCdYzbB;

1.48
date	2017.07.16.14.24.29;	author christos;	state Exp;
branches
	1.48.2.1
	1.48.6.1;
next	1.47;
commitid	mYY606mYCZ9GFsZz;

1.47
date	2017.01.24.18.04.04;	author christos;	state Exp;
branches;
next	1.46;
commitid	kdLAgdCEWzeUrfDz;

1.46
date	2012.08.14.07.24.41;	author martin;	state Exp;
branches
	1.46.16.1
	1.46.20.1;
next	1.45;

1.45
date	2010.02.11.09.06.50;	author roy;	state Exp;
branches
	1.45.6.1
	1.45.8.1;
next	1.44;

1.44
date	2010.02.05.10.01.20;	author roy;	state Exp;
branches;
next	1.43;

1.43
date	2009.09.20.23.19.55;	author abs;	state Exp;
branches;
next	1.42;

1.42
date	2009.09.20.22.46.13;	author abs;	state Exp;
branches;
next	1.41;

1.41
date	2009.09.20.19.49.09;	author abs;	state Exp;
branches;
next	1.40;

1.40
date	2009.09.20.19.29.26;	author abs;	state Exp;
branches;
next	1.39;

1.39
date	2009.01.18.12.51.25;	author he;	state Exp;
branches;
next	1.38;

1.38
date	2008.11.30.04.18.14;	author tsutsui;	state Exp;
branches;
next	1.37;

1.37
date	2007.05.10.23.22.31;	author dogcow;	state Exp;
branches
	1.37.12.1;
next	1.36;

1.36
date	2006.07.29.19.10.56;	author ad;	state Exp;
branches;
next	1.35;

1.35
date	2006.01.16.14.53.46;	author tsutsui;	state Exp;
branches;
next	1.34;

1.34
date	2004.10.15.15.06.37;	author he;	state Exp;
branches;
next	1.33;

1.33
date	2004.06.09.19.04.38;	author he;	state Exp;
branches;
next	1.32;

1.32
date	2004.05.14.17.00.21;	author he;	state Exp;
branches;
next	1.31;

1.31
date	2003.02.01.05.03.43;	author tsutsui;	state Exp;
branches
	1.31.2.1;
next	1.30;

1.30
date	2002.05.02.18.02.48;	author lukem;	state Exp;
branches;
next	1.29;

1.29
date	2002.05.02.13.31.43;	author simonb;	state Exp;
branches;
next	1.28;

1.28
date	2002.04.26.15.50.43;	author lukem;	state Exp;
branches;
next	1.27;

1.27
date	2002.04.23.19.53.12;	author tv;	state Exp;
branches;
next	1.26;

1.26
date	2002.04.12.05.15.18;	author lukem;	state Exp;
branches;
next	1.25;

1.25
date	2002.04.12.03.28.06;	author lukem;	state Exp;
branches;
next	1.24;

1.24
date	2002.04.06.18.16.11;	author tsutsui;	state Exp;
branches;
next	1.23;

1.23
date	2002.04.01.12.16.13;	author lukem;	state Exp;
branches;
next	1.22;

1.22
date	2002.03.29.23.45.23;	author lukem;	state Exp;
branches;
next	1.21;

1.21
date	2002.03.28.03.24.07;	author lukem;	state Exp;
branches;
next	1.20;

1.20
date	2002.03.24.23.15.24;	author lukem;	state Exp;
branches;
next	1.19;

1.19
date	2002.03.12.06.26.35;	author lukem;	state Exp;
branches;
next	1.18;

1.18
date	2002.02.09.13.56.53;	author lukem;	state Exp;
branches;
next	1.17;

1.17
date	2001.10.13.06.15.19;	author jmc;	state Exp;
branches;
next	1.16;

1.16
date	2001.10.10.05.13.55;	author enami;	state Exp;
branches;
next	1.15;

1.15
date	2001.03.24.15.30.44;	author simonb;	state Exp;
branches;
next	1.14;

1.14
date	2000.11.01.07.58.00;	author garbled;	state Exp;
branches;
next	1.13;

1.13
date	2000.08.30.23.51.51;	author jhawk;	state Exp;
branches;
next	1.12;

1.12
date	2000.05.02.16.06.54;	author sjg;	state Exp;
branches
	1.12.4.1;
next	1.11;

1.11
date	2000.01.06.03.47.56;	author simonb;	state Exp;
branches;
next	1.10;

1.10
date	99.12.28.10.54.20;	author simonb;	state Exp;
branches;
next	1.9;

1.9
date	99.05.11.20.47.00;	author veego;	state Exp;
branches;
next	1.8;

1.8
date	99.05.06.20.51.22;	author simonb;	state Exp;
branches;
next	1.7;

1.7
date	99.05.04.02.46.15;	author simonb;	state Exp;
branches;
next	1.6;

1.6
date	99.05.04.02.44.22;	author simonb;	state Exp;
branches;
next	1.5;

1.5
date	99.04.27.12.03.40;	author simonb;	state Exp;
branches;
next	1.4;

1.4
date	99.04.27.01.37.13;	author simonb;	state Exp;
branches;
next	1.3;

1.3
date	99.04.16.14.12.14;	author simonb;	state Exp;
branches;
next	1.2;

1.2
date	99.03.04.20.32.20;	author wrstuden;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	98.11.27.23.10.28;	author jonathan;	state Exp;
branches;
next	;

1.55.8.1
date	2025.08.02.05.20.23;	author perseant;	state Exp;
branches;
next	;
commitid	23j6GFaDws3O875G;

1.48.2.1
date	2017.07.16.14.24.29;	author christos;	state dead;
branches;
next	1.48.2.2;

1.48.2.2
date	2017.07.16.14.24.30;	author christos;	state Exp;
branches;
next	;

1.48.6.1
date	2019.06.10.21.42.28;	author christos;	state Exp;
branches;
next	1.48.6.2;
commitid	jtc8rnCzWiEEHGqB;

1.48.6.2
date	2020.04.08.14.03.52;	author martin;	state Exp;
branches;
next	1.48.6.3;
commitid	Qli2aW9E74UFuA3C;

1.48.6.3
date	2020.04.13.07.45.31;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.46.16.1
date	2017.03.20.06.52.07;	author pgoyette;	state Exp;
branches;
next	;
commitid	jjw7cAwgyKq7RfKz;

1.46.20.1
date	2017.04.21.16.51.12;	author bouyer;	state Exp;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.45.6.1
date	2012.10.30.18.48.37;	author yamt;	state Exp;
branches;
next	;

1.45.8.1
date	2012.08.15.01.26.21;	author riz;	state Exp;
branches;
next	;

1.37.12.1
date	2008.10.05.20.10.30;	author mjf;	state dead;
branches;
next	;

1.31.2.1
date	2004.05.20.09.49.17;	author tron;	state Exp;
branches;
next	;

1.12.4.1
date	2002.03.25.17.33.01;	author he;	state Exp;
branches;
next	;

1.2.2.1
date	99.04.17.11.09.58;	author simonb;	state Exp;
branches;
next	1.2.2.2;

1.2.2.2
date	99.10.20.23.09.53;	author he;	state Exp;
branches;
next	;


desc
@@


1.56
log
@bump for ssp build
@
text
@#	$NetBSD: Makefile,v 1.55 2021/04/25 23:40:06 christos Exp $

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

IMAGE=		ramdisk.fs
IMAGETAR=	diskimage.tgz
IMAGESIZE=	4500k
MAKEFS_FLAGS+=	-f 15

WARNS=		1
DBG=		-Os -mmemcpy

CRUNCHBIN=	ramdiskbin
LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
MTREECONF=	${DISTRIBDIR}/common/mtree.common
IMAGEENDIAN=	le
MAKEDEVTARGETS=	minimal ipty
IMAGEDEPENDS=	${CRUNCHBIN} \
		dot.profile \
		${DESTDIR}/usr/mdec/boot.pmax ${DESTDIR}/usr/mdec/bootxx_ffs \
		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
		${NETBSDSRCDIR}/etc/netconfig \
		${DISTRIBDIR}/common/protocols \
		${DISTRIBDIR}/common/services

IMAGETAR_RELEASEDIR=	installation/netboot

# Use stubs to eliminate some large stuff from libc
HACKSRC=	${DISTRIBDIR}/utils/libhack
.include	"${HACKSRC}/Makefile.inc"
${CRUNCHBIN}:	libhack.o

.include "${DISTRIBDIR}/common/Makefile.crunch"
.include "${DISTRIBDIR}/common/Makefile.makedev"
.include "${DISTRIBDIR}/common/Makefile.image"

.include <bsd.prog.mk>
@


1.55
log
@handle mipsn64
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.54 2020/09/07 09:05:10 mrg Exp $
a7 1
.if !empty(MACHINE_ARCH:Mmips*64el)
a8 3
.else
IMAGESIZE=	4200k
.endif
@


1.55.8.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.56 2024/11/27 17:06:19 christos Exp $
d8 1
d10 3
@


1.54
log
@bump image size for pmax64 builds.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.53 2019/12/29 18:26:18 christos Exp $
d8 1
a8 1
.if ${MACHINE_ARCH} == "mips64el"
@


1.53
log
@1. Remove all the special handling of variables (-d -p -P -s -S) that
   were dealing with DBG (-d) LDSTATIC/NOPIE (-p), and the rest with
   disabling/enabling sanitizers.
2. Use emalloc/estrdup for all the allocators instead of only some cases.
3. Add -V varspec which passes variables on the command line (as DBG
   and LDSTATIC used to be passed before) instead of appending them
   to the on-the-fly Makefile using -v varspec.
4. Change the distrib and rescue Makefiles to use -V instead of the removed
   flags.

The motivation of this is to make variable handling consistent, less magical,
and remove the need for changing crunchgen each time we want to add disabling
an option by default.

(as proposed in tech-toolchain)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.52 2019/06/26 07:33:19 martin Exp $
d8 3
d12 1
@


1.52
log
@Bump ramdisk slightly (non MKREPRO builds with long paths fail otherwise)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.51 2019/04/03 11:29:39 christos Exp $
a14 1
CRUNCHGEN_FLAGS= -d "${DBG}"
@


1.51
log
@Give us a bit of breathing room since the calculated size of mkfs is not
working.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.50 2019/03/29 16:06:28 christos Exp $
d8 1
a8 1
IMAGESIZE=	4100k
@


1.50
log
@Bumpity bump bump
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.49 2019/02/13 07:55:33 gson Exp $
d8 1
a8 1
IMAGESIZE=	4000k
@


1.49
log
@Bump pmax install ramdisk size by another 100k, as 3500k is no longer
enough with GCC 7.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.48 2017/07/16 14:24:29 christos Exp $
d8 1
a8 1
IMAGESIZE=	3600k
@


1.48
log
@Give us a little room, too much potato chips.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.47 2017/01/24 18:04:04 christos Exp $
d8 1
a8 1
IMAGESIZE=	3500k
@


1.48.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.51 2019/04/03 11:29:39 christos Exp $
d8 1
a8 1
IMAGESIZE=	4100k
@


1.48.6.2
log
@Merge changes from current as of 20200406
@
text
@d1 1
a1 1
#	$NetBSD$
d15 1
@


1.48.6.3
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d8 1
a8 1
IMAGESIZE=	4200k
@


1.48.2.1
log
@file Makefile was added on branch perseant-stdc-iso10646 on 2017-07-16 14:24:30 +0000
@
text
@d1 39
@


1.48.2.2
log
@287934
@
text
@a0 39
#	$NetBSD: Makefile,v 1.48 2017/07/16 14:24:29 christos Exp $

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

IMAGE=		ramdisk.fs
IMAGETAR=	diskimage.tgz
IMAGESIZE=	3500k
MAKEFS_FLAGS+=	-f 15

WARNS=		1
DBG=		-Os -mmemcpy

CRUNCHBIN=	ramdiskbin
CRUNCHGEN_FLAGS= -d "${DBG}"
LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
MTREECONF=	${DISTRIBDIR}/common/mtree.common
IMAGEENDIAN=	le
MAKEDEVTARGETS=	minimal ipty
IMAGEDEPENDS=	${CRUNCHBIN} \
		dot.profile \
		${DESTDIR}/usr/mdec/boot.pmax ${DESTDIR}/usr/mdec/bootxx_ffs \
		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
		${NETBSDSRCDIR}/etc/netconfig \
		${DISTRIBDIR}/common/protocols \
		${DISTRIBDIR}/common/services

IMAGETAR_RELEASEDIR=	installation/netboot

# Use stubs to eliminate some large stuff from libc
HACKSRC=	${DISTRIBDIR}/utils/libhack
.include	"${HACKSRC}/Makefile.inc"
${CRUNCHBIN}:	libhack.o

.include "${DISTRIBDIR}/common/Makefile.crunch"
.include "${DISTRIBDIR}/common/Makefile.makedev"
.include "${DISTRIBDIR}/common/Makefile.image"

.include <bsd.prog.mk>
@


1.47
log
@+= for MAKEFS_FLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.46 2012/08/14 07:24:41 martin Exp $
d8 1
a8 1
IMAGESIZE=	3400k
@


1.46
log
@Change all install media to use ipty instead of pty0
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.45 2010/02/11 09:06:50 roy Exp $
d9 1
a9 1
MAKEFS_FLAGS=	-f 15
@


1.46.20.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.47 2017/01/24 18:04:04 christos Exp $
d9 1
a9 1
MAKEFS_FLAGS+=	-f 15
@


1.46.16.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.47 2017/01/24 18:04:04 christos Exp $
d9 1
a9 1
MAKEFS_FLAGS+=	-f 15
@


1.45
log
@Remove terminfo.db as it's now embedded in libterminfo.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.44 2010/02/05 10:01:20 roy Exp $
d19 1
a19 1
MAKEDEVTARGETS=	minimal pty0
@


1.45.6.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.45 2010/02/11 09:06:50 roy Exp $
d19 1
a19 1
MAKEDEVTARGETS=	minimal ipty
@


1.45.8.1
log
@Pull up following revision(s) (requested by martin in ticket #500):
	distrib/evbppc/ramdisk/Makefile: revision 1.16
	distrib/emips/ramdisk/Makefile: revision 1.2
	distrib/sandpoint/ramdisk/Makefile: revision 1.10
	distrib/evbmips/instkernel/ramdisk/Makefile: revision 1.12
	distrib/i386/ramdisks/ramdisk-rescuetiny/Makefile: revision 1.2
	distrib/ibmnws/netboot/ramdisk/Makefile: revision 1.11
	distrib/pmax/ramdisk/Makefile: revision 1.46
	distrib/i386/ramdisks/ramdisk-tiny/Makefile: revision 1.2
just make the installation ptys (ipty); change it to opty if more needed.
Change all install media to use ipty instead of pty0
@
text
@d1 1
a1 1
#	$NetBSD$
d19 1
a19 1
MAKEDEVTARGETS=	minimal ipty
@


1.44
log
@Use the rescue terminfo.db in our images instead of termcap.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.43 2009/09/20 23:19:55 abs Exp $
a21 1
		${DESTDIR}/rescue/terminfo.db \
@


1.43
log
@34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi			ansi/pc-term compatible with color
dumb|unknown		80-column dumb tty
hp300h			HP Catseye console
iris-ansi-ap		IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net	IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il	Sun Microsystems Inc. console with working insert-line
vt100|vt100-am		DEC VT100 (w/advanced video)
vt220-8			DEC VT220 8 bit terminal
vt220|vt200|vt300	DEC VT220 in vt100 emulation mode
wsvt25			NetBSD wscons in 25 line DEC VT220 mode
wsvt25m			NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite		NetBSD/x68k ITE
xterm|vs100		xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.42 2009/09/20 22:46:13 abs Exp $
d22 1
a22 1
		${DISTRIBDIR}/common/termcap \
@


1.42
log
@Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.41 2009/09/20 19:49:09 abs Exp $
d22 1
a22 1
		${.CURDIR}/../miniroot/termcap.vt100 \
@


1.41
log
@${NETBSDSRCDIR}/distrib/common/protocols => ${DISTRIBDIR}/common/protocols
${NETBSDSRCDIR}/distrib/common/services => ${DISTRIBDIR}/common/services
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.40 2009/09/20 19:29:26 abs Exp $
d21 1
a21 1
		disktab.preinstall dot.profile \
@


1.40
log
@Alas poor dot.hdprofile. I knew him... not at all Horatio. (Remove)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.39 2009/01/18 12:51:25 he Exp $
d26 2
a27 2
		${NETBSDSRCDIR}/distrib/common/protocols \
		${NETBSDSRCDIR}/distrib/common/services
@


1.39
log
@Bump the size of ramdisk and diskimages, so that what needs to
be put there still fits.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.38 2008/11/30 04:18:14 tsutsui Exp $
d21 1
a21 1
		disktab.preinstall dot.hdprofile dot.profile \
@


1.38
log
@Use shrinked src/distrib/common/protocols rather than fat src/etc/protocols.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.37 2007/05/10 23:22:31 dogcow Exp $
d8 1
a8 1
IMAGESIZE=	3300k
@


1.37
log
@Since /etc/services has gotten rather large, use a minimal one for install
kernels. (mount_nfs is notably the only binary that doesn't gracefully deal
with the lack of an /etc/services file, it appears.)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.36 2006/07/29 19:10:56 ad Exp $
d25 2
a26 1
		${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \
@


1.37.12.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.37 2007/05/10 23:22:31 dogcow Exp $
@


1.36
log
@Remove RASTERCONSOLE support from the pmax port.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.35 2006/01/16 14:53:46 tsutsui Exp $
d26 1
a26 1
		${NETBSDSRCDIR}/etc/services
@


1.35
log
@Use -mmemcpy.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.34 2004/10/15 15:06:37 he Exp $
d22 1
a22 1
		${.CURDIR}/../miniroot/termcap.rcons \
@


1.34
log
@Increase the pmax ramdisk size with 100KB, so that the contents
fits again.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.33 2004/06/09 19:04:38 he Exp $
d12 1
a12 1
DBG=		-Os
@


1.33
log
@Bump size of ramdisk image from 3148KB to 3200KB so that the contents
fits again.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.32 2004/05/14 17:00:21 he Exp $
d8 1
a8 1
IMAGESIZE=	3200k
@


1.32
log
@Expand the ramdisk image size from 3m to 3148k so that the contents
fits again.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.31 2003/02/01 05:03:43 tsutsui Exp $
d8 1
a8 1
IMAGESIZE=	3148k
@


1.31
log
@Remove "-Wa,-xgot" hack from DBG flag for broken objcopy-crunchide
that has been fixed by simonb.

BTW, should we also add "-mmemcpy" here to reduce code size?
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2002/05/02 18:02:48 lukem Exp $
d8 1
a8 1
IMAGESIZE=	3m
@


1.31.2.1
log
@Pull up revision 1.32 (requested by he in ticket #353):
Expand the ramdisk image size from 3m to 3148k so that the contents
fits again.
@
text
@d1 1
a1 1
#	$NetBSD$
d8 1
a8 1
IMAGESIZE=	3148k
@


1.30
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.29 2002/05/02 13:31:43 simonb Exp $
d12 1
a12 1
DBG=		-Os -Wa,-xgot # XXX -xgot workaround for objcopy-crunchide
@


1.29
log
@${DISTRIBDIR} has changed; grab our rcons termcap relative to ${CURDIR}.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.28 2002/04/26 15:50:43 lukem Exp $
d4 1
a4 1
.include "${NETBSDSRCDIR}/distrib/Makefile.inc"
d28 2
a33 8


realall: ${IMAGE} .WAIT ${IMAGETAR}

release: check_RELEASEDIR .WAIT ${IMAGETAR}
	-mkdir -p ${RELEASEDIR}/installation/netboot
	${RELINSTALL} ${IMAGETAR} ${RELEASEDIR}/installation/netboot

@


1.28
log
@replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.27 2002/04/23 19:53:12 tv Exp $
d22 1
a22 1
		${DISTRIBDIR}/miniroot/termcap.rcons \
@


1.27
log
@The "objcopy" based crunchide method has a problem on MIPS; it turns global
symbols into locals, but relocs are left in place (rather than attempting
to resolve-in-place with "ld -r", even with "-Bsymbolic").

Standard MIPS code will generate CALL16 relocs for function calls, but
the linker forbids such relocs from being used to call local symbols (such
as those turned "local" by objcopy).  So, rather than battle the toolchain
uphill, work around it for the moment by forcing 32-bit GOT references with
the assembler option "-xgot".

This will be fixed in a more clean manner in the future.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.26 2002/04/12 05:15:18 lukem Exp $
d4 1
a4 1
.include "${_SRC_TOP_}/distrib/Makefile.inc"
d24 3
a26 3
		${_SRC_TOP_}/etc/group ${_SRC_TOP_}/etc/master.passwd \
		${_SRC_TOP_}/etc/netconfig ${_SRC_TOP_}/etc/protocols \
		${_SRC_TOP_}/etc/services
@


1.26
log
@use ${IMAGETAR} support from Makefile.image
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 2002/04/12 03:28:06 lukem Exp $
d12 1
a12 1
DBG=		-Os
d15 1
@


1.25
log
@use ${DISTRIBDIR} appropriately
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.24 2002/04/06 18:16:11 tsutsui Exp $
a2 1
.include "${.CURDIR}/../../Makefile.inc"
d4 1
a4 2

DISKIMAGE=	diskimage.tgz
d7 2
a8 1
IMAGESIZE=	6144b
d33 1
a33 11
${DISKIMAGE}: ${WORKBUILT} ${WORKSPEC}
	( cd ${WORKDIR}; \
	    GZIP=-9 ${PAX} -w -d -z -N ${DESTDIR}/etc -M < ${WORKSPEC} \
	) > ${.TARGET}.tmp \
	&& mv ${.TARGET}.tmp ${.TARGET}

CLEANFILES+=	${DISKIMAGE} ${DISKIMAGE}.tmp



realall: ${IMAGE} .WAIT ${DISKIMAGE}
d35 1
a35 1
release: check_RELEASEDIR .WAIT ${DISKIMAGE}
d37 1
a37 1
	${RELINSTALL} ${DISKIMAGE} ${RELEASEDIR}/installation/netboot
@


1.24
log
@Set DBG=-Os for libhack.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 2002/04/01 12:16:13 lukem Exp $
d22 1
a22 1
		${CURDIR}/../miniroot/termcap.rcons \
d48 1
a48 1
	cp -p ${DISKIMAGE} ${RELEASEDIR}/installation/netboot
@


1.23
log
@ensure all sysinst-using makefs generated images have at least 15 inodes free,
and be consistent how MAKEFS_FLAGS is defined.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2002/03/29 23:45:23 lukem Exp $
d13 1
@


1.22
log
@use libhack
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2002/03/28 03:24:07 lukem Exp $
d10 1
@


1.21
log
@cosmetic reorg
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2002/03/24 23:15:24 lukem Exp $
d25 5
@


1.20
log
@cosmetic tweaks
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2002/03/12 06:26:35 lukem Exp $
d23 1
a23 1
		${_SRC_TOP_}/etc/protocols ${_SRC_TOP_}/etc/netconfig \
@


1.19
log
@convert to New Distrib World Order.
this should be able to be built as non-root now.

XXX: untested (hi simon! :), as it can't be cross built yet due to
elf2ecoff and installboot issues.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2002/02/09 13:56:53 lukem Exp $
d19 1
a19 1
		disktab.preinstall dot.profile dot.hdprofile \
d21 1
a21 1
		${DESTDIR}/usr/mdec/bootxx_ffs ${DESTDIR}/usr/mdec/boot.pmax \
d34 1
a34 1
	
@


1.18
log
@don't set the owner or group when installing into $RELEASEDIR
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2001/10/13 06:15:19 jmc Exp $
d3 2
a4 1
BINDIR=		/installation/netboot
d6 1
a6 2
TOP?=		${.CURDIR}/..
ARCHDIR?=	${.CURDIR}/../miniroot
a7 1
.include "${TOP}/Makefile.inc"
d9 34
a42 1
DISKIMAGE=	diskimage.tgz
d44 3
a46 64
CBIN=		ramdiskbin
CSIZE=		6144 # 512 byte blocks, update disktab.ramdisk if changed
DISKTAB=	${.CURDIR}/disktab.ramdisk
DISKTYPE=	install-ramdisk
MOUNT_POINT?=	/mnt

VND?=		vnd0
VND_DEV=	/dev/${VND}c
VND_RDEV=	/dev/r${VND}c

CLEANFILES=	${IMAGE} ${DISKIMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache

LISTS=		${.CURDIR}/list
CRUNCHCONF=	${.CURDIR}/${CBIN}.conf
MTREECONF=	${.CURDIR}/mtree.conf

CRUNCHGEN?=	crunchgen
MTREE?=		mtree

all: ${IMAGE}

${IMAGE}: ${CBIN} 
	dd if=/dev/zero of=${IMAGE} count=${CSIZE}
	vnconfig -v -c ${VND} ${IMAGE}
	disklabel -rw -f ${DISKTAB} ${VND} ${DISKTYPE}
	newfs -B le -m 0 -o space -i 5120 ${VND_RDEV}
	mount ${VND_DEV} ${MOUNT_POINT}
	${MTREE} -def ${MTREECONF} -p ${MOUNT_POINT}/ -u
	TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} ARCHDIR=${ARCHDIR} \
	    KERNOBJDIR=${KERNOBJDIR} \
	    TARGDIR=${MOUNT_POINT} sh ${TOP}/src/runlist.sh ${LISTS}
	@@echo ""
	@@df -i ${MOUNT_POINT}
	@@echo ""
	@@echo Building diskimage tar file...
	tar cf - -C ${MOUNT_POINT} . | gzip -9 > ${DISKIMAGE}
	@@echo ""
	umount ${MOUNT_POINT}
	vnconfig -u ${VND}

unconfig:
	-umount -f ${MOUNT_POINT}
	-vnconfig -u ${VND}
	-/bin/rm -f ${IMAGE}

${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
	${CRUNCHGEN} -D ${TOP}/../.. -L ${DESTDIR}/usr/lib ${.ALLSRC}

${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
	${MAKE} -f ${CBIN}.mk all

echoimage:
	@@echo ${.OBJDIR}/${IMAGE}

realinstall:
	${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE} \
		${DISKIMAGE} ${RELEASEDIR}${BINDIR}

clean cleandir distclean:
	/bin/rm -f *.core ${CLEANFILES} *.o *.cro *.c

# XXX!
depend:
dependall: depend all
d48 1
a48 3
.include <bsd.own.mk>
.include <bsd.obj.mk>
.include "../Makefile.inc"
@


1.17
log
@Add MTREE?= to add Makefiles and use  when running mtree
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2001/10/10 05:13:55 enami Exp $
d67 2
a68 2
	${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
		-m ${NONBINMODE} ${DISKIMAGE} ${RELEASEDIR}${BINDIR}
@


1.16
log
@Use symbol MTREECONF instead of MTREE to refer configuration file
to avoid conflicts.  Pointed out by chs@@netbsd.org.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2001/03/24 15:30:44 simonb Exp $
d29 1
d39 1
a39 1
	mtree -def ${MTREECONF} -p ${MOUNT_POINT}/ -u
@


1.15
log
@Add dummy dependall target.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2000/11/01 07:58:00 garbled Exp $
d26 1
a26 1
MTREE=		${.CURDIR}/mtree.conf
d38 1
a38 1
	mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
@


1.14
log
@Change all ocurrences of "crunchgen" to ${CRUNCHGEN}
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2000/08/30 23:51:51 jhawk Exp $
d74 1
@


1.13
log
@Use
  ${MAKE}
instead of
  make
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2000/05/02 16:06:54 sjg Exp $
d28 2
d57 1
a57 1
	crunchgen -D ${TOP}/../.. -L ${DESTDIR}/usr/lib ${.ALLSRC}
@


1.12
log
@use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2000/01/06 03:47:56 simonb Exp $
d58 1
a58 1
	make -f ${CBIN}.mk all
@


1.12.4.1
log
@Apply patch (requested by he):
  Introduce dependency between ramdisk/miniroot construction and
  osrelease.sh, to better support UPDATE builds of releases.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2000/05/02 16:06:54 sjg Exp $
d57 1
a57 1
${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c ${VERDEP}
@


1.11
log
@Tidy up a little and make work.
Now uses like disktab files for disk labels.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 1999/12/28 10:54:20 simonb Exp $
d38 1
@


1.10
log
@Don't do the disklabel dance - just newfs the vnode.
Add an "echoimage" target.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 1999/05/11 20:47:00 veego Exp $
d6 1
a6 1
ARCHDIR?=        ${.CURDIR}/../../${MACHINE}/miniroot
d13 3
a15 2
#CSIZE?=	6144
CSIZE?=		4096
d17 1
a17 1
# DEV/RDEV file system device, CDEV/RDEV vnconfig device
d19 2
a20 5
VND_DEV=	/dev/${VND}a
VND_RDEV=	/dev/r${VND}a
VND_CDEV=	/dev/${VND}c
VND_CRDEV=	/dev/r${VND}c
MDEC=		${DESTDIR}/usr/mdec
d24 3
a26 3
LISTS=		list
CRUNCHCONF=	${CBIN}.conf
MTREE=		mtree.conf
d32 2
a33 2
	vnconfig -v -c ${VND_CDEV} ${IMAGE}
#	disklabel -rw ${VND_CDEV} ${DISKTYPE}
d36 1
a36 1
	mtree -def ${.CURDIR}/${MTREE} -p ${MOUNT_POINT}/ -u
d38 1
a38 1
	    TARGDIR=${MOUNT_POINT} sh ${TOP}/src/runlist.sh ${.CURDIR}/${LISTS}
d46 1
a46 1
	vnconfig -u ${VND_CDEV}
d50 1
a50 1
	-vnconfig -u ${VND_DEV}
@


1.9
log
@Sync with the recent crunchgen changes.
- Remove *.cro files and not the obsoleted *.lo files.

From Bill Studenmund commit message:
> 3) Generate .cro files rather than .lo files. .lo now is used for "local
> objects" - obj's for the host machine not the target machine.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 1999/05/06 20:51:22 simonb Exp $
d36 1
a36 2
	-(disklabel ${VND_CDEV} > /tmp/proto; disklabel -R -r ${VND_CDEV} /tmp/proto)
	-newfs -B le -m 0 -o space -i 5120 ${VND_RDEV}
d60 3
@


1.8
log
@Tidy up "make clean", remove compressed tar file of diskimage.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 1999/05/04 02:46:15 simonb Exp $
d67 1
a67 1
	/bin/rm -f *.core ${CLEANFILES} *.o *.lo *.c
@


1.7
log
@Oops, remove ".include <bsd.sys.mk>" added by mistake in previous commit.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 1999/05/04 02:44:22 simonb Exp $
a21 1
IMAGE?=		xxx.fs
d24 2
d67 1
a67 1
	/bin/rm -f *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.lo *.c
@


1.6
log
@Add dummy depend targets so that "make depend" doesn't bomb out.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 1999/04/27 12:03:40 simonb Exp $
a72 1
.include <bsd.sys.mk>
@


1.5
log
@Add BINDIR and an install rule to install into ${RELEASEDIR}${BINDIR}.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 1999/04/27 01:37:13 simonb Exp $
d68 3
d73 1
@


1.4
log
@Make the "all" target depend in the ramdisk image and not the crunched
binary.
@
text
@d1 3
a3 1
#	$NetBSD: Makefile,v 1.3 1999/04/16 14:12:14 simonb Exp $
d61 4
d70 1
a70 1
.include <bsd.subdir.mk>
@


1.3
log
@Build a tar file of the ramdisk.fs suitable for installing on an NFS
server for diskless installs on machines that can't netboot a kernel
with a full ramdisk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 1999/03/04 20:32:20 wrstuden Exp $
d27 3
a29 1
all: ${CBIN} 
@


1.2
log
@Modify all calls to newfs in ramdisk/miniroot creation to include
the needed endianism of the architecture. One step towards cross-building
releases.

Not touched are newfs calls in install scripts as they run on the desired
machine and thus default correctly.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 1998/11/27 23:10:28 jonathan Exp $
d8 1
d39 3
@


1.2.2.1
log
@Pull up rev 1.2 from the trunk:
	Build a tar file of the ramdisk.fs suitable for installing on an
	NFS server for diskless installs on machines that can't netboot
	a kernel with a full ramdisk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 1999/03/04 20:32:20 wrstuden Exp $
a7 1
DISKIMAGE=	diskimage.tgz
a37 3
	@@echo ""
	@@echo Building diskimage tar file...
	tar cf - -C ${MOUNT_POINT} . | gzip -9 > ${DISKIMAGE}
@


1.2.2.2
log
@Pull up revisions 1.4-1.9 (requested by simonb):
  Bring pmax release building machinery up-to-date.
(BTW, revision 1.3 was pulled up already, noted as 1.2.)
@
text
@d1 1
a1 3
#	$NetBSD: Makefile,v 1.2.2.1 1999/04/17 11:09:58 simonb Exp $

BINDIR=		/installation/netboot
d20 1
a22 2
CLEANFILES=	${IMAGE} ${DISKIMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache

d27 1
a27 3
all: ${IMAGE}

${IMAGE}: ${CBIN} 
a56 4
realinstall:
	${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
		-m ${NONBINMODE} ${DISKIMAGE} ${RELEASEDIR}${BINDIR}

d58 1
a58 4
	/bin/rm -f *.core ${CLEANFILES} *.o *.cro *.c

# XXX!
depend:
d62 1
a62 1
.include "../Makefile.inc"
@


1.1
log
@pmax installation ramdisk configuration.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 1998/10/16 00:39:38 ross Exp $
d31 1
a31 1
	-newfs -m 0 -o space -i 5120 ${VND_RDEV}
@

