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