libstdc++: Add C++2a synchronization support
[gcc.git] / libstdc++-v3 / include / Makefile.in
index 24e1363951c8ab160e7eca2383b56aee810bed1d..ef2dc18965b92161e0598ca1a006d9320a4c1acf 100644 (file)
@@ -104,6 +104,7 @@ am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
        $(top_srcdir)/../config/no-executables.m4 \
        $(top_srcdir)/../config/override.m4 \
        $(top_srcdir)/../config/stdint.m4 \
+       $(top_srcdir)/../config/toolexeclibdir.m4 \
        $(top_srcdir)/../config/unwind_ipinfo.m4 \
        $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
        $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
@@ -335,6 +336,7 @@ target_cpu = @target_cpu@
 target_os = @target_os@
 target_vendor = @target_vendor@
 thread_header = @thread_header@
+tmake_file = @tmake_file@
 top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
@@ -380,7 +382,9 @@ std_headers = \
        ${std_srcdir}/chrono \
        ${std_srcdir}/codecvt \
        ${std_srcdir}/complex \
+       ${std_srcdir}/concepts \
        ${std_srcdir}/condition_variable \
+       ${std_srcdir}/coroutine \
        ${std_srcdir}/deque \
        ${std_srcdir}/execution \
        ${std_srcdir}/filesystem \
@@ -394,6 +398,7 @@ std_headers = \
        ${std_srcdir}/iostream \
        ${std_srcdir}/istream \
        ${std_srcdir}/iterator \
+       ${std_srcdir}/latch \
        ${std_srcdir}/limits \
        ${std_srcdir}/list \
        ${std_srcdir}/locale \
@@ -407,15 +412,19 @@ std_headers = \
        ${std_srcdir}/ostream \
        ${std_srcdir}/queue \
        ${std_srcdir}/random \
+       ${std_srcdir}/ranges \
        ${std_srcdir}/ratio \
        ${std_srcdir}/regex \
        ${std_srcdir}/scoped_allocator \
+       ${std_srcdir}/semaphore \
        ${std_srcdir}/set \
        ${std_srcdir}/shared_mutex \
        ${std_srcdir}/span \
        ${std_srcdir}/sstream \
+       ${std_srcdir}/syncstream \
        ${std_srcdir}/stack \
        ${std_srcdir}/stdexcept \
+       ${std_srcdir}/stop_token \
        ${std_srcdir}/streambuf \
        ${std_srcdir}/string \
        ${std_srcdir}/string_view \
@@ -436,11 +445,14 @@ bits_srcdir = ${glibcxx_srcdir}/include/bits
 bits_builddir = ./bits
 bits_headers = \
        ${bits_srcdir}/algorithmfwd.h \
+       ${bits_srcdir}/align.h \
        ${bits_srcdir}/alloc_traits.h \
        ${bits_srcdir}/allocated_ptr.h \
        ${bits_srcdir}/allocator.h \
        ${bits_srcdir}/atomic_base.h \
        ${bits_srcdir}/atomic_futex.h \
+       ${bits_srcdir}/atomic_timed_wait.h \
+       ${bits_srcdir}/atomic_wait.h \
        ${bits_srcdir}/basic_ios.h \
        ${bits_srcdir}/basic_ios.tcc \
        ${bits_srcdir}/basic_string.h \
@@ -472,6 +484,7 @@ bits_headers = \
        ${bits_srcdir}/invoke.h \
        ${bits_srcdir}/ios_base.h \
        ${bits_srcdir}/istream.tcc \
+       ${bits_srcdir}/iterator_concepts.h \
        ${bits_srcdir}/list.tcc \
        ${bits_srcdir}/locale_classes.h \
        ${bits_srcdir}/locale_classes.tcc \
@@ -482,6 +495,7 @@ bits_headers = \
        ${bits_srcdir}/locale_facets_nonio.tcc \
        ${bits_srcdir}/localefwd.h \
        ${bits_srcdir}/mask_array.h \
+       ${bits_srcdir}/max_size_type.h \
        ${bits_srcdir}/memoryfwd.h \
        ${bits_srcdir}/move.h \
        ${bits_srcdir}/node_handle.h \
@@ -495,6 +509,12 @@ bits_headers = \
        ${bits_srcdir}/random.h \
        ${bits_srcdir}/random.tcc \
        ${bits_srcdir}/range_access.h \
+       ${bits_srcdir}/ranges_algobase.h \
+       ${bits_srcdir}/ranges_algo.h \
+       ${bits_srcdir}/ranges_base.h \
+       ${bits_srcdir}/ranges_cmp.h \
+       ${bits_srcdir}/ranges_uninitialized.h \
+       ${bits_srcdir}/ranges_util.h \
        ${bits_srcdir}/refwrap.h \
        ${bits_srcdir}/regex.h \
        ${bits_srcdir}/regex.tcc \
@@ -508,6 +528,7 @@ bits_headers = \
        ${bits_srcdir}/regex_compiler.tcc \
        ${bits_srcdir}/regex_executor.h \
        ${bits_srcdir}/regex_executor.tcc \
+       ${bits_srcdir}/semaphore_base.h \
        ${bits_srcdir}/shared_ptr.h \
        ${bits_srcdir}/shared_ptr_atomic.h \
        ${bits_srcdir}/shared_ptr_base.h \
@@ -517,6 +538,7 @@ bits_headers = \
        ${bits_srcdir}/std_abs.h \
        ${bits_srcdir}/std_function.h \
        ${bits_srcdir}/std_mutex.h \
+       ${bits_srcdir}/std_thread.h \
        ${bits_srcdir}/stl_algo.h \
        ${bits_srcdir}/stl_algobase.h \
        ${bits_srcdir}/stl_bvector.h \
@@ -553,6 +575,7 @@ bits_headers = \
        ${bits_srcdir}/unordered_map.h \
        ${bits_srcdir}/unordered_set.h \
        ${bits_srcdir}/uses_allocator.h \
+       ${bits_srcdir}/uses_allocator_args.h \
        ${bits_srcdir}/valarray_array.h \
        ${bits_srcdir}/valarray_array.tcc \
        ${bits_srcdir}/valarray_before.h \
@@ -1178,7 +1201,6 @@ c_compatibility_builddir = .
 debug_srcdir = ${glibcxx_srcdir}/include/debug
 debug_builddir = ./debug
 debug_headers = \
-       ${debug_srcdir}/array \
        ${debug_srcdir}/assertions.h \
        ${debug_srcdir}/bitset \
        ${debug_srcdir}/debug.h \
@@ -1719,22 +1741,12 @@ stamp-host: ${host_headers} ${bits_host_headers} ${ext_host_headers} ${host_head
 @ENABLE_FLOAT128_FALSE@        echo 'undef _GLIBCXX_USE_FLOAT128' > stamp-float128
 
 # This header is not installed, it's only used to build libstdc++ itself.
-${host_builddir}/largefile-config.h: ${CONFIG_HEADER} \
-                                    ${glibcxx_srcdir}/include/bits/c++config
-       @echo '#if defined _GLIBCXX_CXX_CONFIG_H || defined _FEATURES_H' > $@
-       @echo '# error "This file must be included before any others"' >> $@
-       @echo '#endif' >> $@
-       @echo >> $@
-       @echo '/* Enable large inode numbers on Mac OS X 10.5.  */' >> $@
-       @echo '#ifndef _DARWIN_USE_64_BIT_INODE' >> $@
-       @echo '# define _DARWIN_USE_64_BIT_INODE 1' >> $@
-       @echo '#endif' >> $@
-       @echo >> $@
-       @echo '/* Number of bits in a file offset, on hosts where this is settable. */' >> $@
-       @grep '_FILE_OFFSET_BITS' ${CONFIG_HEADER} >> $@
-       @echo >> $@
-       @echo '/* Define for large files, on AIX-style hosts. */' >> $@
-       @grep '_LARGE_FILES' ${CONFIG_HEADER} >> $@
+${host_builddir}/largefile-config.h: ${CONFIG_HEADER}
+       @rm -f $@.tmp
+       @-grep 'define _DARWIN_USE_64_BIT_INODE' ${CONFIG_HEADER} >> $@.tmp
+       @-grep 'define _FILE_OFFSET_BITS' ${CONFIG_HEADER} >> $@.tmp
+       @-grep 'define _LARGE_FILES' ${CONFIG_HEADER} >> $@.tmp
+       @mv $@.tmp $@
 
 # NB: The non-empty default ldbl_compat works around an AIX sed
 # oddity, see libstdc++/31957 for details.
@@ -1853,10 +1865,11 @@ ${pch3_output}: ${pch3_source} ${pch2_output}
 # This is a subset of the full install-headers rule.  We only need <ciso646>,
 # <cstddef>, <cfloat>, <limits>, <climits>, <version>, <cstdint>, <cstdlib>,
 # <new>, <typeinfo>, <exception>, <initializer_list>, <cstdalign>, <cstdarg>,
-# <cstdbool>, <type_traits>, <bit>, <atomic>, and any files which they include
-# (and which we provide).
-# <new>, <typeinfo>, <exception>, and <initializer_list> are installed by
-# libsupc++, so only the others and the sub-includes are copied here.
+# <concepts>, <cstdbool>, <type_traits>, <bit>, <atomic>,
+# and any files which they include (and which we provide).
+# <new>, <typeinfo>, <exception>, <initializer_list> and <compare>
+# are installed by libsupc++, so only the others and the sub-includes
+# are copied here.
 install-freestanding-headers:
        $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/bits
        for file in c++0x_warning.h atomic_base.h concept_check.h move.h; do \
@@ -1867,7 +1880,7 @@ install-freestanding-headers:
          ${glibcxx_srcdir}/$(CPU_DEFINES_SRCDIR)/cpu_defines.h; do \
          $(INSTALL_DATA) $${file} $(DESTDIR)${host_installdir}; done
        $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}
-       for file in limits type_traits atomic bit version; do \
+       for file in limits type_traits atomic bit concepts version; do \
          $(INSTALL_DATA) ${std_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${std_builddir}; done
        $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir}
        for file in ciso646 cstddef cfloat climits cstdint cstdlib \