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