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