head	1.151;
access;
symbols
	netbsd-11-0-RC3:1.149
	netbsd-11-0-RC2:1.149
	netbsd-11-0-RC1:1.149
	perseant-exfatfs-base-20250801:1.149
	netbsd-11:1.149.0.2
	netbsd-11-base:1.149
	netbsd-10-1-RELEASE:1.146.10.1
	perseant-exfatfs-base-20240630:1.146
	perseant-exfatfs:1.146.0.12
	perseant-exfatfs-base:1.146
	netbsd-8-3-RELEASE:1.143.6.1
	netbsd-9-4-RELEASE:1.146
	netbsd-10-0-RELEASE:1.146
	netbsd-10-0-RC6:1.146
	netbsd-10-0-RC5:1.146
	netbsd-10-0-RC4:1.146
	netbsd-10-0-RC3:1.146
	netbsd-10-0-RC2:1.146
	netbsd-10-0-RC1:1.146
	netbsd-10:1.146.0.10
	netbsd-10-base:1.146
	netbsd-9-3-RELEASE:1.146
	cjep_sun2x-base1:1.146
	cjep_sun2x:1.146.0.8
	cjep_sun2x-base:1.146
	cjep_staticlib_x-base1:1.146
	netbsd-9-2-RELEASE:1.146
	cjep_staticlib_x:1.146.0.6
	cjep_staticlib_x-base:1.146
	netbsd-9-1-RELEASE:1.146
	phil-wifi-20200421:1.146
	phil-wifi-20200411:1.146
	is-mlppp:1.146.0.4
	is-mlppp-base:1.146
	phil-wifi-20200406:1.146
	netbsd-8-2-RELEASE:1.143.6.1
	netbsd-9-0-RELEASE:1.146
	netbsd-9-0-RC2:1.146
	netbsd-9-0-RC1:1.146
	phil-wifi-20191119:1.146
	netbsd-9:1.146.0.2
	netbsd-9-base:1.146
	phil-wifi-20190609:1.146
	netbsd-8-1-RELEASE:1.143.6.1
	netbsd-8-1-RC1:1.143.6.1
	pgoyette-compat-merge-20190127:1.144
	pgoyette-compat-20190127:1.144
	pgoyette-compat-20190118:1.144
	pgoyette-compat-1226:1.144
	pgoyette-compat-1126:1.144
	pgoyette-compat-1020:1.144
	pgoyette-compat-0930:1.144
	pgoyette-compat-0906:1.144
	netbsd-7-2-RELEASE:1.140
	pgoyette-compat-0728:1.144
	netbsd-8-0-RELEASE:1.143.6.1
	phil-wifi:1.144.0.4
	phil-wifi-base:1.144
	pgoyette-compat-0625:1.144
	netbsd-8-0-RC2:1.143.6.1
	pgoyette-compat-0521:1.144
	pgoyette-compat-0502:1.144
	pgoyette-compat-0422:1.144
	netbsd-8-0-RC1:1.143.6.1
	pgoyette-compat-0415:1.144
	pgoyette-compat-0407:1.144
	pgoyette-compat-0330:1.144
	pgoyette-compat-0322:1.144
	pgoyette-compat-0315:1.144
	netbsd-7-1-2-RELEASE:1.140
	pgoyette-compat:1.144.0.2
	pgoyette-compat-base:1.144
	netbsd-7-1-1-RELEASE:1.140
	matt-nb8-mediatek:1.143.0.10
	matt-nb8-mediatek-base:1.143
	perseant-stdc-iso10646:1.143.0.8
	perseant-stdc-iso10646-base:1.143
	netbsd-8:1.143.0.6
	netbsd-8-base:1.143
	prg-localcount2-base3:1.143
	prg-localcount2-base2:1.143
	prg-localcount2-base1:1.143
	prg-localcount2:1.143.0.4
	prg-localcount2-base:1.143
	pgoyette-localcount-20170426:1.143
	bouyer-socketcan-base1:1.143
	pgoyette-localcount-20170320:1.143
	netbsd-7-1:1.140.0.10
	netbsd-7-1-RELEASE:1.140
	netbsd-7-1-RC2:1.140
	netbsd-7-nhusb-base-20170116:1.140
	bouyer-socketcan:1.143.0.2
	bouyer-socketcan-base:1.143
	pgoyette-localcount-20170107:1.143
	netbsd-7-1-RC1:1.140
	pgoyette-localcount-20161104:1.143
	netbsd-7-0-2-RELEASE:1.140
	localcount-20160914:1.141
	netbsd-7-nhusb:1.140.0.8
	netbsd-7-nhusb-base:1.140
	pgoyette-localcount-20160806:1.141
	pgoyette-localcount-20160726:1.141
	pgoyette-localcount:1.141.0.2
	pgoyette-localcount-base:1.141
	netbsd-7-0-1-RELEASE:1.140
	netbsd-7-0:1.140.0.6
	netbsd-7-0-RELEASE:1.140
	netbsd-7-0-RC3:1.140
	netbsd-7-0-RC2:1.140
	netbsd-7-0-RC1:1.140
	netbsd-5-2-3-RELEASE:1.131
	netbsd-5-1-5-RELEASE:1.131
	netbsd-6-0-6-RELEASE:1.139
	netbsd-6-1-5-RELEASE:1.139
	netbsd-7:1.140.0.4
	netbsd-7-base:1.140
	yamt-pagecache-base9:1.140
	yamt-pagecache-tag8:1.136.2.1
	netbsd-6-1-4-RELEASE:1.139
	netbsd-6-0-5-RELEASE:1.139
	tls-earlyentropy:1.140.0.2
	tls-earlyentropy-base:1.140
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.140
	riastradh-drm2-base3:1.140
	netbsd-6-1-3-RELEASE:1.139
	netbsd-6-0-4-RELEASE:1.139
	netbsd-5-2-2-RELEASE:1.131
	netbsd-5-1-4-RELEASE:1.131
	netbsd-6-1-2-RELEASE:1.139
	netbsd-6-0-3-RELEASE:1.139
	netbsd-5-2-1-RELEASE:1.131
	netbsd-5-1-3-RELEASE:1.131
	netbsd-6-1-1-RELEASE:1.139
	riastradh-drm2-base2:1.139
	riastradh-drm2-base1:1.139
	riastradh-drm2:1.139.0.10
	riastradh-drm2-base:1.139
	netbsd-6-1:1.139.0.14
	netbsd-6-0-2-RELEASE:1.139
	netbsd-6-1-RELEASE:1.139
	netbsd-6-1-RC4:1.139
	netbsd-6-1-RC3:1.139
	agc-symver:1.139.0.12
	agc-symver-base:1.139
	netbsd-6-1-RC2:1.139
	netbsd-6-1-RC1:1.139
	yamt-pagecache-base8:1.139
	netbsd-5-2:1.131.0.4
	netbsd-6-0-1-RELEASE:1.139
	yamt-pagecache-base7:1.139
	netbsd-5-2-RELEASE:1.131
	netbsd-5-2-RC1:1.131
	matt-nb6-plus-nbase:1.139
	yamt-pagecache-base6:1.139
	netbsd-6-0:1.139.0.8
	netbsd-6-0-RELEASE:1.139
	netbsd-6-0-RC2:1.139
	tls-maxphys:1.139.0.6
	tls-maxphys-base:1.140
	matt-nb6-plus:1.139.0.4
	matt-nb6-plus-base:1.139
	netbsd-6-0-RC1:1.139
	yamt-pagecache-base5:1.139
	yamt-pagecache-base4:1.139
	netbsd-6:1.139.0.2
	netbsd-6-base:1.139
	netbsd-5-1-2-RELEASE:1.131
	netbsd-5-1-1-RELEASE:1.131
	yamt-pagecache-base3:1.136
	yamt-pagecache-base2:1.136
	yamt-pagecache:1.136.0.2
	yamt-pagecache-base:1.136
	cherry-xenmp:1.134.0.2
	cherry-xenmp-base:1.134
	uebayasi-xip-base7:1.133
	bouyer-quota2-nbase:1.133
	bouyer-quota2:1.133.0.2
	bouyer-quota2-base:1.133
	matt-mips64-premerge-20101231:1.133
	matt-nb5-mips64-premerge-20101231:1.131
	matt-nb5-pq3:1.131.0.20
	matt-nb5-pq3-base:1.131
	netbsd-5-1:1.131.0.18
	uebayasi-xip-base6:1.133
	uebayasi-xip-base5:1.133
	netbsd-5-1-RELEASE:1.131
	uebayasi-xip-base4:1.133
	uebayasi-xip-base3:1.133
	netbsd-5-1-RC4:1.131
	matt-nb5-mips64-k15:1.131
	uebayasi-xip-base2:1.133
	netbsd-5-1-RC3:1.131
	netbsd-5-1-RC2:1.131
	uebayasi-xip-base1:1.132
	netbsd-5-1-RC1:1.131
	uebayasi-xip:1.131.0.16
	uebayasi-xip-base:1.131
	netbsd-5-0-2-RELEASE:1.131
	matt-nb5-mips64-premerge-20091211:1.131
	matt-premerge-20091211:1.131
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.131
	matt-nb4-mips64-k7-u2a-k9b:1.131
	matt-nb5-mips64-u1-k1-k5:1.131
	matt-nb5-mips64:1.131.0.14
	netbsd-5-0-1-RELEASE:1.131
	jym-xensuspend-nbase:1.131
	netbsd-5-0:1.131.0.12
	netbsd-5-0-RELEASE:1.131
	netbsd-5-0-RC4:1.131
	netbsd-5-0-RC3:1.131
	netbsd-5-0-RC2:1.131
	jym-xensuspend:1.131.0.10
	jym-xensuspend-base:1.131
	netbsd-5-0-RC1:1.131
	christos-time_t-nbase:1.131
	christos-time_t:1.131.0.8
	christos-time_t-base:1.131
	netbsd-5:1.131.0.6
	netbsd-5-base:1.131
	matt-mips64-base2:1.131
	matt-mips64:1.128.0.4
	netbsd-4-0-1-RELEASE:1.125.2.1
	wrstuden-revivesa-base-3:1.131
	wrstuden-revivesa-base-2:1.131
	wrstuden-fixsa-newbase:1.125.2.1
	wrstuden-revivesa-base-1:1.131
	simonb-wapbl-nbase:1.131
	yamt-pf42-base4:1.131
	simonb-wapbl:1.131.0.2
	simonb-wapbl-base:1.131
	yamt-pf42-base3:1.131
	hpcarm-cleanup-nbase:1.130
	yamt-pf42-baseX:1.130
	yamt-pf42-base2:1.130
	wrstuden-revivesa:1.130.0.8
	wrstuden-revivesa-base:1.131
	yamt-pf42:1.130.0.6
	yamt-pf42-base:1.130
	keiichi-mipv6:1.130.0.4
	keiichi-mipv6-base:1.130
	matt-armv6-nbase:1.130
	matt-armv6-prevmlocking:1.129.2.1
	wrstuden-fixsa-base-1:1.125.2.1
	netbsd-4-0:1.125.2.1.0.2
	netbsd-4-0-RELEASE:1.125.2.1
	cube-autoconf:1.130.0.2
	cube-autoconf-base:1.130
	netbsd-4-0-RC5:1.125.2.1
	netbsd-4-0-RC4:1.125.2.1
	netbsd-4-0-RC3:1.125.2.1
	netbsd-4-0-RC2:1.125.2.1
	netbsd-4-0-RC1:1.125.2.1
	matt-armv6:1.129.0.2
	matt-armv6-base:1.130
	matt-mips64-base:1.128
	hpcarm-cleanup:1.128.0.2
	hpcarm-cleanup-base:1.130
	netbsd-3-1-1-RELEASE:1.119
	netbsd-3-0-3-RELEASE:1.119
	wrstuden-fixsa:1.125.0.4
	wrstuden-fixsa-base:1.125.2.1
	abandoned-netbsd-4-base:1.124
	abandoned-netbsd-4:1.124.0.2
	netbsd-3-1:1.119.0.6
	netbsd-3-1-RELEASE:1.119
	netbsd-3-0-2-RELEASE:1.119
	netbsd-3-1-RC4:1.119
	netbsd-3-1-RC3:1.119
	netbsd-3-1-RC2:1.119
	netbsd-3-1-RC1:1.119
	netbsd-4:1.125.0.2
	netbsd-4-base:1.125
	netbsd-3-0-1-RELEASE:1.119
	netbsd-3-0:1.119.0.4
	netbsd-3-0-RELEASE:1.119
	netbsd-3-0-RC6:1.119
	netbsd-3-0-RC5:1.119
	netbsd-3-0-RC4:1.119
	netbsd-3-0-RC3:1.119
	netbsd-3-0-RC2:1.119
	netbsd-3-0-RC1:1.119
	netbsd-2-0-3-RELEASE:1.115
	netbsd-2-1:1.115.0.6
	netbsd-2-1-RELEASE:1.115
	netbsd-2-1-RC6:1.115
	netbsd-2-1-RC5:1.115
	netbsd-2-1-RC4:1.115
	netbsd-2-1-RC3:1.115
	netbsd-2-1-RC2:1.115
	netbsd-2-1-RC1:1.115
	netbsd-2-0-2-RELEASE:1.115
	netbsd-3:1.119.0.2
	netbsd-3-base:1.119
	netbsd-2-0-1-RELEASE:1.115
	netbsd-2:1.115.0.4
	netbsd-2-base:1.115
	netbsd-2-0-RELEASE:1.115
	netbsd-2-0-RC5:1.115
	netbsd-2-0-RC4:1.115
	netbsd-2-0-RC3:1.115
	netbsd-2-0-RC2:1.115
	netbsd-2-0-RC1:1.115
	netbsd-2-0:1.115.0.2
	netbsd-2-0-base:1.115
	netbsd-1-6-PATCH002-RELEASE:1.104
	netbsd-1-6-PATCH002:1.104
	netbsd-1-6-PATCH002-RC4:1.104
	netbsd-1-6-PATCH002-RC3:1.104
	netbsd-1-6-PATCH002-RC2:1.104
	netbsd-1-6-PATCH002-RC1:1.104
	netbsd-1-6-PATCH001:1.104
	netbsd-1-6-PATCH001-RELEASE:1.104
	netbsd-1-6-PATCH001-RC3:1.104
	netbsd-1-6-PATCH001-RC2:1.104
	netbsd-1-6-PATCH001-RC1:1.104
	nathanw_sa_before_merge:1.105
	nathanw_sa_end:1.95.2.12
	fvdl_fs64_base:1.105
	nathanw_sa_base:1.105
	netbsd-1-6-RELEASE:1.104
	netbsd-1-6-RC3:1.104
	netbsd-1-6-RC2:1.104
	netbsd-1-6-RC1:1.104
	netbsd-1-6:1.104.0.2
	netbsd-1-6-base:1.104
	netbsd-1-5-PATCH003:1.91
	netbsd-1-5-PATCH002:1.91
	netbsd-1-5-PATCH001:1.91
	nathanw_sa:1.95.0.2
	netbsd-1-5-RELEASE:1.91
	netbsd-1-5-BETA2:1.91
	netbsd-1-5-BETA:1.91
	netbsd-1-4-PATCH003:1.75
	netbsd-1-5-ALPHA2:1.91
	netbsd-1-5:1.91.0.2
	netbsd-1-5-base:1.91
	minoura-xpg4dl:1.85.0.2
	minoura-xpg4dl-base:1.85
	netbsd-1-4-PATCH002:1.75
	wrstuden-devbsize-19991221:1.79
	wrstuden-devbsize:1.79.0.4
	wrstuden-devbsize-base:1.79
	comdex-fall-1999:1.79.0.2
	comdex-fall-1999-base:1.79
	netbsd-1-4-PATCH001:1.75
	netbsd-1-4-RELEASE:1.75
	netbsd-1-4:1.75.0.2
	netbsd-1-4-base:1.75
	netbsd-1-3-PATCH003:1.69
	netbsd-1-3-PATCH003-CANDIDATE2:1.69
	netbsd-1-3-PATCH003-CANDIDATE1:1.69
	netbsd-1-3-PATCH003-CANDIDATE0:1.69
	netbsd-1-3-PATCH002:1.69
	netbsd-1-3-PATCH001:1.69
	lite-2:1.1.1.2
	CSRG:1.1.1
	netbsd-1-3-RELEASE:1.69
	netbsd-1-3-BETA:1.69
	netbsd-1-3:1.69.0.4
	netbsd-1-3-base:1.69
	lukem-nsswitch2:1.69.0.2
	netbsd-1-2-PATCH001:1.59
	nsswitch:1.63.0.2
	netbsd-1-2-RELEASE:1.59
	netbsd-1-2-BETA:1.59
	netbsd-1-2-base:1.59
	netbsd-1-2:1.59.0.4
	netbsd-1-1-PATCH001:1.55
	netbsd-1-1-RELEASE:1.55
	netbsd-1-1:1.55.0.2
	netbsd-1-1-base:1.55
	netbsd-1-0-PATCH06:1.46
	netbsd-1-0-PATCH05:1.46
	netbsd-1-0-PATCH04:1.46
	netbsd-1-0-PATCH03:1.46
	netbsd-1-0-PATCH02:1.46
	netbsd-1-0-PATCH1:1.46
	netbsd-1-0-PATCH0:1.46
	netbsd-1-0-RELEASE:1.46
	netbsd-1-0:1.46.0.2
	netbsd-1-0-base:1.43
	netbsd-0-9-RELEASE:1.20
	netbsd-0-9-BETA:1.20
	netbsd-0-9-ALPHA2:1.20
	netbsd-0-9-ALPHA:1.20
	netbsd-0-9:1.20.0.2
	netbsd-0-9-base:1.20
	netbsd-0-8:1.9
	netbsd-alpha-1:1.9
	patchkit-0-2-2:1.1.1.1
	WFJ-386bsd-01:1.1.1.1
	WFJ-920714:1.1.1;
locks; strict;
comment	@# @;


1.151
date	2025.12.11.21.03.28;	author jkoshy;	state Exp;
branches;
next	1.150;
commitid	8F5d7WBS4kYTb2mG;

1.150
date	2025.11.13.18.49.18;	author nia;	state Exp;
branches;
next	1.149;
commitid	NDpqFGyA8arUjqiG;

1.149
date	2024.10.08.22.53.20;	author christos;	state Exp;
branches;
next	1.148;
commitid	3almUCUypCeIAUsF;

1.148
date	2024.08.25.22.10.40;	author christos;	state Exp;
branches;
next	1.147;
commitid	ikTu5gjOTcg0MfnF;

1.147
date	2024.08.15.13.14.44;	author riastradh;	state Exp;
branches;
next	1.146;
commitid	Y0JhuicbURpd8VlF;

1.146
date	2019.06.04.15.07.55;	author hannken;	state Exp;
branches
	1.146.10.1
	1.146.12.1;
next	1.145;
commitid	btUZeAkzm4bmNSpB;

1.145
date	2019.04.24.10.26.08;	author roy;	state Exp;
branches;
next	1.144;
commitid	gvWG2rAsXUdsyAkB;

1.144
date	2017.10.16.11.38.25;	author maya;	state Exp;
branches
	1.144.4.1;
next	1.143;
commitid	iEosEafyloiZMgbA;

1.143
date	2016.10.02.17.19.00;	author kamil;	state Exp;
branches
	1.143.6.1;
next	1.142;
commitid	GLapB7mo2yB2FAoz;

1.142
date	2016.10.02.13.09.24;	author kamil;	state Exp;
branches;
next	1.141;
commitid	hcULGiqHedcunzoz;

1.141
date	2015.07.29.00.10.26;	author christos;	state Exp;
branches
	1.141.2.1;
next	1.140;
commitid	aFq1gP7einTe17vy;

1.140
date	2013.12.11.01.24.08;	author joerg;	state Exp;
branches;
next	1.139;
commitid	qPaI5q9UcXulyEgx;

1.139
date	2012.02.11.23.31.24;	author martin;	state Exp;
branches
	1.139.6.1;
next	1.138;

1.138
date	2012.02.05.14.19.02;	author dholland;	state Exp;
branches;
next	1.137;

1.137
date	2012.01.09.15.19.45;	author dholland;	state Exp;
branches;
next	1.136;

1.136
date	2011.08.26.21.22.10;	author dyoung;	state Exp;
branches
	1.136.2.1;
next	1.135;

1.135
date	2011.07.17.20.54.34;	author joerg;	state Exp;
branches;
next	1.134;

1.134
date	2011.03.24.17.05.42;	author bouyer;	state Exp;
branches;
next	1.133;

1.133
date	2010.07.31.21.47.53;	author joerg;	state Exp;
branches;
next	1.132;

1.132
date	2010.04.25.00.54.45;	author joerg;	state Exp;
branches;
next	1.131;

1.131
date	2008.05.28.12.28.12;	author ad;	state Exp;
branches
	1.131.8.1
	1.131.16.1;
next	1.130;

1.130
date	2007.09.07.18.56.04;	author rmind;	state Exp;
branches
	1.130.6.1
	1.130.8.1;
next	1.129;

1.129
date	2007.08.20.16.01.29;	author drochner;	state Exp;
branches
	1.129.2.1;
next	1.128;

1.128
date	2007.05.30.01.13.21;	author tls;	state Exp;
branches;
next	1.127;

1.127
date	2007.04.30.14.44.29;	author rmind;	state Exp;
branches;
next	1.126;

1.126
date	2007.02.09.22.13.31;	author ad;	state Exp;
branches;
next	1.125;

1.125
date	2006.10.30.20.22.54;	author christos;	state Exp;
branches
	1.125.2.1
	1.125.4.1;
next	1.124;

1.124
date	2006.06.02.22.16.18;	author mrg;	state Exp;
branches;
next	1.123;

1.123
date	2006.04.27.23.42.08;	author thorpej;	state Exp;
branches;
next	1.122;

1.122
date	2006.04.07.19.38.58;	author mrg;	state Exp;
branches;
next	1.121;

1.121
date	2005.12.30.23.07.33;	author agc;	state Exp;
branches;
next	1.120;

1.120
date	2005.04.03.20.09.29;	author christos;	state Exp;
branches;
next	1.119;

1.119
date	2004.12.14.00.23.20;	author nathanw;	state Exp;
branches;
next	1.118;

1.118
date	2004.09.13.21.44.54;	author thorpej;	state Exp;
branches;
next	1.117;

1.117
date	2004.07.13.15.42.03;	author seb;	state Exp;
branches;
next	1.116;

1.116
date	2004.05.21.02.27.35;	author christos;	state Exp;
branches;
next	1.115;

1.115
date	2003.10.14.12.46.44;	author tron;	state Exp;
branches;
next	1.114;

1.114
date	2003.10.01.01.35.39;	author christos;	state Exp;
branches;
next	1.113;

1.113
date	2003.09.09.22.10.33;	author itojun;	state Exp;
branches;
next	1.112;

1.112
date	2003.08.27.16.03.18;	author mrg;	state Exp;
branches;
next	1.111;

1.111
date	2003.07.26.15.27.13;	author mrg;	state Exp;
branches;
next	1.110;

1.110
date	2003.06.27.05.21.56;	author tshiozak;	state Exp;
branches;
next	1.109;

1.109
date	2003.03.22.12.45.51;	author jdolecek;	state Exp;
branches;
next	1.108;

1.108
date	2003.01.20.20.09.50;	author christos;	state Exp;
branches;
next	1.107;

1.107
date	2003.01.19.19.24.39;	author thorpej;	state Exp;
branches;
next	1.106;

1.106
date	2003.01.18.10.32.11;	author thorpej;	state Exp;
branches;
next	1.105;

1.105
date	2002.09.18.06.17.38;	author lukem;	state Exp;
branches;
next	1.104;

1.104
date	2002.03.31.14.12.37;	author bjh21;	state Exp;
branches;
next	1.103;

1.103
date	2002.03.22.18.10.20;	author thorpej;	state Exp;
branches;
next	1.102;

1.102
date	2002.02.22.20.09.01;	author christos;	state Exp;
branches;
next	1.101;

1.101
date	2002.02.04.08.51.26;	author thorpej;	state Exp;
branches;
next	1.100;

1.100
date	2002.02.02.17.31.52;	author thorpej;	state Exp;
branches;
next	1.99;

1.99
date	2001.12.12.00.07.50;	author tv;	state Exp;
branches;
next	1.98;

1.98
date	2001.07.17.03.04.16;	author thorpej;	state Exp;
branches;
next	1.97;

1.97
date	2001.04.28.15.41.28;	author kleink;	state Exp;
branches;
next	1.96;

1.96
date	2001.03.19.04.13.16;	author atatat;	state Exp;
branches;
next	1.95;

1.95
date	2001.02.17.12.29.45;	author ragge;	state Exp;
branches
	1.95.2.1;
next	1.94;

1.94
date	2000.12.21.05.40.56;	author itojun;	state Exp;
branches;
next	1.93;

1.93
date	2000.12.11.21.05.15;	author itojun;	state Exp;
branches;
next	1.92;

1.92
date	2000.07.05.11.44.01;	author ad;	state Exp;
branches;
next	1.91;

1.91
date	2000.06.20.06.00.32;	author thorpej;	state Exp;
branches
	1.91.2.1;
next	1.90;

1.90
date	2000.06.03.11.23.54;	author fvdl;	state Exp;
branches;
next	1.89;

1.89
date	2000.06.03.10.17.59;	author fvdl;	state Exp;
branches;
next	1.88;

1.88
date	2000.06.03.02.29.22;	author fvdl;	state Exp;
branches;
next	1.87;

1.87
date	2000.06.02.23.01.57;	author fvdl;	state Exp;
branches;
next	1.86;

1.86
date	2000.06.02.22.57.54;	author fvdl;	state Exp;
branches;
next	1.85;

1.85
date	2000.04.20.09.56.36;	author kleink;	state Exp;
branches
	1.85.2.1;
next	1.84;

1.84
date	2000.04.01.22.37.14;	author christos;	state Exp;
branches;
next	1.83;

1.83
date	2000.02.23.06.57.47;	author itojun;	state Exp;
branches;
next	1.82;

1.82
date	2000.01.12.05.02.11;	author mjl;	state Exp;
branches;
next	1.81;

1.81
date	2000.01.10.16.58.37;	author kleink;	state Exp;
branches;
next	1.80;

1.80
date	99.12.22.21.26.16;	author kleink;	state Exp;
branches;
next	1.79;

1.79
date	99.09.13.18.38.04;	author kleink;	state Exp;
branches;
next	1.78;

1.78
date	99.09.12.19.04.30;	author kleink;	state Exp;
branches;
next	1.77;

1.77
date	99.07.20.09.47.08;	author mrg;	state Exp;
branches;
next	1.76;

1.76
date	99.07.12.22.04.58;	author thorpej;	state Exp;
branches;
next	1.75;

1.75
date	99.03.19.22.06.36;	author thorpej;	state Exp;
branches;
next	1.74;

1.74
date	99.02.13.02.54.29;	author lukem;	state Exp;
branches;
next	1.73;

1.73
date	99.01.15.12.29.16;	author lukem;	state Exp;
branches;
next	1.72;

1.72
date	99.01.12.03.08.14;	author kleink;	state Exp;
branches;
next	1.71;

1.71
date	98.02.02.21.07.13;	author perry;	state Exp;
branches;
next	1.70;

1.70
date	97.11.02.16.34.21;	author kleink;	state Exp;
branches;
next	1.69;

1.69
date	97.04.30.00.45.41;	author thorpej;	state Exp;
branches
	1.69.2.1;
next	1.68;

1.68
date	97.03.27.09.29.29;	author mycroft;	state Exp;
branches;
next	1.67;

1.67
date	97.01.30.01.05.58;	author thorpej;	state Exp;
branches;
next	1.66;

1.66
date	97.01.17.06.11.35;	author lukem;	state Exp;
branches;
next	1.65;

1.65
date	96.12.27.10.44.21;	author pk;	state Exp;
branches;
next	1.64;

1.64
date	96.12.18.22.18.39;	author cgd;	state Exp;
branches;
next	1.63;

1.63
date	96.10.18.03.09.12;	author thorpej;	state Exp;
branches
	1.63.2.1;
next	1.62;

1.62
date	96.09.29.23.29.16;	author mrg;	state Exp;
branches;
next	1.61;

1.61
date	96.09.07.17.47.50;	author mycroft;	state Exp;
branches;
next	1.60;

1.60
date	96.08.09.04.01.48;	author jtc;	state Exp;
branches;
next	1.59;

1.59
date	96.05.15.21.36.43;	author jtc;	state Exp;
branches;
next	1.58;

1.58
date	96.05.10.04.51.34;	author cgd;	state Exp;
branches;
next	1.57;

1.57
date	96.04.25.00.55.44;	author jtc;	state Exp;
branches;
next	1.56;

1.56
date	96.02.05.22.34.09;	author jtc;	state Exp;
branches;
next	1.55;

1.55
date	95.06.05.00.24.55;	author pk;	state Exp;
branches;
next	1.54;

1.54
date	95.04.16.19.03.55;	author mycroft;	state Exp;
branches;
next	1.53;

1.53
date	95.04.07.00.59.09;	author jtc;	state Exp;
branches;
next	1.52;

1.52
date	95.02.17.09.08.08;	author jtc;	state Exp;
branches;
next	1.51;

1.51
date	95.01.15.21.58.40;	author jtc;	state Exp;
branches;
next	1.50;

1.50
date	95.01.12.19.18.41;	author jtc;	state Exp;
branches;
next	1.49;

1.49
date	94.12.03.00.00.57;	author christos;	state Exp;
branches;
next	1.48;

1.48
date	94.10.26.00.55.40;	author cgd;	state Exp;
branches;
next	1.47;

1.47
date	94.10.15.04.57.10;	author cgd;	state Exp;
branches;
next	1.46;

1.46
date	94.08.29.04.59.48;	author mycroft;	state Exp;
branches
	1.46.2.1;
next	1.45;

1.45
date	94.07.21.07.33.11;	author cgd;	state Exp;
branches;
next	1.44;

1.44
date	94.07.08.06.17.23;	author jtc;	state Exp;
branches;
next	1.43;

1.43
date	94.06.22.15.09.35;	author mycroft;	state Exp;
branches
	1.43.2.1;
next	1.42;

1.42
date	94.06.22.00.21.37;	author cgd;	state Exp;
branches;
next	1.41;

1.41
date	94.06.21.04.06.33;	author jtc;	state Exp;
branches;
next	1.40;

1.40
date	94.06.12.22.49.59;	author cgd;	state Exp;
branches;
next	1.39;

1.39
date	94.05.29.21.47.12;	author jtc;	state Exp;
branches;
next	1.38;

1.38
date	94.05.16.22.43.42;	author cgd;	state Exp;
branches;
next	1.37;

1.37
date	94.05.16.10.58.53;	author cgd;	state Exp;
branches;
next	1.36;

1.36
date	94.05.11.03.37.39;	author cgd;	state Exp;
branches;
next	1.35;

1.35
date	94.03.31.04.06.01;	author cgd;	state Exp;
branches;
next	1.34;

1.34
date	94.02.10.03.31.19;	author cgd;	state Exp;
branches;
next	1.33;

1.33
date	94.02.10.02.09.31;	author cgd;	state Exp;
branches;
next	1.32;

1.32
date	94.01.12.22.56.29;	author cgd;	state Exp;
branches;
next	1.31;

1.31
date	94.01.08.12.22.47;	author cgd;	state Exp;
branches;
next	1.30;

1.30
date	93.12.22.06.44.10;	author cgd;	state Exp;
branches;
next	1.29;

1.29
date	93.11.12.18.27.21;	author jtc;	state Exp;
branches;
next	1.28;

1.28
date	93.10.21.20.53.13;	author jtc;	state Exp;
branches;
next	1.27;

1.27
date	93.10.17.00.51.30;	author pk;	state Exp;
branches;
next	1.26;

1.26
date	93.10.09.23.28.14;	author cgd;	state Exp;
branches;
next	1.25;

1.25
date	93.10.08.05.48.05;	author cgd;	state Exp;
branches;
next	1.24;

1.24
date	93.10.01.00.22.00;	author jtc;	state Exp;
branches;
next	1.23;

1.23
date	93.08.16.00.26.07;	author mycroft;	state Exp;
branches;
next	1.22;

1.22
date	93.08.15.23.31.16;	author mycroft;	state Exp;
branches;
next	1.21;

1.21
date	93.08.01.05.41.49;	author mycroft;	state Exp;
branches;
next	1.20;

1.20
date	93.07.10.03.56.10;	author brezak;	state Exp;
branches;
next	1.19;

1.19
date	93.06.16.17.53.55;	author mycroft;	state Exp;
branches;
next	1.18;

1.18
date	93.06.07.04.28.27;	author deraadt;	state Exp;
branches;
next	1.17;

1.17
date	93.05.26.06.11.22;	author deraadt;	state Exp;
branches;
next	1.16;

1.16
date	93.05.18.09.58.39;	author cgd;	state Exp;
branches;
next	1.15;

1.15
date	93.05.06.13.28.41;	author proven;	state Exp;
branches;
next	1.14;

1.14
date	93.05.06.02.22.41;	author proven;	state Exp;
branches;
next	1.13;

1.13
date	93.05.05.18.45.25;	author proven;	state Exp;
branches;
next	1.12;

1.12
date	93.05.01.15.18.25;	author mycroft;	state Exp;
branches;
next	1.11;

1.11
date	93.04.28.05.14.02;	author cgd;	state Exp;
branches;
next	1.10;

1.10
date	93.04.26.02.10.42;	author mycroft;	state Exp;
branches;
next	1.9;

1.9
date	93.04.09.12.02.53;	author cgd;	state Exp;
branches;
next	1.8;

1.8
date	93.04.09.09.39.08;	author cgd;	state Exp;
branches;
next	1.7;

1.7
date	93.04.04.19.17.10;	author cgd;	state Exp;
branches;
next	1.6;

1.6
date	93.04.04.18.59.30;	author cgd;	state Exp;
branches;
next	1.5;

1.5
date	93.03.31.23.53.28;	author cgd;	state Exp;
branches;
next	1.4;

1.4
date	93.03.23.16.36.35;	author cgd;	state Exp;
branches;
next	1.3;

1.3
date	93.03.22.23.02.52;	author cgd;	state Exp;
branches;
next	1.2;

1.2
date	93.03.22.08.07.15;	author cgd;	state Exp;
branches;
next	1.1;

1.1
date	93.03.21.09.45.37;	author cgd;	state Exp;
branches
	1.1.1.1;
next	;

1.146.10.1
date	2024.10.14.17.20.21;	author martin;	state Exp;
branches;
next	;
commitid	LPkLu6qLJTeWyEtF;

1.146.12.1
date	2025.08.02.05.54.27;	author perseant;	state Exp;
branches;
next	;
commitid	23j6GFaDws3O875G;

1.144.4.1
date	2019.06.10.22.05.12;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.143.6.1
date	2017.12.04.19.48.55;	author snj;	state Exp;
branches;
next	;
commitid	8hagRtxRAPW2WBhA;

1.141.2.1
date	2016.11.04.14.48.51;	author pgoyette;	state Exp;
branches;
next	;
commitid	2m1JRwYmpwPkOOsz;

1.139.6.1
date	2014.08.20.00.02.05;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.136.2.1
date	2012.04.17.00.05.10;	author yamt;	state Exp;
branches;
next	1.136.2.2;

1.136.2.2
date	2014.05.22.11.36.35;	author yamt;	state Exp;
branches;
next	;
commitid	OndjEcbQZzO4KwBx;

1.131.8.1
date	2008.05.28.12.28.12;	author ad;	state dead;
branches;
next	1.131.8.2;

1.131.8.2
date	2008.05.28.12.28.13;	author ad;	state Exp;
branches;
next	;

1.131.16.1
date	2010.04.30.14.36.17;	author uebayasi;	state Exp;
branches;
next	1.131.16.2;

1.131.16.2
date	2010.08.17.06.40.00;	author uebayasi;	state Exp;
branches;
next	;

1.130.6.1
date	2008.06.04.02.04.33;	author yamt;	state Exp;
branches;
next	;

1.130.8.1
date	2008.06.23.04.29.29;	author wrstuden;	state Exp;
branches;
next	;

1.129.2.1
date	2007.11.06.23.11.03;	author matt;	state Exp;
branches;
next	;

1.125.2.1
date	2007.07.22.18.44.37;	author liamjfoy;	state Exp;
branches;
next	;

1.125.4.1
date	2007.09.03.07.01.08;	author wrstuden;	state Exp;
branches;
next	;

1.95.2.1
date	2001.03.05.23.33.26;	author nathanw;	state Exp;
branches;
next	1.95.2.2;

1.95.2.2
date	2001.04.08.20.31.41;	author nathanw;	state Exp;
branches;
next	1.95.2.3;

1.95.2.3
date	2001.10.08.20.13.44;	author nathanw;	state Exp;
branches;
next	1.95.2.4;

1.95.2.4
date	2002.01.14.21.37.09;	author nathanw;	state Exp;
branches;
next	1.95.2.5;

1.95.2.5
date	2002.01.28.21.27.18;	author nathanw;	state Exp;
branches;
next	1.95.2.6;

1.95.2.6
date	2002.02.23.23.03.25;	author gmcgarry;	state Exp;
branches;
next	1.95.2.7;

1.95.2.7
date	2002.02.23.23.41.40;	author gmcgarry;	state Exp;
branches;
next	1.95.2.8;

1.95.2.8
date	2002.03.11.21.07.49;	author nathanw;	state Exp;
branches;
next	1.95.2.9;

1.95.2.9
date	2002.03.12.21.22.33;	author nathanw;	state Exp;
branches;
next	1.95.2.10;

1.95.2.10
date	2002.03.22.21.10.10;	author nathanw;	state Exp;
branches;
next	1.95.2.11;

1.95.2.11
date	2002.04.25.04.07.10;	author nathanw;	state Exp;
branches;
next	1.95.2.12;

1.95.2.12
date	2002.09.20.22.01.49;	author thorpej;	state Exp;
branches;
next	;

1.91.2.1
date	2000.06.20.06.00.32;	author thorpej;	state dead;
branches;
next	1.91.2.2;

1.91.2.2
date	2000.06.20.06.00.33;	author thorpej;	state Exp;
branches;
next	;

1.85.2.1
date	2000.05.28.22.41.01;	author minoura;	state Exp;
branches;
next	1.85.2.2;

1.85.2.2
date	2000.06.23.16.58.47;	author minoura;	state Exp;
branches;
next	;

1.69.2.1
date	97.05.23.19.58.25;	author lukem;	state Exp;
branches;
next	1.69.2.2;

1.69.2.2
date	98.10.31.12.36.34;	author lukem;	state Exp;
branches;
next	;

1.63.2.1
date	96.11.06.00.14.08;	author lukem;	state Exp;
branches;
next	;

1.46.2.1
date	94.08.29.04.59.48;	author mycroft;	state dead;
branches;
next	1.46.2.2;

1.46.2.2
date	94.08.29.04.59.49;	author mycroft;	state Exp;
branches;
next	;

1.43.2.1
date	94.07.21.07.44.23;	author cgd;	state Exp;
branches;
next	;

1.1.1.1
date	93.03.21.09.45.37;	author cgd;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	98.02.02.07.22.51;	author perry;	state Exp;
branches;
next	;


desc
@@


1.151
log
@Implement an up to date and cross-platform <elf.h> for userland use.

With this change:

- Elftoolchain's <sys/elfdefinitions.h> is used for the definitions
  that make up the ELF gABI and its processor-specific ABI
  supplements.

- Existing NetBSD-local definitions are brought in via
  the kernel header <sys/exec_elf.h>, for continuity.

This changeset prepares the ground for migrating userland-only
definitions out of the kernel header, for better separation
of concerns.

This changeset also eases the development of cross-architecture
ELF tools since <elf.h> now offers ELF-related constants for all
of the architectures that NetBSD currently supports.

PR lib/59564
@
text
@#	$NetBSD: Makefile,v 1.150 2025/11/13 18:49:18 nia Exp $
#	@@(#)Makefile	8.2 (Berkeley) 1/4/94

# Doing a make includes builds /usr/include

NOOBJ=		# defined

# Missing: mp.h

INCS=	a.out.h aio.h ar.h assert.h atomic.h \
	bitstring.h bm.h cdbw.h complex.h cpio.h ctype.h db.h dirent.h \
	disktab.h dlfcn.h elf.h endian.h err.h errno.h fenv.h fmtmsg.h \
	fnmatch.h fstab.h fts.h ftw.h getopt.h glob.h grp.h ifaddrs.h iconv.h \
	inttypes.h iso646.h kvm.h langinfo.h libgen.h \
	limits.h link.h link_aout.h link_elf.h locale.h \
	login_cap.h lwp.h malloc.h math.h md2.h \
	memory.h mntopts.h monetary.h mpool.h mqueue.h \
	ndbm.h netconfig.h netdb.h netgroup.h nlist.h nl_types.h nsswitch.h \
	paths.h pwd.h quota.h randomid.h ranlib.h re_comp.h regex.h regexp.h \
	resolv.h res_update.h rmt.h sched.h search.h semaphore.h setjmp.h \
	string.h sgtty.h signal.h spawn.h stab.h stdio.h \
	stdlib.h stdnoreturn.h strings.h stringlist.h struct.h sysexits.h \
	tar.h time.h ttyent.h tzfile.h \
	uchar.h \
	ucontext.h ulimit.h unistd.h util.h utime.h utmp.h utmpx.h uuid.h \
	vis.h wchar.h wctype.h wordexp.h
INCS+=	arpa/ftp.h arpa/inet.h arpa/nameser.h arpa/nameser_compat.h \
	arpa/telnet.h arpa/tftp.h
INCS+=	protocols/dumprestore.h protocols/routed.h protocols/rwhod.h \
	protocols/talkd.h protocols/timed.h

INCS+=	hesiod.h

.include <bsd.own.mk>

.if (${MKYP} != "no")
INCS+=	rpcsvc/yp_prot.h rpcsvc/ypclnt.h
.endif

INCS+=  ssp/ssp.h ssp/stdio.h ssp/string.h ssp/strings.h ssp/unistd.h

.if (${MACHINE_ARCH} == "sparc64")
INCS+=	vis_proto.h vis_types.h
.endif

.if (${MACHINE_ARCH} != "vax")
INCS+=	ieeefp.h
.endif

INCSDIR=	/usr/include

SUBDIR=		rpc
SUBDIR+=	../common/include/prop
SUBDIR+=	../common/include/ppath
SUBDIR+=	../common/include/rpc

.include <bsd.prog.mk>
.include <bsd.subdir.mk>
@


1.150
log
@Add an implementation of the VIS C API for sparc64.

VIS is an extension of the SPARCv9 instruction set that adds packed
integer vector instructions that operate on 64-bit floating point
registers. It is primarily intended for accelerating common 2D
graphics and multimedia operations.

While GCC includes limited support for VIS via builtins, the builtins
are incomplete and incompatible with the C API described in
"VIS(tm) Instruction Set User's Manual" published by Sun Microsystems
in May 2001. This implementation intends to be 100% compatible with
the one described in the manual.

All sparc64 processors except the HAL SPARC64 (apparently not supported
by NetBSD) support the VIS instruction set. The paper documents
functions up to VIS 2. Post-Oracle CPUs support VIS 3 and VIS 4, but
I don't have access to C API documentation for those (presumably
the code is proprietary to SunPro on Solaris 11), and we can worry
about that when sun4v support is more mature.

The implementation includes some basic tests for packed arithmetic.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.149 2024/10/08 22:53:20 christos Exp $
d12 2
a13 2
	disktab.h dlfcn.h endian.h err.h errno.h fenv.h fmtmsg.h fnmatch.h \
	fstab.h fts.h ftw.h getopt.h glob.h grp.h ifaddrs.h iconv.h \
@


1.149
log
@PR/58729: Taylor R Campbell: container_of is not documented or available
in userland
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.148 2024/08/25 22:10:40 christos Exp $
d42 4
@


1.148
log
@PR/58640: Riastradh: Provide sys/stdalign.h
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.147 2024/08/15 13:14:44 riastradh Exp $
d21 1
a21 1
	string.h sgtty.h signal.h spawn.h stab.h stddef.h stdio.h \
@


1.147
log
@uchar.h: New header file for C11 (and C++11) compliance.

Implementation of the new functions mbrtoc16, c16rtomb, mbrtoc32, and
c32rtomb to come later.  Updates for C23 to come later.

PR lib/52374: <uchar.h> missing
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.146 2019/06/04 15:07:55 hannken Exp $
d21 1
a21 1
	string.h sgtty.h signal.h spawn.h stab.h stdalign.h stddef.h stdio.h \
@


1.146
log
@Move the basic part of XDR to common/include/rpc and common/lib/libc/rpc.

No functional change intended.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.145 2019/04/24 10:26:08 roy Exp $
d24 1
@


1.146.12.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.149 2024/10/08 22:53:20 christos Exp $
d21 1
a21 1
	string.h sgtty.h signal.h spawn.h stab.h stdio.h \
a23 1
	uchar.h \
@


1.146.10.1
log
@Pull up following revision(s) (requested by riastradh in ticket #976):

	lib/libc/locale/c32rtomb.3: revision 1.10
	lib/libc/locale/c32rtomb.3: revision 1.9
	lib/libc/locale/c32rtomb.3: revision 1.11
	tests/lib/libc/locale/t_mbrtoc32.c: revision 1.1
	distrib/sets/lists/base/shl.mi: revision 1.988
	lib/libc/include/namespace.h: revision 1.204
	lib/libc/include/namespace.h: revision 1.205
	lib/libc/locale/mbrtoc16.3: revision 1.1
	lib/libc/locale/mbrtoc16.c: revision 1.1
	lib/libc/locale/mbrtoc16.3: revision 1.2
	lib/libc/locale/mbrtoc16.c: revision 1.2
	lib/libc/locale/mbrtoc16.3: revision 1.3
	lib/libc/locale/mbrtoc16.c: revision 1.3
	lib/libc/locale/mbrtoc32.3: revision 1.1
	lib/libc/locale/mbrtoc32.c: revision 1.1
	tests/lib/libc/locale/t_c16rtomb.c: revision 1.1
	lib/libc/locale/mbrtoc32.c: revision 1.2
	lib/libc/locale/mbrtoc16.3: revision 1.4
	lib/libc/locale/mbrtoc16.c: revision 1.4
	lib/libc/locale/mbrtoc32.3: revision 1.2
	tests/lib/libc/locale/t_c16rtomb.c: revision 1.2
	lib/libc/locale/mbrtoc32.c: revision 1.3
	lib/libc/locale/mbrtoc16.3: revision 1.5
	lib/libc/locale/mbrtoc16.c: revision 1.5
	lib/libc/locale/mbrtoc32.3: revision 1.3
	tests/lib/libc/locale/t_c16rtomb.c: revision 1.3
	lib/libc/locale/mbrtoc32.c: revision 1.4
	lib/libc/locale/mbrtoc16.3: revision 1.6
	lib/libc/locale/mbrtoc16.c: revision 1.6
	lib/libc/locale/mbrtoc32.3: revision 1.4
	tests/lib/libc/locale/t_c16rtomb.c: revision 1.4
	lib/libc/locale/mbrtoc32.c: revision 1.5
	lib/libc/locale/mbrtoc16.3: revision 1.7
	lib/libc/locale/mbrtoc16.c: revision 1.7
	lib/libc/locale/mbrtoc32.3: revision 1.5
	tests/lib/libc/locale/t_c16rtomb.c: revision 1.5
	lib/libc/locale/mbrtoc32.c: revision 1.6
	lib/libc/locale/mbrtoc16.3: revision 1.8
	lib/libc/locale/mbrtoc32.3: revision 1.6
	tests/lib/libc/locale/t_c16rtomb.c: revision 1.6
	lib/libc/locale/mbrtoc32.c: revision 1.7
	lib/libc/locale/mbrtoc16.3: revision 1.9
	lib/libc/locale/mbrtoc32.3: revision 1.7
	lib/libc/locale/mbrtoc32.c: revision 1.8
	lib/libc/locale/mbrtoc32.3: revision 1.8
	lib/libc/locale/mbrtoc32.c: revision 1.9
	distrib/sets/lists/comp/mi: revision 1.2468
	lib/libc/locale/mbrtoc32.3: revision 1.9
	distrib/sets/lists/comp/mi: revision 1.2469
	lib/libc/locale/c32rtomb.h: revision 1.1
	lib/libc/locale/c32rtomb.h: revision 1.2
	include/Makefile: revision 1.147
	share/man/man3/uchar.3: revision 1.1
	share/man/man3/uchar.3: revision 1.2
	tests/lib/libc/locale/t_c32rtomb.c: revision 1.1
	distrib/sets/lists/comp/mi: revision 1.2470
	lib/libc/locale/c16rtomb.3: revision 1.1
	lib/libc/locale/c16rtomb.c: revision 1.1
	lib/libc/locale/c16rtomb.3: revision 1.2
	lib/libc/locale/c16rtomb.c: revision 1.2
	lib/libc/locale/c16rtomb.3: revision 1.3
	lib/libc/locale/c16rtomb.c: revision 1.3
	lib/libc/locale/c16rtomb.3: revision 1.4
	lib/libc/locale/c16rtomb.c: revision 1.4
	lib/libc/locale/c16rtomb.3: revision 1.5
	lib/libc/locale/c16rtomb.c: revision 1.5
	lib/libc/locale/c16rtomb.3: revision 1.6
	lib/libc/locale/c16rtomb.c: revision 1.6
	lib/libc/locale/c16rtomb.3: revision 1.7
	lib/libc/locale/c16rtomb.c: revision 1.7
	lib/libc/locale/c16rtomb.3: revision 1.8
	lib/libc/locale/c16rtomb.3: revision 1.9
	distrib/sets/lists/tests/mi: revision 1.1330
	distrib/sets/lists/tests/mi: revision 1.1331
	distrib/sets/lists/tests/mi: revision 1.1332
	tests/lib/libc/locale/t_uchar.c: revision 1.1
	tests/lib/libc/locale/t_uchar.c: revision 1.2
	tests/lib/libc/locale/t_uchar.c: revision 1.3
	tests/lib/libc/locale/t_mbrtoc16.c: revision 1.1
	tests/lib/libc/locale/t_mbrtoc16.c: revision 1.2
	tests/lib/libc/locale/t_mbrtoc16.c: revision 1.3
	include/uchar.h: revision 1.1
	include/uchar.h: revision 1.2
	include/uchar.h: revision 1.3
	include/uchar.h: revision 1.4
	include/uchar.h: revision 1.5
	tests/lib/libc/locale/t_c8rtomb.c: revision 1.1
	include/uchar.h: revision 1.6
	tests/lib/libc/locale/t_c8rtomb.c: revision 1.2
	tests/lib/libc/locale/t_c8rtomb.c: revision 1.3
	tests/lib/libc/locale/t_c8rtomb.c: revision 1.4
	share/man/man3/Makefile: revision 1.93
	tests/lib/libc/locale/t_c8rtomb.c: revision 1.5
	tests/lib/libc/locale/t_c8rtomb.c: revision 1.6
	tests/lib/libc/locale/t_c8rtomb.c: revision 1.7
	lib/libc/shlib_version: revision 1.297
	lib/libc/locale/c16rtomb.3: revision 1.10
	lib/libc/locale/c16rtomb.3: revision 1.11
	tests/lib/libc/locale/t_mbrtoc8.c: revision 1.1
	tests/lib/libc/locale/t_mbrtoc8.c: revision 1.2
	tests/lib/libc/locale/t_mbrtoc8.c: revision 1.3
	lib/libc/locale/mbrtoc16.3: revision 1.10
	tests/lib/libc/locale/Makefile: revision 1.15
	tests/lib/libc/locale/Makefile: revision 1.16
	tests/lib/libc/locale/Makefile: revision 1.17
	tests/lib/libc/locale/Makefile: revision 1.18
	distrib/sets/lists/debug/mi: revision 1.442
	distrib/sets/lists/debug/mi: revision 1.443
	distrib/sets/lists/debug/mi: revision 1.444
	lib/libc/locale/c8rtomb.3: revision 1.1
	lib/libc/locale/c8rtomb.c: revision 1.1
	lib/libc/locale/c8rtomb.3: revision 1.2
	lib/libc/locale/c8rtomb.c: revision 1.2
	lib/libc/locale/c8rtomb.3: revision 1.3
	lib/libc/locale/c8rtomb.c: revision 1.3
	lib/libc/locale/c8rtomb.3: revision 1.4
	lib/libc/locale/c8rtomb.c: revision 1.4
	lib/libc/locale/c8rtomb.3: revision 1.5
	lib/libc/locale/c8rtomb.c: revision 1.5
	lib/libc/locale/c8rtomb.3: revision 1.6
	lib/libc/locale/c8rtomb.c: revision 1.6
	lib/libc/locale/c8rtomb.3: revision 1.7
	lib/libc/locale/c8rtomb.3: revision 1.8
	lib/libc/locale/c8rtomb.3: revision 1.9
	lib/libc/locale/mbrtoc32.h: revision 1.1
	lib/libc/locale/mbrtoc32.h: revision 1.2
	lib/libc/locale/mbrtoc8.c: revision 1.1
	lib/libc/locale/mbrtoc8.3: revision 1.1
	lib/libc/locale/mbrtoc8.c: revision 1.2
	lib/libc/locale/mbrtoc8.3: revision 1.2
	lib/libc/locale/mbrtoc8.c: revision 1.3
	lib/libc/locale/mbrtoc8.3: revision 1.3
	lib/libc/locale/mbrtoc8.c: revision 1.4
	lib/libc/locale/mbrtoc8.3: revision 1.4
	lib/libc/locale/Makefile.inc: revision 1.66
	lib/libc/locale/mbrtoc8.c: revision 1.5
	lib/libc/locale/mbrtoc8.3: revision 1.5
	lib/libc/locale/Makefile.inc: revision 1.67
	lib/libc/locale/mbrtoc8.c: revision 1.6
	lib/libc/locale/mbrtoc8.3: revision 1.6
	lib/libc/locale/mbrtoc8.c: revision 1.7
	lib/libc/locale/mbrtoc8.3: revision 1.7
	lib/libc/locale/mbrtoc8.c: revision 1.8
	lib/libc/locale/c32rtomb.3: revision 1.1
	lib/libc/locale/c32rtomb.c: revision 1.1
	lib/libc/locale/c32rtomb.3: revision 1.2
	lib/libc/locale/c32rtomb.c: revision 1.2
	lib/libc/locale/c32rtomb.3: revision 1.3
	lib/libc/locale/c32rtomb.c: revision 1.3
	lib/libc/locale/c32rtomb.3: revision 1.4
	lib/libc/locale/c32rtomb.c: revision 1.4
	lib/libc/locale/c32rtomb.3: revision 1.5
	lib/libc/locale/c32rtomb.c: revision 1.5
	lib/libc/locale/c32rtomb.3: revision 1.6
	lib/libc/locale/c32rtomb.c: revision 1.6
	lib/libc/locale/c32rtomb.3: revision 1.7
	lib/libc/locale/c32rtomb.3: revision 1.8

	(all via patch)


tests/lib/libc/locale/Makefile: Sort.
No functional change intended.
Preparation for PR lib/52374.

uchar.h: New header file for C11 (and C++11) compliance.

Implementation of the new functions mbrtoc16, c16rtomb, mbrtoc32, and
c32rtomb to come later.  Updates for C23 to come later.
PR lib/52374: <uchar.h> missing

libc: New C11 functions mbrtoc16, mbrtoc32, c16rtomb, c32rtomb.

The mbrtoc16/32 functions read mulitbyte strings according to the
current locale into UTF-16/32 code unit sequences; the c16/32rtomb
functions write UTF-16/32 code unit sequences into multibyte strings
according to the current locale.  The `r' means restartable: they
work incrementally and pick up where they left off.

NOTE: This bumps the libc minor version, since it adds new symbols.

PR lib/52374: <uchar.h> missing
mbrtoc16(3), mbrtoc32(3): Fix \n in man page examples.
Need to write \en to pacify roff.
PR lib/52374: <uchar.h> missing

c16rtomb(3), c32rtomb(3): Fix more \n in man pages.
Also, tighten an assertion: we left room for a NUL byte at the end.
PR lib/52374: <uchar.h> missing

libc: Use the more idiomatic alignof from stdalign.h.
No functional change intended.
PR lib/52374: <uchar.h> missing

mbrtoc16(3): Simplify surrogate state test.

Turn the finer-grained test into an assertion.
No semantic change intended: we are supposed to control this state,
and we always arrange it this way.  (But in principle this could
change the behaviour of buggy programs that violate the mbstate_t
abstraction.)
PR lib/52374: <uchar.h> missing

libc: New functions c8rtomb(3) and mbrtoc8(3).

New in C23, for converting from UTF-8 to locale-dependent multibyte
sequences (c8rtomb) or vice versa (mbrtoc8), along with the new type
char8_t.

Conditional on either:
- _NETBSD_SOURCE
- _ISOC23_SOURCE
- __STDC_VERSION__ >= 202311L
(Riding the libc minor bump from this morning for the UTF-16/UTF-32
versions from C11.)

PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb
libc: c32rtomb and mbrtoc32 are used internally, so weak-alias them.
PR lib/52374: <uchar.h> missing
c8rtomb(3), mbrtoc8(3): Use namespace.h to get private aliases.

This way applications defining the symbols c32rtomb or mbrtoc32 won't
clobber our private definitions, which are slightly more constrained
about their use of mbstate_t than is obvious from the interface
contract.

PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb
mbrtoc16(3), mbrtoc32(3): brush up markup

Split long .Fn lines into Fo/Fa/Fc.  Dont indent the list of return
values.  Don't use artisanal -width.

Untabify code examples - indented literal displays don't have correct
tab stops consistent with tab stops in the fixed font code, so the
lines end up misaligned in the PostScript output.

c16rtomb(3), c32rtomb(3): brush up markup

mbrtoc16(3), mbrtoc32(3): Simplify return value language.
Also expand BMP only once.
PR lib/52374: <uchar.h> missing

mbrtoc16(3), mbrtoc32(3): No state overlap with mbrtoc8 or c8rtomb.
PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb

mbrtoc32(3): Clarify control flow.
No need for another goto here; let's keep it clearly structured with
a single `out' label.
No functional change intended.
PR lib/52374: <uchar.h> missing

c8rtomb(3), mbrtoc8(3): brush up markup

mbrtoc8(3): Simplify return value language.
PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb

c16rtomb(3), c32rtomb(3): Specify what happens if ps is null.
PR lib/52374: <uchar.h> missing

c8rtomb(3): Specify what happens when ps is null.
PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb

c16rtomb(3), c32rtomb(3): No state overlap with mbrtoc8 or c8rtomb.
PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb

mbrtoc16(3), mbrtoc32(3): Work on deturgidifying prose.
Still maybe not great but at least there's less jargon in most of the
text, without really losing any content.
PR lib/52374: <uchar.h> missing

mbrtoc8(3): Work on deturgidifying prose.
PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb

mbrtoc16(3), mbrtoc32(3): Restore word accidentally removed.
PR lib/52374: <uchar.h> missing

mbrtoc8(3): Restore word accidentally removed.
PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb

c8rtomb(3): Fix possible error descriptions.
The argument c8 can't be a surrogate code point itself (they're in
the range [0xd800,0xdfff], beyond 8-bit values), but the bits of a
surrogate code point could be forced into the UTF-8 format, which is
also invalid.
PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb

c16rtomb(3), c32rtomb(3): Attempt a deturgidification pass.
Limit the jargon around surrogates.
PR lib/52374: <uchar.h> missing

c8rtomb(3): Clarify prose and fix example in caveat.
PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb
c16rtomb(3), c32rtomb(3), mbrtoc16(3), mbrtoc32(3): xref c8 versions.
PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb

mbrtoc16(3): Clarify how many bytes are consumed in special cases.
Fix overlap in RETURN VALUES section.
PR lib/52374: <uchar.h> missing

mbrtoc8(3): Clarify how many bytes are consumed in special cases.
Fix overlap in RETURN VALUES section.
PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb

pass lint, XXX see lint bug.

libc: Add _l variants of the cNrtomb and mbrtocN functions.
These accept an explicit locale parameter, rather than using the
current locale.
Visible under _NETBSD_SOURCE, not exposed otherwise.
NOTE: This adds libc symbols.  Riding the libc minor bump for the
non-_l variants of these from two days ago -- hope that's not pushing
it too far.
PR lib/58613: c*rtomb, mbrtoc* should have locale-parametric _l
variants

c8rtomb(3), c16rtomb(3): Add tests for incomplete NUL termination.
PR lib/58615: incomplete c8rtomb, c16rtomb handles NUL termination
wrong

c8rtomb(3), c16rtomb(3): Fix NUL handling.
PR lib/58615: incomplete c8rtomb, c16rtomb handles NUL termination
wrong

c8rtomb(3), c16rtomb(3), c32rtomb(3): Test stateful shift sequences.
PR lib/58612: c8rtomb/c16rtomb/c32rtomb yield suboptimal shift
sequences

c8rtomb(3): Fix digit error in shift sequence test.
PR lib/58612: c8rtomb/c16rtomb/c32rtomb yield suboptimal shift
sequences

c8rtomb(3): Nix __CTASSERT after case label.
I put this in to make it (machine-verifiably) clear that zeroing the
state is the same as returning to the initial conversion state, as
the standard requires, but this is causing build trouble (and will
likely cause more trouble if pulled up) because some definitions of
__CTASSERT make a declaration which is forbidden after a label, so
let's remove it.
PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb

mbrtoc8(3): Fix pasto in comment at top.
No functional change intended.
PR standards/58601: uchar.h C23 compliance: char8_t, mbrtoc8, c8rtomb

mbrtoc8: remove lint-specific workarounds
No binary change.

mbrtoc8: fix comments

mbrtoc16, mbrtoc32: fix comments, remove lint-specific workarounds
No binary change.
t_c8rtomb, t_c16rtomb: Simplify comment.
ESC $ B is technically rather the JIS X 0208-1983 shift sequence, but
since I don't see any way to provoke the JIS X 0208-1978 shift
sequence to come flying out of this conversion (ESC $ @@), and I'm not
sure there's any difference in the interpretation, let's just say JIS
X 0208.
PR lib/58612: c8rtomb/c16rtomb/c32rtomb yield suboptimal shift
sequences

c32rtomb(3): Use conversion state to handle shift sequences.
For conversion of Unicode scalar values to coding systems requiring
shift sequences, such as ISO-2022-JP, _citrus_iconv_convert will
always produce:
1. a shift sequence from the initial state to some nondefault state,
   like from US-ASCII to JIS X 0208
2. the encoding of the desired characater
3. a shift sequence restoring the initial state
This is unnecessary if the output is already in the state needed to
encoded the desired character.  For example, this method produces
seven bytes to encode each YEN SIGN in ISO-2022-JP -- and fourteen,
to encode two consecutive ones -- even though the shift sequence is
only three bytes long and once shifted YEN SIGN takes only one byte.
Instead, convert the Unicode scalar value to a locale-dependent wide
character and encode that, by composing
- _citrus_iconv_convert
  => gives us a multibyte encoding of the character from the initial
     state (and restoring the initial state afterward)
- mbrtowc with initial conversion state
  => gives us the single wide character representation
     XXX If combining characters are possible here, this may fail.
- wcrtomb with caller's conversion tsate
  => gives us a state-dependent multibyte encoding of the character
XXX Is there a cheaper way to convert from Unicode scalar value to
locale-dependent wide character?  It is not obvious to me from the
largely undocumented Citrus machinery, but it would obviously be
better than this somewhat circuitous Rube Goldberg contraption of
chained multibyte APIs.
PR lib/58612: c8rtomb/c16rtomb/c32rtomb yield suboptimal shift
sequences

mbrtoc8(3), mbrtoc16(3): Test consuming shift sequences with state.
This has the side effect of testing mbrtoc32(3) because they are both
defined in terms of it.
PR lib/58618: mbrtocN(3) fails to keep shift state

c8rtomb(3), c16rtomb(3), c32rtomb(3): Suggest MB_LEN_MAX in example.
This way it avoids variable-length arrays, by always allocating the
maximum space that could be occupied by MB_CUR_MAX.

mbrtoc32(3): Use conversion state to handle shift sequences.
PR lib/58618: mbrtocN(3) fails to keep shift state

mbrtoc32(3): Fix name and type of mbrtowc_l return value.
This was from `int mbtowc_l(...)' in an earlier draft and I didn't
update it to size_t when I changed the draft to mbrtowc_l.  Caught by
lint.
`mb_len' avoids (harmless) clash with standard C function mblen(3).
PR lib/58618: mbrtocN(3) fails to keep shift state

c32rtomb(3): Fix type of wcrtomb_l return value.
This was from `int wctomb_l(...)' in an earlier draft and I didn't
update it to size_t when I changed the draft to wcrtomb_l.  Caught by
lint.
`wc_len' mirrors `mb_len' in the complementary code in mbrtoc32(3) to
avoid clash with standard C function mblen(3).
PR lib/58612: c8rtomb/c16rtomb/c32rtomb yield suboptimal shift
sequences

c8rtomb(3), c16rtomb(3), c32rtomb(3): Attempt to simplify language.

c8rtomb(3), c16rtomb(3), c32rtomb(3): Fix null string output case.
This ignores c8/c16/c32, produces no output anywhere, and just resets
ps to the initial conversion state.
Also just use 0 in the example, not '\0' or L'\0'.  This works for
C11, which prefers '\0' and L'\0', for and C23, which introduced the
new u8'\0', u'\0' (UTF-16), and U'\0' (UTF-32).
c16rtomb, c32rtomb, mbrtoc8: fix page numbers in comments
mbrtoc8(3), mbrtoc16(3), mbrtoc32(3): Say 0 for zero code unit.
Rather than deal with differences between C11 and C23 in notation,
'\0' vs L'\0' vs u8'\0' vs u'\0' vs U'\0'.
uchar.h: Include <sys/featuretest.h> before testing _*_SOURCE.
PR lib/58752: various header files test _*_SOURCE macros but don't
include sys/featuretest.h
PR lib/52374: <uchar.h> missing

uchar.h: Need <sys/cdefs.h> for __restrict.
PR lib/52374: <uchar.h> missing

uchar.h: Simplify __cpp_char8_t and __cplusplus conditionals.
No functional change intended.
PR lib/52374: <uchar.h> missing

tests/lib/libc/locale/t_uchar: Test for char8_t, mbrtoc8, c8rtomb.
PR lib/58752: various header files test _*_SOURCE macros but don't
include sys/featuretest.h
PR lib/52374: <uchar.h> missing

tests/t_uchar: fix copy-and-paste typo
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.146 2019/06/04 15:07:55 hannken Exp $
a23 1
	uchar.h \
@


1.145
log
@Don't install YP headers when MKYP=no
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.144 2017/10/16 11:38:25 maya Exp $
d50 1
@


1.144
log
@Add endian.h header.  Simply includes sys/endian.h

<endian.h> has been accepted by the austin group.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.143 2016/10/02 17:19:00 kamil Exp $
d33 3
d37 1
a44 3
.include <bsd.own.mk>


@


1.144.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.146 2019/06/04 15:07:55 hannken Exp $
a32 3
.include <bsd.own.mk>

.if (${MKYP} != "no")
a33 1
.endif
d41 3
a48 1
SUBDIR+=	../common/include/rpc
@


1.143
log
@Import <stdalign.h>

This header conforms to the C11 standard
Reference: ISO/IEC 9899:201x 7.15 Alignment <stdalign.h>

According to ISO/IEC 9899:201x (draft) 7.15 Alignment <stdalign.h> defines
four macros:
 - alignas which expands to _Alignas
 - alignof which expands to _Alignof
 - __alignas_is_defined and __alignof_is_defined which both expand to 1

The _Alignas declaration appears as one of the type specifiers to modify
the alignment requirement of the object being declared.

The _Alignof operator is used to query the alignment requirement of its
operand type.

ISO/IEC N3242=11-0012 (C++1x) and ISO/IEC N3797 (C++1y) both note a header
<cstdalign> which defines only __alignas_is_defined and shall not define
the alignas macro. It misses the alignof case as it's probably based on an
older C1x draft, which defined only alignas. Assume that this is a bug in
the standard and treat alignof the same way as alignas in C++11.

Allow to define alignas and alignof in C++ prior the C++11 standard. It
might be broken but a nonstandard C++ compiler might support C11-like
_Alignas and _Alignof. Note that it's fatal for g++(1) v.5.4.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.141 2015/07/29 00:10:26 christos Exp $
d11 2
a12 2
	bitstring.h bm.h cdbw.h complex.h cpio.h ctype.h \
	db.h dirent.h disktab.h dlfcn.h err.h errno.h fenv.h fmtmsg.h fnmatch.h \
@


1.143.6.1
log
@Pull up following revision(s) (requested by maya in ticket #416):
	distrib/sets/lists/comp/mi: revision 1.2152
	include/Makefile: revision 1.144
	include/endian.h: revision 1.1
Add endian.h header.  Simply includes sys/endian.h
<endian.h> has been accepted by the austin group.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.143 2016/10/02 17:19:00 kamil Exp $
d11 2
a12 2
	bitstring.h bm.h cdbw.h complex.h cpio.h ctype.h db.h dirent.h \
	disktab.h dlfcn.h endian.h err.h errno.h fenv.h fmtmsg.h fnmatch.h \
@


1.142
log
@Import <stdnoreturn.h>

This header conforms to the C11 standard
Reference: ISO/IEC 9899:201x 7.23 _Noreturn <stdnoreturn.h>

According to ISO/IEC 9899:201x (draft) <stdnoreturn.> defines the
noreturn macro which expands to _Noreturn.

The _Noreturn keyword appears in a function declaration and specifies
that the function does not return by reaching the end of the function
body.

Design choices:
 - don't implicitly break C++ code including this header with #error
   C++11 offers [[noreturn]] which conflicts with C11 _Noreturn

 - don't check for __STDC_VERSION__, everybody is free to reuse it with
   a nonstandard compiler not conforming to C11 but supporting _Noreturn

   gcc(1) and clang(1) support _Noreturn in -std=c99 and older standards

   this follows <stdbool.h> choice for not checking for C99

 - follow <stdbool.h> and declare the __noreturn_is_defined guard

 - use a standard header guard (_STDNORETURN_H_), similar to <stdbool.h>

Reviewed by <pgoyette> and <joerg>
@
text
@d21 1
a21 1
	string.h sgtty.h signal.h spawn.h stab.h stddef.h stdio.h \
@


1.141
log
@move stdbool.h to sys, reuire pool.h to include <sys/stdbool.h> for bool,
centralize definitions of bool, true, false, to <sys/stdbool.h>
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.140 2013/12/11 01:24:08 joerg Exp $
d22 4
a25 3
	stdlib.h strings.h stringlist.h struct.h sysexits.h tar.h time.h \
	ttyent.h tzfile.h ucontext.h ulimit.h unistd.h util.h utime.h utmp.h \
	utmpx.h uuid.h vis.h wchar.h wctype.h wordexp.h
@


1.141.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.143 2016/10/02 17:19:00 kamil Exp $
d21 4
a24 5
	string.h sgtty.h signal.h spawn.h stab.h stdalign.h stddef.h stdio.h \
	stdlib.h stdnoreturn.h strings.h stringlist.h struct.h sysexits.h \
	tar.h time.h ttyent.h tzfile.h \
	ucontext.h ulimit.h unistd.h util.h utime.h utmp.h utmpx.h uuid.h \
	vis.h wchar.h wctype.h wordexp.h
@


1.140
log
@Allow kernel code to access constant databases by moving cdbr(3) and the
required mi_vector_hash(3) into src/common.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.139 2012/02/11 23:31:24 martin Exp $
d21 1
a21 1
	string.h sgtty.h signal.h spawn.h stab.h stdbool.h stddef.h stdio.h \
@


1.139
log
@Add userland part of posix_spawn. Libc functions imported from FreeBSD.
Based on Charles Zhang's summer of code project.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.138 2012/02/05 14:19:02 dholland Exp $
d11 1
a11 1
	bitstring.h bm.h cdbr.h cdbw.h complex.h cpio.h ctype.h \
@


1.139.6.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d11 1
a11 1
	bitstring.h bm.h cdbw.h complex.h cpio.h ctype.h \
@


1.138
log
@Migrate one last leftover bit (used only by the kernel now) to
sys/ufs/ufs and remove the old quota headers and no-longer-used shared
code. Ok by releng.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.137 2012/01/09 15:19:45 dholland Exp $
d21 2
a22 2
	sgtty.h signal.h stab.h stdbool.h stddef.h stdio.h stdlib.h string.h \
	strings.h stringlist.h struct.h sysexits.h tar.h time.h \
@


1.137
log
@Add <quota.h> with the new libquota API.

This is the user/application API and does not include the kernel
interface. Definitions shared with the kernel are found in
<sys/quota.h>.

Since I've been working on a local branch I have taken the liberty of
moving the latest-so-far version of <quota.h> to the front of the
patch queue. This loses (a small amount of) history but has the
advantage of avoiding unnecessary version bumps of libquota.so.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.136 2011/08/26 21:22:10 dyoung Exp $
a47 1
SUBDIR+=	../common/include/quota
@


1.136
log
@Build and install ppath(3), property-list paths library.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.135 2011/07/17 20:54:34 joerg Exp $
d19 1
a19 1
	paths.h pwd.h randomid.h ranlib.h re_comp.h regex.h regexp.h \
@


1.136.2.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.136 2011/08/26 21:22:10 dyoung Exp $
d19 1
a19 1
	paths.h pwd.h quota.h randomid.h ranlib.h re_comp.h regex.h regexp.h \
d21 2
a22 2
	string.h sgtty.h signal.h spawn.h stab.h stdbool.h stddef.h stdio.h \
	stdlib.h strings.h stringlist.h struct.h sysexits.h tar.h time.h \
d48 1
@


1.136.2.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,v 1.136.2.1 2012/04/17 00:05:10 yamt Exp $
d11 1
a11 1
	bitstring.h bm.h cdbw.h complex.h cpio.h ctype.h \
@


1.135
log
@Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.134 2011/03/24 17:05:42 bouyer Exp $
d47 1
@


1.134
log
@Add a new libquota library, which contains some blocks to build and/or
parse quota plists; as well as a getfsquota() function to retrieve quotas
for a single id from a single filesystem (whatever filesystem this is:
a local quota-enabled fs or NFS). This is build on functions getufsquota()
(for local filesystems with UFS-like quotas) and getnfsquota();
which are also available to userland programs.
move functions from quota2_subr.c to libquota or libprop as appropriate,
and ajust in-tree quota tools.
move some declarations from kernel headers to either sys/quota.h or
quota/quota.h as appropriate. ufs/ufs/quota.h still installed because
it's needed by other installed ufs headers.
ufs/ufs/quota1.h still installed as a quick&dirty way to get a code
using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of
ufs/ufs/quota.h - old code won't compile without this change and this is
on purpose).
Discussed on tech-kern@@ and tech-net@@ (long thread, but not much about
libquota itself ...)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.133 2010/07/31 21:47:53 joerg Exp $
d24 1
a24 1
	utmpx.h uuid.h varargs.h vis.h wchar.h wctype.h wordexp.h
@


1.133
log
@Add support for fenv.h interface for i386 and amd64.

Submitted by Stathis Kamperis as part of GSoC 2010 and ported from
FreeBSD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.132 2010/04/25 00:54:45 joerg Exp $
d47 1
@


1.132
log
@Add the constant database reader (cdbr(3)) and writer ((cdbw(3)).
They implement a space efficent write-once database with fast access
path. Switch the services(5) database to use cdb. The size of the
database file decreases from 2.1MB disk space to 307KB. Access
performance is about the same if setservent(0) is used and about an
order of magnitude faster otherwise. services_mkdb defaults to the new
format, but can optionally create the old db(3) format as well for
statically linked legacy applications.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.131 2008/05/28 12:28:12 ad Exp $
d12 1
a12 1
	db.h dirent.h disktab.h dlfcn.h err.h errno.h fmtmsg.h fnmatch.h \
@


1.131
log
@/usr/include/atomic.h, for Solaris source compat.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.130 2007/09/07 18:56:04 rmind Exp $
d11 1
a11 1
	bitstring.h bm.h complex.h cpio.h ctype.h \
@


1.131.8.1
log
@file Makefile was added on branch christos-time_t on 2008-05-28 12:28:13 +0000
@
text
@d1 49
@


1.131.8.2
log
@/usr/include/atomic.h, for Solaris source compat.
@
text
@a0 49
#	$NetBSD: Makefile,v 1.131 2008/05/28 12:28:12 ad Exp $
#	@@(#)Makefile	8.2 (Berkeley) 1/4/94

# Doing a make includes builds /usr/include

NOOBJ=		# defined

# Missing: mp.h

INCS=	a.out.h aio.h ar.h assert.h atomic.h \
	bitstring.h bm.h complex.h cpio.h ctype.h \
	db.h dirent.h disktab.h dlfcn.h err.h errno.h fmtmsg.h fnmatch.h \
	fstab.h fts.h ftw.h getopt.h glob.h grp.h ifaddrs.h iconv.h \
	inttypes.h iso646.h kvm.h langinfo.h libgen.h \
	limits.h link.h link_aout.h link_elf.h locale.h \
	login_cap.h lwp.h malloc.h math.h md2.h \
	memory.h mntopts.h monetary.h mpool.h mqueue.h \
	ndbm.h netconfig.h netdb.h netgroup.h nlist.h nl_types.h nsswitch.h \
	paths.h pwd.h randomid.h ranlib.h re_comp.h regex.h regexp.h \
	resolv.h res_update.h rmt.h sched.h search.h semaphore.h setjmp.h \
	sgtty.h signal.h stab.h stdbool.h stddef.h stdio.h stdlib.h string.h \
	strings.h stringlist.h struct.h sysexits.h tar.h time.h \
	ttyent.h tzfile.h ucontext.h ulimit.h unistd.h util.h utime.h utmp.h \
	utmpx.h uuid.h varargs.h vis.h wchar.h wctype.h wordexp.h
INCS+=	arpa/ftp.h arpa/inet.h arpa/nameser.h arpa/nameser_compat.h \
	arpa/telnet.h arpa/tftp.h
INCS+=	protocols/dumprestore.h protocols/routed.h protocols/rwhod.h \
	protocols/talkd.h protocols/timed.h

INCS+=	hesiod.h

INCS+=	rpcsvc/yp_prot.h rpcsvc/ypclnt.h

INCS+=  ssp/ssp.h ssp/stdio.h ssp/string.h ssp/strings.h ssp/unistd.h

.if (${MACHINE_ARCH} != "vax")
INCS+=	ieeefp.h
.endif

.include <bsd.own.mk>


INCSDIR=	/usr/include

SUBDIR=		rpc
SUBDIR+=	../common/include/prop

.include <bsd.prog.mk>
.include <bsd.subdir.mk>
@


1.131.16.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d11 1
a11 1
	bitstring.h bm.h cdbr.h cdbw.h complex.h cpio.h ctype.h \
@


1.131.16.2
log
@Sync with HEAD.
@
text
@d12 1
a12 1
	db.h dirent.h disktab.h dlfcn.h err.h errno.h fenv.h fmtmsg.h fnmatch.h \
@


1.130
log
@Implementation of POSIX message queues.

Reviewed by: <ad>, <tech-kern>
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.129 2007/08/20 16:01:29 drochner Exp $
d10 2
a11 1
INCS=	a.out.h aio.h ar.h assert.h bitstring.h bm.h complex.h cpio.h ctype.h \
@


1.130.8.1
log
@Sync w/ -current. 34 merge conflicts to follow.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.130 2007/09/07 18:56:04 rmind Exp $
d10 1
a10 2
INCS=	a.out.h aio.h ar.h assert.h atomic.h \
	bitstring.h bm.h complex.h cpio.h ctype.h \
@


1.130.6.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.130 2007/09/07 18:56:04 rmind Exp $
d10 1
a10 2
INCS=	a.out.h aio.h ar.h assert.h atomic.h \
	bitstring.h bm.h complex.h cpio.h ctype.h \
@


1.129
log
@Add C99 complex support, for double and float.
Most complex function implementations are from the "c9x-complex" library,
originating from the "cephes" math library, see
http://www.netlib.org/cephes/, from Stephen L. Moshier, incorporated and
redistributed with the NetBSD license by permission of the author.

Error behaviour and other boundary conditions (branch cuts)
need to be looked at.

For namespace sanity, I've done the rename/weak alias procedure to
most of the exported functions which are also used internally.
Didn't do so for sin/cos(f) yet because assembler implementations use
them directly, and renaming functions shared between the main libm
and the machine specific "overlay" might raise binary compatibility
issues.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.128 2007/05/30 01:13:21 tls Exp $
d16 1
a16 2
	memory.h mntopts.h mpool.h \
	monetary.h \
@


1.129.2.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.130 2007/09/07 18:56:04 rmind Exp $
d16 2
a17 1
	memory.h mntopts.h monetary.h mpool.h mqueue.h \
@


1.128
log
@Move FORTIFY_SOURCE implementation from the somewhat ill-named "libssp"
(what other systems keep in libssp, we already have in libc) into libc
to match what other systems with FORTIFY_SOURCE do.  Goodbye, libssp
dependency in libraries and executables.  Discussed with christos and
mrg; Christos will merge the headers to get us the rest of the way to a
FORTIFY_SOURCE implementation that works as others' code expects.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.127 2007/04/30 14:44:29 rmind Exp $
d10 3
a12 3
INCS=	a.out.h aio.h ar.h assert.h bitstring.h bm.h cpio.h ctype.h db.h \
	dirent.h disktab.h dlfcn.h err.h errno.h fmtmsg.h fnmatch.h fstab.h \
	fts.h ftw.h getopt.h glob.h grp.h ifaddrs.h iconv.h \
d18 2
a19 2
	ndbm.h netconfig.h netdb.h netgroup.h nlist.h nl_types.h \
	nsswitch.h paths.h pwd.h randomid.h ranlib.h re_comp.h regex.h regexp.h \
@


1.127
log
@Import of POSIX Asynchronous I/O.
Seems to be quite stable. Some work still left to do.

Please note, that syscalls are not yet MP-safe, because
of the file and vnode subsystems.

Reviewed by: <tech-kern>, <ad>
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.126 2007/02/09 22:13:31 ad Exp $
d34 2
@


1.126
log
@Sync with changes introduced by merging the newlock2 branch.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.125 2006/10/30 20:22:54 christos Exp $
d10 3
a12 3
INCS=	a.out.h ar.h assert.h bitstring.h bm.h cpio.h ctype.h db.h dirent.h \
	disktab.h dlfcn.h err.h errno.h fmtmsg.h fnmatch.h fstab.h fts.h \
	ftw.h getopt.h glob.h grp.h ifaddrs.h iconv.h \
@


1.125
log
@kill crypto/rmd160.h and crypto/sha2.h, and instead make symlinks to
/usr/include from /usr/include/sys. This makes all the one way hash
header handling identical.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.124 2006/06/02 22:16:18 mrg Exp $
d20 1
a20 1
	resolv.h res_update.h rmt.h sa.h sched.h search.h semaphore.h setjmp.h \
@


1.125.4.1
log
@Sync w/ NetBSD-4-RC_1
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.125.2.1 2007/07/22 18:44:37 liamjfoy Exp $
a33 2
INCS+=	ssp/ssp.h ssp/stdio.h ssp/string.h ssp/strings.h ssp/unistd.h

@


1.125.2.1
log
@Pull up to netbsd-4 (requested by christos in ticket #773):

Move libssp to libc.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.125 2006/10/30 20:22:54 christos Exp $
a33 2
INCS+=	ssp/ssp.h ssp/stdio.h ssp/string.h ssp/strings.h ssp/unistd.h

@


1.124
log
@remove support for building (with) GCC 2.95.  also:
- always install <stdbool.h>
- don't generate a fake one for vax / gettext.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.123 2006/04/27 23:42:08 thorpej Exp $
d20 1
a20 1
	resolv.h res_update.h rmd160.h rmt.h sa.h sched.h search.h semaphore.h setjmp.h \
@


1.123
log
@Install proplib include files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.122 2006/04/07 19:38:58 mrg Exp $
d21 1
a21 1
	sgtty.h signal.h stab.h stddef.h stdio.h stdlib.h string.h \
a39 3
.if (${HAVE_GCC} > 2)
INCS+=	stdbool.h
.endif
@


1.122
log
@retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.121 2005/12/30 23:07:33 agc Exp $
d47 1
@


1.121
log
@Add Todd Miller's ftw(3) and nftw(3) file-tree walking functionality,
from OpenBSD.

Bump libc minor to 136.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.120 2005/04/03 20:09:29 christos Exp $
d40 1
a40 1
.if ${HAVE_GCC3} == "yes"
@


1.120
log
@Add FreeBSD's strfmon(3). From Rui Paulo. No bump this time. Take advantage
of the getpwent_r bump.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.119 2004/12/14 00:23:20 nathanw Exp $
d12 1
a12 1
	getopt.h glob.h grp.h ifaddrs.h iconv.h \
@


1.119
log
@Nuke threadlib.h. Library defensive threading is now provided through the
normal pthread.h interface.
Move stubs for libc back into a libc-internal header.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.118 2004/09/13 21:44:54 thorpej Exp $
d17 1
@


1.118
log
@DCE 1.1 RPC compatible UUID routines for libc, adapted from FreeBSD.
Encode/decode to big/little endian binary blob routines adapted from
kernel.

PR 23470.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.117 2004/07/13 15:42:03 seb Exp $
d21 1
a21 1
	strings.h stringlist.h struct.h sysexits.h tar.h threadlib.h time.h \
@


1.117
log
@Add wordexp(3). The wordexp function performs shell-style word expansions.
This implementation is wrapper around the undocumented wordexp sh(1)
built-in command.

From FreeBSD.
Provided in PR lib/26123.
Approved by kleink@@.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.116 2004/05/21 02:27:35 christos Exp $
d23 1
a23 1
	utmpx.h varargs.h vis.h wchar.h wctype.h wordexp.h
@


1.116
log
@install new files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.115 2003/10/14 12:46:44 tron Exp $
d23 1
a23 1
	utmpx.h varargs.h vis.h wchar.h wctype.h
@


1.115
log
@Replace symbolic link "/usr/include/varargs.h" (pointing to
"/usr/include/machine/varargs.h") by a stub include file which will
emit an error if GCC 3.3 or newer is used and include "machine/varargs.h"
otherwise.

Based on a suggestion by Richard Earnshaw. This fixes PR toolchain/22888
by myself.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.114 2003/10/01 01:35:39 christos Exp $
d19 1
a19 1
	resolv.h rmd160.h rmt.h sa.h sched.h search.h semaphore.h setjmp.h \
d24 2
a25 1
INCS+=	arpa/ftp.h arpa/inet.h arpa/nameser.h arpa/telnet.h arpa/tftp.h
@


1.114
log
@make some files symlinks from sys.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.113 2003/09/09 22:10:33 itojun Exp $
d23 1
a23 1
	utmpx.h vis.h wchar.h wctype.h
@


1.113
log
@add randomid(3).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.112 2003/08/27 16:03:18 mrg Exp $
d15 1
a15 1
	login_cap.h lwp.h malloc.h math.h md2.h md4.h md5.h \
d20 1
a20 1
	sgtty.h sha1.h signal.h stab.h stddef.h stdio.h stdlib.h string.h \
@


1.112
log
@introduce an additional switch to enable building GCC3 instead of GCC2:
HAVE_GCC3.  if this is set, we also set USE_TOOLS_TOOLCHAIN=no.  change
the definition of the former to be restricted to whether tools/toolchain
is used or not.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.111 2003/07/26 15:27:13 mrg Exp $
d18 1
a18 1
	nsswitch.h paths.h pwd.h ranlib.h re_comp.h regex.h regexp.h \
@


1.111
log
@install stdbool.h if gcc3
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.110 2003/06/27 05:21:56 tshiozak Exp $
d38 1
a38 1
.if ${USE_TOOLS_TOOLCHAIN} == "no"
@


1.110
log
@Citrus iconv support(4)
add iconv external I/F (iconv.h - iconv_open()/iconv()/iconv_close()) and
iconv(1) utility.
TODO:
  - bump libc minor.
  - add iconv data files.
  - create manpages: iconv_open(3)/iconv(3)/iconv_close(3)/iconv(1)/
    mkesdb(1)/mkcsmapper(1).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.109 2003/03/22 12:45:51 jdolecek Exp $
d34 6
@


1.109
log
@install mntopts.h
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.108 2003/01/20 20:09:50 christos Exp $
d12 1
a12 1
	getopt.h glob.h grp.h ifaddrs.h \
@


1.108
log
@add support for p1003.1b semaphores. From FreeBSD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.107 2003/01/19 19:24:39 thorpej Exp $
d16 2
a17 2
	memory.h mpool.h ndbm.h netconfig.h netdb.h netgroup.h nlist.h \
	nl_types.h \
@


1.107
log
@Expose libc's thread stubs, which get magically turned into real pthread
calls when the pthread library is linked in.  Simplifies making other
libraries (such as X's) thread-safe.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.106 2003/01/18 10:32:11 thorpej Exp $
d19 5
a23 5
	resolv.h rmd160.h rmt.h sa.h sched.h search.h setjmp.h sgtty.h sha1.h \
	signal.h stab.h stddef.h stdio.h stdlib.h string.h strings.h \
	stringlist.h struct.h sysexits.h tar.h threadlib.h time.h ttyent.h \
	tzfile.h ucontext.h ulimit.h unistd.h util.h utime.h utmp.h utmpx.h \
	vis.h wchar.h wctype.h
@


1.106
log
@Merge the nathanw_sa branch.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.105 2002/09/18 06:17:38 lukem Exp $
d21 3
a23 2
	stringlist.h struct.h sysexits.h tar.h time.h ttyent.h tzfile.h \
	ucontext.h ulimit.h unistd.h util.h utime.h utmp.h utmpx.h vis.h wchar.h wctype.h
@


1.105
log
@minor makefile delint
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.104 2002/03/31 14:12:37 bjh21 Exp $
d15 1
a15 1
	login_cap.h malloc.h math.h md2.h md4.h md5.h \
d19 1
a19 1
	resolv.h rmd160.h rmt.h sched.h search.h setjmp.h sgtty.h sha1.h \
d22 1
a22 1
	ulimit.h unistd.h util.h utime.h utmp.h utmpx.h vis.h wchar.h wctype.h
@


1.104
log
@split /usr/include/sys/sha1.h and /usr/include/sha1.h completely.
future direction: nuke /usr/include/sys/sha1.h, it shouldn't be there as
we don't provide libkern to userland.

This mirrors the same change for md5.h made by itojun on 2000/12/11.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.103 2002/03/22 18:10:20 thorpej Exp $
d6 2
a35 2

NOOBJ=		# defined
@


1.103
log
@Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.

	* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
	  of the infratsructure (libraries, support programs, etc.)

	* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
	  building of support for using the corresponding API
	  in various libraries/programs that can use it.

As discussed on tech-toolchain.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.102 2002/02/22 20:09:01 christos Exp $
d17 2
a18 2
	resolv.h rmd160.h rmt.h sched.h search.h setjmp.h sgtty.h signal.h \
	stab.h stddef.h stdio.h stdlib.h string.h strings.h \
@


1.102
log
@A utmpx implementation.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.101 2002/02/04 08:51:26 thorpej Exp $
d10 1
a10 1
	getopt.h glob.h grp.h hesiod.h ifaddrs.h \
d24 3
@


1.101
log
@Don't install <stdbool.h> for now.  Lossage resulting from me testing
with a not-in-tree compiler.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.100 2002/02/02 17:31:52 thorpej Exp $
d20 1
a20 1
	ulimit.h unistd.h util.h utime.h utmp.h vis.h wchar.h wctype.h
@


1.100
log
@ISO C / SUSv3 <stdbool.h>.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.99 2001/12/12 00:07:50 tv Exp $
d18 1
a18 1
	stab.h stdbool.h stddef.h stdio.h stdlib.h string.h strings.h \
@


1.99
log
@MKfoo=no -> NOfoo=
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.98 2001/07/17 03:04:16 thorpej Exp $
d18 3
a20 3
	stab.h stddef.h stdio.h stdlib.h string.h strings.h stringlist.h \
	struct.h sysexits.h tar.h time.h ttyent.h tzfile.h ulimit.h unistd.h \
	util.h utime.h utmp.h vis.h wchar.h wctype.h
@


1.98
log
@A <sched.h> file, which provides the clone(2) prototypes, in order
to be compatible with Linux.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.97 2001/04/28 15:41:28 kleink Exp $
d30 1
a30 1
INCSDIR=/usr/include
d32 1
a32 1
MKOBJ=	no
d34 1
a34 1
SUBDIR=	rpc
@


1.97
log
@* Move definitions of exact-width integer types from <machine/types.h>
  to <sys/types.h> and <sys/stdint.h>.
* Add a new C99 <stdint.h> header, which provides integer types of
  explicit width, related limits and integer constant macros.
* Extend <inttypes.h> to provide <stdint.h> definitions and format
  macros for printf() and scanf().
* Add C99 strtoimax() and strtoumax() functions.
* Use the latter within scanf().
* Add C99 %j, %t and %z printf()/scanf() conversions for
  intmax_t, pointer-type and size_t arguments.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.96 2001/03/19 04:13:16 atatat Exp $
d17 4
a20 4
	resolv.h rmd160.h rmt.h search.h setjmp.h sgtty.h signal.h stab.h \
	stddef.h stdio.h stdlib.h string.h strings.h stringlist.h struct.h \
	sysexits.h tar.h time.h ttyent.h tzfile.h ulimit.h unistd.h util.h \
	utime.h utmp.h vis.h wchar.h wctype.h
@


1.96
log
@Add md2 routines to libc.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.95 2001/02/17 12:29:45 ragge Exp $
d11 1
a11 1
	iso646.h kvm.h langinfo.h libgen.h \
@


1.95
log
@Don't handle ieeefp.h on vax.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.94 2000/12/21 05:40:56 itojun Exp $
d13 1
a13 1
	login_cap.h malloc.h math.h md4.h md5.h \
@


1.95.2.1
log
@User-level support for LWPs and scheduler activations.
SVR4-style ucontext code by Klaus Klein.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.95 2001/02/17 12:29:45 ragge Exp $
d13 1
a13 1
	login_cap.h lwp.h malloc.h math.h md4.h md5.h \
a17 1
	sa.h \
d19 1
a19 1
	sysexits.h tar.h time.h ttyent.h tzfile.h ucontext.h ulimit.h unistd.h util.h \
@


1.95.2.2
log
@Merge trunk onto branch.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.96 2001/03/19 04:13:16 atatat Exp $
d13 1
a13 1
	login_cap.h lwp.h malloc.h math.h md2.h md4.h md5.h \
@


1.95.2.3
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.95.2.2 2001/04/08 20:31:41 nathanw Exp $
d11 1
a11 1
	inttypes.h iso646.h kvm.h langinfo.h libgen.h \
d17 5
a21 4
	resolv.h rmd160.h rmt.h sched.h search.h setjmp.h sgtty.h signal.h \
	stab.h sa.h stddef.h stdio.h stdlib.h string.h strings.h stringlist.h \
	struct.h sysexits.h tar.h time.h ttyent.h tzfile.h ucontext.h \
	ulimit.h unistd.h util.h utime.h utmp.h vis.h wchar.h wctype.h
@


1.95.2.4
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.95.2.3 2001/10/08 20:13:44 nathanw Exp $
d30 1
a30 1
INCSDIR=	/usr/include
d32 1
a32 1
NOOBJ=		# defined
d34 1
a34 1
SUBDIR=		rpc
@


1.95.2.5
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.95.2.4 2002/01/14 21:37:09 nathanw Exp $
@


1.95.2.6
log
@sched.h is now part of the pthread library
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.95.2.5 2002/01/28 21:27:18 nathanw Exp $
d17 1
a17 1
	resolv.h rmd160.h rmt.h search.h setjmp.h sgtty.h signal.h \
@


1.95.2.7
log
@It's back with the pthreads bits.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.95.2.6 2002/02/23 23:03:25 gmcgarry Exp $
d17 1
a17 1
	resolv.h rmd160.h rmt.h sched.h search.h setjmp.h sgtty.h signal.h \
@


1.95.2.8
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.95.2.7 2002/02/23 23:41:40 gmcgarry Exp $
d17 4
a20 4
	resolv.h rmd160.h rmt.h sa.h sched.h search.h setjmp.h sgtty.h signal.h \
	stab.h stddef.h stdio.h stdlib.h string.h strings.h \
	stringlist.h struct.h sysexits.h tar.h time.h ttyent.h tzfile.h \
	ulimit.h unistd.h util.h utime.h utmp.h utmpx.h vis.h wchar.h wctype.h
@


1.95.2.9
log
@Restore ucontext.h (missed in last merge; thanks to nick for pointing
it out).
Clean up wrap slightly.
@
text
@d1 1
a1 1
#	$NetBSD$
d17 2
a18 2
	resolv.h rmd160.h rmt.h sa.h sched.h search.h setjmp.h sgtty.h \
	signal.h stab.h stddef.h stdio.h stdlib.h string.h strings.h \
d20 1
a20 2
	ucontext.h ulimit.h unistd.h util.h utime.h utmp.h utmpx.h vis.h \
	wchar.h wctype.h
@


1.95.2.10
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.95.2.9 2002/03/12 21:22:33 nathanw Exp $
d10 1
a10 1
	getopt.h glob.h grp.h ifaddrs.h \
d17 2
a18 2
	resolv.h rmd160.h rmt.h sa.h sched.h search.h setjmp.h sgtty.h signal.h \
	stab.h stddef.h stdio.h stdlib.h string.h strings.h \
d20 2
a21 1
	ucontext.h ulimit.h unistd.h util.h utime.h utmp.h utmpx.h vis.h wchar.h wctype.h
a24 3

INCS+=	hesiod.h

@


1.95.2.11
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD$
d17 2
a18 2
	resolv.h rmd160.h rmt.h sa.h sched.h search.h setjmp.h sgtty.h sha1.h \
	signal.h stab.h stddef.h stdio.h stdlib.h string.h strings.h \
@


1.95.2.12
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.95.2.11 2002/04/25 04:07:10 nathanw Exp $
a5 2
NOOBJ=		# defined

d34 2
@


1.94
log
@have dummy wctype.h and isw*/tow*.  part of libc minor 68 -> 69 crank.
equivalent to is*/to* at this moment.  we'll put wchar_t code in the
near future.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.93 2000/12/11 21:05:15 itojun Exp $
d10 1
a10 1
	getopt.h glob.h grp.h hesiod.h ieeefp.h ifaddrs.h \
d25 4
@


1.93
log
@split /usr/include/sys/md5.h and /usr/include/md5.h completely.
future direction: nuke /usr/include/sys/md5.h, it shouldn't be there as
we don't provide libkern to userland.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.92 2000/07/05 11:44:01 ad Exp $
d20 1
a20 1
	utime.h utmp.h vis.h wchar.h
@


1.92
log
@Pull in RIPEMD-160 functions from OpenBSD - this has the same API as our MD4,
MD5 and SHA1 stuff.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.91 2000/06/20 06:00:32 thorpej Exp $
d13 1
a13 1
	login_cap.h malloc.h math.h md4.h \
@


1.91
log
@Merge a bunch of things from crypto-us and crypto-intl into basesrc,
adding support for Heimdal/KTH Kerberos where easy to do so.  Eliminate
bsd.crypto.mk.

There is still a bunch more work to do, but crypto is now more-or-less
fully merged into the base NetBSD distribution.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.90 2000/06/03 11:23:54 fvdl Exp $
d17 4
a20 4
	resolv.h rmt.h search.h setjmp.h sgtty.h signal.h stab.h stddef.h \
	stdio.h stdlib.h string.h strings.h stringlist.h struct.h sysexits.h \
	tar.h time.h ttyent.h tzfile.h ulimit.h unistd.h util.h utime.h \
	utmp.h vis.h wchar.h
@


1.91.2.1
log
@file Makefile was added on branch netbsd-1-5 on 2000-06-20 06:00:33 +0000
@
text
@d1 33
@


1.91.2.2
log
@Merge a bunch of things from crypto-us and crypto-intl into basesrc,
adding support for Heimdal/KTH Kerberos where easy to do so.  Eliminate
bsd.crypto.mk.

There is still a bunch more work to do, but crypto is now more-or-less
fully merged into the base NetBSD distribution.
@
text
@a0 33
#	$NetBSD: Makefile,v 1.91 2000/06/20 06:00:32 thorpej Exp $
#	@@(#)Makefile	8.2 (Berkeley) 1/4/94

# Doing a make includes builds /usr/include

# Missing: mp.h

INCS=	a.out.h ar.h assert.h bitstring.h bm.h cpio.h ctype.h db.h dirent.h \
	disktab.h dlfcn.h err.h errno.h fmtmsg.h fnmatch.h fstab.h fts.h \
	getopt.h glob.h grp.h hesiod.h ieeefp.h ifaddrs.h \
	iso646.h kvm.h langinfo.h libgen.h \
	limits.h link.h link_aout.h link_elf.h locale.h \
	login_cap.h malloc.h math.h md4.h \
	memory.h mpool.h ndbm.h netconfig.h netdb.h netgroup.h nlist.h \
	nl_types.h \
	nsswitch.h paths.h pwd.h ranlib.h re_comp.h regex.h regexp.h \
	resolv.h rmt.h search.h setjmp.h sgtty.h signal.h stab.h stddef.h \
	stdio.h stdlib.h string.h strings.h stringlist.h struct.h sysexits.h \
	tar.h time.h ttyent.h tzfile.h ulimit.h unistd.h util.h utime.h \
	utmp.h vis.h wchar.h
INCS+=	arpa/ftp.h arpa/inet.h arpa/nameser.h arpa/telnet.h arpa/tftp.h
INCS+=	protocols/dumprestore.h protocols/routed.h protocols/rwhod.h \
	protocols/talkd.h protocols/timed.h
INCS+=	rpcsvc/yp_prot.h rpcsvc/ypclnt.h

INCSDIR=/usr/include

MKOBJ=	no

SUBDIR=	rpc

.include <bsd.prog.mk>
.include <bsd.subdir.mk>
@


1.90
log
@Use a seperate Makefile in the rpc/ subdir. Needed because it generates
a file (rpcb_prot.h).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.89 2000/06/03 10:17:59 fvdl Exp $
a3 3
SRCTOP=	..
.include <bsd.crypto.mk>

a30 4

.if defined(CRYPTOPATH)
.sinclude "${CRYPTOPATH}/include/Makefile.frag"
.endif
@


1.89
log
@Add missed include files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.88 2000/06/03 02:29:22 fvdl Exp $
a26 4
INCS+=	rpc/auth.h rpc/auth_unix.h rpc/clnt.h rpc/clnt_soc.h rpc/nettype.h \
	rpc/pmap_clnt.h rpc/pmap_prot.h rpc/pmap_rmt.h rpc/raw.h rpc/rpc.h \
	rpc/rpc_msg.h rpc/rpcb_clnt.h rpc/rpcb_prot.h rpc/rpcent.h \
	rpc/svc.h rpc/svc_auth.h rpc/svc_soc.h rpc/types.h rpc/xdr.h
a28 6

rpc/rpcb_prot.h: rpc/rpcb_prot.x
	rpcgen -h ${.ALLSRC} -o ${.TARGET}

CLEANFILES+=	rpc/rpcb_prot.h

d33 2
d40 1
@


1.88
log
@Move rpcb_prot.x to here from libc/rpc.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.87 2000/06/02 23:01:57 fvdl Exp $
d27 4
a30 3
INCS+=	rpc/auth.h rpc/auth_unix.h rpc/clnt.h rpc/nettype.h rpc/pmap_clnt.h \
	rpc/pmap_prot.h rpc/pmap_rmt.h rpc/rpc.h rpc/rpcb_prot.h rpc/rpc_msg.h \
	rpc/svc.h rpc/svc_auth.h rpc/types.h rpc/xdr.h
@


1.87
log
@Fix omission in previous.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.86 2000/06/02 22:57:54 fvdl Exp $
d28 2
a29 2
	rpc/pmap_prot.h rpc/pmap_rmt.h rpc/rpc.h rpc/rpc_msg.h rpc/svc.h \
	rpc/svc_auth.h rpc/types.h rpc/xdr.h
d31 6
@


1.86
log
@New headers for the new RPC code (based on TI-RPC from Sun).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.85 2000/04/20 09:56:36 kleink Exp $
d27 3
a29 3
INCS+=	rpc/auth.h rpc/auth_unix.h rpc/clnt.h rpc/pmap_clnt.h rpc/pmap_prot.h \
	rpc/pmap_rmt.h rpc/rpc.h rpc/rpc_msg.h rpc/svc.h rpc/svc_auth.h \
	rpc/types.h rpc/xdr.h
@


1.85
log
@* Move <wchar.h> from libcurses to include (for the missing functionality
  is to be provided by libc).
* Define wint_t and size_t in <wchar.h> as well.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.84 2000/04/01 22:37:14 christos Exp $
d17 2
a18 1
	memory.h mpool.h ndbm.h netdb.h netgroup.h nlist.h nl_types.h \
@


1.85.2.1
log
@Citrus Project XPG4DL, an implementation of I18N (locale) framework,
is imported.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.85 2000/04/20 09:56:36 kleink Exp $
d22 1
a22 2
	utmp.h vis.h wchar.h \
	wctype.h
@


1.85.2.2
log
@Import of most recent XPG4DL dated 2000.06.23.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.91 2000/06/20 06:00:32 thorpej Exp $
d4 3
d17 1
a17 2
	memory.h mpool.h ndbm.h netconfig.h netdb.h netgroup.h nlist.h \
	nl_types.h \
d22 2
a23 2
	utmp.h vis.h wchar.h
INCS+=	wctype.h
d27 3
d36 3
a38 1
SUBDIR=	rpc
a40 1
.include <bsd.subdir.mk>
@


1.84
log
@Add getopt.h and collect all the getopt related stuff here.
Make unistd.h include <getopt.h> to get the getopt stuff.
This adds support for getopt_long from Dieter Baron and Thomas Klausner.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.83 2000/02/23 06:57:47 itojun Exp $
d22 1
a22 1
	utmp.h vis.h
@


1.83
log
@add getifaddrs(3) from bsdi4, as mentioned in tech-net (in SIOCGIFCONF
related thread).
this will save future apps from complexity of SIOCGIFCONF.

getifaddrs(3) does not use SIOCGIFCONF internally, it uses sysctl.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.82 2000/01/12 05:02:11 mjl Exp $
d13 1
a13 1
	glob.h grp.h hesiod.h ieeefp.h ifaddrs.h \
@


1.82
log
@Add necessary support routines for login.conf.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.81 2000/01/10 16:58:37 kleink Exp $
d13 2
a14 1
	glob.h grp.h hesiod.h ieeefp.h iso646.h kvm.h langinfo.h libgen.h \
@


1.81
log
@Move <null.h> to <sys/null.h> for the purpose of avoiding conflicts due to
std C headers including it, and a kernel module written in C++ would benfit
as well.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.80 1999/12/22 21:26:16 kleink Exp $
d14 2
a15 1
	limits.h link.h link_aout.h link_elf.h locale.h malloc.h math.h md4.h \
@


1.80
log
@For the benefit of G++'s null pointer constant implementation, #define NULL
as __null with egcs 1.0 (GCC 2.90) and above.  As several headers are affected
by this change, move the definition into a new header file, <null.h>, to ease
maintenance.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.79 1999/09/13 18:38:04 kleink Exp $
d16 1
a16 1
	nsswitch.h null.h paths.h pwd.h ranlib.h re_comp.h regex.h regexp.h \
@


1.79
log
@Add an XSH5 ulimit()/<ulimit.h> implementation.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.78 1999/09/12 19:04:30 kleink Exp $
d16 5
a20 4
	nsswitch.h paths.h pwd.h ranlib.h re_comp.h regex.h regexp.h resolv.h \
	rmt.h search.h setjmp.h sgtty.h signal.h stab.h stddef.h stdio.h \
	stdlib.h string.h strings.h stringlist.h struct.h sysexits.h tar.h \
	time.h ttyent.h tzfile.h ulimit.h unistd.h util.h utime.h utmp.h vis.h
@


1.78
log
@Add an XSH5 fmtmsg() implementation.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.77 1999/07/20 09:47:08 mrg Exp $
d19 1
a19 1
	time.h ttyent.h tzfile.h unistd.h util.h utime.h utmp.h vis.h
@


1.77
log
@optionally include CRYPTOPATH Makefile.frag files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.76 1999/07/12 22:04:58 thorpej Exp $
d12 8
a19 8
	disktab.h dlfcn.h err.h errno.h fnmatch.h fstab.h fts.h glob.h grp.h \
	hesiod.h ieeefp.h iso646.h kvm.h langinfo.h libgen.h limits.h link.h \
	link_aout.h link_elf.h locale.h malloc.h math.h md4.h memory.h mpool.h \
	ndbm.h netdb.h netgroup.h nlist.h nl_types.h nsswitch.h paths.h pwd.h \
	ranlib.h re_comp.h regex.h regexp.h resolv.h rmt.h search.h setjmp.h \
	sgtty.h signal.h stab.h stddef.h stdio.h stdlib.h string.h strings.h \
	stringlist.h struct.h sysexits.h tar.h time.h ttyent.h tzfile.h \
	unistd.h util.h utime.h utmp.h vis.h
@


1.76
log
@Use bsd.crypto.mk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.75 1999/03/19 22:06:36 thorpej Exp $
d33 1
a33 1
.include "${CRYPTOPATH}/include/Makefile.frag"
@


1.75
log
@Move the link.h files for the different shlib formats via repository copy,
and rename them to match the executable format.  Introduce a new link.h
file which automatically picks the correct header based on the target of
the toolchain.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.74 1999/02/13 02:54:29 lukem Exp $
d4 3
d27 1
d31 4
@


1.74
log
@convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.73 1999/01/15 12:29:16 lukem Exp $
d10 7
a16 7
	hesiod.h ieeefp.h iso646.h kvm.h langinfo.h libgen.h limits.h locale.h \
	malloc.h math.h md4.h memory.h mpool.h ndbm.h netdb.h netgroup.h \
	nlist.h nl_types.h nsswitch.h paths.h pwd.h ranlib.h re_comp.h regex.h \
	regexp.h resolv.h rmt.h search.h setjmp.h sgtty.h signal.h stab.h \
	stddef.h stdio.h stdlib.h string.h strings.h stringlist.h struct.h \
	sysexits.h tar.h time.h ttyent.h tzfile.h unistd.h util.h utime.h \
	utmp.h vis.h
@


1.73
log
@merge nsswitch into main branch
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.72 1999/01/12 03:08:14 kleink Exp $
d26 1
a26 1
NOOBJ=	noobj
@


1.72
log
@Separate the userland and libsa errno declarations from <sys/errno.h> into
their canonical places.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.71 1998/02/02 21:07:13 perry Exp $
d10 1
a10 1
	ieeefp.h iso646.h kvm.h langinfo.h libgen.h limits.h locale.h \
d12 5
a16 4
	nlist.h nl_types.h paths.h pwd.h ranlib.h re_comp.h regex.h regexp.h \
	resolv.h rmt.h search.h setjmp.h sgtty.h signal.h stab.h stddef.h \
	stdio.h stdlib.h string.h strings.h stringlist.h struct.h sysexits.h \
	tar.h time.h ttyent.h tzfile.h unistd.h util.h utime.h utmp.h vis.h
@


1.71
log
@merge lite-2
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.70 1997/11/02 16:34:21 kleink Exp $
d9 7
a15 7
	disktab.h dlfcn.h err.h fnmatch.h fstab.h fts.h glob.h grp.h ieeefp.h \
	iso646.h kvm.h langinfo.h libgen.h limits.h locale.h malloc.h math.h \
	md4.h memory.h mpool.h ndbm.h netdb.h netgroup.h nlist.h nl_types.h \
	paths.h pwd.h ranlib.h re_comp.h regex.h regexp.h resolv.h rmt.h \
	search.h setjmp.h sgtty.h signal.h stab.h stddef.h stdio.h stdlib.h \
	string.h strings.h stringlist.h struct.h sysexits.h tar.h time.h \
	ttyent.h tzfile.h unistd.h util.h utime.h utmp.h vis.h
@


1.70
log
@Add <libgen.h> header, from XPG4.2.
@
text
@d1 4
a4 2
#	$NetBSD: Makefile,v 1.69 1997/04/30 00:45:41 thorpej Exp $
#	@@(#)Makefile	5.45.1.1 (Berkeley) 5/6/91
@


1.69
log
@Move md5.h to <sys/md5.h> so that it may be included by the kernel.
A symlink is used to preserve <md5.h> compatibility.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.68 1997/03/27 09:29:29 mycroft Exp $
d8 2
a9 2
	iso646.h kvm.h langinfo.h limits.h locale.h malloc.h math.h md4.h \
	memory.h mpool.h ndbm.h netdb.h netgroup.h nlist.h nl_types.h \
@


1.69.2.1
log
@Add necessary files for nsswitch, take 2
Remove support for "lookup" methods in resolv.conf
Remove prototypes for _ng_sl_*; these were replaced a long time ago
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.69 1997/04/30 00:45:41 thorpej Exp $
d7 7
a13 7
	disktab.h dlfcn.h err.h fnmatch.h fstab.h fts.h glob.h grp.h hesiod.h \
	ieeefp.h iso646.h kvm.h langinfo.h limits.h locale.h malloc.h math.h \
	md4.h memory.h mpool.h ndbm.h netdb.h netgroup.h nlist.h nl_types.h \
	nsswitch.h paths.h pwd.h ranlib.h re_comp.h regex.h regexp.h resolv.h \
	rmt.h search.h setjmp.h sgtty.h signal.h stab.h stddef.h stdio.h \
	stdlib.h string.h strings.h stringlist.h struct.h sysexits.h tar.h \
	time.h ttyent.h tzfile.h unistd.h util.h utime.h utmp.h vis.h
@


1.69.2.2
log
@update to current, fix copyrights, reimplement MAXDNSLUS (for now)
@
text
@d1 2
a2 4
#	$NetBSD: Makefile,v 1.71 1998/02/02 21:07:13 perry Exp $
#	@@(#)Makefile	8.2 (Berkeley) 1/4/94

# Doing a make includes builds /usr/include
d8 6
a13 7
	ieeefp.h iso646.h kvm.h langinfo.h libgen.h limits.h locale.h malloc.h \
	math.h md4.h memory.h mpool.h ndbm.h netdb.h netgroup.h nlist.h \
	nl_types.h nsswitch.h paths.h pwd.h ranlib.h re_comp.h regex.h \
	regexp.h resolv.h rmt.h search.h setjmp.h sgtty.h signal.h stab.h \
	stddef.h stdio.h stdlib.h string.h strings.h stringlist.h struct.h \
	sysexits.h tar.h time.h ttyent.h tzfile.h unistd.h util.h utime.h \
	utmp.h vis.h
@


1.68
log
@Install files via INCS, and GC the bogus permission fixing hack.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.67 1997/01/30 01:05:58 thorpej Exp $
d9 1
a9 1
	md5.h memory.h mpool.h ndbm.h netdb.h netgroup.h nlist.h nl_types.h \
@


1.67
log
@Install md4.h and md5.h
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.66 1997/01/17 06:11:35 lukem Exp $
d6 1
a6 1
FILES=	a.out.h ar.h assert.h bitstring.h bm.h cpio.h ctype.h db.h dirent.h \
d14 8
a21 2

DIRS=	arpa protocols rpc rpcsvc
a23 24

includes: ${SYS_INCLUDE}

includes:
	@@echo installing ${FILES}
	@@-for i in ${FILES}; do \
		cmp -s $$i ${DESTDIR}/usr/include/$$i || \
		    ${INSTALL} -c -m 444 $$i ${DESTDIR}/usr/include/$$i; \
	done
	@@echo installing ${DIRS}
	@@-for i in ${DIRS}; do \
		${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
			${DESTDIR}/usr/include/$$i; \
		(cd $$i; for j in *.[ih]; do \
			cmp -s $$j ${DESTDIR}/usr/include/$$i/$$j || \
			${INSTALL} -c -m 444 $$j \
			${DESTDIR}/usr/include/$$i/$$j; \
		done); \
	done
	chown -R ${BINOWN}:${BINGRP} ${DESTDIR}/usr/include
	find ${DESTDIR}/usr/include -type f | \
		xargs chmod a=r
	find ${DESTDIR}/usr/include -type d | \
		xargs chmod u=rwx,go=rx
@


1.66
log
@A stringlist implementation (previously ``private'' to libc netgroup code,
but christos ok-ed making public as it's useful)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.65 1996/12/27 10:44:21 pk Exp $
d8 6
a13 6
	iso646.h kvm.h langinfo.h limits.h locale.h malloc.h math.h \
	memory.h mpool.h ndbm.h netdb.h netgroup.h nlist.h nl_types.h paths.h \
	pwd.h ranlib.h re_comp.h regex.h regexp.h resolv.h rmt.h search.h \
	setjmp.h sgtty.h signal.h stab.h stddef.h stdio.h stdlib.h string.h \
	strings.h stringlist.h struct.h sysexits.h tar.h time.h ttyent.h \
	tzfile.h unistd.h util.h utime.h utmp.h vis.h
@


1.65
log
@link.h no longer liver here
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.64 1996/12/18 22:18:39 cgd Exp $
d12 2
a13 2
	strings.h struct.h sysexits.h tar.h time.h ttyent.h tzfile.h unistd.h \
	util.h utime.h utmp.h vis.h
@


1.64
log
@install dlfcn.h on the Alpha, since the Alpha (with the ELF shared library
tools) provides the dl*() interfaces.  the only remaining special-case header
is the a.out link.h, which should really be installed by the dynamic linker.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.63 1996/10/18 03:09:12 thorpej Exp $
a13 4

.if (${MACHINE_ARCH} != "alpha")
FILES+=	link.h
.endif
@


1.63
log
@Use ${INSTALL}.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.62 1996/09/29 23:29:16 mrg Exp $
d7 1
a7 1
	disktab.h err.h fnmatch.h fstab.h fts.h glob.h grp.h ieeefp.h \
d16 1
a16 1
FILES+=	dlfcn.h link.h
@


1.63.2.1
log
@initial nsswitch implementation
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.63 1996/10/18 03:09:12 thorpej Exp $
d7 1
a7 1
	disktab.h err.h fnmatch.h fstab.h fts.h glob.h grp.h hesiod.h ieeefp.h \
d9 5
a13 5
	memory.h mpool.h ndbm.h netdb.h netgroup.h nlist.h nl_types.h \
	nsswitch.h paths.h pwd.h ranlib.h re_comp.h regex.h regexp.h resolv.h \
	rmt.h search.h setjmp.h sgtty.h signal.h stab.h stddef.h stdio.h \
	stdlib.h string.h stringlist.h strings.h struct.h sysexits.h tar.h \
	time.h ttyent.h tzfile.h unistd.h util.h utime.h utmp.h vis.h
@


1.62
log
@install sys headers from sys/Makefile.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.61 1996/09/07 17:47:50 mycroft Exp $
d29 1
a29 1
		    install -c -m 444 $$i ${DESTDIR}/usr/include/$$i; \
d33 1
a33 1
		install -d -o ${BINOWN} -g ${BINGRP} -m 755 \
d37 2
a38 1
			install -c -m 444 $$j ${DESTDIR}/usr/include/$$i/$$j; \
@


1.61
log
@Make a symlink for poll.h.
@
text
@d1 1
a1 2
#	$NetBSD: Makefile,v 1.60 1996/08/09 04:01:48 jtc Exp $

a3 5
# Doing a make install builds /usr/include
#
# The ``rm -rf''s used below are safe because rm doesn't follow symbolic
# links.

a18 3
MFILES=	float.h frame.h stdarg.h varargs.h
LFILES=	errno.h fcntl.h poll.h syslog.h termios.h

a19 1
LDIRS=	dev net netinet netccitt netiso netns nfs sys ufs vm 
d23 1
a23 3
# Change SYS_INCLUDE in bsd.own.mk to "symlinks" if you don't want copies
.include <bsd.own.mk>
SYS_INCLUDE?=	copies
a39 10
	@@echo installing ${LFILES}
	@@-for i in ${LFILES}; do \
		rm -f ${DESTDIR}/usr/include/$$i; \
		ln -s sys/$$i ${DESTDIR}/usr/include/$$i; \
	done
	@@echo installing ${MFILES}
	@@-for i in ${MFILES}; do \
		rm -f ${DESTDIR}/usr/include/$$i; \
		ln -s machine/$$i ${DESTDIR}/usr/include/$$i; \
	done
a44 48

copies:
	@@echo copies: ${LDIRS}
	@@-for i in ${LDIRS}; do \
		rm -rf ${DESTDIR}/usr/include/$$i; \
		install -d -o ${BINOWN} -g ${BINGRP} -m 755 \
			${DESTDIR}/usr/include/$$i ; \
	done
	cd ../sys; \
	pax -rw -pa -L \
	    `find ${LDIRS} -follow -type f -name '*.h' '!' -path \
	    'netiso/xebec/*' -print` ${DESTDIR}/usr/include
	rm -rf ${DESTDIR}/usr/include/machine
	install -d -o ${BINOWN} -g ${BINGRP} -m 755 \
		${DESTDIR}/usr/include/machine
	pax -rw -pa -s "|../sys/arch/${MACHINE}/include||" \
	    ../sys/arch/${MACHINE}/include/*.h \
	    ${DESTDIR}/usr/include/machine   
	rm -rf ${DESTDIR}/usr/include/${MACHINE_ARCH}
	if test ${MACHINE} != ${MACHINE_ARCH} -a \
	    -d ../sys/arch/${MACHINE_ARCH}/include; then \
		install -d -o ${BINOWN} -g ${BINGRP} -m 755 \
    	    	    ${DESTDIR}/usr/include/${MACHINE_ARCH}; \
		pax -rw -pa -s "|../sys/arch/${MACHINE_ARCH}/include||" \
		    ../sys/arch/${MACHINE_ARCH}/include/*.h \
		    ${DESTDIR}/usr/include/${MACHINE_ARCH}; \
	else \
		ln -s machine ${DESTDIR}/usr/include/${MACHINE_ARCH}; \
	fi

symlinks:
	@@echo symlinks: ${LDIRS}
	@@for i in ${LDIRS}; do \
		rm -rf ${DESTDIR}/usr/include/$$i; \
		ln -s /sys/$$i ${DESTDIR}/usr/include/$$i; \
	done
	rm -rf ${DESTDIR}/usr/include/machine
	ln -s /sys/arch/${MACHINE}/include ${DESTDIR}/usr/include/machine
	rm -rf ${DESTDIR}/usr/include/${MACHINE_ARCH}
	if test ${MACHINE} != ${MACHINE_ARCH} -a \
	    -d ../sys/arch/${MACHINE_ARCH}/include ; then \
		ln -s /sys/arch/${MACHINE_ARCH}/include \
		    ${DESTDIR}/usr/include/${MACHINE_ARCH} ; \
	else \
		ln -s machine ${DESTDIR}/usr/include/${MACHINE_ARCH} ; \
	fi

includes: ${SYS_INCLUDE}
@


1.60
log
@install rmt.h
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $
d26 1
a26 1
LFILES=	errno.h fcntl.h syslog.h termios.h
@


1.59
log
@Added new header files for functions in libutil.
Added macro for master passwd lock file.
From Greg Hudson <ghudson@@MIT.EDU>.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.58 1996/05/10 04:51:34 cgd Exp $
d16 4
a19 4
	pwd.h ranlib.h re_comp.h regex.h regexp.h resolv.h search.h setjmp.h \
	sgtty.h signal.h stab.h stddef.h stdio.h stdlib.h string.h strings.h \
	struct.h sysexits.h tar.h time.h ttyent.h tzfile.h unistd.h util.h \
	utime.h utmp.h vis.h
@


1.58
log
@don't install dlfcn.h or link.h on the Alpha, because they make no
sense for that architecture.  (It doesn't have dynamic linking or
shared libraries.)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.57 1996/04/25 00:55:44 jtc Exp $
d18 2
a19 2
	struct.h sysexits.h tar.h time.h ttyent.h tzfile.h unistd.h utime.h \
	utmp.h vis.h
@


1.57
log
@Use 'includes' instead of 'install' targets to install headers
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.56 1996/02/05 22:34:09 jtc Exp $
d13 2
a14 2
	disktab.h dlfcn.h err.h fnmatch.h fstab.h fts.h glob.h grp.h ieeefp.h \
	iso646.h kvm.h langinfo.h limits.h link.h locale.h malloc.h math.h \
d20 4
@


1.56
log
@Add cpio.h, tar.h, and re_comp.h headers for POSIX & XPG4 conformance
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.55 1995/06/05 00:24:55 pk Exp $
d33 1
a33 1
realinstall:
a63 3
beforeinstall:
	install -d -o ${BINOWN} -g ${BINGRP} -m 755 ${DESTDIR}/usr/include

d110 2
a112 2

realinstall: ${SYS_INCLUDE}
@


1.55
log
@Add dlfcn.h and alphabetize.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.54 1995/04/16 19:03:55 mycroft Exp $
d12 8
a19 7
FILES=	a.out.h ar.h assert.h bitstring.h bm.h ctype.h db.h dirent.h disktab.h \
	dlfcn.h err.h fnmatch.h fstab.h fts.h glob.h grp.h ieeefp.h iso646.h \
	kvm.h langinfo.h limits.h link.h locale.h malloc.h math.h memory.h \
	mpool.h ndbm.h netdb.h netgroup.h nlist.h nl_types.h paths.h pwd.h \
	ranlib.h regex.h regexp.h resolv.h search.h setjmp.h sgtty.h signal.h \
	stab.h stddef.h stdio.h stdlib.h string.h strings.h struct.h \
	sysexits.h time.h ttyent.h tzfile.h unistd.h utime.h utmp.h vis.h
@


1.54
log
@Follow symlinks when copying .h files.  From Greg Hudson.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.53 1995/04/07 00:59:09 jtc Exp $
d13 6
a18 7
	err.h fnmatch.h fstab.h fts.h glob.h grp.h ieeefp.h iso646.h kvm.h \
	langinfo.h limits.h locale.h math.h memory.h mpool.h ndbm.h netdb.h \
	netgroup.h nlist.h nl_types.h paths.h pwd.h ranlib.h regex.h regexp.h \
	resolv.h search.h setjmp.h sgtty.h signal.h stab.h stddef.h \
	stdio.h stdlib.h string.h strings.h struct.h sysexits.h time.h \
	ttyent.h tzfile.h unistd.h utime.h utmp.h vis.h malloc.h \
	link.h
@


1.53
log
@New header file <ieeefp.h>, which provides a API for getting and setting
IEEE rounding mode, exception enable flags, and exception sticky flags.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.52 1995/02/17 09:08:08 jtc Exp $
d76 2
a77 2
	    `find ${LDIRS} -type f -name '*.h' '!' -path 'netiso/xebec/*' \
	    -print` ${DESTDIR}/usr/include
@


1.52
log
@For Normative Addendum 1.
We have this cr*p because no one would sa "no" to the danes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.51 1995/01/15 21:58:40 jtc Exp $
d13 4
a16 4
	err.h fnmatch.h fstab.h fts.h glob.h grp.h iso646.h kvm.h langinfo.h \
	limits.h locale.h math.h memory.h mpool.h ndbm.h netdb.h netgroup.h \
	nlist.h nl_types.h paths.h pwd.h ranlib.h regex.h regexp.h resolv.h \
	search.h setjmp.h sgtty.h signal.h stab.h stddef.h \
@


1.51
log
@fix tipo
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.50 1995/01/12 19:18:41 jtc Exp $
d13 3
a15 3
	err.h fnmatch.h fstab.h fts.h glob.h grp.h kvm.h langinfo.h limits.h \
	locale.h math.h memory.h mpool.h ndbm.h netdb.h netgroup.h nlist.h \
	nl_types.h paths.h pwd.h ranlib.h regex.h regexp.h resolv.h \
@


1.50
log
@Use  and .
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.49 1994/12/03 00:00:57 christos Exp $
d41 1
a41 1
		install -d -o ${BINDIR} -g ${BINGRP} -m 755 \
@


1.49
log
@Add netgroup.h
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.48 1994/10/26 00:55:40 cgd Exp $
d41 2
a42 1
		install -d -o bin -g bin -m 755 ${DESTDIR}/usr/include/$$i; \
d65 1
a65 1
	install -d -o bin -g bin -m 755 ${DESTDIR}/usr/include
d71 2
a72 1
		install -d -o bin -g bin -m 755 ${DESTDIR}/usr/include/$$i ; \
d79 2
a80 1
	install -d -o bin -g bin -m 755 ${DESTDIR}/usr/include/machine
d87 1
a87 1
		install -d -o bin -g bin -m 755 \
@


1.48
log
@new RCS ID format.
@
text
@d1 1
a1 1
#	$NetBSD$
d14 2
a15 2
	locale.h math.h memory.h mpool.h ndbm.h netdb.h nlist.h nl_types.h \
	paths.h pwd.h ranlib.h regex.h regexp.h resolv.h \
@


1.47
log
@make <stdarg.h> a symlink, and clean up ports' stdarg.h and varargs.h files.
@
text
@d1 3
a3 2
#	from: @@(#)Makefile	5.45.1.1 (Berkeley) 5/6/91
#	$Id: Makefile,v 1.46 1994/08/29 04:59:48 mycroft Exp $
@


1.46
log
@Simplify copying of sys include files.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.45 1994/07/21 07:33:11 cgd Exp $
d15 1
a15 1
	search.h setjmp.h sgtty.h signal.h stab.h stdarg.h stddef.h \
d20 1
a20 1
MFILES=	float.h frame.h varargs.h
@


1.46.2.1
log
@file Makefile was added on branch netbsd-1-0 on 1994-08-29 04:59:49 +0000
@
text
@d1 111
@


1.46.2.2
log
@Simplify copying of sys include files.
@
text
@a0 111
#	from: @@(#)Makefile	5.45.1.1 (Berkeley) 5/6/91
#	$Id: Makefile,v 1.46 1994/08/29 04:59:48 mycroft Exp $

# Doing a make install builds /usr/include
#
# The ``rm -rf''s used below are safe because rm doesn't follow symbolic
# links.

# Missing: mp.h

FILES=	a.out.h ar.h assert.h bitstring.h bm.h ctype.h db.h dirent.h disktab.h \
	err.h fnmatch.h fstab.h fts.h glob.h grp.h kvm.h langinfo.h limits.h \
	locale.h math.h memory.h mpool.h ndbm.h netdb.h nlist.h nl_types.h \
	paths.h pwd.h ranlib.h regex.h regexp.h resolv.h \
	search.h setjmp.h sgtty.h signal.h stab.h stdarg.h stddef.h \
	stdio.h stdlib.h string.h strings.h struct.h sysexits.h time.h \
	ttyent.h tzfile.h unistd.h utime.h utmp.h vis.h malloc.h \
	link.h

MFILES=	float.h frame.h varargs.h
LFILES=	errno.h fcntl.h syslog.h termios.h

DIRS=	arpa protocols rpc rpcsvc
LDIRS=	dev net netinet netccitt netiso netns nfs sys ufs vm 

NOOBJ=	noobj

# Change SYS_INCLUDE in bsd.own.mk to "symlinks" if you don't want copies
.include <bsd.own.mk>
SYS_INCLUDE?=	copies

realinstall:
	@@echo installing ${FILES}
	@@-for i in ${FILES}; do \
		cmp -s $$i ${DESTDIR}/usr/include/$$i || \
		    install -c -m 444 $$i ${DESTDIR}/usr/include/$$i; \
	done
	@@echo installing ${DIRS}
	@@-for i in ${DIRS}; do \
		install -d -o bin -g bin -m 755 ${DESTDIR}/usr/include/$$i; \
		(cd $$i; for j in *.[ih]; do \
			cmp -s $$j ${DESTDIR}/usr/include/$$i/$$j || \
			install -c -m 444 $$j ${DESTDIR}/usr/include/$$i/$$j; \
		done); \
	done
	@@echo installing ${LFILES}
	@@-for i in ${LFILES}; do \
		rm -f ${DESTDIR}/usr/include/$$i; \
		ln -s sys/$$i ${DESTDIR}/usr/include/$$i; \
	done
	@@echo installing ${MFILES}
	@@-for i in ${MFILES}; do \
		rm -f ${DESTDIR}/usr/include/$$i; \
		ln -s machine/$$i ${DESTDIR}/usr/include/$$i; \
	done
	chown -R ${BINOWN}:${BINGRP} ${DESTDIR}/usr/include
	find ${DESTDIR}/usr/include -type f | \
		xargs chmod a=r
	find ${DESTDIR}/usr/include -type d | \
		xargs chmod u=rwx,go=rx

beforeinstall:
	install -d -o bin -g bin -m 755 ${DESTDIR}/usr/include

copies:
	@@echo copies: ${LDIRS}
	@@-for i in ${LDIRS}; do \
		rm -rf ${DESTDIR}/usr/include/$$i; \
		install -d -o bin -g bin -m 755 ${DESTDIR}/usr/include/$$i ; \
	done
	cd ../sys; \
	pax -rw -pa -L \
	    `find ${LDIRS} -type f -name '*.h' '!' -path 'netiso/xebec/*' \
	    -print` ${DESTDIR}/usr/include
	rm -rf ${DESTDIR}/usr/include/machine
	install -d -o bin -g bin -m 755 ${DESTDIR}/usr/include/machine
	pax -rw -pa -s "|../sys/arch/${MACHINE}/include||" \
	    ../sys/arch/${MACHINE}/include/*.h \
	    ${DESTDIR}/usr/include/machine   
	rm -rf ${DESTDIR}/usr/include/${MACHINE_ARCH}
	if test ${MACHINE} != ${MACHINE_ARCH} -a \
	    -d ../sys/arch/${MACHINE_ARCH}/include; then \
		install -d -o bin -g bin -m 755 \
    	    	    ${DESTDIR}/usr/include/${MACHINE_ARCH}; \
		pax -rw -pa -s "|../sys/arch/${MACHINE_ARCH}/include||" \
		    ../sys/arch/${MACHINE_ARCH}/include/*.h \
		    ${DESTDIR}/usr/include/${MACHINE_ARCH}; \
	else \
		ln -s machine ${DESTDIR}/usr/include/${MACHINE_ARCH}; \
	fi

symlinks:
	@@echo symlinks: ${LDIRS}
	@@for i in ${LDIRS}; do \
		rm -rf ${DESTDIR}/usr/include/$$i; \
		ln -s /sys/$$i ${DESTDIR}/usr/include/$$i; \
	done
	rm -rf ${DESTDIR}/usr/include/machine
	ln -s /sys/arch/${MACHINE}/include ${DESTDIR}/usr/include/machine
	rm -rf ${DESTDIR}/usr/include/${MACHINE_ARCH}
	if test ${MACHINE} != ${MACHINE_ARCH} -a \
	    -d ../sys/arch/${MACHINE_ARCH}/include ; then \
		ln -s /sys/arch/${MACHINE_ARCH}/include \
		    ${DESTDIR}/usr/include/${MACHINE_ARCH} ; \
	else \
		ln -s machine ${DESTDIR}/usr/include/${MACHINE_ARCH} ; \
	fi

.include <bsd.prog.mk>

realinstall: ${SYS_INCLUDE}
@


1.45
log
@get permissions right on installed directories
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.44 1994/07/08 06:17:23 jtc Exp $
a24 2
# the following only used when making copies
LSUBDIRS= ufs/ffs ufs/lfs ufs/mfs ufs/ufs
a70 1
# This would be simpler if we didn't care whether netiso/xebec gets installed.
d72 3
a74 3
	pax -rw -pa -L `find ${LDIRS} '(' -type d -path '*/*' -prune ')' -o \
	    '(' -type f -name '*.h' -print ')'; \
	    find ${LSUBDIRS} -type f -name '*.h' -print` ${DESTDIR}/usr/include
@


1.44
log
@Use pax instead of two tar's to install ${MACHINE} and ${MACHINE_ARCH}
header files.  It's faster, because the file data doesn't have to be
passed through a pipe; and it's cleaner, because pax's rich set of
features allows us to copy the files without changing directories, etc.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.43 1994/06/22 15:09:35 mycroft Exp $
d60 3
a62 1
		xargs chmod a-w
@


1.43
log
@Fix the install for real.  Note this uses pax(1).
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.42 1994/06/22 00:21:37 cgd Exp $
d78 3
a80 2
	cd ../sys/arch/${MACHINE}/include; \
	    tar cf - *.h | (cd ${DESTDIR}/usr/include/machine; tar xpfB -);
d83 1
a83 1
	    -d ../sys/arch/${MACHINE_ARCH}/include ; then \
d85 4
a88 4
		    ${DESTDIR}/usr/include/${MACHINE_ARCH} ; \
		cd ../sys/arch/${MACHINE_ARCH}/include ; \
		tar cf - *.h | \
		    (cd ${DESTDIR}/usr/include/${MACHINE_ARCH} ; tar xpfB -); \
d90 1
a90 1
		ln -s machine ${DESTDIR}/usr/include/${MACHINE_ARCH} ; \
@


1.43.2.1
log
@from trunk
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.43 1994/06/22 15:09:35 mycroft Exp $
d60 1
a60 3
		xargs chmod a=r
	find ${DESTDIR}/usr/include -type d | \
		xargs chmod u=rwx,go=rx
@


1.42
log
@add bm header, from Bostic
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.41 1994/06/21 04:06:33 jtc Exp $
a68 1
		cd ../sys; \
a69 7
		tar cf - $$i/*.h | (cd ${DESTDIR}/usr/include; tar xpfB -); \
	done
	@@-for i in ${LSUBDIRS}; do \
		rm -rf ${DESTDIR}/usr/include/$$i; \
		cd ../sys; \
		install -d -o bin -g bin -m 755 ${DESTDIR}/usr/include/$$i ; \
		tar cf - $$i/*.h | (cd ${DESTDIR}/usr/include; tar xpfB -); \
d71 5
@


1.41
log
@Added langinfo.h header for nl_langinfo() function
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.40 1994/06/12 22:49:59 cgd Exp $
d11 1
a11 1
FILES=	a.out.h ar.h assert.h bitstring.h ctype.h db.h dirent.h disktab.h \
@


1.40
log
@make install work for copies, but hack it to work for symlinks
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.39 1994/05/29 21:47:12 jtc Exp $
d12 3
a14 3
	err.h fnmatch.h fstab.h fts.h glob.h grp.h kvm.h limits.h locale.h \
	math.h memory.h mpool.h ndbm.h netdb.h nlist.h nl_types.h paths.h \
	pwd.h ranlib.h regex.h regexp.h resolv.h \
@


1.39
log
@Added nl_types.h for message catalog functions
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.38 1994/05/16 22:43:42 cgd Exp $
d25 2
d68 6
@


1.38
log
@oops
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.37 1994/05/16 10:58:53 cgd Exp $
d13 2
a14 2
	math.h memory.h mpool.h ndbm.h netdb.h nlist.h paths.h pwd.h ranlib.h \
	regex.h regexp.h resolv.h \
@


1.37
log
@update all but ctype.h, dumprestore.h, time.h to 4.4-Lite versions.
USL copyright additions on those.  Kill varargs.h, because it can simply
be a link to the machine-dependent version.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.36 1994/05/11 03:37:39 cgd Exp $
d17 1
a17 1
	ttyent.h tzfile.h unistd.h utime.h utmp.h varargs.h vis.h malloc.h \
@


1.36
log
@user-land signal include file
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.35 1994/03/31 04:06:01 cgd Exp $
d20 1
a20 1
MFILES=	float.h frame.h
@


1.35
log
@don't use MACHINE_ARCH if it's dir doesn't exist...
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.34 1994/02/10 03:31:19 cgd Exp $
d15 1
a15 1
	search.h setjmp.h sgtty.h stab.h stdarg.h stddef.h \
d21 1
a21 1
LFILES=	errno.h fcntl.h signal.h syslog.h termios.h
@


1.34
log
@clean things up some
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.33 1994/02/10 02:09:31 cgd Exp $
d76 2
a77 1
	if test ${MACHINE} != ${MACHINE_ARCH} ; then \
d96 2
a97 1
	if test ${MACHINE} != ${MACHINE_ARCH} ; then \
@


1.33
log
@don't hide install -d, and make owner/group correct
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.32 1994/01/12 22:56:29 cgd Exp $
d36 1
a36 1
		    install -c -m 644 $$i ${DESTDIR}/usr/include/$$i; \
d40 1
a40 4
		if [ ! -d ${DESTDIR}/usr/include/$$i ]; \
		then \
			mkdir ${DESTDIR}/usr/include/$$i; \
		fi; \
d43 1
a43 1
			install -c -m 644 $$j ${DESTDIR}/usr/include/$$i/$$j; \
d56 3
a58 2
	@@chown -R ${BINOWN}:${BINGRP} ${DESTDIR}/usr/include
	@@chmod -R a-w ${DESTDIR}/usr/include
d68 1
d72 1
a72 1
	mkdir ${DESTDIR}/usr/include/machine
d77 2
a78 1
		mkdir ${DESTDIR}/usr/include/${MACHINE_ARCH} ; \
@


1.32
log
@regexp.h should still be here, for things needing the compat lib.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.31 1994/01/08 12:22:47 cgd Exp $
d63 1
a63 1
	@@install -d -o root -g wheel -m 755 ${DESTDIR}/usr/include
@


1.31
log
@fix SYS_INCLUDE definition, and explicitly include bsd.own.mk.
minor cleanup, and add support for creating and/or symlinking
/usr/include/${MACHINE_ARCH} as necessary.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.30 1993/12/22 06:44:10 cgd Exp $
d14 2
a15 1
	regex.h resolv.h search.h setjmp.h sgtty.h stab.h stdarg.h stddef.h \
@


1.30
log
@add 'dev' to the list of LDIRS
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.29 1993/11/12 18:27:21 jtc Exp $
d28 2
a29 3
.if !defined(SYS_INCLUDE)
SYS_INCLUDE=	copies
.endif
d74 10
a83 1
	tar cf - *.h | (cd ${DESTDIR}/usr/include/machine; tar xpfB -); \
d93 7
@


1.29
log
@Install regex.h header.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.28 1993/10/21 20:53:13 jtc Exp $
d23 1
a23 1
LDIRS=	net netinet netccitt netiso netns nfs sys ufs vm 
@


1.28
log
@Added X/Open 1170's <search.h> header --- it only declares bsearch, insque,
and remque at this time.  The remainder of the functions will be added as
time allows.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.27 1993/10/17 00:51:30 pk Exp $
d14 1
a14 1
	regexp.h resolv.h search.h setjmp.h sgtty.h stab.h stdarg.h stddef.h \
@


1.27
log
@Moved <link.h> here from usr.bin/ld as it is needed by other modules
and utilities (eg. crt0, libc, nm).
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.26 1993/10/09 23:28:14 cgd Exp $
d14 4
a17 3
	regexp.h resolv.h setjmp.h sgtty.h stab.h stdarg.h stddef.h stdio.h \
	stdlib.h string.h strings.h struct.h sysexits.h time.h ttyent.h \
	tzfile.h unistd.h utime.h utmp.h varargs.h vis.h malloc.h link.h
@


1.26
log
@install the 2 includes in ./rpcsvc, too.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.25 1993/10/08 05:48:05 cgd Exp $
d16 1
a16 1
	tzfile.h unistd.h utime.h utmp.h varargs.h vis.h malloc.h
@


1.25
log
@move rpcsvc files and include generation into src/lib/librpcsvc
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.24 1993/10/01 00:22:00 jtc Exp $
d21 1
a21 1
DIRS=	arpa protocols rpc
@


1.24
log
@Use `:', rather than `.' to separate user and group in chown commands
in case we ever decide to remove the support for the (obsolete) `.'
separator.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.23 1993/08/16 00:26:07 mycroft Exp $
a7 2

SUBDIR= rpcsvc
@


1.23
log
@Oops.  `copies' was getting done before making /usr/include.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.22 1993/08/15 23:31:16 mycroft Exp $
d60 1
a60 1
	@@chown -R ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include
@


1.22
log
@There would have to be just one Makefile in the entire tree which referenced
_PROGSUBDIR.  GRRRRRR.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.21 1993/08/01 05:41:49 mycroft Exp $
a32 2
afterinstall: ${SYS_INCLUDE}

d64 1
a64 6
	@@if [ ! -d ${DESTDIR}/usr/include ]; then \
                /bin/rm -f ${DESTDIR}/usr/include ; \
                mkdir -p ${DESTDIR}/usr/include ; \
        else \
                true ; \
        fi
d88 2
@


1.21
log
@Add RCS identifiers.
@
text
@d2 1
a2 1
#	$Id: $
d33 3
a35 1
install: beforeinstall _PROGSUBDIR ${SYS_INCLUDE}
@


1.20
log
@Allow SYS_INCLUDES={copies,symlinks} choice in bsd.own.mk.
@
text
@d1 3
a3 2
#	@@(#)Makefile	5.45.1.1 (Berkeley) 5/6/91
#
a7 1
#
@


1.19
log
@Don't forget to install fnmatch.h.
@
text
@d28 4
a31 5
# Define SHARED to indicate whether you want symbolic links to the system
# source (``symlinks''), or a separate copy (``copies''); (latter useful
# in environments where it's not possible to keep /sys publicly readable)
SHARED= 	copies
#SHARED= 	symlinks
d33 1
a33 1
install: beforeinstall _PROGSUBDIR ${SHARED}
@


1.18
log
@install incluide files mode 644
@
text
@d14 2
a15 2
	err.h fstab.h fts.h glob.h grp.h kvm.h limits.h locale.h math.h \
	memory.h mpool.h ndbm.h netdb.h nlist.h paths.h pwd.h ranlib.h \
@


1.17
log
@install /usr/include/malloc.h!
@
text
@d38 1
a38 1
		    install -c $$i ${DESTDIR}/usr/include/$$i; \
d48 1
a48 1
			install -c $$j ${DESTDIR}/usr/include/$$i/$$j; \
@


1.16
log
@change for 'arch'
@
text
@d18 1
a18 1
	tzfile.h unistd.h utime.h utmp.h varargs.h vis.h
@


1.15
log
@ftp put doesn't cleanly truncate and overwrite a file.
@
text
@d81 1
a81 1
	cd ../sys/${MACHINE}/include; \
d91 1
a91 1
	ln -s /sys/${MACHINE}/include ${DESTDIR}/usr/include/machine
@


1.14
log
@rpc directory installs now.
@
text
@a93 14
de ${DESTDIR}/usr/include/machine

.include <bsd.prog.mk>
nks: ${LDIRS}
	@@for i in ${LDIRS}; do \
		rm -rf ${DESTDIR}/usr/include/$$i; \
		ln -s /sys/$$i ${DESTDIR}/usr/include/$$i; \
		chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$$i; \
	done
	rm -rf ${DESTDIR}/usr/include/machine
	ln -s /sys/${MACHINE}/include ${DESTDIR}/usr/include/machine
	chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/machine

.include <bsd.prog.mk>
@


1.13
log
@Set permissions and ownership all at once. (No more directories mode 0777)
@
text
@d23 1
a23 1
DIRS=	arpa protocols
a45 1
		chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$$i; \
d48 1
a48 1
			install -c 444 $$j ${DESTDIR}/usr/include/$$i/$$j; \
d92 3
@


1.12
log
@Don't forget to install err.h.
@
text
@d23 1
a23 1
DIRS=arpa protocols
d38 1
a38 2
		    install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$i \
		    ${DESTDIR}/usr/include/$$i; \
a46 1
		chmod 755 ${DESTDIR}/usr/include/$$i; \
d49 1
a49 2
			install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \
			    ${DESTDIR}/usr/include/$$i/$$j; \
a55 1
		chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$$i; \
a60 1
		chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$$i; \
d62 2
a68 2
                chown root.wheel ${DESTDIR}/usr/include ; \
                chmod 755 ${DESTDIR}/usr/include ; \
d87 9
@


1.11
log
@changed sys.386bsd to sys
@
text
@d14 3
a16 3
	fstab.h fts.h glob.h grp.h kvm.h limits.h locale.h math.h memory.h \
	mpool.h ndbm.h netdb.h nlist.h paths.h pwd.h ranlib.h regexp.h \
	resolv.h setjmp.h sgtty.h stab.h stdarg.h stddef.h stdio.h \
@


1.10
log
@Install mpool.h.
@
text
@d82 1
a82 1
		cd ../sys.386bsd; \
d87 1
a87 1
	cd ../sys.386bsd/${MACHINE}/include; \
@


1.9
log
@added netccitt, netiso, and netns support, from (currently
alpha) patch 126
@
text
@d15 1
a15 1
	ndbm.h netdb.h nlist.h paths.h pwd.h ranlib.h regexp.h \
@


1.8
log
@make sure directory to install stuff exists before installing
@
text
@d24 1
a24 2
# Missing: netimp netiso netns
LDIRS=	net netinet nfs sys ufs vm
@


1.7
log
@now that we have subdirs, need to do them on install, too...
@
text
@d35 1
a35 1
install: _PROGSUBDIR ${SHARED}
d69 10
@


1.6
log
@updated for addition of rpcsvc
@
text
@d35 1
a35 1
install: ${SHARED}
@


1.5
log
@install of include subdirs from sys.386bsd now done relative to current
dir, rather than from /sys.
@
text
@a7 1
all clean cleandir depend lint tags:
d9 2
@


1.4
log
@marked dirs netimp, netiso, and netns as "missing" from LDIRS
@
text
@d72 1
a72 1
		cd /sys; \
d77 1
a77 1
	cd /sys/${MACHINE}/include; \
@


1.3
log
@added "vm" to list of subdirs of /usr/include, and made a minor
cleanup so /usr/include/machine is handled right w/different types
of installs (links vs. copies).
@
text
@d23 2
a24 1
LDIRS=	net netimp netinet netiso netns nfs sys ufs vm
@


1.2
log
@made install copy, rather than symlink includes
@
text
@d23 1
a23 1
LDIRS=	net netimp netinet netiso netns nfs sys ufs
d74 1
a74 1
	rm -f ${DESTDIR}/usr/include/machine
d86 1
a86 1
	rm -f ${DESTDIR}/usr/include/machine
@


1.1
log
@Initial revision
@
text
@d30 2
a31 2
# SHARED=	copies
SHARED=	symlinks
@


1.1.1.1
log
@initial import of 386bsd-0.1 sources
@
text
@@


1.1.1.2
log
@import lite-2
@
text
@d1 1
a1 1
#	@@(#)Makefile	8.2 (Berkeley) 1/4/94
d10 2
d13 5
a17 6
	err.h fnmatch.h fstab.h fts.h glob.h grp.h kvm.h limits.h locale.h \
	math.h memory.h mp.h mpool.h ndbm.h netdb.h nlist.h paths.h pwd.h \
	ranlib.h regex.h regexp.h resolv.h rune.h runetype.h setjmp.h \
	sgtty.h signal.h stab.h stddef.h stdio.h stdlib.h string.h strings.h \
	struct.h sysexits.h tar.h time.h ttyent.h tzfile.h unistd.h utime.h \
	utmp.h vis.h
d19 2
a20 2
MFILES=	float.h frame.h stdarg.h varargs.h
LFILES=	errno.h fcntl.h syslog.h termios.h
d23 1
a23 1
LDIRS=	net netccitt netinet netiso netns nfs sys ufs vm
d36 1
a36 1
		cmp -s $$i ${DESTDIR}/usr/include/$$i > /dev/null 2>&1 || \
d49 2
a50 3
			cmp -s $$j ${DESTDIR}/usr/include/$$i/$$j > \
			    /dev/null 2>&1 || \
			    install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \
d72 1
a72 1
		tar Hcf - $$i/*.h | (cd ${DESTDIR}/usr/include; tar xpfB -); \
d76 2
a77 6
	cd /sys/${MACHINE}/include && \
	    tar Hcf - *.h | (cd ${DESTDIR}/usr/include/machine; tar xpfB -);
	rm -f ${DESTDIR}/usr/include/X11
	mkdir ${DESTDIR}/usr/include/X11
	cd /usr/X11/include/X11 && \
	    tar Hcf - *.h | (cd ${DESTDIR}/usr/include/X11; tar xpfB -);
d87 2
a88 3
	ln -s ${DESTDIR}/sys/${MACHINE}/include ${DESTDIR}/usr/include/machine
	rm -f ${DESTDIR}/usr/include/X11
	ln -s ${DESTDIR}/usr/X11/include/X11 ${DESTDIR}/usr/include/X11
@
