xref: /freebsd/lib/libc++/Makefile (revision 2e3f49888ec8851bafb22011533217487764fdb0)
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+=		charconv.cpp
24SRCS+=		chrono.cpp
25SRCS+=		condition_variable.cpp
26SRCS+=		condition_variable_destructor.cpp
27SRCS+=		exception.cpp
28SRCS+=		filesystem/directory_entry.cpp
29SRCS+=		filesystem/directory_iterator.cpp
30SRCS+=		filesystem/filesystem_clock.cpp
31SRCS+=		filesystem/filesystem_error.cpp
32SRCS+=		filesystem/int128_builtins.cpp
33SRCS+=		filesystem/operations.cpp
34SRCS+=		filesystem/path.cpp
35SRCS+=		functional.cpp
36SRCS+=		future.cpp
37SRCS+=		hash.cpp
38SRCS+=		ios.cpp
39SRCS+=		ios.instantiations.cpp
40SRCS+=		iostream.cpp
41SRCS+=		legacy_pointer_safety.cpp
42SRCS+=		locale.cpp
43SRCS+=		memory.cpp
44SRCS+=		memory_resource.cpp
45SRCS+=		mutex.cpp
46SRCS+=		mutex_destructor.cpp
47SRCS+=		new.cpp
48SRCS+=		new_handler.cpp
49SRCS+=		new_helpers.cpp
50SRCS+=		optional.cpp
51SRCS+=		print.cpp
52SRCS+=		random.cpp
53SRCS+=		random_shuffle.cpp
54SRCS+=		regex.cpp
55SRCS+=		ryu/d2fixed.cpp
56SRCS+=		ryu/d2s.cpp
57SRCS+=		ryu/f2s.cpp
58SRCS+=		shared_mutex.cpp
59SRCS+=		stdexcept.cpp
60SRCS+=		string.cpp
61SRCS+=		strstream.cpp
62SRCS+=		system_error.cpp
63SRCS+=		thread.cpp
64SRCS+=		typeinfo.cpp
65SRCS+=		valarray.cpp
66SRCS+=		variant.cpp
67SRCS+=		vector.cpp
68SRCS+=		verbose_abort.cpp
69
70CXXRT_SRCS+=	auxhelper.cc
71CXXRT_SRCS+=	dynamic_cast.cc
72CXXRT_SRCS+=	exception.cc
73CXXRT_SRCS+=	guard.cc
74CXXRT_SRCS+=	libelftc_dem_gnu3.c
75CXXRT_SRCS+=	memory.cc
76CXXRT_SRCS+=	stdexcept.cc
77CXXRT_SRCS+=	terminate.cc
78CXXRT_SRCS+=	typeinfo.cc
79
80.for _S in ${CXXRT_SRCS}
81CLEANFILES+=	cxxrt_${_S}
82STATICOBJS+=	cxxrt_${_S:R}.o
83cxxrt_${_S}: ${_LIBCXXRTDIR}/${_S} .NOMETA
84	ln -sf ${.ALLSRC} ${.TARGET}
85.endfor
86
87WARNS?=		0
88CFLAGS+=	-isystem ${.CURDIR}
89CFLAGS+=	-isystem ${HDRDIR}
90CFLAGS+=	-isystem ${SRCDIR}
91CFLAGS+=	-isystem ${_LIBCXXRTDIR}
92CFLAGS+=	-nostdinc++
93CFLAGS+=	-nostdlib
94CFLAGS+=	-D_LIBCPP_BUILDING_LIBRARY
95CFLAGS+=	-DLIBCXXRT
96CFLAGS+=	-ffunction-sections
97CFLAGS+=	-fdata-sections
98CXXSTD?=	c++20
99
100LIBADD+=	cxxrt
101
102INCSGROUPS+=	STD
103STDDIR=		${CXXINCLUDEDIR}
104STD_HEADERS+=	__assert
105STD_HEADERS+=	__availability
106STD_HEADERS+=	__bit_reference
107STD_HEADERS+=	__config
108STD_HEADERS+=	__hash_table
109STD_HEADERS+=	__locale
110STD_HEADERS+=	__mbstate_t.h
111STD_HEADERS+=	__node_handle
112STD_HEADERS+=	__pstl_algorithm
113STD_HEADERS+=	__pstl_memory
114STD_HEADERS+=	__pstl_numeric
115STD_HEADERS+=	__split_buffer
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+=	limits.h
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+=	setjmp.h
212STD_HEADERS+=	shared_mutex
213STD_HEADERS+=	source_location
214STD_HEADERS+=	span
215STD_HEADERS+=	sstream
216STD_HEADERS+=	stack
217STD_HEADERS+=	stdatomic.h
218STD_HEADERS+=	stdbool.h
219STD_HEADERS+=	stddef.h
220STD_HEADERS+=	stdexcept
221STD_HEADERS+=	stdint.h
222STD_HEADERS+=	stdio.h
223STD_HEADERS+=	stdlib.h
224STD_HEADERS+=	stop_token
225STD_HEADERS+=	streambuf
226STD_HEADERS+=	string
227STD_HEADERS+=	string.h
228STD_HEADERS+=	string_view
229STD_HEADERS+=	strstream
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+=	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_fill.h
342ALG_HEADERS+=	pstl_find.h
343ALG_HEADERS+=	pstl_for_each.h
344ALG_HEADERS+=	pstl_frontend_dispatch.h
345ALG_HEADERS+=	pstl_generate.h
346ALG_HEADERS+=	pstl_is_partitioned.h
347ALG_HEADERS+=	pstl_merge.h
348ALG_HEADERS+=	pstl_replace.h
349ALG_HEADERS+=	pstl_sort.h
350ALG_HEADERS+=	pstl_stable_sort.h
351ALG_HEADERS+=	pstl_transform.h
352ALG_HEADERS+=	push_heap.h
353ALG_HEADERS+=	ranges_adjacent_find.h
354ALG_HEADERS+=	ranges_all_of.h
355ALG_HEADERS+=	ranges_any_of.h
356ALG_HEADERS+=	ranges_binary_search.h
357ALG_HEADERS+=	ranges_clamp.h
358ALG_HEADERS+=	ranges_copy.h
359ALG_HEADERS+=	ranges_copy_backward.h
360ALG_HEADERS+=	ranges_copy_if.h
361ALG_HEADERS+=	ranges_copy_n.h
362ALG_HEADERS+=	ranges_count.h
363ALG_HEADERS+=	ranges_count_if.h
364ALG_HEADERS+=	ranges_equal.h
365ALG_HEADERS+=	ranges_equal_range.h
366ALG_HEADERS+=	ranges_fill.h
367ALG_HEADERS+=	ranges_fill_n.h
368ALG_HEADERS+=	ranges_find.h
369ALG_HEADERS+=	ranges_find_end.h
370ALG_HEADERS+=	ranges_find_first_of.h
371ALG_HEADERS+=	ranges_find_if.h
372ALG_HEADERS+=	ranges_find_if_not.h
373ALG_HEADERS+=	ranges_for_each.h
374ALG_HEADERS+=	ranges_for_each_n.h
375ALG_HEADERS+=	ranges_generate.h
376ALG_HEADERS+=	ranges_generate_n.h
377ALG_HEADERS+=	ranges_includes.h
378ALG_HEADERS+=	ranges_inplace_merge.h
379ALG_HEADERS+=	ranges_is_heap.h
380ALG_HEADERS+=	ranges_is_heap_until.h
381ALG_HEADERS+=	ranges_is_partitioned.h
382ALG_HEADERS+=	ranges_is_permutation.h
383ALG_HEADERS+=	ranges_is_sorted.h
384ALG_HEADERS+=	ranges_is_sorted_until.h
385ALG_HEADERS+=	ranges_iterator_concept.h
386ALG_HEADERS+=	ranges_lexicographical_compare.h
387ALG_HEADERS+=	ranges_lower_bound.h
388ALG_HEADERS+=	ranges_make_heap.h
389ALG_HEADERS+=	ranges_max.h
390ALG_HEADERS+=	ranges_max_element.h
391ALG_HEADERS+=	ranges_merge.h
392ALG_HEADERS+=	ranges_min.h
393ALG_HEADERS+=	ranges_min_element.h
394ALG_HEADERS+=	ranges_minmax.h
395ALG_HEADERS+=	ranges_minmax_element.h
396ALG_HEADERS+=	ranges_mismatch.h
397ALG_HEADERS+=	ranges_move.h
398ALG_HEADERS+=	ranges_move_backward.h
399ALG_HEADERS+=	ranges_next_permutation.h
400ALG_HEADERS+=	ranges_none_of.h
401ALG_HEADERS+=	ranges_nth_element.h
402ALG_HEADERS+=	ranges_partial_sort.h
403ALG_HEADERS+=	ranges_partial_sort_copy.h
404ALG_HEADERS+=	ranges_partition.h
405ALG_HEADERS+=	ranges_partition_copy.h
406ALG_HEADERS+=	ranges_partition_point.h
407ALG_HEADERS+=	ranges_pop_heap.h
408ALG_HEADERS+=	ranges_prev_permutation.h
409ALG_HEADERS+=	ranges_push_heap.h
410ALG_HEADERS+=	ranges_remove.h
411ALG_HEADERS+=	ranges_remove_copy.h
412ALG_HEADERS+=	ranges_remove_copy_if.h
413ALG_HEADERS+=	ranges_remove_if.h
414ALG_HEADERS+=	ranges_replace.h
415ALG_HEADERS+=	ranges_replace_copy.h
416ALG_HEADERS+=	ranges_replace_copy_if.h
417ALG_HEADERS+=	ranges_replace_if.h
418ALG_HEADERS+=	ranges_reverse.h
419ALG_HEADERS+=	ranges_reverse_copy.h
420ALG_HEADERS+=	ranges_rotate.h
421ALG_HEADERS+=	ranges_rotate_copy.h
422ALG_HEADERS+=	ranges_sample.h
423ALG_HEADERS+=	ranges_search.h
424ALG_HEADERS+=	ranges_search_n.h
425ALG_HEADERS+=	ranges_set_difference.h
426ALG_HEADERS+=	ranges_set_intersection.h
427ALG_HEADERS+=	ranges_set_symmetric_difference.h
428ALG_HEADERS+=	ranges_set_union.h
429ALG_HEADERS+=	ranges_shuffle.h
430ALG_HEADERS+=	ranges_sort.h
431ALG_HEADERS+=	ranges_sort_heap.h
432ALG_HEADERS+=	ranges_stable_partition.h
433ALG_HEADERS+=	ranges_stable_sort.h
434ALG_HEADERS+=	ranges_starts_with.h
435ALG_HEADERS+=	ranges_swap_ranges.h
436ALG_HEADERS+=	ranges_transform.h
437ALG_HEADERS+=	ranges_unique.h
438ALG_HEADERS+=	ranges_unique_copy.h
439ALG_HEADERS+=	ranges_upper_bound.h
440ALG_HEADERS+=	remove.h
441ALG_HEADERS+=	remove_copy.h
442ALG_HEADERS+=	remove_copy_if.h
443ALG_HEADERS+=	remove_if.h
444ALG_HEADERS+=	replace.h
445ALG_HEADERS+=	replace_copy.h
446ALG_HEADERS+=	replace_copy_if.h
447ALG_HEADERS+=	replace_if.h
448ALG_HEADERS+=	reverse.h
449ALG_HEADERS+=	reverse_copy.h
450ALG_HEADERS+=	rotate.h
451ALG_HEADERS+=	rotate_copy.h
452ALG_HEADERS+=	sample.h
453ALG_HEADERS+=	search.h
454ALG_HEADERS+=	search_n.h
455ALG_HEADERS+=	set_difference.h
456ALG_HEADERS+=	set_intersection.h
457ALG_HEADERS+=	set_symmetric_difference.h
458ALG_HEADERS+=	set_union.h
459ALG_HEADERS+=	shift_left.h
460ALG_HEADERS+=	shift_right.h
461ALG_HEADERS+=	shuffle.h
462ALG_HEADERS+=	sift_down.h
463ALG_HEADERS+=	sort.h
464ALG_HEADERS+=	sort_heap.h
465ALG_HEADERS+=	stable_partition.h
466ALG_HEADERS+=	stable_sort.h
467ALG_HEADERS+=	swap_ranges.h
468ALG_HEADERS+=	three_way_comp_ref_type.h
469ALG_HEADERS+=	transform.h
470ALG_HEADERS+=	uniform_random_bit_generator_adaptor.h
471ALG_HEADERS+=	unique.h
472ALG_HEADERS+=	unique_copy.h
473ALG_HEADERS+=	unwrap_iter.h
474ALG_HEADERS+=	unwrap_range.h
475ALG_HEADERS+=	upper_bound.h
476.for hdr in ${ALG_HEADERS}
477ALG+=		${HDRDIR}/__algorithm/${hdr}
478.endfor
479
480INCSGROUPS+=	PSB
481PSBDIR=		${CXXINCLUDEDIR}/__algorithm/pstl_backends
482PSB_HEADERS+=   cpu_backend.h
483.for hdr in ${PSB_HEADERS}
484PSB+=		${HDRDIR}/__algorithm/pstl_backends/${hdr}
485.endfor
486
487INCSGROUPS+=	PCB
488PCBDIR=		${CXXINCLUDEDIR}/__algorithm/pstl_backends/cpu_backends
489PCB_HEADERS+=   any_of.h
490PCB_HEADERS+=   backend.h
491PCB_HEADERS+=   fill.h
492PCB_HEADERS+=   find_if.h
493PCB_HEADERS+=   for_each.h
494PCB_HEADERS+=   libdispatch.h
495PCB_HEADERS+=   merge.h
496PCB_HEADERS+=   serial.h
497PCB_HEADERS+=   stable_sort.h
498PCB_HEADERS+=   thread.h
499PCB_HEADERS+=   transform.h
500PCB_HEADERS+=   transform_reduce.h
501.for hdr in ${PCB_HEADERS}
502PCB+=		${HDRDIR}/__algorithm/pstl_backends/cpu_backends/${hdr}
503.endfor
504
505INCSGROUPS+=	ATM
506ATMDIR=		${CXXINCLUDEDIR}/__atomic
507ATM_HEADERS+=	aliases.h
508ATM_HEADERS+=	atomic.h
509ATM_HEADERS+=	atomic_base.h
510ATM_HEADERS+=	atomic_flag.h
511ATM_HEADERS+=	atomic_init.h
512ATM_HEADERS+=	atomic_lock_free.h
513ATM_HEADERS+=	atomic_sync.h
514ATM_HEADERS+=	check_memory_order.h
515ATM_HEADERS+=	contention_t.h
516ATM_HEADERS+=	cxx_atomic_impl.h
517ATM_HEADERS+=	fence.h
518ATM_HEADERS+=	is_always_lock_free.h
519ATM_HEADERS+=	kill_dependency.h
520ATM_HEADERS+=	memory_order.h
521.for hdr in ${ATM_HEADERS}
522ATM+=		${HDRDIR}/__atomic/${hdr}
523.endfor
524
525INCSGROUPS+=	BIT
526BITDIR=		${CXXINCLUDEDIR}/__bit
527BIT_HEADERS+=	bit_cast.h
528BIT_HEADERS+=	bit_ceil.h
529BIT_HEADERS+=	bit_floor.h
530BIT_HEADERS+=	bit_log2.h
531BIT_HEADERS+=	bit_width.h
532BIT_HEADERS+=	blsr.h
533BIT_HEADERS+=	byteswap.h
534BIT_HEADERS+=	countl.h
535BIT_HEADERS+=	countr.h
536BIT_HEADERS+=	endian.h
537BIT_HEADERS+=	has_single_bit.h
538BIT_HEADERS+=	popcount.h
539BIT_HEADERS+=	rotate.h
540.for hdr in ${BIT_HEADERS}
541BIT+=		${HDRDIR}/__bit/${hdr}
542.endfor
543
544INCSGROUPS+=	CHC
545CHCDIR=		${CXXINCLUDEDIR}/__charconv
546CHC_HEADERS+=	chars_format.h
547CHC_HEADERS+=	from_chars_integral.h
548CHC_HEADERS+=	from_chars_result.h
549CHC_HEADERS+=	tables.h
550CHC_HEADERS+=	to_chars.h
551CHC_HEADERS+=	to_chars_base_10.h
552CHC_HEADERS+=	to_chars_floating_point.h
553CHC_HEADERS+=	to_chars_integral.h
554CHC_HEADERS+=	to_chars_result.h
555CHC_HEADERS+=	traits.h
556.for hdr in ${CHC_HEADERS}
557CHC+=		${HDRDIR}/__charconv/${hdr}
558.endfor
559
560INCSGROUPS+=	CHR
561CHRDIR=		${CXXINCLUDEDIR}/__chrono
562CHR_HEADERS+=	calendar.h
563CHR_HEADERS+=	concepts.h
564CHR_HEADERS+=	convert_to_timespec.h
565CHR_HEADERS+=	convert_to_tm.h
566CHR_HEADERS+=	day.h
567CHR_HEADERS+=	duration.h
568CHR_HEADERS+=	file_clock.h
569CHR_HEADERS+=	formatter.h
570CHR_HEADERS+=	hh_mm_ss.h
571CHR_HEADERS+=	high_resolution_clock.h
572CHR_HEADERS+=	literals.h
573CHR_HEADERS+=	month.h
574CHR_HEADERS+=	month_weekday.h
575CHR_HEADERS+=	monthday.h
576CHR_HEADERS+=	ostream.h
577CHR_HEADERS+=	parser_std_format_spec.h
578CHR_HEADERS+=	statically_widen.h
579CHR_HEADERS+=	steady_clock.h
580CHR_HEADERS+=	system_clock.h
581CHR_HEADERS+=	time_point.h
582CHR_HEADERS+=	weekday.h
583CHR_HEADERS+=	year.h
584CHR_HEADERS+=	year_month.h
585CHR_HEADERS+=	year_month_day.h
586CHR_HEADERS+=	year_month_weekday.h
587.for hdr in ${CHR_HEADERS}
588CHR+=		${HDRDIR}/__chrono/${hdr}
589.endfor
590
591INCSGROUPS+=	CMP
592CMPDIR=		${CXXINCLUDEDIR}/__compare
593CMP_HEADERS+=	common_comparison_category.h
594CMP_HEADERS+=	compare_partial_order_fallback.h
595CMP_HEADERS+=	compare_strong_order_fallback.h
596CMP_HEADERS+=	compare_three_way.h
597CMP_HEADERS+=	compare_three_way_result.h
598CMP_HEADERS+=	compare_weak_order_fallback.h
599CMP_HEADERS+=	is_eq.h
600CMP_HEADERS+=	ordering.h
601CMP_HEADERS+=	partial_order.h
602CMP_HEADERS+=	strong_order.h
603CMP_HEADERS+=	synth_three_way.h
604CMP_HEADERS+=	three_way_comparable.h
605CMP_HEADERS+=	weak_order.h
606.for hdr in ${CMP_HEADERS}
607CMP+=		${HDRDIR}/__compare/${hdr}
608.endfor
609
610INCSGROUPS+=	CON
611CONDIR=		${CXXINCLUDEDIR}/__concepts
612CON_HEADERS+=	arithmetic.h
613CON_HEADERS+=	assignable.h
614CON_HEADERS+=	boolean_testable.h
615CON_HEADERS+=	class_or_enum.h
616CON_HEADERS+=	common_reference_with.h
617CON_HEADERS+=	common_with.h
618CON_HEADERS+=	constructible.h
619CON_HEADERS+=	convertible_to.h
620CON_HEADERS+=	copyable.h
621CON_HEADERS+=	derived_from.h
622CON_HEADERS+=	destructible.h
623CON_HEADERS+=	different_from.h
624CON_HEADERS+=	equality_comparable.h
625CON_HEADERS+=	invocable.h
626CON_HEADERS+=	movable.h
627CON_HEADERS+=	predicate.h
628CON_HEADERS+=	regular.h
629CON_HEADERS+=	relation.h
630CON_HEADERS+=	same_as.h
631CON_HEADERS+=	semiregular.h
632CON_HEADERS+=	swappable.h
633CON_HEADERS+=	totally_ordered.h
634.for hdr in ${CON_HEADERS}
635CON+=		${HDRDIR}/__concepts/${hdr}
636.endfor
637
638INCSGROUPS+=	CND
639CNDDIR=		${CXXINCLUDEDIR}/__condition_variable
640CND_HEADERS+=   condition_variable.h
641.for hdr in ${CND_HEADERS}
642CND+=		${HDRDIR}/__condition_variable/${hdr}
643.endfor
644
645INCSGROUPS+=	COR
646CORDIR=		${CXXINCLUDEDIR}/__coroutine
647COR_HEADERS+=	coroutine_handle.h
648COR_HEADERS+=	coroutine_traits.h
649COR_HEADERS+=	noop_coroutine_handle.h
650COR_HEADERS+=	trivial_awaitables.h
651.for hdr in ${COR_HEADERS}
652COR+=		${HDRDIR}/__coroutine/${hdr}
653.endfor
654
655INCSGROUPS+=	DBG
656DBGDIR=		${CXXINCLUDEDIR}/__debug_utils
657DBG_HEADERS+=	randomize_range.h
658DBG_HEADERS+=   strict_weak_ordering_check.h
659.for hdr in ${DBG_HEADERS}
660DBG+=		${HDRDIR}/__debug_utils/${hdr}
661.endfor
662
663INCSGROUPS+=	EXC
664EXCDIR=		${CXXINCLUDEDIR}/__exception
665EXC_HEADERS+=   exception.h
666EXC_HEADERS+=   exception_ptr.h
667EXC_HEADERS+=   nested_exception.h
668EXC_HEADERS+=   operations.h
669EXC_HEADERS+=   terminate.h
670.for hdr in ${EXC_HEADERS}
671EXC+=		${HDRDIR}/__exception/${hdr}
672.endfor
673
674INCSGROUPS+=	EXD
675EXDDIR=		${CXXINCLUDEDIR}/__expected
676EXD_HEADERS+=	bad_expected_access.h
677EXD_HEADERS+=	expected.h
678EXD_HEADERS+=	unexpect.h
679EXD_HEADERS+=	unexpected.h
680.for hdr in ${EXD_HEADERS}
681EXD+=		${HDRDIR}/__expected/${hdr}
682.endfor
683
684INCSGROUPS+=	FS
685FSDIR=		${CXXINCLUDEDIR}/__filesystem
686FS_HEADERS+=	copy_options.h
687FS_HEADERS+=	directory_entry.h
688FS_HEADERS+=	directory_iterator.h
689FS_HEADERS+=	directory_options.h
690FS_HEADERS+=	file_status.h
691FS_HEADERS+=	file_time_type.h
692FS_HEADERS+=	file_type.h
693FS_HEADERS+=	filesystem_error.h
694FS_HEADERS+=	operations.h
695FS_HEADERS+=	path.h
696FS_HEADERS+=	path_iterator.h
697FS_HEADERS+=	perm_options.h
698FS_HEADERS+=	perms.h
699FS_HEADERS+=	recursive_directory_iterator.h
700FS_HEADERS+=	space_info.h
701FS_HEADERS+=	u8path.h
702.for hdr in ${FS_HEADERS}
703FS+=		${HDRDIR}/__filesystem/${hdr}
704.endfor
705
706INCSGROUPS+=	FMT
707FMTDIR=		${CXXINCLUDEDIR}/__format
708FMT_HEADERS+=	buffer.h
709FMT_HEADERS+=	concepts.h
710FMT_HEADERS+=	container_adaptor.h
711FMT_HEADERS+=	enable_insertable.h
712FMT_HEADERS+=	escaped_output_table.h
713FMT_HEADERS+=	extended_grapheme_cluster_table.h
714FMT_HEADERS+=	format_arg.h
715FMT_HEADERS+=	format_arg_store.h
716FMT_HEADERS+=	format_args.h
717FMT_HEADERS+=	format_context.h
718FMT_HEADERS+=	format_error.h
719FMT_HEADERS+=	format_functions.h
720FMT_HEADERS+=	format_fwd.h
721FMT_HEADERS+=	format_parse_context.h
722FMT_HEADERS+=	format_string.h
723FMT_HEADERS+=	format_to_n_result.h
724FMT_HEADERS+=	formatter.h
725FMT_HEADERS+=	formatter_bool.h
726FMT_HEADERS+=	formatter_char.h
727FMT_HEADERS+=	formatter_floating_point.h
728FMT_HEADERS+=	formatter_integer.h
729FMT_HEADERS+=	formatter_integral.h
730FMT_HEADERS+=	formatter_output.h
731FMT_HEADERS+=	formatter_pointer.h
732FMT_HEADERS+=	formatter_string.h
733FMT_HEADERS+=	formatter_tuple.h
734FMT_HEADERS+=	parser_std_format_spec.h
735FMT_HEADERS+=	range_default_formatter.h
736FMT_HEADERS+=	range_formatter.h
737FMT_HEADERS+=	unicode.h
738FMT_HEADERS+=	width_estimation_table.h
739FMT_HEADERS+=	write_escaped.h
740.for hdr in ${FMT_HEADERS}
741FMT+=		${HDRDIR}/__format/${hdr}
742.endfor
743
744INCSGROUPS+=	FUN
745FUNDIR=		${CXXINCLUDEDIR}/__functional
746FUN_HEADERS+=	binary_function.h
747FUN_HEADERS+=	binary_negate.h
748FUN_HEADERS+=	bind.h
749FUN_HEADERS+=	bind_back.h
750FUN_HEADERS+=	bind_front.h
751FUN_HEADERS+=	binder1st.h
752FUN_HEADERS+=	binder2nd.h
753FUN_HEADERS+=	boyer_moore_searcher.h
754FUN_HEADERS+=	compose.h
755FUN_HEADERS+=	default_searcher.h
756FUN_HEADERS+=	function.h
757FUN_HEADERS+=	hash.h
758FUN_HEADERS+=	identity.h
759FUN_HEADERS+=	invoke.h
760FUN_HEADERS+=	is_transparent.h
761FUN_HEADERS+=	mem_fn.h
762FUN_HEADERS+=	mem_fun_ref.h
763FUN_HEADERS+=	not_fn.h
764FUN_HEADERS+=	operations.h
765FUN_HEADERS+=	perfect_forward.h
766FUN_HEADERS+=	pointer_to_binary_function.h
767FUN_HEADERS+=	pointer_to_unary_function.h
768FUN_HEADERS+=	ranges_operations.h
769FUN_HEADERS+=	reference_wrapper.h
770FUN_HEADERS+=	unary_function.h
771FUN_HEADERS+=	unary_negate.h
772FUN_HEADERS+=	weak_result_type.h
773.for hdr in ${FUN_HEADERS}
774FUN+=		${HDRDIR}/__functional/${hdr}
775.endfor
776
777INCSGROUPS+=	FWD
778FWDDIR=		${CXXINCLUDEDIR}/__fwd
779FWD_HEADERS+=	array.h
780FWD_HEADERS+=	fstream.h
781FWD_HEADERS+=	get.h
782FWD_HEADERS+=	hash.h
783FWD_HEADERS+=	ios.h
784FWD_HEADERS+=	istream.h
785FWD_HEADERS+=	mdspan.h
786FWD_HEADERS+=	memory_resource.h
787FWD_HEADERS+=	ostream.h
788FWD_HEADERS+=	pair.h
789FWD_HEADERS+=	span.h
790FWD_HEADERS+=	sstream.h
791FWD_HEADERS+=	streambuf.h
792FWD_HEADERS+=	string.h
793FWD_HEADERS+=	string_view.h
794FWD_HEADERS+=	subrange.h
795FWD_HEADERS+=	tuple.h
796.for hdr in ${FWD_HEADERS}
797FWD+=		${HDRDIR}/__fwd/${hdr}
798.endfor
799
800INCSGROUPS+=	IOS
801IOSDIR=		${CXXINCLUDEDIR}/__ios
802IOS_HEADERS+=	fpos.h
803.for hdr in ${IOS_HEADERS}
804IOS+=		${HDRDIR}/__ios/${hdr}
805.endfor
806
807INCSGROUPS+=	IT
808ITDIR=		${CXXINCLUDEDIR}/__iterator
809IT_HEADERS+=	access.h
810IT_HEADERS+=	advance.h
811IT_HEADERS+=	back_insert_iterator.h
812IT_HEADERS+=	bounded_iter.h
813IT_HEADERS+=	common_iterator.h
814IT_HEADERS+=	concepts.h
815IT_HEADERS+=	counted_iterator.h
816IT_HEADERS+=	cpp17_iterator_concepts.h
817IT_HEADERS+=	data.h
818IT_HEADERS+=	default_sentinel.h
819IT_HEADERS+=	distance.h
820IT_HEADERS+=	empty.h
821IT_HEADERS+=	erase_if_container.h
822IT_HEADERS+=	front_insert_iterator.h
823IT_HEADERS+=	incrementable_traits.h
824IT_HEADERS+=	indirectly_comparable.h
825IT_HEADERS+=	insert_iterator.h
826IT_HEADERS+=	istream_iterator.h
827IT_HEADERS+=	istreambuf_iterator.h
828IT_HEADERS+=	iter_move.h
829IT_HEADERS+=	iter_swap.h
830IT_HEADERS+=	iterator.h
831IT_HEADERS+=	iterator_traits.h
832IT_HEADERS+=	iterator_with_data.h
833IT_HEADERS+=	mergeable.h
834IT_HEADERS+=	move_iterator.h
835IT_HEADERS+=	move_sentinel.h
836IT_HEADERS+=	next.h
837IT_HEADERS+=	ostream_iterator.h
838IT_HEADERS+=	ostreambuf_iterator.h
839IT_HEADERS+=	permutable.h
840IT_HEADERS+=	prev.h
841IT_HEADERS+=	projected.h
842IT_HEADERS+=	ranges_iterator_traits.h
843IT_HEADERS+=	readable_traits.h
844IT_HEADERS+=	reverse_access.h
845IT_HEADERS+=	reverse_iterator.h
846IT_HEADERS+=	segmented_iterator.h
847IT_HEADERS+=	size.h
848IT_HEADERS+=	sortable.h
849IT_HEADERS+=	unreachable_sentinel.h
850IT_HEADERS+=	wrap_iter.h
851.for hdr in ${IT_HEADERS}
852IT+=		${HDRDIR}/__iterator/${hdr}
853.endfor
854
855INCSGROUPS+=	LBA
856LBADIR=		${CXXINCLUDEDIR}/__locale_dir/locale_base_api
857LBA_HEADERS+=	bsd_locale_defaults.h
858LBA_HEADERS+=	bsd_locale_fallbacks.h
859LBA_HEADERS+=	locale_guard.h
860.for hdr in ${LBA_HEADERS}
861LBA+=		${HDRDIR}/__locale_dir/locale_base_api/${hdr}
862.endfor
863
864INCSGROUPS+=	MDS
865MDSDIR=		${CXXINCLUDEDIR}/__mdspan
866MDS_HEADERS+=	default_accessor.h
867MDS_HEADERS+=	extents.h
868MDS_HEADERS+=	layout_left.h
869MDS_HEADERS+=	layout_right.h
870MDS_HEADERS+=	mdspan.h
871.for hdr in ${MDS_HEADERS}
872MDS+=		${HDRDIR}/__mdspan/${hdr}
873.endfor
874
875INCSGROUPS+=	MEM
876MEMDIR=		${CXXINCLUDEDIR}/__memory
877MEM_HEADERS+=	addressof.h
878MEM_HEADERS+=	align.h
879MEM_HEADERS+=	aligned_alloc.h
880MEM_HEADERS+=	allocate_at_least.h
881MEM_HEADERS+=	allocation_guard.h
882MEM_HEADERS+=	allocator.h
883MEM_HEADERS+=	allocator_arg_t.h
884MEM_HEADERS+=	allocator_destructor.h
885MEM_HEADERS+=	allocator_traits.h
886MEM_HEADERS+=	assume_aligned.h
887MEM_HEADERS+=	auto_ptr.h
888MEM_HEADERS+=	builtin_new_allocator.h
889MEM_HEADERS+=	compressed_pair.h
890MEM_HEADERS+=	concepts.h
891MEM_HEADERS+=	construct_at.h
892MEM_HEADERS+=	destruct_n.h
893MEM_HEADERS+=	pointer_traits.h
894MEM_HEADERS+=	ranges_construct_at.h
895MEM_HEADERS+=	ranges_uninitialized_algorithms.h
896MEM_HEADERS+=	raw_storage_iterator.h
897MEM_HEADERS+=	shared_ptr.h
898MEM_HEADERS+=	swap_allocator.h
899MEM_HEADERS+=	temp_value.h
900MEM_HEADERS+=	temporary_buffer.h
901MEM_HEADERS+=	uninitialized_algorithms.h
902MEM_HEADERS+=	unique_ptr.h
903MEM_HEADERS+=	uses_allocator.h
904MEM_HEADERS+=	uses_allocator_construction.h
905MEM_HEADERS+=	voidify.h
906.for hdr in ${MEM_HEADERS}
907MEM+=		${HDRDIR}/__memory/${hdr}
908.endfor
909
910INCSGROUPS+=	MER
911MERDIR=		${CXXINCLUDEDIR}/__memory_resource
912MER_HEADERS+=	memory_resource.h
913MER_HEADERS+=	monotonic_buffer_resource.h
914MER_HEADERS+=	polymorphic_allocator.h
915MER_HEADERS+=	pool_options.h
916MER_HEADERS+=	synchronized_pool_resource.h
917MER_HEADERS+=	unsynchronized_pool_resource.h
918.for hdr in ${MER_HEADERS}
919MER+=		${HDRDIR}/__memory_resource/${hdr}
920.endfor
921
922INCSGROUPS+=	MUT
923MUTDIR=		${CXXINCLUDEDIR}/__mutex
924MUT_HEADERS+=	lock_guard.h
925MUT_HEADERS+=	mutex.h
926MUT_HEADERS+=	tag_types.h
927MUT_HEADERS+=	unique_lock.h
928.for hdr in ${MUT_HEADERS}
929MUT+=		${HDRDIR}/__mutex/${hdr}
930.endfor
931
932INCSGROUPS+=	NUM
933NUMDIR=		${CXXINCLUDEDIR}/__numeric
934NUM_HEADERS+=	accumulate.h
935NUM_HEADERS+=	adjacent_difference.h
936NUM_HEADERS+=	exclusive_scan.h
937NUM_HEADERS+=	gcd_lcm.h
938NUM_HEADERS+=	inclusive_scan.h
939NUM_HEADERS+=	inner_product.h
940NUM_HEADERS+=	iota.h
941NUM_HEADERS+=	midpoint.h
942NUM_HEADERS+=	partial_sum.h
943NUM_HEADERS+=	pstl_reduce.h
944NUM_HEADERS+=	pstl_transform_reduce.h
945NUM_HEADERS+=	reduce.h
946NUM_HEADERS+=	transform_exclusive_scan.h
947NUM_HEADERS+=	transform_inclusive_scan.h
948NUM_HEADERS+=	transform_reduce.h
949.for hdr in ${NUM_HEADERS}
950NUM+=		${HDRDIR}/__numeric/${hdr}
951.endfor
952
953INCSGROUPS+=	PSI
954PSIDIR=		${CXXINCLUDEDIR}/__pstl/internal
955PSI_HEADERS+=	algorithm_fwd.h
956PSI_HEADERS+=	algorithm_impl.h
957PSI_HEADERS+=	execution_defs.h
958PSI_HEADERS+=	execution_impl.h
959PSI_HEADERS+=	glue_algorithm_defs.h
960PSI_HEADERS+=	glue_algorithm_impl.h
961PSI_HEADERS+=	glue_memory_defs.h
962PSI_HEADERS+=	glue_memory_impl.h
963PSI_HEADERS+=	glue_numeric_defs.h
964PSI_HEADERS+=	glue_numeric_impl.h
965PSI_HEADERS+=	memory_impl.h
966PSI_HEADERS+=	numeric_fwd.h
967PSI_HEADERS+=	numeric_impl.h
968PSI_HEADERS+=	parallel_backend.h
969PSI_HEADERS+=	parallel_backend_omp.h
970PSI_HEADERS+=	parallel_backend_serial.h
971PSI_HEADERS+=	parallel_backend_tbb.h
972PSI_HEADERS+=	parallel_backend_utils.h
973PSI_HEADERS+=	unseq_backend_simd.h
974PSI_HEADERS+=	utils.h
975.for hdr in ${PSI_HEADERS}
976PSI+=		${HDRDIR}/__pstl/internal/${hdr}
977.endfor
978
979INCSGROUPS+=	PSO
980PSODIR=		${CXXINCLUDEDIR}/__pstl/internal/omp
981PSO_HEADERS+=	parallel_for.h
982PSO_HEADERS+=	parallel_for_each.h
983PSO_HEADERS+=	parallel_invoke.h
984PSO_HEADERS+=	parallel_merge.h
985PSO_HEADERS+=	parallel_scan.h
986PSO_HEADERS+=	parallel_stable_partial_sort.h
987PSO_HEADERS+=	parallel_stable_sort.h
988PSO_HEADERS+=	parallel_transform_reduce.h
989PSO_HEADERS+=	parallel_transform_scan.h
990PSO_HEADERS+=	util.h
991.for hdr in ${PSO_HEADERS}
992PSO+=		${HDRDIR}/__pstl/internal/omp/${hdr}
993.endfor
994
995INCSGROUPS+=	RND
996RNDDIR=		${CXXINCLUDEDIR}/__random
997RND_HEADERS+=	bernoulli_distribution.h
998RND_HEADERS+=	binomial_distribution.h
999RND_HEADERS+=	cauchy_distribution.h
1000RND_HEADERS+=	chi_squared_distribution.h
1001RND_HEADERS+=	clamp_to_integral.h
1002RND_HEADERS+=	default_random_engine.h
1003RND_HEADERS+=	discard_block_engine.h
1004RND_HEADERS+=	discrete_distribution.h
1005RND_HEADERS+=	exponential_distribution.h
1006RND_HEADERS+=	extreme_value_distribution.h
1007RND_HEADERS+=	fisher_f_distribution.h
1008RND_HEADERS+=	gamma_distribution.h
1009RND_HEADERS+=	generate_canonical.h
1010RND_HEADERS+=	geometric_distribution.h
1011RND_HEADERS+=	independent_bits_engine.h
1012RND_HEADERS+=	is_seed_sequence.h
1013RND_HEADERS+=	is_valid.h
1014RND_HEADERS+=	knuth_b.h
1015RND_HEADERS+=	linear_congruential_engine.h
1016RND_HEADERS+=	log2.h
1017RND_HEADERS+=	lognormal_distribution.h
1018RND_HEADERS+=	mersenne_twister_engine.h
1019RND_HEADERS+=	negative_binomial_distribution.h
1020RND_HEADERS+=	normal_distribution.h
1021RND_HEADERS+=	piecewise_constant_distribution.h
1022RND_HEADERS+=	piecewise_linear_distribution.h
1023RND_HEADERS+=	poisson_distribution.h
1024RND_HEADERS+=	random_device.h
1025RND_HEADERS+=	ranlux.h
1026RND_HEADERS+=	seed_seq.h
1027RND_HEADERS+=	shuffle_order_engine.h
1028RND_HEADERS+=	student_t_distribution.h
1029RND_HEADERS+=	subtract_with_carry_engine.h
1030RND_HEADERS+=	uniform_int_distribution.h
1031RND_HEADERS+=	uniform_random_bit_generator.h
1032RND_HEADERS+=	uniform_real_distribution.h
1033RND_HEADERS+=	weibull_distribution.h
1034.for hdr in ${RND_HEADERS}
1035RND+=		${HDRDIR}/__random/${hdr}
1036.endfor
1037
1038INCSGROUPS+=	RNG
1039RNGDIR=		${CXXINCLUDEDIR}/__ranges
1040RNG_HEADERS+=	access.h
1041RNG_HEADERS+=	all.h
1042RNG_HEADERS+=	as_rvalue_view.h
1043RNG_HEADERS+=	common_view.h
1044RNG_HEADERS+=	concepts.h
1045RNG_HEADERS+=	container_compatible_range.h
1046RNG_HEADERS+=	counted.h
1047RNG_HEADERS+=	dangling.h
1048RNG_HEADERS+=	data.h
1049RNG_HEADERS+=	drop_view.h
1050RNG_HEADERS+=	drop_while_view.h
1051RNG_HEADERS+=	elements_view.h
1052RNG_HEADERS+=	empty.h
1053RNG_HEADERS+=	empty_view.h
1054RNG_HEADERS+=	enable_borrowed_range.h
1055RNG_HEADERS+=	enable_view.h
1056RNG_HEADERS+=	filter_view.h
1057RNG_HEADERS+=	from_range.h
1058RNG_HEADERS+=	iota_view.h
1059RNG_HEADERS+=	istream_view.h
1060RNG_HEADERS+=	join_view.h
1061RNG_HEADERS+=	lazy_split_view.h
1062RNG_HEADERS+=	movable_box.h
1063RNG_HEADERS+=	non_propagating_cache.h
1064RNG_HEADERS+=	owning_view.h
1065RNG_HEADERS+=	range_adaptor.h
1066RNG_HEADERS+=	rbegin.h
1067RNG_HEADERS+=	ref_view.h
1068RNG_HEADERS+=	rend.h
1069RNG_HEADERS+=	repeat_view.h
1070RNG_HEADERS+=	reverse_view.h
1071RNG_HEADERS+=	single_view.h
1072RNG_HEADERS+=	size.h
1073RNG_HEADERS+=	split_view.h
1074RNG_HEADERS+=	subrange.h
1075RNG_HEADERS+=	take_view.h
1076RNG_HEADERS+=	take_while_view.h
1077RNG_HEADERS+=	to.h
1078RNG_HEADERS+=	transform_view.h
1079RNG_HEADERS+=	view_interface.h
1080RNG_HEADERS+=	views.h
1081RNG_HEADERS+=	zip_view.h
1082.for hdr in ${RNG_HEADERS}
1083RNG+=		${HDRDIR}/__ranges/${hdr}
1084.endfor
1085
1086INCSGROUPS+=	STT
1087STTDIR=		${CXXINCLUDEDIR}/__stop_token
1088STT_HEADERS+=	atomic_unique_lock.h
1089STT_HEADERS+=	intrusive_list_view.h
1090STT_HEADERS+=	intrusive_shared_ptr.h
1091STT_HEADERS+=	stop_callback.h
1092STT_HEADERS+=	stop_source.h
1093STT_HEADERS+=	stop_state.h
1094STT_HEADERS+=	stop_token.h
1095.for hdr in ${STT_HEADERS}
1096STT+=		${HDRDIR}/__stop_token/${hdr}
1097.endfor
1098
1099INCSGROUPS+=	STR
1100STRDIR=		${CXXINCLUDEDIR}/__string
1101STR_HEADERS+=	char_traits.h
1102STR_HEADERS+=	constexpr_c_functions.h
1103STR_HEADERS+=	extern_template_lists.h
1104.for hdr in ${STR_HEADERS}
1105STR+=		${HDRDIR}/__string/${hdr}
1106.endfor
1107
1108INCSGROUPS+=	SER
1109SERDIR=		${CXXINCLUDEDIR}/__system_error
1110SER_HEADERS+=	errc.h
1111SER_HEADERS+=	error_category.h
1112SER_HEADERS+=	error_code.h
1113SER_HEADERS+=	error_condition.h
1114SER_HEADERS+=	system_error.h
1115.for hdr in ${SER_HEADERS}
1116SER+=		${HDRDIR}/__system_error/${hdr}
1117.endfor
1118
1119INCSGROUPS+=	THR
1120THRDIR=		${CXXINCLUDEDIR}/__thread
1121THR_HEADERS+=	formatter.h
1122THR_HEADERS+=	id.h
1123THR_HEADERS+=	poll_with_backoff.h
1124THR_HEADERS+=	this_thread.h
1125THR_HEADERS+=	thread.h
1126THR_HEADERS+=	timed_backoff_policy.h
1127.for hdr in ${THR_HEADERS}
1128THR+=		${HDRDIR}/__thread/${hdr}
1129.endfor
1130
1131INCSGROUPS+=	TUP
1132TUPDIR=		${CXXINCLUDEDIR}/__tuple
1133TUP_HEADERS+=	make_tuple_types.h
1134TUP_HEADERS+=	pair_like.h
1135TUP_HEADERS+=	sfinae_helpers.h
1136TUP_HEADERS+=	tuple_element.h
1137TUP_HEADERS+=	tuple_indices.h
1138TUP_HEADERS+=	tuple_like.h
1139TUP_HEADERS+=	tuple_like_ext.h
1140TUP_HEADERS+=	tuple_size.h
1141TUP_HEADERS+=	tuple_types.h
1142.for hdr in ${TUP_HEADERS}
1143TUP+=		${HDRDIR}/__tuple/${hdr}
1144.endfor
1145
1146INCSGROUPS+=	TTR
1147TTRDIR=		${CXXINCLUDEDIR}/__type_traits
1148TTR_HEADERS+=	add_const.h
1149TTR_HEADERS+=	add_cv.h
1150TTR_HEADERS+=	add_lvalue_reference.h
1151TTR_HEADERS+=	add_pointer.h
1152TTR_HEADERS+=	add_rvalue_reference.h
1153TTR_HEADERS+=	add_volatile.h
1154TTR_HEADERS+=	aligned_storage.h
1155TTR_HEADERS+=	aligned_union.h
1156TTR_HEADERS+=	alignment_of.h
1157TTR_HEADERS+=	apply_cv.h
1158TTR_HEADERS+=	can_extract_key.h
1159TTR_HEADERS+=	common_reference.h
1160TTR_HEADERS+=	common_type.h
1161TTR_HEADERS+=	conditional.h
1162TTR_HEADERS+=	conjunction.h
1163TTR_HEADERS+=	copy_cv.h
1164TTR_HEADERS+=	copy_cvref.h
1165TTR_HEADERS+=	datasizeof.h
1166TTR_HEADERS+=	decay.h
1167TTR_HEADERS+=	dependent_type.h
1168TTR_HEADERS+=	disjunction.h
1169TTR_HEADERS+=	enable_if.h
1170TTR_HEADERS+=	extent.h
1171TTR_HEADERS+=	has_unique_object_representation.h
1172TTR_HEADERS+=	has_virtual_destructor.h
1173TTR_HEADERS+=	integral_constant.h
1174TTR_HEADERS+=	invoke.h
1175TTR_HEADERS+=	is_abstract.h
1176TTR_HEADERS+=	is_aggregate.h
1177TTR_HEADERS+=	is_allocator.h
1178TTR_HEADERS+=	is_always_bitcastable.h
1179TTR_HEADERS+=	is_arithmetic.h
1180TTR_HEADERS+=	is_array.h
1181TTR_HEADERS+=	is_assignable.h
1182TTR_HEADERS+=	is_base_of.h
1183TTR_HEADERS+=	is_bounded_array.h
1184TTR_HEADERS+=	is_callable.h
1185TTR_HEADERS+=	is_char_like_type.h
1186TTR_HEADERS+=	is_class.h
1187TTR_HEADERS+=	is_compound.h
1188TTR_HEADERS+=	is_const.h
1189TTR_HEADERS+=	is_constant_evaluated.h
1190TTR_HEADERS+=	is_constructible.h
1191TTR_HEADERS+=	is_convertible.h
1192TTR_HEADERS+=	is_copy_assignable.h
1193TTR_HEADERS+=	is_copy_constructible.h
1194TTR_HEADERS+=	is_core_convertible.h
1195TTR_HEADERS+=	is_default_constructible.h
1196TTR_HEADERS+=	is_destructible.h
1197TTR_HEADERS+=	is_empty.h
1198TTR_HEADERS+=	is_enum.h
1199TTR_HEADERS+=	is_equality_comparable.h
1200TTR_HEADERS+=	is_execution_policy.h
1201TTR_HEADERS+=	is_final.h
1202TTR_HEADERS+=	is_floating_point.h
1203TTR_HEADERS+=	is_function.h
1204TTR_HEADERS+=	is_fundamental.h
1205TTR_HEADERS+=	is_implicitly_default_constructible.h
1206TTR_HEADERS+=	is_integral.h
1207TTR_HEADERS+=	is_literal_type.h
1208TTR_HEADERS+=	is_member_function_pointer.h
1209TTR_HEADERS+=	is_member_object_pointer.h
1210TTR_HEADERS+=	is_member_pointer.h
1211TTR_HEADERS+=	is_move_assignable.h
1212TTR_HEADERS+=	is_move_constructible.h
1213TTR_HEADERS+=	is_nothrow_assignable.h
1214TTR_HEADERS+=	is_nothrow_constructible.h
1215TTR_HEADERS+=	is_nothrow_convertible.h
1216TTR_HEADERS+=	is_nothrow_copy_assignable.h
1217TTR_HEADERS+=	is_nothrow_copy_constructible.h
1218TTR_HEADERS+=	is_nothrow_default_constructible.h
1219TTR_HEADERS+=	is_nothrow_destructible.h
1220TTR_HEADERS+=	is_nothrow_move_assignable.h
1221TTR_HEADERS+=	is_nothrow_move_constructible.h
1222TTR_HEADERS+=	is_null_pointer.h
1223TTR_HEADERS+=	is_object.h
1224TTR_HEADERS+=	is_pod.h
1225TTR_HEADERS+=	is_pointer.h
1226TTR_HEADERS+=	is_polymorphic.h
1227TTR_HEADERS+=	is_primary_template.h
1228TTR_HEADERS+=	is_reference.h
1229TTR_HEADERS+=	is_reference_wrapper.h
1230TTR_HEADERS+=	is_referenceable.h
1231TTR_HEADERS+=	is_same.h
1232TTR_HEADERS+=	is_scalar.h
1233TTR_HEADERS+=	is_scoped_enum.h
1234TTR_HEADERS+=	is_signed.h
1235TTR_HEADERS+=	is_signed_integer.h
1236TTR_HEADERS+=	is_specialization.h
1237TTR_HEADERS+=	is_standard_layout.h
1238TTR_HEADERS+=	is_swappable.h
1239TTR_HEADERS+=	is_trivial.h
1240TTR_HEADERS+=	is_trivially_assignable.h
1241TTR_HEADERS+=	is_trivially_constructible.h
1242TTR_HEADERS+=	is_trivially_copy_assignable.h
1243TTR_HEADERS+=	is_trivially_copy_constructible.h
1244TTR_HEADERS+=	is_trivially_copyable.h
1245TTR_HEADERS+=	is_trivially_default_constructible.h
1246TTR_HEADERS+=	is_trivially_destructible.h
1247TTR_HEADERS+=	is_trivially_lexicographically_comparable.h
1248TTR_HEADERS+=	is_trivially_move_assignable.h
1249TTR_HEADERS+=	is_trivially_move_constructible.h
1250TTR_HEADERS+=	is_unbounded_array.h
1251TTR_HEADERS+=	is_union.h
1252TTR_HEADERS+=	is_unsigned.h
1253TTR_HEADERS+=	is_unsigned_integer.h
1254TTR_HEADERS+=	is_valid_expansion.h
1255TTR_HEADERS+=	is_void.h
1256TTR_HEADERS+=	is_volatile.h
1257TTR_HEADERS+=	lazy.h
1258TTR_HEADERS+=	make_32_64_or_128_bit.h
1259TTR_HEADERS+=	make_const_lvalue_ref.h
1260TTR_HEADERS+=	make_signed.h
1261TTR_HEADERS+=	make_unsigned.h
1262TTR_HEADERS+=	maybe_const.h
1263TTR_HEADERS+=	nat.h
1264TTR_HEADERS+=	negation.h
1265TTR_HEADERS+=	noexcept_move_assign_container.h
1266TTR_HEADERS+=	operation_traits.h
1267TTR_HEADERS+=	predicate_traits.h
1268TTR_HEADERS+=	promote.h
1269TTR_HEADERS+=	rank.h
1270TTR_HEADERS+=	remove_all_extents.h
1271TTR_HEADERS+=	remove_const.h
1272TTR_HEADERS+=	remove_const_ref.h
1273TTR_HEADERS+=	remove_cv.h
1274TTR_HEADERS+=	remove_cvref.h
1275TTR_HEADERS+=	remove_extent.h
1276TTR_HEADERS+=	remove_pointer.h
1277TTR_HEADERS+=	remove_reference.h
1278TTR_HEADERS+=	remove_volatile.h
1279TTR_HEADERS+=	result_of.h
1280TTR_HEADERS+=	strip_signature.h
1281TTR_HEADERS+=	type_identity.h
1282TTR_HEADERS+=	type_list.h
1283TTR_HEADERS+=	underlying_type.h
1284TTR_HEADERS+=	unwrap_ref.h
1285TTR_HEADERS+=	void_t.h
1286.for hdr in ${TTR_HEADERS}
1287TTR+=		${HDRDIR}/__type_traits/${hdr}
1288.endfor
1289
1290INCSGROUPS+=	UTL
1291UTLDIR=		${CXXINCLUDEDIR}/__utility
1292UTL_HEADERS+=	as_const.h
1293UTL_HEADERS+=	auto_cast.h
1294UTL_HEADERS+=	cmp.h
1295UTL_HEADERS+=	convert_to_integral.h
1296UTL_HEADERS+=	declval.h
1297UTL_HEADERS+=	exception_guard.h
1298UTL_HEADERS+=	exchange.h
1299UTL_HEADERS+=	forward.h
1300UTL_HEADERS+=	forward_like.h
1301UTL_HEADERS+=	in_place.h
1302UTL_HEADERS+=	integer_sequence.h
1303UTL_HEADERS+=	is_pointer_in_range.h
1304UTL_HEADERS+=	move.h
1305UTL_HEADERS+=	pair.h
1306UTL_HEADERS+=	piecewise_construct.h
1307UTL_HEADERS+=	priority_tag.h
1308UTL_HEADERS+=	rel_ops.h
1309UTL_HEADERS+=	swap.h
1310UTL_HEADERS+=	terminate_on_exception.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+=	deque
1329EXP_HEADERS+=	forward_list
1330EXP_HEADERS+=	iterator
1331EXP_HEADERS+=	list
1332EXP_HEADERS+=	map
1333EXP_HEADERS+=	memory_resource
1334EXP_HEADERS+=	propagate_const
1335EXP_HEADERS+=	regex
1336EXP_HEADERS+=	set
1337EXP_HEADERS+=	simd
1338EXP_HEADERS+=	string
1339EXP_HEADERS+=	type_traits
1340EXP_HEADERS+=	unordered_map
1341EXP_HEADERS+=	unordered_set
1342EXP_HEADERS+=	utility
1343EXP_HEADERS+=	vector
1344.for hdr in ${EXP_HEADERS}
1345EXP+=		${HDRDIR}/experimental/${hdr}
1346.endfor
1347
1348INCSGROUPS+=	EXT
1349EXTDIR=		${CXXINCLUDEDIR}/ext
1350EXT_HEADERS+=	__hash
1351EXT_HEADERS+=	hash_map
1352EXT_HEADERS+=	hash_set
1353.for hdr in ${EXT_HEADERS}
1354EXT+=		${HDRDIR}/ext/${hdr}
1355.endfor
1356
1357.include <bsd.lib.mk>
1358