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