xref: /freebsd/lib/libc++/Makefile (revision 56b17de1e8360fe131d425de20b5e75ff3ea897c)
1SHLIBDIR?=	/lib
2
3.include <src.opts.mk>
4
5PACKAGE=	clibs
6_LIBCXXRTDIR=	${SRCTOP}/contrib/libcxxrt
7HDRDIR=		${SRCTOP}/contrib/llvm-project/libcxx/include
8SRCDIR=		${SRCTOP}/contrib/llvm-project/libcxx/src
9CXXINCLUDEDIR=	${INCLUDEDIR}/c++/v${SHLIB_MAJOR}
10
11.PATH: ${SRCDIR}
12
13LIB=		c++
14SHLIB_MAJOR=	1
15SHLIB_LDSCRIPT=	libc++.ldscript
16
17SRCS+=		algorithm.cpp
18SRCS+=		any.cpp
19SRCS+=		atomic.cpp
20SRCS+=		barrier.cpp
21SRCS+=		bind.cpp
22SRCS+=		call_once.cpp
23SRCS+=		charconv.cpp
24SRCS+=		chrono.cpp
25SRCS+=		condition_variable.cpp
26SRCS+=		condition_variable_destructor.cpp
27SRCS+=		error_category.cpp
28SRCS+=		exception.cpp
29SRCS+=		expected.cpp
30SRCS+=		filesystem/directory_entry.cpp
31SRCS+=		filesystem/directory_iterator.cpp
32SRCS+=		filesystem/filesystem_clock.cpp
33SRCS+=		filesystem/filesystem_error.cpp
34SRCS+=		filesystem/int128_builtins.cpp
35SRCS+=		filesystem/operations.cpp
36SRCS+=		filesystem/path.cpp
37SRCS+=		fstream.cpp
38SRCS+=		functional.cpp
39SRCS+=		future.cpp
40SRCS+=		hash.cpp
41SRCS+=		ios.cpp
42SRCS+=		ios.instantiations.cpp
43SRCS+=		iostream.cpp
44SRCS+=		legacy_pointer_safety.cpp
45SRCS+=		locale.cpp
46SRCS+=		memory.cpp
47SRCS+=		memory_resource.cpp
48SRCS+=		mutex.cpp
49SRCS+=		mutex_destructor.cpp
50SRCS+=		new.cpp
51SRCS+=		new_handler.cpp
52SRCS+=		new_helpers.cpp
53SRCS+=		optional.cpp
54SRCS+=		ostream.cpp
55SRCS+=		print.cpp
56SRCS+=		random.cpp
57SRCS+=		random_shuffle.cpp
58SRCS+=		regex.cpp
59SRCS+=		ryu/d2fixed.cpp
60SRCS+=		ryu/d2s.cpp
61SRCS+=		ryu/f2s.cpp
62SRCS+=		shared_mutex.cpp
63SRCS+=		stdexcept.cpp
64SRCS+=		string.cpp
65SRCS+=		strstream.cpp
66SRCS+=		system_error.cpp
67SRCS+=		thread.cpp
68SRCS+=		typeinfo.cpp
69SRCS+=		valarray.cpp
70SRCS+=		variant.cpp
71SRCS+=		vector.cpp
72SRCS+=		verbose_abort.cpp
73
74CXXRT_SRCS+=	auxhelper.cc
75CXXRT_SRCS+=	dynamic_cast.cc
76CXXRT_SRCS+=	exception.cc
77CXXRT_SRCS+=	guard.cc
78CXXRT_SRCS+=	libelftc_dem_gnu3.c
79CXXRT_SRCS+=	memory.cc
80CXXRT_SRCS+=	stdexcept.cc
81CXXRT_SRCS+=	terminate.cc
82CXXRT_SRCS+=	typeinfo.cc
83
84.for _S in ${CXXRT_SRCS}
85CLEANFILES+=	cxxrt_${_S}
86STATICOBJS+=	cxxrt_${_S:R}.o
87cxxrt_${_S}: ${_LIBCXXRTDIR}/${_S} .NOMETA
88	ln -sf ${.ALLSRC} ${.TARGET}
89.endfor
90
91WARNS?=		0
92CFLAGS+=	-isystem ${SRCDIR}
93CFLAGS+=	-isystem ${.CURDIR}
94CFLAGS+=	-isystem ${HDRDIR}
95CFLAGS+=	-isystem ${_LIBCXXRTDIR}
96CFLAGS+=	-nostdinc++
97CFLAGS+=	-nostdlib
98CFLAGS+=	-D_LIBCPP_BUILDING_LIBRARY
99CFLAGS+=	-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
100CFLAGS+=	-D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES
101CFLAGS+=	-DLIBCXXRT
102CFLAGS+=	-fdata-sections
103CFLAGS+=	-ffunction-sections
104CFLAGS+=	-fno-semantic-interposition
105CFLAGS+=	-fvisibility-inlines-hidden
106CFLAGS+=	-fvisibility=hidden
107CXXSTD?=	c++23
108
109LIBADD+=	cxxrt
110
111INCSGROUPS+=	STD
112STDDIR=		${CXXINCLUDEDIR}
113STD_HEADERS+=	__assert
114STD_HEADERS+=	__bit_reference
115STD_HEADERS+=	__config
116STD_HEADERS+=	__hash_table
117STD_HEADERS+=	__locale
118STD_HEADERS+=	__mbstate_t.h
119STD_HEADERS+=	__node_handle
120STD_HEADERS+=	__split_buffer
121STD_HEADERS+=	__std_clang_module
122STD_HEADERS+=	__std_mbstate_t.h
123STD_HEADERS+=	__tree
124STD_HEADERS+=	__undef_macros
125STD_HEADERS+=	__verbose_abort
126STD_HEADERS+=	algorithm
127STD_HEADERS+=	any
128STD_HEADERS+=	array
129STD_HEADERS+=	atomic
130STD_HEADERS+=	barrier
131STD_HEADERS+=	bit
132STD_HEADERS+=	bitset
133STD_HEADERS+=	cassert
134STD_HEADERS+=	ccomplex
135STD_HEADERS+=	cctype
136STD_HEADERS+=	cerrno
137STD_HEADERS+=	cfenv
138STD_HEADERS+=	cfloat
139STD_HEADERS+=	charconv
140STD_HEADERS+=	chrono
141STD_HEADERS+=	cinttypes
142STD_HEADERS+=	ciso646
143STD_HEADERS+=	climits
144STD_HEADERS+=	clocale
145STD_HEADERS+=	cmath
146STD_HEADERS+=	codecvt
147STD_HEADERS+=	compare
148STD_HEADERS+=	complex
149STD_HEADERS+=	complex.h
150STD_HEADERS+=	concepts
151STD_HEADERS+=	condition_variable
152STD_HEADERS+=	coroutine
153STD_HEADERS+=	csetjmp
154STD_HEADERS+=	csignal
155STD_HEADERS+=	cstdarg
156STD_HEADERS+=	cstdbool
157STD_HEADERS+=	cstddef
158STD_HEADERS+=	cstdint
159STD_HEADERS+=	cstdio
160STD_HEADERS+=	cstdlib
161STD_HEADERS+=	cstring
162STD_HEADERS+=	ctgmath
163STD_HEADERS+=	ctime
164STD_HEADERS+=	ctype.h
165STD_HEADERS+=	cuchar
166STD_HEADERS+=	cwchar
167STD_HEADERS+=	cwctype
168STD_HEADERS+=	deque
169STD_HEADERS+=	errno.h
170STD_HEADERS+=	exception
171STD_HEADERS+=	execution
172STD_HEADERS+=	expected
173STD_HEADERS+=	fenv.h
174STD_HEADERS+=	filesystem
175STD_HEADERS+=	float.h
176STD_HEADERS+=	format
177STD_HEADERS+=	forward_list
178STD_HEADERS+=	fstream
179STD_HEADERS+=	functional
180STD_HEADERS+=	future
181STD_HEADERS+=	initializer_list
182STD_HEADERS+=	inttypes.h
183STD_HEADERS+=	iomanip
184STD_HEADERS+=	ios
185STD_HEADERS+=	iosfwd
186STD_HEADERS+=	iostream
187STD_HEADERS+=	istream
188STD_HEADERS+=	iterator
189STD_HEADERS+=	latch
190STD_HEADERS+=	limits
191STD_HEADERS+=	list
192STD_HEADERS+=	locale
193STD_HEADERS+=	locale.h
194STD_HEADERS+=	map
195STD_HEADERS+=	math.h
196STD_HEADERS+=	mdspan
197STD_HEADERS+=	memory
198STD_HEADERS+=	memory_resource
199STD_HEADERS+=	module.modulemap
200STD_HEADERS+=	mutex
201STD_HEADERS+=	new
202STD_HEADERS+=	numbers
203STD_HEADERS+=	numeric
204STD_HEADERS+=	optional
205STD_HEADERS+=	ostream
206STD_HEADERS+=	print
207STD_HEADERS+=	queue
208STD_HEADERS+=	random
209STD_HEADERS+=	ranges
210STD_HEADERS+=	ratio
211STD_HEADERS+=	regex
212STD_HEADERS+=	scoped_allocator
213STD_HEADERS+=	semaphore
214STD_HEADERS+=	set
215STD_HEADERS+=	shared_mutex
216STD_HEADERS+=	source_location
217STD_HEADERS+=	span
218STD_HEADERS+=	sstream
219STD_HEADERS+=	stack
220STD_HEADERS+=	stdatomic.h
221STD_HEADERS+=	stdbool.h
222STD_HEADERS+=	stddef.h
223STD_HEADERS+=	stdexcept
224STD_HEADERS+=	stdint.h
225STD_HEADERS+=	stdio.h
226STD_HEADERS+=	stdlib.h
227STD_HEADERS+=	stop_token
228STD_HEADERS+=	streambuf
229STD_HEADERS+=	string
230STD_HEADERS+=	string.h
231STD_HEADERS+=	string_view
232STD_HEADERS+=	strstream
233STD_HEADERS+=	syncstream
234STD_HEADERS+=	system_error
235STD_HEADERS+=	tgmath.h
236STD_HEADERS+=	thread
237STD_HEADERS+=	tuple
238STD_HEADERS+=	type_traits
239STD_HEADERS+=	typeindex
240STD_HEADERS+=	typeinfo
241STD_HEADERS+=	uchar.h
242STD_HEADERS+=	unordered_map
243STD_HEADERS+=	unordered_set
244STD_HEADERS+=	utility
245STD_HEADERS+=	valarray
246STD_HEADERS+=	variant
247STD_HEADERS+=	vector
248STD_HEADERS+=	version
249STD_HEADERS+=	wchar.h
250STD_HEADERS+=	wctype.h
251.for hdr in ${STD_HEADERS}
252STD+=		${HDRDIR}/${hdr}
253.endfor
254
255# Generated by CMake as of libc++ 18.
256STD+=		${.CURDIR}/__assertion_handler
257
258# Generated by CMake as of libc++ 13.
259STD+=		${.CURDIR}/__config_site
260
261# Generated by CMake as of libc++ 19.
262STD_HEADERS+=	${.CURDIR}/libcxx.imp
263
264RT_HEADERS+=	cxxabi.h
265.for hdr in ${RT_HEADERS}
266STD+=		${_LIBCXXRTDIR}/${hdr}
267.endfor
268
269INCSGROUPS+=	ALG
270ALGDIR=		${CXXINCLUDEDIR}/__algorithm
271ALG_HEADERS+=	adjacent_find.h
272ALG_HEADERS+=	all_of.h
273ALG_HEADERS+=	any_of.h
274ALG_HEADERS+=	binary_search.h
275ALG_HEADERS+=	clamp.h
276ALG_HEADERS+=	comp.h
277ALG_HEADERS+=	comp_ref_type.h
278ALG_HEADERS+=	copy.h
279ALG_HEADERS+=	copy_backward.h
280ALG_HEADERS+=	copy_if.h
281ALG_HEADERS+=	copy_move_common.h
282ALG_HEADERS+=	copy_n.h
283ALG_HEADERS+=	count.h
284ALG_HEADERS+=	count_if.h
285ALG_HEADERS+=	equal.h
286ALG_HEADERS+=	equal_range.h
287ALG_HEADERS+=	fill.h
288ALG_HEADERS+=	fill_n.h
289ALG_HEADERS+=	find.h
290ALG_HEADERS+=	find_end.h
291ALG_HEADERS+=	find_first_of.h
292ALG_HEADERS+=	find_if.h
293ALG_HEADERS+=	find_if_not.h
294ALG_HEADERS+=	find_segment_if.h
295ALG_HEADERS+=	fold.h
296ALG_HEADERS+=	for_each.h
297ALG_HEADERS+=	for_each_n.h
298ALG_HEADERS+=	for_each_segment.h
299ALG_HEADERS+=	generate.h
300ALG_HEADERS+=	generate_n.h
301ALG_HEADERS+=	half_positive.h
302ALG_HEADERS+=	in_found_result.h
303ALG_HEADERS+=	in_fun_result.h
304ALG_HEADERS+=	in_in_out_result.h
305ALG_HEADERS+=	in_in_result.h
306ALG_HEADERS+=	in_out_out_result.h
307ALG_HEADERS+=	in_out_result.h
308ALG_HEADERS+=	includes.h
309ALG_HEADERS+=	inplace_merge.h
310ALG_HEADERS+=	is_heap.h
311ALG_HEADERS+=	is_heap_until.h
312ALG_HEADERS+=	is_partitioned.h
313ALG_HEADERS+=	is_permutation.h
314ALG_HEADERS+=	is_sorted.h
315ALG_HEADERS+=	is_sorted_until.h
316ALG_HEADERS+=	iter_swap.h
317ALG_HEADERS+=	iterator_operations.h
318ALG_HEADERS+=	lexicographical_compare.h
319ALG_HEADERS+=	lexicographical_compare_three_way.h
320ALG_HEADERS+=	lower_bound.h
321ALG_HEADERS+=	make_heap.h
322ALG_HEADERS+=	make_projected.h
323ALG_HEADERS+=	max.h
324ALG_HEADERS+=	max_element.h
325ALG_HEADERS+=	merge.h
326ALG_HEADERS+=	min.h
327ALG_HEADERS+=	min_element.h
328ALG_HEADERS+=	min_max_result.h
329ALG_HEADERS+=	minmax.h
330ALG_HEADERS+=	minmax_element.h
331ALG_HEADERS+=	mismatch.h
332ALG_HEADERS+=	move.h
333ALG_HEADERS+=	move_backward.h
334ALG_HEADERS+=	next_permutation.h
335ALG_HEADERS+=	none_of.h
336ALG_HEADERS+=	nth_element.h
337ALG_HEADERS+=	partial_sort.h
338ALG_HEADERS+=	partial_sort_copy.h
339ALG_HEADERS+=	partition.h
340ALG_HEADERS+=	partition_copy.h
341ALG_HEADERS+=	partition_point.h
342ALG_HEADERS+=	pop_heap.h
343ALG_HEADERS+=	prev_permutation.h
344ALG_HEADERS+=	pstl.h
345ALG_HEADERS+=	push_heap.h
346ALG_HEADERS+=	ranges_adjacent_find.h
347ALG_HEADERS+=	ranges_all_of.h
348ALG_HEADERS+=	ranges_any_of.h
349ALG_HEADERS+=	ranges_binary_search.h
350ALG_HEADERS+=	ranges_clamp.h
351ALG_HEADERS+=	ranges_contains.h
352ALG_HEADERS+=	ranges_contains_subrange.h
353ALG_HEADERS+=	ranges_copy.h
354ALG_HEADERS+=	ranges_copy_backward.h
355ALG_HEADERS+=	ranges_copy_if.h
356ALG_HEADERS+=	ranges_copy_n.h
357ALG_HEADERS+=	ranges_count.h
358ALG_HEADERS+=	ranges_count_if.h
359ALG_HEADERS+=	ranges_ends_with.h
360ALG_HEADERS+=	ranges_equal.h
361ALG_HEADERS+=	ranges_equal_range.h
362ALG_HEADERS+=	ranges_fill.h
363ALG_HEADERS+=	ranges_fill_n.h
364ALG_HEADERS+=	ranges_find.h
365ALG_HEADERS+=	ranges_find_end.h
366ALG_HEADERS+=	ranges_find_first_of.h
367ALG_HEADERS+=	ranges_find_if.h
368ALG_HEADERS+=	ranges_find_if_not.h
369ALG_HEADERS+=	ranges_find_last.h
370ALG_HEADERS+=	ranges_for_each.h
371ALG_HEADERS+=	ranges_for_each_n.h
372ALG_HEADERS+=	ranges_generate.h
373ALG_HEADERS+=	ranges_generate_n.h
374ALG_HEADERS+=	ranges_includes.h
375ALG_HEADERS+=	ranges_inplace_merge.h
376ALG_HEADERS+=	ranges_is_heap.h
377ALG_HEADERS+=	ranges_is_heap_until.h
378ALG_HEADERS+=	ranges_is_partitioned.h
379ALG_HEADERS+=	ranges_is_permutation.h
380ALG_HEADERS+=	ranges_is_sorted.h
381ALG_HEADERS+=	ranges_is_sorted_until.h
382ALG_HEADERS+=	ranges_iterator_concept.h
383ALG_HEADERS+=	ranges_lexicographical_compare.h
384ALG_HEADERS+=	ranges_lower_bound.h
385ALG_HEADERS+=	ranges_make_heap.h
386ALG_HEADERS+=	ranges_max.h
387ALG_HEADERS+=	ranges_max_element.h
388ALG_HEADERS+=	ranges_merge.h
389ALG_HEADERS+=	ranges_min.h
390ALG_HEADERS+=	ranges_min_element.h
391ALG_HEADERS+=	ranges_minmax.h
392ALG_HEADERS+=	ranges_minmax_element.h
393ALG_HEADERS+=	ranges_mismatch.h
394ALG_HEADERS+=	ranges_move.h
395ALG_HEADERS+=	ranges_move_backward.h
396ALG_HEADERS+=	ranges_next_permutation.h
397ALG_HEADERS+=	ranges_none_of.h
398ALG_HEADERS+=	ranges_nth_element.h
399ALG_HEADERS+=	ranges_partial_sort.h
400ALG_HEADERS+=	ranges_partial_sort_copy.h
401ALG_HEADERS+=	ranges_partition.h
402ALG_HEADERS+=	ranges_partition_copy.h
403ALG_HEADERS+=	ranges_partition_point.h
404ALG_HEADERS+=	ranges_pop_heap.h
405ALG_HEADERS+=	ranges_prev_permutation.h
406ALG_HEADERS+=	ranges_push_heap.h
407ALG_HEADERS+=	ranges_remove.h
408ALG_HEADERS+=	ranges_remove_copy.h
409ALG_HEADERS+=	ranges_remove_copy_if.h
410ALG_HEADERS+=	ranges_remove_if.h
411ALG_HEADERS+=	ranges_replace.h
412ALG_HEADERS+=	ranges_replace_copy.h
413ALG_HEADERS+=	ranges_replace_copy_if.h
414ALG_HEADERS+=	ranges_replace_if.h
415ALG_HEADERS+=	ranges_reverse.h
416ALG_HEADERS+=	ranges_reverse_copy.h
417ALG_HEADERS+=	ranges_rotate.h
418ALG_HEADERS+=	ranges_rotate_copy.h
419ALG_HEADERS+=	ranges_sample.h
420ALG_HEADERS+=	ranges_search.h
421ALG_HEADERS+=	ranges_search_n.h
422ALG_HEADERS+=	ranges_set_difference.h
423ALG_HEADERS+=	ranges_set_intersection.h
424ALG_HEADERS+=	ranges_set_symmetric_difference.h
425ALG_HEADERS+=	ranges_set_union.h
426ALG_HEADERS+=	ranges_shuffle.h
427ALG_HEADERS+=	ranges_sort.h
428ALG_HEADERS+=	ranges_sort_heap.h
429ALG_HEADERS+=	ranges_stable_partition.h
430ALG_HEADERS+=	ranges_stable_sort.h
431ALG_HEADERS+=	ranges_starts_with.h
432ALG_HEADERS+=	ranges_swap_ranges.h
433ALG_HEADERS+=	ranges_transform.h
434ALG_HEADERS+=	ranges_unique.h
435ALG_HEADERS+=	ranges_unique_copy.h
436ALG_HEADERS+=	ranges_upper_bound.h
437ALG_HEADERS+=	remove.h
438ALG_HEADERS+=	remove_copy.h
439ALG_HEADERS+=	remove_copy_if.h
440ALG_HEADERS+=	remove_if.h
441ALG_HEADERS+=	replace.h
442ALG_HEADERS+=	replace_copy.h
443ALG_HEADERS+=	replace_copy_if.h
444ALG_HEADERS+=	replace_if.h
445ALG_HEADERS+=	reverse.h
446ALG_HEADERS+=	reverse_copy.h
447ALG_HEADERS+=	rotate.h
448ALG_HEADERS+=	rotate_copy.h
449ALG_HEADERS+=	sample.h
450ALG_HEADERS+=	search.h
451ALG_HEADERS+=	search_n.h
452ALG_HEADERS+=	set_difference.h
453ALG_HEADERS+=	set_intersection.h
454ALG_HEADERS+=	set_symmetric_difference.h
455ALG_HEADERS+=	set_union.h
456ALG_HEADERS+=	shift_left.h
457ALG_HEADERS+=	shift_right.h
458ALG_HEADERS+=	shuffle.h
459ALG_HEADERS+=	sift_down.h
460ALG_HEADERS+=	simd_utils.h
461ALG_HEADERS+=	sort.h
462ALG_HEADERS+=	sort_heap.h
463ALG_HEADERS+=	stable_partition.h
464ALG_HEADERS+=	stable_sort.h
465ALG_HEADERS+=	swap_ranges.h
466ALG_HEADERS+=	three_way_comp_ref_type.h
467ALG_HEADERS+=	transform.h
468ALG_HEADERS+=	uniform_random_bit_generator_adaptor.h
469ALG_HEADERS+=	unique.h
470ALG_HEADERS+=	unique_copy.h
471ALG_HEADERS+=	unwrap_iter.h
472ALG_HEADERS+=	unwrap_range.h
473ALG_HEADERS+=	upper_bound.h
474.for hdr in ${ALG_HEADERS}
475ALG+=		${HDRDIR}/__algorithm/${hdr}
476.endfor
477
478INCSGROUPS+=	ATM
479ATMDIR=		${CXXINCLUDEDIR}/__atomic
480ATM_HEADERS+=	aliases.h
481ATM_HEADERS+=	atomic.h
482ATM_HEADERS+=	atomic_base.h
483ATM_HEADERS+=	atomic_flag.h
484ATM_HEADERS+=	atomic_init.h
485ATM_HEADERS+=	atomic_lock_free.h
486ATM_HEADERS+=	atomic_ref.h
487ATM_HEADERS+=	atomic_sync.h
488ATM_HEADERS+=	check_memory_order.h
489ATM_HEADERS+=	contention_t.h
490ATM_HEADERS+=	cxx_atomic_impl.h
491ATM_HEADERS+=	fence.h
492ATM_HEADERS+=	is_always_lock_free.h
493ATM_HEADERS+=	kill_dependency.h
494ATM_HEADERS+=	memory_order.h
495ATM_HEADERS+=	to_gcc_order.h
496.for hdr in ${ATM_HEADERS}
497ATM+=		${HDRDIR}/__atomic/${hdr}
498.endfor
499
500INCSGROUPS+=	BIT
501BITDIR=		${CXXINCLUDEDIR}/__bit
502BIT_HEADERS+=	bit_cast.h
503BIT_HEADERS+=	bit_ceil.h
504BIT_HEADERS+=	bit_floor.h
505BIT_HEADERS+=	bit_log2.h
506BIT_HEADERS+=	bit_width.h
507BIT_HEADERS+=	blsr.h
508BIT_HEADERS+=	byteswap.h
509BIT_HEADERS+=	countl.h
510BIT_HEADERS+=	countr.h
511BIT_HEADERS+=	endian.h
512BIT_HEADERS+=	has_single_bit.h
513BIT_HEADERS+=	invert_if.h
514BIT_HEADERS+=	popcount.h
515BIT_HEADERS+=	rotate.h
516.for hdr in ${BIT_HEADERS}
517BIT+=		${HDRDIR}/__bit/${hdr}
518.endfor
519
520INCSGROUPS+=	CHC
521CHCDIR=		${CXXINCLUDEDIR}/__charconv
522CHC_HEADERS+=	chars_format.h
523CHC_HEADERS+=	from_chars_integral.h
524CHC_HEADERS+=	from_chars_result.h
525CHC_HEADERS+=	tables.h
526CHC_HEADERS+=	to_chars.h
527CHC_HEADERS+=	to_chars_base_10.h
528CHC_HEADERS+=	to_chars_floating_point.h
529CHC_HEADERS+=	to_chars_integral.h
530CHC_HEADERS+=	to_chars_result.h
531CHC_HEADERS+=	traits.h
532.for hdr in ${CHC_HEADERS}
533CHC+=		${HDRDIR}/__charconv/${hdr}
534.endfor
535
536INCSGROUPS+=	CHR
537CHRDIR=		${CXXINCLUDEDIR}/__chrono
538CHR_HEADERS+=	calendar.h
539CHR_HEADERS+=	concepts.h
540CHR_HEADERS+=	convert_to_timespec.h
541CHR_HEADERS+=	convert_to_tm.h
542CHR_HEADERS+=	day.h
543CHR_HEADERS+=	duration.h
544CHR_HEADERS+=	exception.h
545CHR_HEADERS+=	file_clock.h
546CHR_HEADERS+=	formatter.h
547CHR_HEADERS+=	hh_mm_ss.h
548CHR_HEADERS+=	high_resolution_clock.h
549CHR_HEADERS+=	leap_second.h
550CHR_HEADERS+=	literals.h
551CHR_HEADERS+=	local_info.h
552CHR_HEADERS+=	month.h
553CHR_HEADERS+=	month_weekday.h
554CHR_HEADERS+=	monthday.h
555CHR_HEADERS+=	ostream.h
556CHR_HEADERS+=	parser_std_format_spec.h
557CHR_HEADERS+=	statically_widen.h
558CHR_HEADERS+=	steady_clock.h
559CHR_HEADERS+=	sys_info.h
560CHR_HEADERS+=	system_clock.h
561CHR_HEADERS+=	time_point.h
562CHR_HEADERS+=	time_zone.h
563CHR_HEADERS+=	time_zone_link.h
564CHR_HEADERS+=	tzdb.h
565CHR_HEADERS+=	tzdb_list.h
566CHR_HEADERS+=	weekday.h
567CHR_HEADERS+=	year.h
568CHR_HEADERS+=	year_month.h
569CHR_HEADERS+=	year_month_day.h
570CHR_HEADERS+=	year_month_weekday.h
571CHR_HEADERS+=	zoned_time.h
572.for hdr in ${CHR_HEADERS}
573CHR+=		${HDRDIR}/__chrono/${hdr}
574.endfor
575
576INCSGROUPS+=	CMP
577CMPDIR=		${CXXINCLUDEDIR}/__compare
578CMP_HEADERS+=	common_comparison_category.h
579CMP_HEADERS+=	compare_partial_order_fallback.h
580CMP_HEADERS+=	compare_strong_order_fallback.h
581CMP_HEADERS+=	compare_three_way.h
582CMP_HEADERS+=	compare_three_way_result.h
583CMP_HEADERS+=	compare_weak_order_fallback.h
584CMP_HEADERS+=	is_eq.h
585CMP_HEADERS+=	ordering.h
586CMP_HEADERS+=	partial_order.h
587CMP_HEADERS+=	strong_order.h
588CMP_HEADERS+=	synth_three_way.h
589CMP_HEADERS+=	three_way_comparable.h
590CMP_HEADERS+=	weak_order.h
591.for hdr in ${CMP_HEADERS}
592CMP+=		${HDRDIR}/__compare/${hdr}
593.endfor
594
595INCSGROUPS+=	CON
596CONDIR=		${CXXINCLUDEDIR}/__concepts
597CON_HEADERS+=	arithmetic.h
598CON_HEADERS+=	assignable.h
599CON_HEADERS+=	boolean_testable.h
600CON_HEADERS+=	class_or_enum.h
601CON_HEADERS+=	common_reference_with.h
602CON_HEADERS+=	common_with.h
603CON_HEADERS+=	constructible.h
604CON_HEADERS+=	convertible_to.h
605CON_HEADERS+=	copyable.h
606CON_HEADERS+=	derived_from.h
607CON_HEADERS+=	destructible.h
608CON_HEADERS+=	different_from.h
609CON_HEADERS+=	equality_comparable.h
610CON_HEADERS+=	invocable.h
611CON_HEADERS+=	movable.h
612CON_HEADERS+=	predicate.h
613CON_HEADERS+=	regular.h
614CON_HEADERS+=	relation.h
615CON_HEADERS+=	same_as.h
616CON_HEADERS+=	semiregular.h
617CON_HEADERS+=	swappable.h
618CON_HEADERS+=	totally_ordered.h
619.for hdr in ${CON_HEADERS}
620CON+=		${HDRDIR}/__concepts/${hdr}
621.endfor
622
623INCSGROUPS+=	CND
624CNDDIR=		${CXXINCLUDEDIR}/__condition_variable
625CND_HEADERS+=	condition_variable.h
626.for hdr in ${CND_HEADERS}
627CND+=		${HDRDIR}/__condition_variable/${hdr}
628.endfor
629
630INCSGROUPS+=	CNF
631CNFDIR=		${CXXINCLUDEDIR}/__configuration
632CNF_HEADERS+=	abi.h
633CNF_HEADERS+=	availability.h
634CNF_HEADERS+=	compiler.h
635CNF_HEADERS+=	language.h
636CNF_HEADERS+=	platform.h
637.for hdr in ${CNF_HEADERS}
638CNF+=		${HDRDIR}/__configuration/${hdr}
639.endfor
640
641INCSGROUPS+=	COR
642CORDIR=		${CXXINCLUDEDIR}/__coroutine
643COR_HEADERS+=	coroutine_handle.h
644COR_HEADERS+=	coroutine_traits.h
645COR_HEADERS+=	noop_coroutine_handle.h
646COR_HEADERS+=	trivial_awaitables.h
647.for hdr in ${COR_HEADERS}
648COR+=		${HDRDIR}/__coroutine/${hdr}
649.endfor
650
651INCSGROUPS+=	DBG
652DBGDIR=		${CXXINCLUDEDIR}/__debug_utils
653DBG_HEADERS+=	randomize_range.h
654DBG_HEADERS+=	sanitizers.h
655DBG_HEADERS+=	strict_weak_ordering_check.h
656.for hdr in ${DBG_HEADERS}
657DBG+=		${HDRDIR}/__debug_utils/${hdr}
658.endfor
659
660INCSGROUPS+=	EXC
661EXCDIR=		${CXXINCLUDEDIR}/__exception
662EXC_HEADERS+=	exception.h
663EXC_HEADERS+=	exception_ptr.h
664EXC_HEADERS+=	nested_exception.h
665EXC_HEADERS+=	operations.h
666EXC_HEADERS+=	terminate.h
667.for hdr in ${EXC_HEADERS}
668EXC+=		${HDRDIR}/__exception/${hdr}
669.endfor
670
671INCSGROUPS+=	EXD
672EXDDIR=		${CXXINCLUDEDIR}/__expected
673EXD_HEADERS+=	bad_expected_access.h
674EXD_HEADERS+=	expected.h
675EXD_HEADERS+=	unexpect.h
676EXD_HEADERS+=	unexpected.h
677.for hdr in ${EXD_HEADERS}
678EXD+=		${HDRDIR}/__expected/${hdr}
679.endfor
680
681INCSGROUPS+=	FS
682FSDIR=		${CXXINCLUDEDIR}/__filesystem
683FS_HEADERS+=	copy_options.h
684FS_HEADERS+=	directory_entry.h
685FS_HEADERS+=	directory_iterator.h
686FS_HEADERS+=	directory_options.h
687FS_HEADERS+=	file_status.h
688FS_HEADERS+=	file_time_type.h
689FS_HEADERS+=	file_type.h
690FS_HEADERS+=	filesystem_error.h
691FS_HEADERS+=	operations.h
692FS_HEADERS+=	path.h
693FS_HEADERS+=	path_iterator.h
694FS_HEADERS+=	perm_options.h
695FS_HEADERS+=	perms.h
696FS_HEADERS+=	recursive_directory_iterator.h
697FS_HEADERS+=	space_info.h
698FS_HEADERS+=	u8path.h
699.for hdr in ${FS_HEADERS}
700FS+=		${HDRDIR}/__filesystem/${hdr}
701.endfor
702
703INCSGROUPS+=	FMT
704FMTDIR=		${CXXINCLUDEDIR}/__format
705FMT_HEADERS+=	buffer.h
706FMT_HEADERS+=	concepts.h
707FMT_HEADERS+=	container_adaptor.h
708FMT_HEADERS+=	enable_insertable.h
709FMT_HEADERS+=	escaped_output_table.h
710FMT_HEADERS+=	extended_grapheme_cluster_table.h
711FMT_HEADERS+=	format_arg.h
712FMT_HEADERS+=	format_arg_store.h
713FMT_HEADERS+=	format_args.h
714FMT_HEADERS+=	format_context.h
715FMT_HEADERS+=	format_error.h
716FMT_HEADERS+=	format_functions.h
717FMT_HEADERS+=	format_parse_context.h
718FMT_HEADERS+=	format_string.h
719FMT_HEADERS+=	format_to_n_result.h
720FMT_HEADERS+=	formatter.h
721FMT_HEADERS+=	formatter_bool.h
722FMT_HEADERS+=	formatter_char.h
723FMT_HEADERS+=	formatter_floating_point.h
724FMT_HEADERS+=	formatter_integer.h
725FMT_HEADERS+=	formatter_integral.h
726FMT_HEADERS+=	formatter_output.h
727FMT_HEADERS+=	formatter_pointer.h
728FMT_HEADERS+=	formatter_string.h
729FMT_HEADERS+=	formatter_tuple.h
730FMT_HEADERS+=	indic_conjunct_break_table.h
731FMT_HEADERS+=	parser_std_format_spec.h
732FMT_HEADERS+=	range_default_formatter.h
733FMT_HEADERS+=	range_formatter.h
734FMT_HEADERS+=	unicode.h
735FMT_HEADERS+=	width_estimation_table.h
736FMT_HEADERS+=	write_escaped.h
737.for hdr in ${FMT_HEADERS}
738FMT+=		${HDRDIR}/__format/${hdr}
739.endfor
740
741INCSGROUPS+=	FUN
742FUNDIR=		${CXXINCLUDEDIR}/__functional
743FUN_HEADERS+=	binary_function.h
744FUN_HEADERS+=	binary_negate.h
745FUN_HEADERS+=	bind.h
746FUN_HEADERS+=	bind_back.h
747FUN_HEADERS+=	bind_front.h
748FUN_HEADERS+=	binder1st.h
749FUN_HEADERS+=	binder2nd.h
750FUN_HEADERS+=	boyer_moore_searcher.h
751FUN_HEADERS+=	compose.h
752FUN_HEADERS+=	default_searcher.h
753FUN_HEADERS+=	function.h
754FUN_HEADERS+=	hash.h
755FUN_HEADERS+=	identity.h
756FUN_HEADERS+=	invoke.h
757FUN_HEADERS+=	is_transparent.h
758FUN_HEADERS+=	mem_fn.h
759FUN_HEADERS+=	mem_fun_ref.h
760FUN_HEADERS+=	not_fn.h
761FUN_HEADERS+=	operations.h
762FUN_HEADERS+=	perfect_forward.h
763FUN_HEADERS+=	pointer_to_binary_function.h
764FUN_HEADERS+=	pointer_to_unary_function.h
765FUN_HEADERS+=	ranges_operations.h
766FUN_HEADERS+=	reference_wrapper.h
767FUN_HEADERS+=	unary_function.h
768FUN_HEADERS+=	unary_negate.h
769FUN_HEADERS+=	weak_result_type.h
770.for hdr in ${FUN_HEADERS}
771FUN+=		${HDRDIR}/__functional/${hdr}
772.endfor
773
774INCSGROUPS+=	FWD
775FWDDIR=		${CXXINCLUDEDIR}/__fwd
776FWD_HEADERS+=	array.h
777FWD_HEADERS+=	bit_reference.h
778FWD_HEADERS+=	complex.h
779FWD_HEADERS+=	deque.h
780FWD_HEADERS+=	format.h
781FWD_HEADERS+=	fstream.h
782FWD_HEADERS+=	functional.h
783FWD_HEADERS+=	ios.h
784FWD_HEADERS+=	istream.h
785FWD_HEADERS+=	mdspan.h
786FWD_HEADERS+=	memory.h
787FWD_HEADERS+=	memory_resource.h
788FWD_HEADERS+=	ostream.h
789FWD_HEADERS+=	pair.h
790FWD_HEADERS+=	queue.h
791FWD_HEADERS+=	span.h
792FWD_HEADERS+=	sstream.h
793FWD_HEADERS+=	stack.h
794FWD_HEADERS+=	streambuf.h
795FWD_HEADERS+=	string.h
796FWD_HEADERS+=	string_view.h
797FWD_HEADERS+=	subrange.h
798FWD_HEADERS+=	tuple.h
799FWD_HEADERS+=	vector.h
800.for hdr in ${FWD_HEADERS}
801FWD+=		${HDRDIR}/__fwd/${hdr}
802.endfor
803
804INCSGROUPS+=	IOS
805IOSDIR=		${CXXINCLUDEDIR}/__ios
806IOS_HEADERS+=	fpos.h
807.for hdr in ${IOS_HEADERS}
808IOS+=		${HDRDIR}/__ios/${hdr}
809.endfor
810
811INCSGROUPS+=	IT
812ITDIR=		${CXXINCLUDEDIR}/__iterator
813IT_HEADERS+=	access.h
814IT_HEADERS+=	advance.h
815IT_HEADERS+=	aliasing_iterator.h
816IT_HEADERS+=	back_insert_iterator.h
817IT_HEADERS+=	bounded_iter.h
818IT_HEADERS+=	common_iterator.h
819IT_HEADERS+=	concepts.h
820IT_HEADERS+=	counted_iterator.h
821IT_HEADERS+=	cpp17_iterator_concepts.h
822IT_HEADERS+=	data.h
823IT_HEADERS+=	default_sentinel.h
824IT_HEADERS+=	distance.h
825IT_HEADERS+=	empty.h
826IT_HEADERS+=	erase_if_container.h
827IT_HEADERS+=	front_insert_iterator.h
828IT_HEADERS+=	incrementable_traits.h
829IT_HEADERS+=	indirectly_comparable.h
830IT_HEADERS+=	insert_iterator.h
831IT_HEADERS+=	istream_iterator.h
832IT_HEADERS+=	istreambuf_iterator.h
833IT_HEADERS+=	iter_move.h
834IT_HEADERS+=	iter_swap.h
835IT_HEADERS+=	iterator.h
836IT_HEADERS+=	iterator_traits.h
837IT_HEADERS+=	iterator_with_data.h
838IT_HEADERS+=	mergeable.h
839IT_HEADERS+=	move_iterator.h
840IT_HEADERS+=	move_sentinel.h
841IT_HEADERS+=	next.h
842IT_HEADERS+=	ostream_iterator.h
843IT_HEADERS+=	ostreambuf_iterator.h
844IT_HEADERS+=	permutable.h
845IT_HEADERS+=	prev.h
846IT_HEADERS+=	projected.h
847IT_HEADERS+=	ranges_iterator_traits.h
848IT_HEADERS+=	readable_traits.h
849IT_HEADERS+=	reverse_access.h
850IT_HEADERS+=	reverse_iterator.h
851IT_HEADERS+=	segmented_iterator.h
852IT_HEADERS+=	size.h
853IT_HEADERS+=	sortable.h
854IT_HEADERS+=	unreachable_sentinel.h
855IT_HEADERS+=	wrap_iter.h
856.for hdr in ${IT_HEADERS}
857IT+=		${HDRDIR}/__iterator/${hdr}
858.endfor
859
860INCSGROUPS+=	LOC
861LOCDIR=		${CXXINCLUDEDIR}/__locale_dir
862LOC_HEADERS+=	locale_base_api.h
863.for hdr in ${LOC_HEADERS}
864LOC+=		${HDRDIR}/__locale_dir/${hdr}
865.endfor
866
867INCSGROUPS+=	LBA
868LBADIR=		${CXXINCLUDEDIR}/__locale_dir/locale_base_api
869LBA_HEADERS+=	bsd_locale_defaults.h
870LBA_HEADERS+=	bsd_locale_fallbacks.h
871LBA_HEADERS+=	locale_guard.h
872.for hdr in ${LBA_HEADERS}
873LBA+=		${HDRDIR}/__locale_dir/locale_base_api/${hdr}
874.endfor
875
876INCSGROUPS+=	MAT
877MATDIR=		${CXXINCLUDEDIR}/__math
878MAT_HEADERS+=	abs.h
879MAT_HEADERS+=	copysign.h
880MAT_HEADERS+=	error_functions.h
881MAT_HEADERS+=	exponential_functions.h
882MAT_HEADERS+=	fdim.h
883MAT_HEADERS+=	fma.h
884MAT_HEADERS+=	gamma.h
885MAT_HEADERS+=	hyperbolic_functions.h
886MAT_HEADERS+=	hypot.h
887MAT_HEADERS+=	inverse_hyperbolic_functions.h
888MAT_HEADERS+=	inverse_trigonometric_functions.h
889MAT_HEADERS+=	logarithms.h
890MAT_HEADERS+=	min_max.h
891MAT_HEADERS+=	modulo.h
892MAT_HEADERS+=	remainder.h
893MAT_HEADERS+=	roots.h
894MAT_HEADERS+=	rounding_functions.h
895MAT_HEADERS+=	special_functions.h
896MAT_HEADERS+=	traits.h
897MAT_HEADERS+=	trigonometric_functions.h
898.for hdr in ${MAT_HEADERS}
899MAT+=		${HDRDIR}/__math/${hdr}
900.endfor
901
902INCSGROUPS+=	MDS
903MDSDIR=		${CXXINCLUDEDIR}/__mdspan
904MDS_HEADERS+=	default_accessor.h
905MDS_HEADERS+=	extents.h
906MDS_HEADERS+=	layout_left.h
907MDS_HEADERS+=	layout_right.h
908MDS_HEADERS+=	layout_stride.h
909MDS_HEADERS+=	mdspan.h
910.for hdr in ${MDS_HEADERS}
911MDS+=		${HDRDIR}/__mdspan/${hdr}
912.endfor
913
914INCSGROUPS+=	MEM
915MEMDIR=		${CXXINCLUDEDIR}/__memory
916MEM_HEADERS+=	addressof.h
917MEM_HEADERS+=	align.h
918MEM_HEADERS+=	aligned_alloc.h
919MEM_HEADERS+=	allocate_at_least.h
920MEM_HEADERS+=	allocation_guard.h
921MEM_HEADERS+=	allocator.h
922MEM_HEADERS+=	allocator_arg_t.h
923MEM_HEADERS+=	allocator_destructor.h
924MEM_HEADERS+=	allocator_traits.h
925MEM_HEADERS+=	assume_aligned.h
926MEM_HEADERS+=	auto_ptr.h
927MEM_HEADERS+=	builtin_new_allocator.h
928MEM_HEADERS+=	compressed_pair.h
929MEM_HEADERS+=	concepts.h
930MEM_HEADERS+=	construct_at.h
931MEM_HEADERS+=	destruct_n.h
932MEM_HEADERS+=	inout_ptr.h
933MEM_HEADERS+=	out_ptr.h
934MEM_HEADERS+=	pointer_traits.h
935MEM_HEADERS+=	ranges_construct_at.h
936MEM_HEADERS+=	ranges_uninitialized_algorithms.h
937MEM_HEADERS+=	raw_storage_iterator.h
938MEM_HEADERS+=	shared_ptr.h
939MEM_HEADERS+=	swap_allocator.h
940MEM_HEADERS+=	temp_value.h
941MEM_HEADERS+=	temporary_buffer.h
942MEM_HEADERS+=	uninitialized_algorithms.h
943MEM_HEADERS+=	unique_ptr.h
944MEM_HEADERS+=	uses_allocator.h
945MEM_HEADERS+=	uses_allocator_construction.h
946MEM_HEADERS+=	voidify.h
947.for hdr in ${MEM_HEADERS}
948MEM+=		${HDRDIR}/__memory/${hdr}
949.endfor
950
951INCSGROUPS+=	MER
952MERDIR=		${CXXINCLUDEDIR}/__memory_resource
953MER_HEADERS+=	memory_resource.h
954MER_HEADERS+=	monotonic_buffer_resource.h
955MER_HEADERS+=	polymorphic_allocator.h
956MER_HEADERS+=	pool_options.h
957MER_HEADERS+=	synchronized_pool_resource.h
958MER_HEADERS+=	unsynchronized_pool_resource.h
959.for hdr in ${MER_HEADERS}
960MER+=		${HDRDIR}/__memory_resource/${hdr}
961.endfor
962
963INCSGROUPS+=	MUT
964MUTDIR=		${CXXINCLUDEDIR}/__mutex
965MUT_HEADERS+=	lock_guard.h
966MUT_HEADERS+=	mutex.h
967MUT_HEADERS+=	once_flag.h
968MUT_HEADERS+=	tag_types.h
969MUT_HEADERS+=	unique_lock.h
970.for hdr in ${MUT_HEADERS}
971MUT+=		${HDRDIR}/__mutex/${hdr}
972.endfor
973
974INCSGROUPS+=	NUM
975NUMDIR=		${CXXINCLUDEDIR}/__numeric
976NUM_HEADERS+=	accumulate.h
977NUM_HEADERS+=	adjacent_difference.h
978NUM_HEADERS+=	exclusive_scan.h
979NUM_HEADERS+=	gcd_lcm.h
980NUM_HEADERS+=	inclusive_scan.h
981NUM_HEADERS+=	inner_product.h
982NUM_HEADERS+=	iota.h
983NUM_HEADERS+=	midpoint.h
984NUM_HEADERS+=	partial_sum.h
985NUM_HEADERS+=	pstl.h
986NUM_HEADERS+=	reduce.h
987NUM_HEADERS+=	saturation_arithmetic.h
988NUM_HEADERS+=	transform_exclusive_scan.h
989NUM_HEADERS+=	transform_inclusive_scan.h
990NUM_HEADERS+=	transform_reduce.h
991.for hdr in ${NUM_HEADERS}
992NUM+=		${HDRDIR}/__numeric/${hdr}
993.endfor
994
995INCSGROUPS+=	OST
996OSTDIR=		${CXXINCLUDEDIR}/__ostream
997OST_HEADERS+=	basic_ostream.h
998OST_HEADERS+=	print.h
999.for hdr in ${OST_HEADERS}
1000OST+=		${HDRDIR}/__ostream/${hdr}
1001.endfor
1002
1003INCSGROUPS+=	PST
1004PSTDIR=		${CXXINCLUDEDIR}/__pstl
1005PST_HEADERS+=	backend.h
1006PST_HEADERS+=	backend_fwd.h
1007PST_HEADERS+=	dispatch.h
1008PST_HEADERS+=	handle_exception.h
1009.for hdr in ${PST_HEADERS}
1010PST+=		${HDRDIR}/__pstl/${hdr}
1011.endfor
1012
1013INCSGROUPS+=	PSB
1014PSBDIR=		${CXXINCLUDEDIR}/__pstl/backends
1015PSB_HEADERS+=	default.h
1016PSB_HEADERS+=	libdispatch.h
1017PSB_HEADERS+=	serial.h
1018PSB_HEADERS+=	std_thread.h
1019.for hdr in ${PSB_HEADERS}
1020PSB+=		${HDRDIR}/__pstl/backends/${hdr}
1021.endfor
1022
1023INCSGROUPS+=	PSC
1024PSCDIR=		${CXXINCLUDEDIR}/__pstl/cpu_algos
1025PSC_HEADERS+=	any_of.h
1026PSC_HEADERS+=	cpu_traits.h
1027PSC_HEADERS+=	fill.h
1028PSC_HEADERS+=	find_if.h
1029PSC_HEADERS+=	for_each.h
1030PSC_HEADERS+=	merge.h
1031PSC_HEADERS+=	stable_sort.h
1032PSC_HEADERS+=	transform.h
1033PSC_HEADERS+=	transform_reduce.h
1034.for hdr in ${PSC_HEADERS}
1035PSC+=		${HDRDIR}/__pstl/cpu_algos/${hdr}
1036.endfor
1037
1038INCSGROUPS+=	RND
1039RNDDIR=		${CXXINCLUDEDIR}/__random
1040RND_HEADERS+=	bernoulli_distribution.h
1041RND_HEADERS+=	binomial_distribution.h
1042RND_HEADERS+=	cauchy_distribution.h
1043RND_HEADERS+=	chi_squared_distribution.h
1044RND_HEADERS+=	clamp_to_integral.h
1045RND_HEADERS+=	default_random_engine.h
1046RND_HEADERS+=	discard_block_engine.h
1047RND_HEADERS+=	discrete_distribution.h
1048RND_HEADERS+=	exponential_distribution.h
1049RND_HEADERS+=	extreme_value_distribution.h
1050RND_HEADERS+=	fisher_f_distribution.h
1051RND_HEADERS+=	gamma_distribution.h
1052RND_HEADERS+=	generate_canonical.h
1053RND_HEADERS+=	geometric_distribution.h
1054RND_HEADERS+=	independent_bits_engine.h
1055RND_HEADERS+=	is_seed_sequence.h
1056RND_HEADERS+=	is_valid.h
1057RND_HEADERS+=	knuth_b.h
1058RND_HEADERS+=	linear_congruential_engine.h
1059RND_HEADERS+=	log2.h
1060RND_HEADERS+=	lognormal_distribution.h
1061RND_HEADERS+=	mersenne_twister_engine.h
1062RND_HEADERS+=	negative_binomial_distribution.h
1063RND_HEADERS+=	normal_distribution.h
1064RND_HEADERS+=	piecewise_constant_distribution.h
1065RND_HEADERS+=	piecewise_linear_distribution.h
1066RND_HEADERS+=	poisson_distribution.h
1067RND_HEADERS+=	random_device.h
1068RND_HEADERS+=	ranlux.h
1069RND_HEADERS+=	seed_seq.h
1070RND_HEADERS+=	shuffle_order_engine.h
1071RND_HEADERS+=	student_t_distribution.h
1072RND_HEADERS+=	subtract_with_carry_engine.h
1073RND_HEADERS+=	uniform_int_distribution.h
1074RND_HEADERS+=	uniform_random_bit_generator.h
1075RND_HEADERS+=	uniform_real_distribution.h
1076RND_HEADERS+=	weibull_distribution.h
1077.for hdr in ${RND_HEADERS}
1078RND+=		${HDRDIR}/__random/${hdr}
1079.endfor
1080
1081INCSGROUPS+=	RNG
1082RNGDIR=		${CXXINCLUDEDIR}/__ranges
1083RNG_HEADERS+=	access.h
1084RNG_HEADERS+=	all.h
1085RNG_HEADERS+=	as_rvalue_view.h
1086RNG_HEADERS+=	chunk_by_view.h
1087RNG_HEADERS+=	common_view.h
1088RNG_HEADERS+=	concepts.h
1089RNG_HEADERS+=	container_compatible_range.h
1090RNG_HEADERS+=	counted.h
1091RNG_HEADERS+=	dangling.h
1092RNG_HEADERS+=	data.h
1093RNG_HEADERS+=	drop_view.h
1094RNG_HEADERS+=	drop_while_view.h
1095RNG_HEADERS+=	elements_view.h
1096RNG_HEADERS+=	empty.h
1097RNG_HEADERS+=	empty_view.h
1098RNG_HEADERS+=	enable_borrowed_range.h
1099RNG_HEADERS+=	enable_view.h
1100RNG_HEADERS+=	filter_view.h
1101RNG_HEADERS+=	from_range.h
1102RNG_HEADERS+=	iota_view.h
1103RNG_HEADERS+=	istream_view.h
1104RNG_HEADERS+=	join_view.h
1105RNG_HEADERS+=	lazy_split_view.h
1106RNG_HEADERS+=	movable_box.h
1107RNG_HEADERS+=	non_propagating_cache.h
1108RNG_HEADERS+=	owning_view.h
1109RNG_HEADERS+=	range_adaptor.h
1110RNG_HEADERS+=	rbegin.h
1111RNG_HEADERS+=	ref_view.h
1112RNG_HEADERS+=	rend.h
1113RNG_HEADERS+=	repeat_view.h
1114RNG_HEADERS+=	reverse_view.h
1115RNG_HEADERS+=	single_view.h
1116RNG_HEADERS+=	size.h
1117RNG_HEADERS+=	split_view.h
1118RNG_HEADERS+=	subrange.h
1119RNG_HEADERS+=	take_view.h
1120RNG_HEADERS+=	take_while_view.h
1121RNG_HEADERS+=	to.h
1122RNG_HEADERS+=	transform_view.h
1123RNG_HEADERS+=	view_interface.h
1124RNG_HEADERS+=	views.h
1125RNG_HEADERS+=	zip_view.h
1126.for hdr in ${RNG_HEADERS}
1127RNG+=		${HDRDIR}/__ranges/${hdr}
1128.endfor
1129
1130INCSGROUPS+=	STT
1131STTDIR=		${CXXINCLUDEDIR}/__stop_token
1132STT_HEADERS+=	atomic_unique_lock.h
1133STT_HEADERS+=	intrusive_list_view.h
1134STT_HEADERS+=	intrusive_shared_ptr.h
1135STT_HEADERS+=	stop_callback.h
1136STT_HEADERS+=	stop_source.h
1137STT_HEADERS+=	stop_state.h
1138STT_HEADERS+=	stop_token.h
1139.for hdr in ${STT_HEADERS}
1140STT+=		${HDRDIR}/__stop_token/${hdr}
1141.endfor
1142
1143INCSGROUPS+=	STR
1144STRDIR=		${CXXINCLUDEDIR}/__string
1145STR_HEADERS+=	char_traits.h
1146STR_HEADERS+=	constexpr_c_functions.h
1147STR_HEADERS+=	extern_template_lists.h
1148.for hdr in ${STR_HEADERS}
1149STR+=		${HDRDIR}/__string/${hdr}
1150.endfor
1151
1152INCSGROUPS+=	SER
1153SERDIR=		${CXXINCLUDEDIR}/__system_error
1154SER_HEADERS+=	errc.h
1155SER_HEADERS+=	error_category.h
1156SER_HEADERS+=	error_code.h
1157SER_HEADERS+=	error_condition.h
1158SER_HEADERS+=	system_error.h
1159.for hdr in ${SER_HEADERS}
1160SER+=		${HDRDIR}/__system_error/${hdr}
1161.endfor
1162
1163INCSGROUPS+=	THR
1164THRDIR=		${CXXINCLUDEDIR}/__thread
1165THR_HEADERS+=	formatter.h
1166THR_HEADERS+=	id.h
1167THR_HEADERS+=	jthread.h
1168THR_HEADERS+=	poll_with_backoff.h
1169THR_HEADERS+=	support.h
1170THR_HEADERS+=	this_thread.h
1171THR_HEADERS+=	thread.h
1172THR_HEADERS+=	timed_backoff_policy.h
1173.for hdr in ${THR_HEADERS}
1174THR+=		${HDRDIR}/__thread/${hdr}
1175.endfor
1176
1177INCSGROUPS+=	THS
1178THSDIR=		${CXXINCLUDEDIR}/__thread/support
1179THS_HEADERS+=	c11.h
1180THS_HEADERS+=	external.h
1181THS_HEADERS+=	pthread.h
1182THS_HEADERS+=	windows.h
1183.for hdr in ${THS_HEADERS}
1184THS+=		${HDRDIR}/__thread/support/${hdr}
1185.endfor
1186
1187INCSGROUPS+=	TUP
1188TUPDIR=		${CXXINCLUDEDIR}/__tuple
1189TUP_HEADERS+=	find_index.h
1190TUP_HEADERS+=	ignore.h
1191TUP_HEADERS+=	make_tuple_types.h
1192TUP_HEADERS+=	sfinae_helpers.h
1193TUP_HEADERS+=	tuple_element.h
1194TUP_HEADERS+=	tuple_indices.h
1195TUP_HEADERS+=	tuple_like.h
1196TUP_HEADERS+=	tuple_like_ext.h
1197TUP_HEADERS+=	tuple_like_no_subrange.h
1198TUP_HEADERS+=	tuple_size.h
1199TUP_HEADERS+=	tuple_types.h
1200.for hdr in ${TUP_HEADERS}
1201TUP+=		${HDRDIR}/__tuple/${hdr}
1202.endfor
1203
1204INCSGROUPS+=	TTR
1205TTRDIR=		${CXXINCLUDEDIR}/__type_traits
1206TTR_HEADERS+=	add_const.h
1207TTR_HEADERS+=	add_cv.h
1208TTR_HEADERS+=	add_lvalue_reference.h
1209TTR_HEADERS+=	add_pointer.h
1210TTR_HEADERS+=	add_rvalue_reference.h
1211TTR_HEADERS+=	add_volatile.h
1212TTR_HEADERS+=	aligned_storage.h
1213TTR_HEADERS+=	aligned_union.h
1214TTR_HEADERS+=	alignment_of.h
1215TTR_HEADERS+=	can_extract_key.h
1216TTR_HEADERS+=	common_reference.h
1217TTR_HEADERS+=	common_type.h
1218TTR_HEADERS+=	conditional.h
1219TTR_HEADERS+=	conjunction.h
1220TTR_HEADERS+=	copy_cv.h
1221TTR_HEADERS+=	copy_cvref.h
1222TTR_HEADERS+=	datasizeof.h
1223TTR_HEADERS+=	decay.h
1224TTR_HEADERS+=	dependent_type.h
1225TTR_HEADERS+=	desugars_to.h
1226TTR_HEADERS+=	disjunction.h
1227TTR_HEADERS+=	enable_if.h
1228TTR_HEADERS+=	extent.h
1229TTR_HEADERS+=	has_unique_object_representation.h
1230TTR_HEADERS+=	has_virtual_destructor.h
1231TTR_HEADERS+=	integral_constant.h
1232TTR_HEADERS+=	invoke.h
1233TTR_HEADERS+=	is_abstract.h
1234TTR_HEADERS+=	is_aggregate.h
1235TTR_HEADERS+=	is_allocator.h
1236TTR_HEADERS+=	is_always_bitcastable.h
1237TTR_HEADERS+=	is_arithmetic.h
1238TTR_HEADERS+=	is_array.h
1239TTR_HEADERS+=	is_assignable.h
1240TTR_HEADERS+=	is_base_of.h
1241TTR_HEADERS+=	is_bounded_array.h
1242TTR_HEADERS+=	is_callable.h
1243TTR_HEADERS+=	is_char_like_type.h
1244TTR_HEADERS+=	is_class.h
1245TTR_HEADERS+=	is_compound.h
1246TTR_HEADERS+=	is_const.h
1247TTR_HEADERS+=	is_constant_evaluated.h
1248TTR_HEADERS+=	is_constructible.h
1249TTR_HEADERS+=	is_convertible.h
1250TTR_HEADERS+=	is_core_convertible.h
1251TTR_HEADERS+=	is_destructible.h
1252TTR_HEADERS+=	is_empty.h
1253TTR_HEADERS+=	is_enum.h
1254TTR_HEADERS+=	is_equality_comparable.h
1255TTR_HEADERS+=	is_execution_policy.h
1256TTR_HEADERS+=	is_final.h
1257TTR_HEADERS+=	is_floating_point.h
1258TTR_HEADERS+=	is_function.h
1259TTR_HEADERS+=	is_fundamental.h
1260TTR_HEADERS+=	is_implicitly_default_constructible.h
1261TTR_HEADERS+=	is_integral.h
1262TTR_HEADERS+=	is_literal_type.h
1263TTR_HEADERS+=	is_member_function_pointer.h
1264TTR_HEADERS+=	is_member_object_pointer.h
1265TTR_HEADERS+=	is_member_pointer.h
1266TTR_HEADERS+=	is_nothrow_assignable.h
1267TTR_HEADERS+=	is_nothrow_constructible.h
1268TTR_HEADERS+=	is_nothrow_convertible.h
1269TTR_HEADERS+=	is_nothrow_destructible.h
1270TTR_HEADERS+=	is_null_pointer.h
1271TTR_HEADERS+=	is_object.h
1272TTR_HEADERS+=	is_pod.h
1273TTR_HEADERS+=	is_pointer.h
1274TTR_HEADERS+=	is_polymorphic.h
1275TTR_HEADERS+=	is_primary_template.h
1276TTR_HEADERS+=	is_reference.h
1277TTR_HEADERS+=	is_reference_wrapper.h
1278TTR_HEADERS+=	is_referenceable.h
1279TTR_HEADERS+=	is_same.h
1280TTR_HEADERS+=	is_scalar.h
1281TTR_HEADERS+=	is_scoped_enum.h
1282TTR_HEADERS+=	is_signed.h
1283TTR_HEADERS+=	is_signed_integer.h
1284TTR_HEADERS+=	is_specialization.h
1285TTR_HEADERS+=	is_standard_layout.h
1286TTR_HEADERS+=	is_swappable.h
1287TTR_HEADERS+=	is_trivial.h
1288TTR_HEADERS+=	is_trivially_assignable.h
1289TTR_HEADERS+=	is_trivially_constructible.h
1290TTR_HEADERS+=	is_trivially_copyable.h
1291TTR_HEADERS+=	is_trivially_destructible.h
1292TTR_HEADERS+=	is_trivially_lexicographically_comparable.h
1293TTR_HEADERS+=	is_trivially_relocatable.h
1294TTR_HEADERS+=	is_unbounded_array.h
1295TTR_HEADERS+=	is_union.h
1296TTR_HEADERS+=	is_unsigned.h
1297TTR_HEADERS+=	is_unsigned_integer.h
1298TTR_HEADERS+=	is_valid_expansion.h
1299TTR_HEADERS+=	is_void.h
1300TTR_HEADERS+=	is_volatile.h
1301TTR_HEADERS+=	lazy.h
1302TTR_HEADERS+=	make_32_64_or_128_bit.h
1303TTR_HEADERS+=	make_const_lvalue_ref.h
1304TTR_HEADERS+=	make_signed.h
1305TTR_HEADERS+=	make_unsigned.h
1306TTR_HEADERS+=	maybe_const.h
1307TTR_HEADERS+=	nat.h
1308TTR_HEADERS+=	negation.h
1309TTR_HEADERS+=	noexcept_move_assign_container.h
1310TTR_HEADERS+=	promote.h
1311TTR_HEADERS+=	rank.h
1312TTR_HEADERS+=	remove_all_extents.h
1313TTR_HEADERS+=	remove_const.h
1314TTR_HEADERS+=	remove_const_ref.h
1315TTR_HEADERS+=	remove_cv.h
1316TTR_HEADERS+=	remove_cvref.h
1317TTR_HEADERS+=	remove_extent.h
1318TTR_HEADERS+=	remove_pointer.h
1319TTR_HEADERS+=	remove_reference.h
1320TTR_HEADERS+=	remove_volatile.h
1321TTR_HEADERS+=	result_of.h
1322TTR_HEADERS+=	strip_signature.h
1323TTR_HEADERS+=	type_identity.h
1324TTR_HEADERS+=	type_list.h
1325TTR_HEADERS+=	underlying_type.h
1326TTR_HEADERS+=	unwrap_ref.h
1327TTR_HEADERS+=	void_t.h
1328.for hdr in ${TTR_HEADERS}
1329TTR+=		${HDRDIR}/__type_traits/${hdr}
1330.endfor
1331
1332INCSGROUPS+=	UTL
1333UTLDIR=		${CXXINCLUDEDIR}/__utility
1334UTL_HEADERS+=	as_const.h
1335UTL_HEADERS+=	as_lvalue.h
1336UTL_HEADERS+=	auto_cast.h
1337UTL_HEADERS+=	cmp.h
1338UTL_HEADERS+=	convert_to_integral.h
1339UTL_HEADERS+=	declval.h
1340UTL_HEADERS+=	empty.h
1341UTL_HEADERS+=	exception_guard.h
1342UTL_HEADERS+=	exchange.h
1343UTL_HEADERS+=	forward.h
1344UTL_HEADERS+=	forward_like.h
1345UTL_HEADERS+=	in_place.h
1346UTL_HEADERS+=	integer_sequence.h
1347UTL_HEADERS+=	is_pointer_in_range.h
1348UTL_HEADERS+=	is_valid_range.h
1349UTL_HEADERS+=	move.h
1350UTL_HEADERS+=	no_destroy.h
1351UTL_HEADERS+=	pair.h
1352UTL_HEADERS+=	piecewise_construct.h
1353UTL_HEADERS+=	priority_tag.h
1354UTL_HEADERS+=	private_constructor_tag.h
1355UTL_HEADERS+=	rel_ops.h
1356UTL_HEADERS+=	small_buffer.h
1357UTL_HEADERS+=	swap.h
1358UTL_HEADERS+=	to_underlying.h
1359UTL_HEADERS+=	unreachable.h
1360.for hdr in ${UTL_HEADERS}
1361UTL+=		${HDRDIR}/__utility/${hdr}
1362.endfor
1363
1364INCSGROUPS+=	VAR
1365VARDIR=	${CXXINCLUDEDIR}/__variant
1366VAR_HEADERS+=	monostate.h
1367.for hdr in ${VAR_HEADERS}
1368VAR+=		${HDRDIR}/__variant/${hdr}
1369.endfor
1370
1371INCSGROUPS+=	EXP
1372EXPDIR=		${CXXINCLUDEDIR}/experimental
1373EXP_HEADERS+=	__config
1374EXP_HEADERS+=	iterator
1375EXP_HEADERS+=	memory
1376EXP_HEADERS+=	propagate_const
1377EXP_HEADERS+=	simd
1378EXP_HEADERS+=	type_traits
1379EXP_HEADERS+=	utility
1380.for hdr in ${EXP_HEADERS}
1381EXP+=		${HDRDIR}/experimental/${hdr}
1382.endfor
1383
1384INCSGROUPS+=	EXS
1385EXSDIR=		${CXXINCLUDEDIR}/experimental/__simd
1386EXS_HEADERS+=	aligned_tag.h
1387EXS_HEADERS+=	declaration.h
1388EXS_HEADERS+=	reference.h
1389EXS_HEADERS+=	scalar.h
1390EXS_HEADERS+=	simd.h
1391EXS_HEADERS+=	simd_mask.h
1392EXS_HEADERS+=	traits.h
1393EXS_HEADERS+=	utility.h
1394EXS_HEADERS+=	vec_ext.h
1395.for hdr in ${EXS_HEADERS}
1396EXS+=		${HDRDIR}/experimental/__simd/${hdr}
1397.endfor
1398
1399INCSGROUPS+=	EXT
1400EXTDIR=		${CXXINCLUDEDIR}/ext
1401EXT_HEADERS+=	__hash
1402EXT_HEADERS+=	hash_map
1403EXT_HEADERS+=	hash_set
1404.for hdr in ${EXT_HEADERS}
1405EXT+=		${HDRDIR}/ext/${hdr}
1406.endfor
1407
1408.include <bsd.lib.mk>
1409