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