head	1.40;
access;
symbols
	netbsd-11-0-RC4:1.39.8.1
	netbsd-11-0-RC3:1.39.8.1
	netbsd-11-0-RC2:1.39.8.1
	netbsd-11-0-RC1:1.39.8.1
	perseant-exfatfs-base-20250801:1.39
	netbsd-11:1.39.0.8
	netbsd-11-base:1.39
	netbsd-10-1-RELEASE:1.39
	perseant-exfatfs-base-20240630:1.39
	perseant-exfatfs:1.39.0.6
	perseant-exfatfs-base:1.39
	netbsd-8-3-RELEASE:1.26.8.1
	netbsd-9-4-RELEASE:1.32
	netbsd-10-0-RELEASE:1.39
	netbsd-10-0-RC6:1.39
	netbsd-10-0-RC5:1.39
	netbsd-10-0-RC4:1.39
	netbsd-10-0-RC3:1.39
	netbsd-10-0-RC2:1.39
	netbsd-10-0-RC1:1.39
	netbsd-10:1.39.0.4
	netbsd-10-base:1.39
	netbsd-9-3-RELEASE:1.32
	cjep_sun2x-base1:1.39
	cjep_sun2x:1.39.0.2
	cjep_sun2x-base:1.39
	cjep_staticlib_x-base1:1.39
	netbsd-9-2-RELEASE:1.32
	cjep_staticlib_x:1.38.0.2
	cjep_staticlib_x-base:1.38
	netbsd-9-1-RELEASE:1.32
	phil-wifi-20200421:1.36
	phil-wifi-20200411:1.35
	is-mlppp:1.33.0.2
	is-mlppp-base:1.33
	phil-wifi-20200406:1.35
	netbsd-8-2-RELEASE:1.26.8.1
	netbsd-9-0-RELEASE:1.32
	netbsd-9-0-RC2:1.32
	netbsd-9-0-RC1:1.32
	phil-wifi-20191119:1.32
	netbsd-9:1.32.0.2
	netbsd-9-base:1.32
	phil-wifi-20190609:1.29
	netbsd-8-1-RELEASE:1.26.8.1
	netbsd-8-1-RC1:1.26.8.1
	pgoyette-compat-merge-20190127:1.27
	pgoyette-compat-20190127:1.27
	pgoyette-compat-20190118:1.27
	pgoyette-compat-1226:1.27
	pgoyette-compat-1126:1.27
	pgoyette-compat-1020:1.27
	pgoyette-compat-0930:1.27
	pgoyette-compat-0906:1.27
	netbsd-7-2-RELEASE:1.25.4.1
	pgoyette-compat-0728:1.27
	netbsd-8-0-RELEASE:1.26.8.1
	phil-wifi:1.27.0.6
	phil-wifi-base:1.27
	pgoyette-compat-0625:1.27
	netbsd-8-0-RC2:1.26.8.1
	pgoyette-compat-0521:1.27
	pgoyette-compat-0502:1.27
	pgoyette-compat-0422:1.27
	netbsd-8-0-RC1:1.26.8.1
	pgoyette-compat-0415:1.27
	pgoyette-compat-0407:1.27
	pgoyette-compat-0330:1.27
	pgoyette-compat-0322:1.27
	pgoyette-compat-0315:1.27
	netbsd-7-1-2-RELEASE:1.25
	pgoyette-compat:1.27.0.4
	pgoyette-compat-base:1.27
	netbsd-7-1-1-RELEASE:1.25
	matt-nb8-mediatek:1.26.8.1.0.2
	matt-nb8-mediatek-base:1.26.8.1
	perseant-stdc-iso10646:1.27.0.2
	perseant-stdc-iso10646-base:1.27
	netbsd-8:1.26.0.8
	netbsd-8-base:1.26
	prg-localcount2-base3:1.26
	prg-localcount2-base2:1.26
	prg-localcount2-base1:1.26
	prg-localcount2:1.26.0.6
	prg-localcount2-base:1.26
	pgoyette-localcount-20170426:1.26
	bouyer-socketcan-base1:1.26
	pgoyette-localcount-20170320:1.26
	netbsd-7-1:1.25.0.10
	netbsd-7-1-RELEASE:1.25
	netbsd-7-1-RC2:1.25
	netbsd-7-nhusb-base-20170116:1.25
	bouyer-socketcan:1.26.0.4
	bouyer-socketcan-base:1.26
	pgoyette-localcount-20170107:1.26
	netbsd-7-1-RC1:1.25
	pgoyette-localcount-20161104:1.26
	netbsd-7-0-2-RELEASE:1.25
	localcount-20160914:1.26
	netbsd-7-nhusb:1.25.0.8
	netbsd-7-nhusb-base:1.25
	pgoyette-localcount-20160806:1.26
	pgoyette-localcount-20160726:1.26
	pgoyette-localcount:1.26.0.2
	pgoyette-localcount-base:1.26
	netbsd-7-0-1-RELEASE:1.25
	netbsd-7-0:1.25.0.6
	netbsd-7-0-RELEASE:1.25
	netbsd-7-0-RC3:1.25
	netbsd-7-0-RC2:1.25
	netbsd-7-0-RC1:1.25
	netbsd-5-2-3-RELEASE:1.22.14.1
	netbsd-5-1-5-RELEASE:1.22.14.1
	netbsd-6-0-6-RELEASE:1.23
	netbsd-6-1-5-RELEASE:1.23
	netbsd-7:1.25.0.4
	netbsd-7-base:1.25
	yamt-pagecache-base9:1.25
	yamt-pagecache-tag8:1.23.8.1
	netbsd-6-1-4-RELEASE:1.23
	netbsd-6-0-5-RELEASE:1.23
	tls-earlyentropy:1.25.0.2
	tls-earlyentropy-base:1.25
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.25
	riastradh-drm2-base3:1.25
	netbsd-6-1-3-RELEASE:1.23
	netbsd-6-0-4-RELEASE:1.23
	netbsd-5-2-2-RELEASE:1.22.14.1
	netbsd-5-1-4-RELEASE:1.22.14.1
	netbsd-6-1-2-RELEASE:1.23
	netbsd-6-0-3-RELEASE:1.23
	netbsd-5-2-1-RELEASE:1.22.14.1
	netbsd-5-1-3-RELEASE:1.22.14.1
	netbsd-6-1-1-RELEASE:1.23
	riastradh-drm2-base2:1.24
	riastradh-drm2-base1:1.24
	riastradh-drm2:1.24.0.2
	riastradh-drm2-base:1.24
	netbsd-6-1:1.23.0.18
	netbsd-6-0-2-RELEASE:1.23
	netbsd-6-1-RELEASE:1.23
	khorben-n900:1.24.0.6
	netbsd-6-1-RC4:1.23
	netbsd-6-1-RC3:1.23
	agc-symver:1.24.0.4
	agc-symver-base:1.24
	netbsd-6-1-RC2:1.23
	netbsd-6-1-RC1:1.23
	yamt-pagecache-base8:1.24
	netbsd-5-2:1.22.14.1.0.10
	netbsd-6-0-1-RELEASE:1.23
	yamt-pagecache-base7:1.24
	netbsd-5-2-RELEASE:1.22.14.1
	netbsd-5-2-RC1:1.22.14.1
	matt-nb6-plus-nbase:1.23
	yamt-pagecache-base6:1.24
	netbsd-6-0:1.23.0.16
	netbsd-6-0-RELEASE:1.23
	netbsd-6-0-RC2:1.23
	tls-maxphys:1.23.0.14
	tls-maxphys-base:1.25
	matt-nb6-plus:1.23.0.12
	matt-nb6-plus-base:1.23
	netbsd-6-0-RC1:1.23
	yamt-pagecache-base5:1.23
	yamt-pagecache-base4:1.23
	netbsd-6:1.23.0.10
	netbsd-6-base:1.23
	netbsd-5-1-2-RELEASE:1.22.14.1
	netbsd-5-1-1-RELEASE:1.22.14.1
	yamt-pagecache-base3:1.23
	yamt-pagecache-base2:1.23
	yamt-pagecache:1.23.0.8
	yamt-pagecache-base:1.23
	cherry-xenmp:1.23.0.6
	cherry-xenmp-base:1.23
	bouyer-quota2-nbase:1.23
	bouyer-quota2:1.23.0.4
	bouyer-quota2-base:1.23
	matt-mips64-premerge-20101231:1.23
	matt-nb5-mips64-premerge-20101231:1.22.14.1
	matt-nb5-pq3:1.22.14.1.0.8
	matt-nb5-pq3-base:1.22.14.1
	netbsd-5-1:1.22.14.1.0.6
	netbsd-5-1-RELEASE:1.22.14.1
	netbsd-5-1-RC4:1.22.14.1
	matt-nb5-mips64-k15:1.22.14.1
	netbsd-5-1-RC3:1.22.14.1
	netbsd-5-1-RC2:1.22.14.1
	netbsd-5-1-RC1:1.22.14.1
	netbsd-5-0-2-RELEASE:1.22.14.1
	matt-nb5-mips64-premerge-20091211:1.22.14.1
	matt-premerge-20091211:1.23
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.22.14.1
	matt-nb4-mips64-k7-u2a-k9b:1.22.14.1
	matt-nb5-mips64-u1-k1-k5:1.22.14.1
	matt-nb5-mips64:1.22.14.1.0.4
	netbsd-5-0-1-RELEASE:1.22.14.1
	jym-xensuspend-nbase:1.23
	netbsd-5-0:1.22.14.1.0.2
	netbsd-5-0-RELEASE:1.22.14.1
	netbsd-5-0-RC4:1.22.14.1
	netbsd-5-0-RC3:1.22.14.1
	netbsd-5-0-RC2:1.22.14.1
	jym-xensuspend:1.23.0.2
	jym-xensuspend-base:1.23
	netbsd-5-0-RC1:1.22.14.1
	netbsd-5:1.22.0.14
	netbsd-5-base:1.22
	matt-mips64-base2:1.22
	matt-mips64:1.21.0.6
	netbsd-4-0-1-RELEASE:1.19.4.1
	wrstuden-revivesa-base-3:1.22
	wrstuden-revivesa-base-2:1.22
	wrstuden-fixsa-newbase:1.19.4.1
	wrstuden-revivesa-base-1:1.22
	yamt-pf42-base4:1.22
	yamt-pf42-base3:1.22
	hpcarm-cleanup-nbase:1.22
	yamt-pf42-baseX:1.22
	yamt-pf42-base2:1.22
	wrstuden-revivesa:1.22.0.12
	wrstuden-revivesa-base:1.22
	yamt-pf42:1.22.0.10
	yamt-pf42-base:1.22
	mjf-devfs2:1.22.0.8
	mjf-devfs2-base:1.22
	keiichi-mipv6:1.22.0.6
	keiichi-mipv6-base:1.22
	mjf-devfs:1.22.0.4
	mjf-devfs-base:1.22
	matt-armv6-nbase:1.22
	matt-armv6-prevmlocking:1.21
	wrstuden-fixsa-base-1:1.19.4.1
	netbsd-4-0:1.19.4.1.0.4
	netbsd-4-0-RELEASE:1.19.4.1
	cube-autoconf:1.22.0.2
	cube-autoconf-base:1.22
	netbsd-4-0-RC5:1.19.4.1
	netbsd-4-0-RC4:1.19.4.1
	netbsd-4-0-RC3:1.19.4.1
	netbsd-4-0-RC2:1.19.4.1
	netbsd-4-0-RC1:1.19.4.1
	matt-armv6:1.21.0.4
	matt-armv6-base:1.22
	matt-mips64-base:1.21
	hpcarm-cleanup:1.21.0.2
	hpcarm-cleanup-base:1.22
	netbsd-3-1-1-RELEASE:1.18
	netbsd-3-0-3-RELEASE:1.18
	wrstuden-fixsa:1.19.4.1.0.2
	wrstuden-fixsa-base:1.19.4.1
	abandoned-netbsd-4-base:1.19
	abandoned-netbsd-4:1.19.0.2
	netbsd-3-1:1.18.0.6
	netbsd-3-1-RELEASE:1.18
	netbsd-3-0-2-RELEASE:1.18
	netbsd-3-1-RC4:1.18
	netbsd-3-1-RC3:1.18
	netbsd-3-1-RC2:1.18
	netbsd-3-1-RC1:1.18
	netbsd-4:1.19.0.4
	netbsd-4-base:1.19
	netbsd-3-0-1-RELEASE:1.18
	netbsd-3-0:1.18.0.4
	netbsd-3-0-RELEASE:1.18
	netbsd-3-0-RC6:1.18
	netbsd-3-0-RC5:1.18
	netbsd-3-0-RC4:1.18
	netbsd-3-0-RC3:1.18
	netbsd-3-0-RC2:1.18
	netbsd-3-0-RC1:1.18
	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.18.0.2
	netbsd-3-base:1.18
	netbsd-2-0-1-RELEASE:1.16
	netbsd-2:1.16.0.6
	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.4
	netbsd-2-0-base:1.16
	netbsd-1-6-PATCH002-RELEASE:1.16
	netbsd-1-6-PATCH002:1.16
	netbsd-1-6-PATCH002-RC4:1.16
	netbsd-1-6-PATCH002-RC3:1.16
	netbsd-1-6-PATCH002-RC2:1.16
	netbsd-1-6-PATCH002-RC1:1.16
	netbsd-1-6-PATCH001:1.16
	netbsd-1-6-PATCH001-RELEASE:1.16
	netbsd-1-6-PATCH001-RC3:1.16
	netbsd-1-6-PATCH001-RC2:1.16
	netbsd-1-6-PATCH001-RC1:1.16
	fvdl_fs64_base:1.16
	netbsd-1-6-RELEASE:1.16
	netbsd-1-6-RC3:1.16
	netbsd-1-6-RC2:1.16
	netbsd-1-6-RC1:1.16
	netbsd-1-6:1.16.0.2
	netbsd-1-6-base:1.16
	netbsd-1-5-PATCH003:1.9.8.2
	netbsd-1-5-PATCH002:1.9.8.2
	netbsd-1-5-PATCH001:1.9.8.1
	netbsd-1-5-RELEASE:1.9.8.1
	netbsd-1-5-BETA2:1.9.8.1
	netbsd-1-5-BETA:1.9.8.1
	netbsd-1-4-PATCH003:1.5.2.2
	netbsd-1-5-ALPHA2:1.9
	netbsd-1-5:1.9.0.8
	netbsd-1-5-base:1.9
	minoura-xpg4dl:1.9.0.6
	minoura-xpg4dl-base:1.9
	netbsd-1-4-PATCH002:1.5.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.5.2.2
	netbsd-1-4-RELEASE:1.5
	netbsd-1-4:1.5.0.2
	netbsd-1-4-base:1.5
	netbsd-1-3-PATCH003:1.3.2.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.3.2.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.3.2.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.3.2.1
	netbsd-1-3-PATCH002:1.3.2.1
	netbsd-1-3-PATCH001:1.3.2.1
	netbsd-1-3-RELEASE:1.3.2.1
	netbsd-1-3-BETA:1.3
	netbsd-1-3:1.3.0.2
	netbsd-1-3-base:1.3
	netbsd-1-2-PATCH001:1.2.6.1
	netbsd-1-2-RELEASE:1.2
	netbsd-1-2-BETA:1.2
	netbsd-1-2-base:1.2
	netbsd-1-2:1.2.0.6
	netbsd-1-1-PATCH001:1.2
	netbsd-1-1-RELEASE:1.2
	netbsd-1-1:1.2.0.4
	netbsd-1-1-base:1.1.1.1
	GWR:1.1.1;
locks; strict;
comment	@# @;


1.40
date	2025.09.27.20.59.39;	author christos;	state Exp;
branches;
next	1.39;
commitid	gpGYV8LbK1SyAocG;

1.39
date	2021.05.25.10.58.41;	author martin;	state Exp;
branches
	1.39.8.1;
next	1.38;
commitid	JYsxx3wpTo4VewUC;

1.38
date	2021.03.09.00.06.44;	author christos;	state Exp;
branches
	1.38.2.1;
next	1.37;
commitid	jQF9VNbbsoHW6zKC;

1.37
date	2021.02.25.21.24.00;	author christos;	state Exp;
branches;
next	1.36;
commitid	2R1YPJJmV4Z0z8JC;

1.36
date	2020.04.17.14.55.24;	author jdolecek;	state Exp;
branches;
next	1.35;
commitid	J1mDXqxeqlKzvK4C;

1.35
date	2020.04.05.11.18.02;	author martin;	state Exp;
branches;
next	1.34;
commitid	ZHU6FdchUqCHGb3C;

1.34
date	2020.03.02.16.01.52;	author roy;	state Exp;
branches;
next	1.33;
commitid	J5CxTKguiIT4mQYB;

1.33
date	2020.03.01.22.47.26;	author roy;	state Exp;
branches;
next	1.32;
commitid	bVoGrY4bdfUvCKYB;

1.32
date	2019.07.28.10.27.57;	author martin;	state Exp;
branches;
next	1.31;
commitid	s747ClyGaDLCvNwB;

1.31
date	2019.07.28.10.21.18;	author martin;	state Exp;
branches;
next	1.30;
commitid	X28c8iO6LI6mtNwB;

1.30
date	2019.06.22.22.50.39;	author christos;	state Exp;
branches;
next	1.29;
commitid	ZiUbfjVni7isMesB;

1.29
date	2019.05.09.08.20.35;	author roy;	state Exp;
branches;
next	1.28;
commitid	E3Vz2kCel3nInvmB;

1.28
date	2019.03.28.15.04.41;	author christos;	state Exp;
branches;
next	1.27;
commitid	2rqGPn1ZqZRUX8hB;

1.27
date	2017.06.18.03.56.39;	author manu;	state Exp;
branches
	1.27.6.1;
next	1.26;
commitid	uN5YTs64UYzB5OVz;

1.26
date	2014.08.25.14.11.51;	author christos;	state Exp;
branches
	1.26.8.1;
next	1.25;
commitid	BfKnAiSisg2txKNx;

1.25
date	2013.08.27.09.53.33;	author christos;	state Exp;
branches
	1.25.4.1;
next	1.24;
commitid	UEDlFtFwHRnwM43x;

1.24
date	2012.10.11.17.11.16;	author christos;	state Exp;
branches;
next	1.23;

1.23
date	2009.01.02.00.20.18;	author tnozaki;	state Exp;
branches
	1.23.8.1
	1.23.14.1;
next	1.22;

1.22
date	2007.11.06.19.27.07;	author martin;	state Exp;
branches
	1.22.8.1
	1.22.14.1;
next	1.21;

1.21
date	2007.04.02.15.53.25;	author christos;	state Exp;
branches
	1.21.4.1;
next	1.20;

1.20
date	2007.02.03.19.55.51;	author christos;	state Exp;
branches;
next	1.19;

1.19
date	2005.05.15.10.15.47;	author dsl;	state Exp;
branches
	1.19.4.1;
next	1.18;

1.18
date	2004.06.06.07.03.53;	author christos;	state Exp;
branches;
next	1.17;

1.17
date	2004.04.25.06.45.02;	author christos;	state Exp;
branches;
next	1.16;

1.16
date	2002.04.06.18.12.50;	author tsutsui;	state Exp;
branches;
next	1.15;

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

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

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

1.12
date	2001.10.05.01.17.28;	author jmc;	state Exp;
branches;
next	1.11;

1.11
date	2001.08.20.12.19.43;	author martin;	state Exp;
branches;
next	1.10;

1.10
date	2000.08.22.14.06.37;	author abs;	state Exp;
branches;
next	1.9;

1.9
date	99.06.30.22.21.57;	author fvdl;	state Exp;
branches
	1.9.8.1;
next	1.8;

1.8
date	99.06.27.12.56.01;	author mrg;	state Exp;
branches;
next	1.7;

1.7
date	99.05.19.03.58.13;	author gwr;	state Exp;
branches;
next	1.6;

1.6
date	99.05.06.18.48.23;	author wrstuden;	state Exp;
branches;
next	1.5;

1.5
date	99.03.13.19.08.43;	author sommerfe;	state Exp;
branches
	1.5.2.1;
next	1.4;

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

1.3
date	96.10.09.00.13.36;	author jtc;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	95.10.13.18.10.20;	author gwr;	state Exp;
branches
	1.2.4.1
	1.2.6.1;
next	1.1;

1.1
date	95.10.08.23.08.48;	author gwr;	state Exp;
branches
	1.1.1.1;
next	;

1.39.8.1
date	2025.10.03.16.09.32;	author martin;	state Exp;
branches;
next	;
commitid	AgkqJtko6XlcN8dG;

1.38.2.1
date	2021.05.31.22.06.55;	author cjep;	state Exp;
branches;
next	;
commitid	eWz9SBW0XqKjJlVC;

1.27.6.1
date	2019.06.10.21.42.37;	author christos;	state Exp;
branches;
next	1.27.6.2;
commitid	jtc8rnCzWiEEHGqB;

1.27.6.2
date	2020.04.13.07.45.36;	author martin;	state Exp;
branches;
next	1.27.6.3;
commitid	X01YhRUPVUDaec4C;

1.27.6.3
date	2020.04.21.18.41.54;	author martin;	state Exp;
branches;
next	;
commitid	86tA4aEmdr3VCh5C;

1.26.8.1
date	2017.07.04.12.57.45;	author martin;	state Exp;
branches;
next	;
commitid	DpVPorwt1zo0AUXz;

1.25.4.1
date	2017.07.23.06.08.16;	author snj;	state Exp;
branches;
next	;
commitid	V5GhJTKlyf7BHj0A;

1.23.8.1
date	2012.10.30.18.48.52;	author yamt;	state Exp;
branches;
next	1.23.8.2;

1.23.8.2
date	2014.05.22.12.01.35;	author yamt;	state Exp;
branches;
next	;
commitid	yqlfOuaAhYmASwBx;

1.23.14.1
date	2012.11.20.02.57.53;	author tls;	state Exp;
branches;
next	1.23.14.2;

1.23.14.2
date	2014.08.19.23.45.45;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.22.8.1
date	2008.10.05.20.11.08;	author mjf;	state dead;
branches;
next	;

1.22.14.1
date	2009.01.15.03.24.06;	author snj;	state Exp;
branches;
next	;

1.21.4.1
date	2008.01.09.01.28.26;	author matt;	state Exp;
branches;
next	;

1.19.4.1
date	2007.05.08.19.40.58;	author pavel;	state Exp;
branches;
next	;

1.9.8.1
date	2000.08.22.16.06.32;	author abs;	state Exp;
branches;
next	1.9.8.2;

1.9.8.2
date	2001.07.29.20.32.29;	author he;	state Exp;
branches;
next	;

1.5.2.1
date	99.06.21.03.24.46;	author perry;	state Exp;
branches;
next	1.5.2.2;

1.5.2.2
date	99.07.01.19.39.50;	author perry;	state Exp;
branches;
next	;

1.3.2.1
date	97.12.13.00.06.38;	author gwr;	state Exp;
branches;
next	;

1.2.4.1
date	95.10.13.18.10.20;	author gwr;	state dead;
branches;
next	1.2.4.2;

1.2.4.2
date	95.10.13.18.10.21;	author gwr;	state Exp;
branches;
next	;

1.2.6.1
date	96.09.13.20.01.57;	author gwr;	state Exp;
branches;
next	;

1.1.1.1
date	95.10.08.23.08.48;	author gwr;	state Exp;
branches;
next	;


desc
@@


1.40
log
@Use a trimmed version of sysctl to reduce the size so that atari floppies
work again.
@
text
@# $NetBSD: Makefile.inc,v 1.39 2021/05/25 10:58:41 martin Exp $
#
# Include this fragment to build libhack.o
# It is .o and not .a to make sure these are the
# objects you get (and not the ones in libc.a)
#

#
# Required variables:
#	HACKSRC		This directory
#
# Optional variables:
#	HACKOBJS	Extra objects to build.
#			The following extra objects are available:
#			gethost.o	cut-down gethostby{name,addr}()
#					that only supports /etc/hosts
#			

.include <bsd.own.mk>

CPPFLAGS+=	-DSMALL
CPPFLAGS+=	-DLIBHACK

HACKOBJS+=	getcap.o getgrent.o getnet.o getnetgr.o getpwent.o jemalloc.o \
		localeconv.o multibyte.o perror.o runetable.o setlocale.o \
		nl_langinfo.o strcasecmp.o sysctl.o \
		strerror.o strsignal.o syslog.o utmp.o fmtcheck.o \
		aligned_alloc.o regcomp.o regexec.o wrap.o

.if (${USE_YP} != "no")
HACKOBJS+=	yplib.o
.endif

.if ${HACK_CURSES:Uno} == "yes"
CURSES_SRC!=	cd ${HACKSRC}/../../../lib/libcurses && \
		${MAKE} DISABLE_WCHAR=yes -v SRCS

.for s in ${CURSES_SRC}
CPPFLAGS.${s}+=	-DDISABLE_WCHAR -DSMALL \
		-I${HACKSRC}/../../../lib/libcurses \
		-I${HACKSRC}/../../../lib/libterminfo
HACKOBJS+=	${s:S/.c/.o/}
${s:S/.c/.o/}:	${HACKSRC}/../../../lib/libcurses/${s}
.endfor

TERMINFO_SRC!=	cd ${HACKSRC}/../../../lib/libterminfo && \
		${MAKE} SMALLPROG=1 -v SRCS
TERMINFO_PATH!=	cd ${HACKSRC}/../../../lib/libterminfo && \
		${MAKE} -v .OBJDIR

.for s in ${TERMINFO_SRC}
CPPFLAGS.${s}+=	-DDISABLE_WCHAR -DSMALL \
		-I${HACKSRC}/../../../lib/libterminfo \
		-I${TERMINFO_PATH}
HACKOBJS+=	${s:S/.c/.o/}
.if ${s:Mhash*} != ""
${s:S/.c/.o/}:	${TERMINFO_PATH}/${s}
.else
${s:S/.c/.o/}:	${HACKSRC}/../../../lib/libterminfo/${s}
.endif
.endfor
.endif

CPPFLAGS.runetable.c+= -I${HACKSRC}/../../../lib/libc/citrus \
			-DALL_80_TO_FF_SW1

CPPFLAGS.syslog.c+= -I${HACKSRC}/../../../lib/libc/include
CPPFLAGS.sysctl.c+= -I${HACKSRC}/../../../lib/libc/include
CPPFLAGS.jemalloc.c+= -I${HACKSRC}/../../../lib/libc/include
CPPFLAGS.gethost.c+= -I${HACKSRC}/../../../lib/libc/net

.if !defined(LIB)
libhack.o: ${HACKOBJS}
	${LD} -r ${HACK_LD_FLAGS} -o $@@ ${.ALLSRC}
.endif

.if 1
.PATH.c: \
	${HACKSRC} \
	${HACKSRC}/../../../lib/libc/gen \
	${HACKSRC}/../../../lib/libc/locale \
	${HACKSRC}/../../../lib/libc/regex \
	${HACKSRC}/../../../lib/libc/stdlib
.else
# XXX .PATH won't work here, because of crunchgen used by various builds
regcomp.o:	${HACKSRC}/../../../lib/libc/regex/regcomp.c
regexec.o:	${HACKSRC}/../../../lib/libc/regex/regexec.c
getcap.o:	${HACKSRC}/../../../lib/libc/gen/getcap.c
getgrent.o:	${HACKSRC}/getgrent.c
gethost.o:	${HACKSRC}/gethost.c
getnet.o:	${HACKSRC}/getnet.c
getnetgr.o:	${HACKSRC}/getnetgr.c
getpwent.o:	${HACKSRC}/getpwent.c
localeconv.o:	${HACKSRC}/localeconv.c
multibyte.o:	${HACKSRC}/multibyte.c
perror.o:	${HACKSRC}/perror.c
jemalloc.o:	${HACKSRC}/../../../lib/libc/stdlib/jemalloc.c
aligned_alloc.o:	${HACKSRC}/../../../lib/libc/stdlib/aligned_alloc.c
runetable.o:	${HACKSRC}/../../../lib/libc/locale/runetable.c
setlocale.o:	${HACKSRC}/setlocale.c
strerror.o:	${HACKSRC}/strerror.c
strsignal.o:	${HACKSRC}/strsignal.c
syslog.o:	${HACKSRC}/syslog.c
sysctl.o:	${HACKSRC}/sysctl.c
utmp.o:		${HACKSRC}/utmp.c
.if (${USE_YP} != "no")
yplib.o:	${HACKSRC}/yplib.c
.endif
.endif
@


1.39
log
@Provide support to build 32bit crunched ramdisks and use that for
macppc64. With help from rin.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.38 2021/03/09 00:06:44 christos Exp $
d26 1
a26 1
		nl_langinfo.o strcasecmp.o \
d68 1
d104 1
@


1.39.8.1
log
@Pull up following revision(s) (requested by christos in ticket #46):

	lib/libc/gen/sysctl.c: revision 1.39
	distrib/utils/libhack/Makefile.inc: revision 1.40

We don't need descriptions for install media.

Use a trimmed version of sysctl to reduce the size so that atari floppies
work again.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.39 2021/05/25 10:58:41 martin Exp $
d26 1
a26 1
		nl_langinfo.o strcasecmp.o sysctl.o \
a67 1
CPPFLAGS.sysctl.c+= -I${HACKSRC}/../../../lib/libc/include
a102 1
sysctl.o:	${HACKSRC}/sysctl.c
@


1.38
log
@Add a stubbed version of libwrap (tcpwrappers)
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.37 2021/02/25 21:24:00 christos Exp $
d73 1
a73 1
	${LD} -r -o $@@ ${.ALLSRC}
@


1.38.2.1
log
@sync with head
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.39 2021/05/25 10:58:41 martin Exp $
d73 1
a73 1
	${LD} -r ${HACK_LD_FLAGS} -o $@@ ${.ALLSRC}
@


1.37
log
@Add regcomp.c and regexec.c so that we get a version that does not use NLS
and brings in all the locale code.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.36 2020/04/17 14:55:24 jdolecek Exp $
d28 1
a28 1
		aligned_alloc.o regcomp.o regexec.o
@


1.36
log
@include aligned_alloc(3), now needed for newfs and fsck_ffs
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.35 2020/04/05 11:18:02 martin Exp $
d28 1
a28 1
	    aligned_alloc.o
d81 1
d85 2
@


1.35
log
@Extend the curses hack to terminfo - build selected parts of
libterminfo as part of libhack, so we can drop unwanted features
for small install media.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.34 2020/03/02 16:01:52 roy Exp $
d27 2
a28 1
		strerror.o strsignal.o syslog.o utmp.o fmtcheck.o
d94 1
@


1.34
log
@libhack: revert prior, will be done per consumer instead.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.33 2020/03/01 22:47:26 roy Exp $
d44 17
@


1.33
log
@libhack: build with -D_REENTRANT

Some tools that use libhack expect thread locking.
An example of this is zpool(8).

Without it, it randomly crashes. As such, force _REENTRANT to avoid
debugging future random crashes from any other applications which
rely on this.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.32 2019/07/28 10:27:57 martin Exp $
a23 6
# Build as re-entrant.
# A few tool using libhack, such as zpool on the ramdisk-zfsroot,
# expect this and it's simpler just to set it globally rather than
# debugging why stuff randomly crashes.
CPPFLAGS+=	-D_REENTRANT

@


1.32
log
@Provide a way for crunched programs to use a non-WIDE_CHAR version of
libcurses by setting HACK_CURSES=yes before including this makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.31 2019/07/28 10:21:18 martin Exp $
d23 7
@


1.31
log
@We (especially libcurses and nvi) use more multibyte character locale
related symbols nowadays. Update libhack to avoid pulling in full grown
multibyte locale support on small install media.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.30 2019/06/22 22:50:39 christos Exp $
d32 13
@


1.30
log
@Add an empty fmtcheck
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.29 2019/05/09 08:20:35 roy Exp $
d25 1
@


1.29
log
@Fix build with MKYP=no
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.28 2019/03/28 15:04:41 christos Exp $
d25 1
a25 1
		strerror.o strsignal.o syslog.o utmp.o
@


1.28
log
@Dedup and add the small jemalloc implementation so our install media has
a chance to fit again.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.27 2017/06/18 03:56:39 manu Exp $
d19 2
d25 5
a29 1
		strerror.o strsignal.o syslog.o utmp.o yplib.o
d67 1
d70 1
@


1.27
log
@Make shared -DSMALL libc buildable without breaking libhack

We used -DSMALL to exclude code from libc in order to build
libhack. Introduce -DLIBHACK to do this without so that
-DSMALL does not remove code necessary for building a shared libc
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.26 2014/08/25 14:11:51 christos Exp $
d21 1
a21 1
HACKOBJS+=	getcap.o getgrent.o getnet.o getnetgr.o getpwent.o \
d29 1
d32 1
d35 1
a35 1

d38 5
a42 1
.PATH.c: ${HACKSRC} ${HACKSRC}/../../../lib/libc/gen ${HACKSRC}/../../../lib/libc/locale
d54 1
@


1.27.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.29 2019/05/09 08:20:35 roy Exp $
a18 2
.include <bsd.own.mk>

d21 1
a21 1
HACKOBJS+=	getcap.o getgrent.o getnet.o getnetgr.o getpwent.o jemalloc.o \
d23 1
a23 5
		strerror.o strsignal.o syslog.o utmp.o

.if (${USE_YP} != "no")
HACKOBJS+=	yplib.o
.endif
a28 1
CPPFLAGS.jemalloc.c+= -I${HACKSRC}/../../../lib/libc/include
a30 1
.if !defined(LIB)
d33 1
a33 1
.endif
d36 1
a36 5
.PATH.c: \
	${HACKSRC} \
	${HACKSRC}/../../../lib/libc/gen \
	${HACKSRC}/../../../lib/libc/locale \
	${HACKSRC}/../../../lib/libc/stdlib
a47 1
jemalloc.o:	${HACKSRC}/../../../lib/libc/stdlib/jemalloc.c
a53 1
.if (${USE_YP} != "no")
a55 1
.endif
@


1.27.6.2
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
# $NetBSD$
a22 1

d25 1
a25 2
		nl_langinfo.o strcasecmp.o \
		strerror.o strsignal.o syslog.o utmp.o fmtcheck.o
a30 30
.if ${HACK_CURSES:Uno} == "yes"
CURSES_SRC!=	cd ${HACKSRC}/../../../lib/libcurses && \
		${MAKE} DISABLE_WCHAR=yes -v SRCS

.for s in ${CURSES_SRC}
CPPFLAGS.${s}+=	-DDISABLE_WCHAR -DSMALL \
		-I${HACKSRC}/../../../lib/libcurses \
		-I${HACKSRC}/../../../lib/libterminfo
HACKOBJS+=	${s:S/.c/.o/}
${s:S/.c/.o/}:	${HACKSRC}/../../../lib/libcurses/${s}
.endfor

TERMINFO_SRC!=	cd ${HACKSRC}/../../../lib/libterminfo && \
		${MAKE} SMALLPROG=1 -v SRCS
TERMINFO_PATH!=	cd ${HACKSRC}/../../../lib/libterminfo && \
		${MAKE} -v .OBJDIR

.for s in ${TERMINFO_SRC}
CPPFLAGS.${s}+=	-DDISABLE_WCHAR -DSMALL \
		-I${HACKSRC}/../../../lib/libterminfo \
		-I${TERMINFO_PATH}
HACKOBJS+=	${s:S/.c/.o/}
.if ${s:Mhash*} != ""
${s:S/.c/.o/}:	${TERMINFO_PATH}/${s}
.else
${s:S/.c/.o/}:	${HACKSRC}/../../../lib/libterminfo/${s}
.endif
.endfor
.endif

@


1.27.6.3
log
@Sync with HEAD
@
text
@d27 1
a27 2
		strerror.o strsignal.o syslog.o utmp.o fmtcheck.o \
	    aligned_alloc.o
a92 1
aligned_alloc.o:	${HACKSRC}/../../../lib/libc/stdlib/aligned_alloc.c
@


1.26
log
@Use .PATH because the newmake does not apply pattern rules to sources in
other directories. Leave the comment and the old code for now so people
are aware that this might not work.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.25 2013/08/27 09:53:33 christos Exp $
d20 1
@


1.26.8.1
log
@Pull up following revision(s) (requested by manu in ticket #79):
	distrib/utils/libhack/Makefile.inc: revision 1.27
	lib/libc/gen/getcap.c: revision 1.57
	distrib/utils/libhack/Makefile: revision 1.25
Make shared -DSMALL libc buildable without breaking libhack
We used -DSMALL to exclude code from libc in order to build
libhack. Introduce -DLIBHACK to do this without so that
-DSMALL does not remove code necessary for building a shared libc
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.26 2014/08/25 14:11:51 christos Exp $
a19 1
CPPFLAGS+=	-DLIBHACK
@


1.25
log
@avoid copying most of libc (except gethostent_r, which unfortunately
adds a resolver dependency) by callling the internal nsswitch functions.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.24 2012/10/11 17:11:16 christos Exp $
d31 1
a31 1
	${LD} -r -o $@@ ${HACKOBJS}
d34 3
a37 1

d54 1
@


1.25.4.1
log
@Pull up following revision(s) (requested by manu in ticket #1440):
	distrib/utils/libhack/Makefile: revision 1.25
	distrib/utils/libhack/Makefile.inc: revision 1.27
	lib/libc/gen/getcap.c: revision 1.57
Make shared -DSMALL libc buildable without breaking libhack
We used -DSMALL to exclude code from libc in order to build
libhack. Introduce -DLIBHACK to do this without so that
-DSMALL does not remove code necessary for building a shared libc
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.25 2013/08/27 09:53:33 christos Exp $
a19 1
CPPFLAGS+=	-DLIBHACK
@


1.24
log
@make libhack's syslog.c produce exactly the same symbols as libc's syslog.c,
so that in the future we can keep them synced. Avoid strong_alias since it
does not play well with symbol renaming.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.23 2009/01/02 00:20:18 tnozaki Exp $
d28 1
@


1.23
log
@Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
ok'ed by core and releng.
(thanks for agc@@, snj@@ and i'm sorry for long time patience).

[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
  new locale-db implementation using citrus_db backend,
  see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
  internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].

[tools]
- mklocale(1): add new option ``-t'' that generates new style
  LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().

[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
    en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
    zh_CN.eucCN -> zh_CN.GB18030
    and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
  for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.

i tested release-build following arch:
  i386, amd64, hpc{mips,arm,sh}, sparc64, vax.

citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<

old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.22 2007/11/06 19:27:07 martin Exp $
d27 2
@


1.23.14.1
log
@Resync to 2012-11-19 00:00:00 UTC
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.24 2012/10/11 17:11:16 christos Exp $
a26 2
CPPFLAGS.syslog.c+= -I${HACKSRC}/../../../lib/libc/include

@


1.23.14.2
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
# $NetBSD$
a27 1
CPPFLAGS.gethost.c+= -I${HACKSRC}/../../../lib/libc/net
@


1.23.8.1
log
@sync with head
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.23 2009/01/02 00:20:18 tnozaki Exp $
a26 2
CPPFLAGS.syslog.c+= -I${HACKSRC}/../../../lib/libc/include

@


1.23.8.2
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.23.8.1 2012/10/30 18:48:52 yamt Exp $
a27 1
CPPFLAGS.gethost.c+= -I${HACKSRC}/../../../lib/libc/net
@


1.22
log
@Compile a special version of the default locale into libhack - we can
not use real locales, but this at least allows single byte character
locales to work as expected (i.e. the existing translations for sysinst).
Once we get a sysinst translation that needs more, we'll have to drop this
and the castrated setlocale(), and go for a real solution.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.21 2007/04/02 15:53:25 christos Exp $
d24 2
a25 1
CPPFLAGS.runetable.c+=	-I ${HACKSRC}/../../../lib/libc -DALL_80_TO_FF_SW1
@


1.22.14.1
log
@Pull up following revision(s) (requested by tnozaki in ticket #222):
	distrib/sets/lists/base/mi: revision 1.788
	distrib/utils/libhack/Makefile.inc: revision 1.23
	distrib/utils/libhack/Makefile: revision 1.22
	etc/mtree/NetBSD.dist: revision 1.387
	include/locale.h: revision 1.15
	lib/libc/citrus/Makefile.inc: revision 1.6
	lib/libc/citrus/citrus_aliasname_local.h: revision 1.1
	lib/libc/citrus/citrus_bcs.h: revision 1.5
	lib/libc/citrus/citrus_bcs_strtol.c: revision 1.1
	lib/libc/citrus/citrus_bcs_strtoul.c: revision 1.1
	lib/libc/citrus/citrus_csmapper.c: revision 1.9
	lib/libc/citrus/citrus_fix_grouping.h: revision 1.1
	lib/libc/citrus/citrus_lc_ctype.c: revision 1.1
	lib/libc/citrus/citrus_lc_messages.c: revision 1.1
	lib/libc/citrus/citrus_lc_messages.h: revision 1.1
	lib/libc/citrus/citrus_lc_monetary.c: revision 1.1
	lib/libc/citrus/citrus_lc_monetary.h: revision 1.1
	lib/libc/citrus/citrus_lc_numeric.c: revision 1.1
	lib/libc/citrus/citrus_lc_numeric.h: revision 1.1
	lib/libc/citrus/citrus_lc_template.h: revision 1.1
	lib/libc/citrus/citrus_lc_template_decl.h: revision 1.1
	lib/libc/citrus/citrus_lc_time.c: revision 1.1
	lib/libc/citrus/citrus_lc_time.h: revision 1.1
	lib/libc/citrus/citrus_module.c: revision 1.8
	lib/libc/citrus/citrus_namespace.h: revision 1.7
	lib/libc/citrus/modules/citrus_euc.c: revision 1.13
	lib/libc/gen/Makefile.inc: revision 1.166
	lib/libc/gen/isctype.c: revision 1.17 via patch
	lib/libc/gen/tolower_.c: revision 1.10
	lib/libc/gen/toupper_.c: revision 1.10
	lib/libc/iconv/Makefile.inc: revision 1.3
	lib/libc/iconv/iconv.c: revision 1.7
	lib/libc/locale/Makefile.inc: revision 1.53
	lib/libc/locale/___runetype_mb.c: file removal
	lib/libc/locale/_wctrans.c: revision 1.7
	lib/libc/locale/_wctrans_local.h: revision 1.3
	lib/libc/locale/_wctype.c: revision 1.1
	lib/libc/locale/_wctype_local.h: revision 1.1
	lib/libc/locale/aliasname.c: revision 1.3
	lib/libc/locale/aliasname_local.h: revision 1.2
	lib/libc/locale/bsdctype.c: revision 1.1
	lib/libc/locale/bsdctype.h: revision 1.1
	lib/libc/locale/ctypeio.c: revision 1.8
	lib/libc/locale/ctypeio.h: revision 1.2
	lib/libc/locale/current_locale.c: revision 1.1
	lib/libc/locale/dummy_lc_collate.c: revision 1.1
	lib/libc/locale/dummy_lc_template.h: revision 1.1
	lib/libc/locale/fix_grouping.c: revision 1.1
	lib/libc/locale/fix_grouping.h: revision 1.1
	lib/libc/locale/generic_lc_all.c: revision 1.1
	lib/libc/locale/generic_lc_template.h: revision 1.1
	lib/libc/locale/generic_lc_template_decl.h: revision 1.1
	lib/libc/locale/global_locale.c: revision 1.1
	lib/libc/locale/iswctype.c: file removal
	lib/libc/locale/iswctype_mb.c: revision 1.1
	lib/libc/locale/iswctype_sb.c: revision 1.6
	lib/libc/locale/lcmessages.c: file removal
	lib/libc/locale/lcmessages.h: file removal
	lib/libc/locale/lcmonetary.c: file removal
	lib/libc/locale/lcmonetary.h: file removal
	lib/libc/locale/lcnumeric.c: file removal
	lib/libc/locale/lcnumeric.h: file removal
	lib/libc/locale/lctime.c: file removal
	lib/libc/locale/lctime.h: file removal
	lib/libc/locale/localeconv.c: revision 1.15
	lib/libc/locale/localeio.c: revision 1.2
	lib/libc/locale/localeio.h: revision 1.2
	lib/libc/locale/localeio_lc_ctype.c: revision 1.1
	lib/libc/locale/localeio_lc_messages.c: revision 1.1
	lib/libc/locale/localeio_lc_monetary.c: revision 1.1
	lib/libc/locale/localeio_lc_numeric.c: revision 1.1
	lib/libc/locale/localeio_lc_time.c: revision 1.1
	lib/libc/locale/multibyte.h: revision 1.4
	lib/libc/locale/multibyte_amd1.c: revision 1.6
	lib/libc/locale/multibyte_c90.c: revision 1.5
	lib/libc/locale/nb_lc_messages_misc.h: revision 1.1
	lib/libc/locale/nb_lc_monetary_misc.h: revision 1.1
	lib/libc/locale/nb_lc_numeric_misc.h: revision 1.1
	lib/libc/locale/nb_lc_template.h: revision 1.1
	lib/libc/locale/nb_lc_template_decl.h: revision 1.1
	lib/libc/locale/nb_lc_time_misc.h: revision 1.1
	lib/libc/locale/nl_langinfo.c: revision 1.12
	lib/libc/locale/rune.c: revision 1.31
	lib/libc/locale/rune.h: revision 1.13
	lib/libc/locale/rune_local.h: revision 1.11
	lib/libc/locale/runeglue.c: revision 1.14
	lib/libc/locale/runetable.c: revision 1.18
	lib/libc/locale/setlocale.c: revision 1.55 via patch
	lib/libc/locale/setlocale_local.h: revision 1.1
	lib/libc/locale/setrunelocale.c: file removal
	lib/libc/nls/Makefile.inc: revision 1.9
	lib/libc/nls/catopen.c: revision 1.26
	lib/libc/string/Makefile.inc: revision 1.68
	lib/libc/string/wcscmp.c: revision 1.6
	lib/libc/string/wcsncmp.c: revision 1.6
	lib/libc/string/wcswidth.c: file removal
	lib/libc/string/wmemcmp.c: revision 1.4
	regress/lib/libc/locale/Makefile: revision 1.4
	regress/lib/libc/locale/ctype1/Makefile: revision 1.4
	regress/lib/libc/locale/ctype1/en_US.UTF-8.exp.uue: revision 1.2
	regress/lib/libc/locale/ctype1/ja_JP.ISO-2022-JP.exp.uue: revision 1.1
	regress/lib/libc/locale/ctype1/ja_JP.ISO-2022-JP.in.uue: revision 1.1
	regress/lib/libc/locale/ctype1/ja_JP.ISO2022-JP.exp.uue: file removal
	regress/lib/libc/locale/ctype1/ja_JP.ISO2022-JP.in.uue: file removal
	regress/lib/libc/locale/ctype1/ja_JP.SJIS.exp.uue: revision 1.2
	regress/lib/libc/locale/ctype1/ja_JP.eucJP.exp.uue: revision 1.2
	regress/lib/libc/locale/ctype2/Makefile: revision 1.5
	regress/lib/libc/locale/ctype2/ja_JP.ISO-2022-JP-2.in.uue: revision 1.1
	regress/lib/libc/locale/ctype2/ja_JP.ISO2022-JP2.in.uue: file removal
	regress/lib/libc/locale/ctype3/Makefile: revision 1.5
	regress/lib/libc/locale/mbtowc/Makefile: revision 1.3
	regress/lib/libc/locale/mbtowc/ja_JP.ISO-2022-JP: revision 1.1
	regress/lib/libc/locale/mbtowc/ja_JP.ISO2022-JP: file removal
	regress/lib/libc/locale/wcstod/wcstod_test.c: revision 1.2
	share/locale/Makefile.locale: revision 1.1
	share/locale/Makefile: revision 1.5
	share/locale/ctype/Makefile: revision 1.28
	share/locale/locale.alias: revision 1.11
	share/locale/messages/Makefile: revision 1.5
	share/locale/messages/en_US.ISO8859-1.src: file removal
	share/locale/messages/en_US.US-ASCII.src: revision 1.1
	share/locale/messages/ja_JP.ISO-2022-JP.src: revision 1.1
	share/locale/messages/ja_JP.ct.src: revision 1.1
	share/locale/messages/sr_ME.ISO8859-2.src: revision 1.1
	share/locale/messages/sr_ME.ISO8859-5.src: revision 1.1
	share/locale/messages/sr_YU.ISO8859-2.src: file removal
	share/locale/messages/sr_YU.ISO8859-5.src: file removal
	share/locale/messages/sr_YU.UTF-8.src: file removal
	share/locale/messages/zh_CN.GB18030.src: file removal
	share/locale/messages/zh_TW.eucTW.src: revision 1.1
	share/locale/monetary/Makefile: revision 1.5
	share/locale/monetary/af_ZA.ISO8859-1.src: revision 1.2
	share/locale/monetary/am_ET.UTF-8.src: revision 1.2
	share/locale/monetary/be_BY.CP1131.src: file removal
	share/locale/monetary/be_BY.CP1251.src: revision 1.2
	share/locale/monetary/be_BY.ISO8859-5.src: revision 1.2
	share/locale/monetary/be_BY.UTF-8.src: revision 1.2
	share/locale/monetary/bg_BG.CP1251.src: revision 1.2
	share/locale/monetary/bg_BG.UTF-8.src: revision 1.2
	share/locale/monetary/ca_ES.ISO8859-1.src: revision 1.2
	share/locale/monetary/cs_CZ.ISO8859-2.src: revision 1.2
	share/locale/monetary/cs_CZ.UTF-8.src: revision 1.2
	share/locale/monetary/da_DK.ISO8859-1.src: revision 1.2
	share/locale/monetary/de_AT.ISO8859-1.src: revision 1.2
	share/locale/monetary/de_CH.ISO8859-1.src: revision 1.2
	share/locale/monetary/de_DE.ISO8859-1.src: revision 1.2
	share/locale/monetary/el_GR.ISO8859-7.src: revision 1.2
	share/locale/monetary/en_AU.ISO8859-1.src: revision 1.2
	share/locale/monetary/en_CA.ISO8859-1.src: revision 1.2
	share/locale/monetary/en_GB.ISO8859-1.src: revision 1.2
	share/locale/monetary/en_GB.UTF-8.src: revision 1.2
	share/locale/monetary/en_IE.UTF-8.src: revision 1.2
	share/locale/monetary/en_NZ.ISO8859-1.src: revision 1.2
	share/locale/monetary/en_US.ISO8859-1.src: revision 1.2
	share/locale/monetary/en_US.US-ASCII.src: revision 1.1
	share/locale/monetary/es_ES.ISO8859-1.src: revision 1.2
	share/locale/monetary/et_EE.ISO8859-15.src: revision 1.2
	share/locale/monetary/fi_FI.ISO8859-1.src: revision 1.2
	share/locale/monetary/fr_BE.ISO8859-1.src: revision 1.2
	share/locale/monetary/fr_CA.ISO8859-1.src: revision 1.2
	share/locale/monetary/fr_FR.ISO8859-1.src: revision 1.2
	share/locale/monetary/he_IL.UTF-8.src: revision 1.2
	share/locale/monetary/hi_IN.ISCII-DEV.src: revision 1.2
	share/locale/monetary/hr_HR.ISO8859-2.src: revision 1.2
	share/locale/monetary/hu_HU.ISO8859-2.src: revision 1.2
	share/locale/monetary/hy_AM.ARMSCII-8.src: revision 1.2
	share/locale/monetary/hy_AM.UTF-8.src: revision 1.2
	share/locale/monetary/is_IS.ISO8859-1.src: revision 1.2
	share/locale/monetary/it_IT.ISO8859-1.src: revision 1.2
	share/locale/monetary/ja_JP.ISO-2022-JP.src: revision 1.1
	share/locale/monetary/ja_JP.UTF-8.src: revision 1.2
	share/locale/monetary/ja_JP.eucJP.src: revision 1.2
	share/locale/monetary/kk_KZ.PT154.src: revision 1.2
	share/locale/monetary/kk_KZ.UTF-8.src: revision 1.2
	share/locale/monetary/ko_KR.UTF-8.src: revision 1.2
	share/locale/monetary/ko_KR.eucKR.src: revision 1.2
	share/locale/monetary/lt_LT.ISO8859-13.src: revision 1.2
	share/locale/monetary/mn_MN.UTF-8.src: revision 1.2
	share/locale/monetary/nl_BE.ISO8859-1.src: revision 1.2
	share/locale/monetary/nl_NL.ISO8859-1.src: revision 1.2
	share/locale/monetary/no_NO.ISO8859-1.src: revision 1.2
	share/locale/monetary/pl_PL.ISO8859-2.src: revision 1.2
	share/locale/monetary/pl_PL.UTF-8.src: revision 1.2
	share/locale/monetary/pt_BR.ISO8859-1.src: revision 1.2
	share/locale/monetary/pt_PT.ISO8859-1.src: revision 1.2
	share/locale/monetary/ro_RO.ISO8859-2.src: revision 1.2
	share/locale/monetary/ru_RU.CP1251.src: revision 1.2
	share/locale/monetary/ru_RU.CP866.src: revision 1.2
	share/locale/monetary/ru_RU.ISO8859-5.src: revision 1.2
	share/locale/monetary/ru_RU.KOI8-R.src: revision 1.2
	share/locale/monetary/ru_RU.UTF-8.src: revision 1.2
	share/locale/monetary/sk_SK.ISO8859-2.src: revision 1.2
	share/locale/monetary/sl_SI.ISO8859-2.src: revision 1.2
	share/locale/monetary/sr_ME.ISO8859-2.src: revision 1.1
	share/locale/monetary/sr_RS.ISO8859-2.src: revision 1.1
	share/locale/monetary/sr_YU.ISO8859-2.src: revision 1.2
	share/locale/monetary/sr_YU.ISO8859-5.src: revision 1.2
	share/locale/monetary/sr_YU.UTF-8.src: revision 1.2
	share/locale/monetary/sv_SE.ISO8859-1.src: revision 1.2
	share/locale/monetary/tr_TR.ISO8859-9.src: revision 1.2
	share/locale/monetary/uk_UA.CP1251.src: revision 1.2
	share/locale/monetary/uk_UA.ISO8859-5.src: revision 1.2
	share/locale/monetary/uk_UA.KOI8-U.src: revision 1.2
	share/locale/monetary/uk_UA.UTF-8.src: revision 1.2
	share/locale/monetary/zh_CN.GB18030.src: revision 1.2
	share/locale/monetary/zh_CN.UTF-8.src: revision 1.2
	share/locale/monetary/zh_CN.eucCN.src: revision 1.2
	share/locale/monetary/zh_HK.Big5hkscs.src: revision 1.1
	share/locale/monetary/zh_HK.UTF-8.src: revision 1.2
	share/locale/monetary/zh_TW.Big5.src: revision 1.2
	share/locale/numeric/Makefile: revision 1.4
	share/locale/numeric/am_ET.UTF-8.src: file removal
	share/locale/numeric/en_US.ISO8859-1.src: file removal
	share/locale/numeric/en_US.US-ASCII.src: revision 1.1
	share/locale/numeric/ja_JP.eucJP.src: file removal
	share/locale/numeric/ko_KR.eucKR.src: file removal
	share/locale/numeric/mn_MN.UTF-8.src: file removal
	share/locale/numeric/sr_ME.ISO8859-2.src: revision 1.1
	share/locale/numeric/sr_YU.ISO8859-2.src: file removal
	share/locale/numeric/sr_YU.ISO8859-5.src: file removal
	share/locale/numeric/zh_CN.eucCN.src: file removal
	share/locale/time/Makefile: revision 1.5
	share/locale/time/en_US.ISO8859-1.src: file removal
	share/locale/time/en_US.US-ASCII.src: revision 1.1
	share/locale/time/ja_JP.ISO-2022-JP.src: revision 1.1
	share/locale/time/ja_JP.ct.src: revision 1.1
	share/locale/time/sr_ME.ISO8859-2.src: revision 1.1
	share/locale/time/sr_ME.ISO8859-5.src: revision 1.1
	share/locale/time/sr_ME.UTF-8.src: revision 1.1
	share/locale/time/sr_YU.ISO8859-2.src: file removal
	share/locale/time/sr_YU.ISO8859-5.src: file removal
	share/locale/time/sr_YU.UTF-8.src: file removal
	share/locale/time/zh_CN.GB18030.src: file removal
	share/locale/time/zh_TW.eucTW.src: revision 1.1
	usr.bin/locale/locale.c: revision 1.6
	usr.bin/mklocale/Makefile: revision 1.12
	usr.bin/mklocale/lex.l: revision 1.14
	usr.bin/mklocale/mklocaledb.c: revision 1.1
	usr.bin/mklocale/yacc.y: revision 1.25
	usr.sbin/chrtbl/Makefile: revision 1.8
	usr.sbin/chrtbl/ctypeio.c: revision 1.1
	usr.sbin/chrtbl/ctypeio.h: revision 1.1
Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES}
db format.
ok'ed by core and releng.
(thanks for agc@@, snj@@ and i'm sorry for long time patience).
[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
  new locale-db implementation using citrus_db backend,
  see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
  internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].
[tools]
- mklocale(1): add new option ``-t'' that generates new style
  LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().
[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
    en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
    zh_CN.eucCN -> zh_CN.GB18030
    and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
  for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.

i tested release-build following arch:
  i386, amd64, hpc{mips,arm,sh}, sparc64, vax.

citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<
old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.22 2007/11/06 19:27:07 martin Exp $
d24 1
a24 2
CPPFLAGS.runetable.c+= -I${HACKSRC}/../../../lib/libc/citrus \
			-DALL_80_TO_FF_SW1
@


1.22.8.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.22 2007/11/06 19:27:07 martin Exp $
@


1.21
log
@Merge the multibyte routines into one file, and add stub implementations
for one more that is needed, and commented out partial implementations for
the test of the functions. This should stop the re-defined symbol errors
for now.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.20 2007/02/03 19:55:51 christos Exp $
d21 1
a21 1
		localeconv.o multibyte.o perror.o setlocale.o \
d24 2
d41 1
@


1.21.4.1
log
@sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD$
d21 1
a21 1
		localeconv.o multibyte.o perror.o runetable.o setlocale.o \
a23 2
CPPFLAGS.runetable.c+=	-I ${HACKSRC}/../../../lib/libc -DALL_80_TO_FF_SW1

a38 1
runetable.o:	${HACKSRC}/../../../lib/libc/locale/runetable.c
@


1.20
log
@we need wcrtomb now too.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.19 2005/05/15 10:15:47 dsl Exp $
d21 1
a21 2
		localeconv.o perror.o setlocale.o \
		mbrtowc.o wcrtomb.o \
d37 1
a37 1
mbrtowc.o:	${HACKSRC}/mbrtowc.c
a44 1
wcrtomb.o:	${HACKSRC}/wcrtomb.c
@


1.19
log
@Stub out mbrtowc(), removes all the citrus_xxx stuff from libc.
rescue_tiny fits again...
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.18 2004/06/06 07:03:53 christos Exp $
d22 1
a22 1
		mbrtowc.o \
d46 1
@


1.19.4.1
log
@Pull up following revision(s) originally forgotten in ticket #607:
	distrib/utils/libhack/Makefile: revision 1.19-1.20
	distrib/utils/libhack/Makefile.inc: revision 1.20-1.21
	distrib/utils/libhack/multibyte.c: revision 1.1
	distrib/utils/libhack/syslog.c: revision 1.6
	distrib/utils/libhack/mbrtowc.c: deleted

add prototypes for the _ss functions.

we need wcrtomb now too.

Merge the multibyte routines into one file, and add stub
implementations for one more that is needed, and commented out partial
implementations for the test of the functions. This should stop the
re-defined symbol errors for now.
@
text
@d1 1
a1 1
# $NetBSD$
d21 2
a22 1
		localeconv.o multibyte.o perror.o setlocale.o \
d38 1
a38 1
multibyte.o:	${HACKSRC}/multibyte.c
@


1.18
log
@Include a fake syslog that does only printf; saves 4K.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.17 2004/04/25 06:45:02 christos Exp $
d22 1
d38 1
@


1.17
log
@arrange for libc's getcap to be used instead of a local copy.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.16 2002/04/06 18:12:50 tsutsui Exp $
d22 1
a22 1
		strerror.o strsignal.o utmp.o yplib.o
d41 1
@


1.16
log
@Don't override DBG here. It should be defined in parent Makefiles.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.15 2002/03/28 04:33:24 lukem Exp $
d19 1
d30 1
a30 1
getcap.o:	${HACKSRC}/getcap.c
@


1.15
log
@- Be consistent how libhack is used: If extra HACKOBJS (e.g., gethost.o) are
  required, define them before pulling in libhack/Makefile.inc so that the
  dependencies work correctly.
- Other minor cleanups
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.14 2002/03/25 07:43:49 lukem Exp $
a24 4

.if ${MACHINE_ARCH} != "sparc64"
DBG= -Os
.endif
@


1.14
log
@Disable libhack's gethost.o (replacement gethostby{name,addr}()) by default,
as they only support reading /etc/hosts, and its the "least useful" of
the libhack routines.  Add gethost.o back to Really Small media which
appears to need the space savings.
@
text
@d1 2
a2 1
# $NetBSD: Makefile.inc,v 1.13 2002/02/03 22:39:52 lukem Exp $
d6 1
d8 14
a21 7
HACKOBJS= getcap.o getgrent.o getnet.o getnetgr.o getpwent.o \
	localeconv.o perror.o setlocale.o \
	strerror.o strsignal.o utmp.o yplib.o

# If a cut-down gethostby{name,addr}() that only supports /etc/hosts
# is required, add:
#	HACKOBJS+= gethost.o
d23 2
a24 2
libhack.o : $(HACKOBJS)
	$(LD) -r -o $@@ $(HACKOBJS)
a29 1
# XXX .PATH won't work here, because of crunchgen used in the i386 build
d31 15
a45 13
getcap.o: ${HACKSRC}/getcap.c
getgrent.o: ${HACKSRC}/getgrent.c
gethost.o: ${HACKSRC}/gethost.c
getnet.o: ${HACKSRC}/getnet.c
getnetgr.o: ${HACKSRC}/getnetgr.c
getpwent.o: ${HACKSRC}/getpwent.c
localeconv.o: ${HACKSRC}/localeconv.c
perror.o: ${HACKSRC}/perror.c
setlocale.o: ${HACKSRC}/setlocale.c
strerror.o: ${HACKSRC}/strerror.c
strsignal.o: ${HACKSRC}/strsignal.c
utmp.o: ${HACKSRC}/utmp.c
yplib.o: ${HACKSRC}/yplib.c
@


1.13
log
@permanently disable opendir.o until its link bugs (on ELF platforms
only?) are sorted out.  speculation (based on some analysis by simonb)
is that it's because fts calls _opendir2 directly, which forces both
the libhack and the libc versions of opendir.o to be linked in.
in any case, there's space saves to be had elsewhere...
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.12 2001/10/05 01:17:28 jmc Exp $
d6 1
a6 1
HACKOBJS= getcap.o getgrent.o gethost.o getnet.o getnetgr.o getpwent.o \
d9 4
@


1.12
log
@Change all COPTS+=-Os to DBG=-Os as that var actually controls the optimization
levels
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.11 2001/08/20 12:19:43 martin Exp $
a8 3
.ifndef NOLIBHACKOPENDIR
HACKOBJS+= opendir.o
.endif
a31 1
opendir.o: ${HACKSRC}/opendir.c
@


1.11
log
@Drop ``-Os'' on sparc64 due to toolchain issues.

The same change has already been applied on the 1.5 branch. The problems
(i.e. ifconfig not showing IP addresses) have been verified to still exist
with the new toolchain.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.10 2000/08/22 14:06:37 abs Exp $
d17 1
a17 1
COPTS+= -Os
@


1.10
log
@Shave another few bytes here and there - compile with -Os
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.9 1999/06/30 22:21:57 fvdl Exp $
d16 3
a18 1
CFLAGS+= -Os
@


1.9
log
@Don't use .PATH here, it won't work because of crunchgen. XXX
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.8 1999/06/27 12:56:01 mrg Exp $
d15 2
@


1.9.8.1
log
@fix sysinst floppy for NetBSD/sparc, plus small doc fix.
Approved by thorpej, pullup list:
	distrib/notes/sparc/install			1.24
	distrib/sparc/bootfs.sysinst/Makefile		1.5
	distrib/sparc/list2sh.awk			1.4
	distrib/sparc/ramdisk.sysinst/Makefile		1.8
	distrib/sparc/ramdisk.sysinst/disktab		1.2
	distrib/sparc/ramdisk.sysinst/disktab.preinstall delete
	distrib/sparc/ramdisk.sysinst/dot.profile.m4	1.5
	distrib/sparc/ramdisk.sysinst/list.m4		1.6
	distrib/sparc/ramdisk.sysinst/mtree.conf	1.2
	distrib/sparc/ramdisk.sysinst/ramdiskbin.m4	1.4
	distrib/utils/libhack/Makefile.inc		1.10
	sys/arch/sparc/conf/INSTALL			1.17
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.10 2000/08/22 14:06:37 abs Exp $
a14 2

CFLAGS+= -Os
@


1.9.8.2
log
@Apply patch (requested by martin):
  Drop ``-Os'' on sparc64 due to toolchain issues.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.9.8.1 2000/08/22 16:06:32 abs Exp $
d16 1
a16 3
.if ${MACHINE_ARCH} != "sparc64"
COPTS+= -Os
.endif
@


1.8
log
@miniroot changes:
    install.sub:
	- fix interface grovelling, ifmedia support, allow ifmedia and link
	  to have a "none" (-> "") answer (which lets you give nothing when
	  a default answer is given)
	- allow installing more than one set at a time, including "all" as
	  a synonym for all remaining sets
	- mount -o async when extracting sets
    makeconf.awk:
	- put default "libs" section at the end rather than the start, so
	  you can put other "libs" in before this list
	- minor cleanup

    mtree.conf:
	- create /kern

    sparc install.md:
	- MDSETS are now "kern xbase xcomp xcontrib xfont xserver"
	- use /kern & kernfs (replaces dmesg)
	- replace grep & cut pipe lines with sed
	- replace grep hackery with sed hackery
	- grep and cut are no longer required!  yay!
	- deal with no /usr/bin/vi -- call disklabel -i
	- in md_copy_kern() link the netbsd.GENERIC we got from the kern set,
	  rather than the miniroot kernel
    sparc miniroot list:
	- no more dmesg, cut or grep

sparc ramdisk changes:
    Makefile:
	- `ramdiskbin.conf' is now generated by makeconf.awk
	- don't use libhack's opendir, it breaks
    dot.profile:
	- don't assume terminal is `sun'
	- set EDITOR=ed
	-
    list:
	- instbin -> ramdiskbin to make `makeconf.awk' work
	- CRUNCHSPECIAL those special dirs
	- add our LIBS as necessary

libhack changes:
	- if NOLIBHACKOPENDIR is set, don't build opendir.o
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.7 1999/05/19 03:58:13 gwr Exp $
d16 1
a16 1
.PATH: ${HACKSRC}
d18 14
@


1.7
log
@New files...
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.6 1999/05/06 18:48:23 wrstuden Exp $
d7 1
a7 1
	localeconv.o opendir.o perror.o setlocale.o \
d9 3
@


1.6
log
@We don't need to give explicit rules for .c.o conversion, the default
ones work fine, and are correct for cross-compiling.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.5 1999/03/13 19:08:43 sommerfe Exp $
d7 2
a8 1
	setlocale.o yplib.o
d13 1
a13 15
getcap.o : ${HACKSRC}/getcap.c

getgrent.o : ${HACKSRC}/getgrent.c

gethost.o : ${HACKSRC}/gethost.c

getnet.o : ${HACKSRC}/getnet.c

getnetgr.o : ${HACKSRC}/getnetgr.c

getpwent.o : ${HACKSRC}/getpwent.c

setlocale.o : ${HACKSRC}/setlocale.c

yplib.o : ${HACKSRC}/yplib.c
@


1.5
log
@Warnsify.
Add reduced version of getcap routines, so sysinst need not drag in
the database goop via libtermcap.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.4 1997/12/12 03:36:38 gwr Exp $
a12 1
	${CC} ${CFLAGS} -c ${HACKSRC}/getcap.c
a14 1
	${CC} ${CFLAGS} -c ${HACKSRC}/getgrent.c
a16 1
	${CC} ${CFLAGS} -c ${HACKSRC}/gethost.c
a18 1
	${CC} ${CFLAGS} -c ${HACKSRC}/getnet.c
a20 1
	${CC} ${CFLAGS} -c ${HACKSRC}/getnetgr.c
a22 1
	${CC} ${CFLAGS} -c ${HACKSRC}/getpwent.c
a24 1
	${CC} ${CFLAGS} -c ${HACKSRC}/setlocale.c
a26 1
	${CC} ${CFLAGS} -c ${HACKSRC}/yplib.c
@


1.5.2.1
log
@pullup 1.5->1.7 (gwr)
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.7 1999/05/19 03:58:13 gwr Exp $
d7 1
a7 2
	localeconv.o opendir.o perror.o setlocale.o \
	strerror.o strsignal.o utmp.o yplib.o
d12 23
a34 1
.PATH: ${HACKSRC}
@


1.5.2.2
log
@pullup 1.7->1.8 (mrg)
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.8 1999/06/27 12:56:01 mrg Exp $
d7 1
a7 1
	localeconv.o perror.o setlocale.o \
a8 3
.ifndef NOLIBHACKOPENDIR
HACKOBJS+= opendir.o
.endif
@


1.4
log
@Add getnet.c
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.3 1996/10/09 00:15:20 jtc Exp $
d6 1
a6 1
HACKOBJS= getgrent.o gethost.o getnet.o getnetgr.o getpwent.o \
d12 2
d16 1
a16 1
	$(CC) -c ${HACKSRC}/getgrent.c
d19 1
a19 1
	$(CC) -c ${HACKSRC}/gethost.c
d22 1
a22 1
	$(CC) -c ${HACKSRC}/getnet.c
d25 1
a25 1
	$(CC) -c ${HACKSRC}/getnetgr.c
d28 1
a28 1
	$(CC) -c ${HACKSRC}/getpwent.c
d31 1
a31 1
	$(CC) -c ${HACKSRC}/setlocale.c
d34 1
a34 1
	$(CC) -c ${HACKSRC}/yplib.c
@


1.3
log
@merge in 1.2 branch
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.2.6.1 1996/09/13 20:01:57 gwr Exp $
d6 1
a6 1
HACKOBJS= gethost.o getpwent.o getgrent.o getnetgr.o \
d12 4
d19 2
a20 5
getpwent.o : ${HACKSRC}/getpwent.c
	$(CC) -c ${HACKSRC}/getpwent.c

getgrent.o : ${HACKSRC}/getgrent.c
	$(CC) -c ${HACKSRC}/getgrent.c
d24 3
@


1.3.2.1
log
@From HEAD:  Add getnet.c
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.4 1997/12/12 03:36:38 gwr Exp $
d6 1
a6 1
HACKOBJS= getgrent.o gethost.o getnet.o getnetgr.o getpwent.o \
d12 5
a20 6
gethost.o : ${HACKSRC}/gethost.c
	$(CC) -c ${HACKSRC}/gethost.c

getnet.o : ${HACKSRC}/getnet.c
	$(CC) -c ${HACKSRC}/getnet.c

a22 3

getpwent.o : ${HACKSRC}/getpwent.c
	$(CC) -c ${HACKSRC}/getpwent.c
@


1.2
log
@Minor cleanup
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.1.1.1 1995/10/08 23:08:48 gwr Exp $
d6 2
a7 1
HACKOBJS= gethost.o getpwent.o getgrent.o getnetgr.o
d23 3
@


1.2.4.1
log
@file Makefile.inc was added on branch netbsd-1-1 on 1995-10-13 18:10:21 +0000
@
text
@d1 25
@


1.2.4.2
log
@Minor cleanup
@
text
@a0 25
# $NetBSD: Makefile.inc,v 1.2 1995/10/13 18:10:20 gwr Exp $
# Include this fragment to build libhack.o
# It is .o and not .a to make sure these are the
# objects you get (and not the ones in libc.a)

HACKOBJS= gethost.o getpwent.o getgrent.o getnetgr.o

libhack.o : $(HACKOBJS)
	$(LD) -r -o $@@ $(HACKOBJS)

gethost.o : ${HACKSRC}/gethost.c
	$(CC) -c ${HACKSRC}/gethost.c

getpwent.o : ${HACKSRC}/getpwent.c
	$(CC) -c ${HACKSRC}/getpwent.c

getgrent.o : ${HACKSRC}/getgrent.c
	$(CC) -c ${HACKSRC}/getgrent.c

getnetgr.o : ${HACKSRC}/getnetgr.c
	$(CC) -c ${HACKSRC}/getnetgr.c

yplib.o : ${HACKSRC}/yplib.c
	$(CC) -c ${HACKSRC}/yplib.c

@


1.2.6.1
log
@Add setlocale.c
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.2 1995/10/13 18:10:20 gwr Exp $
d6 1
a6 2
HACKOBJS= gethost.o getpwent.o getgrent.o getnetgr.o \
	setlocale.o yplib.o
a21 3

setlocale.o : ${HACKSRC}/setlocale.c
	$(CC) -c ${HACKSRC}/setlocale.c
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d22 4
@


1.1.1.1
log
@Add some utilities all ports might use in a ramdisk root.
@
text
@@
