1#	$NetBSD: Makefile,v 1.8 2021/05/30 01:56:59 joerg Exp $
2
3.include <bsd.init.mk>
4
5SUBDIR=	experimental
6
7.PATH: ${LIBCXX_SRCDIR}/include
8
9INCSDIR=	/usr/include/c++
10
11INCS=	algorithm \
12	any \
13	array \
14	atomic \
15	__availability \
16	barrier \
17	bit \
18	__bit_reference \
19	__bits \
20	bitset \
21	__bsd_locale_defaults.h \
22	__bsd_locale_fallbacks.h \
23	cassert \
24	ccomplex \
25	cctype \
26	cerrno \
27	cfenv \
28	cfloat \
29	charconv \
30	chrono \
31	cinttypes \
32	ciso646 \
33	climits \
34	clocale \
35	cmath \
36	codecvt \
37	compare \
38	complex \
39	complex.h \
40	concepts \
41	condition_variable \
42	__config \
43	__config_site \
44	csetjmp \
45	csignal \
46	cstdarg \
47	cstdbool \
48	cstddef \
49	cstdint \
50	cstdio \
51	cstdlib \
52	cstring \
53	ctgmath \
54	ctime \
55	cwchar \
56	cwctype \
57	__debug \
58	deque \
59	__errc \
60	exception \
61	execution \
62	filesystem \
63	format \
64	forward_list \
65	fstream \
66	functional \
67	__functional_03 \
68	__functional_base \
69	__functional_base_03 \
70	future \
71	__hash_table \
72	initializer_list \
73	iomanip \
74	ios \
75	iosfwd \
76	iostream \
77	istream \
78	iterator \
79	latch \
80	__libcpp_version \
81	limits \
82	list \
83	__locale \
84	locale \
85	map \
86	memory \
87	module.modulemap \
88	mutex \
89	__mutex_base \
90	new \
91	__node_handle \
92	__nullptr \
93	numbers \
94	numeric \
95	optional \
96	ostream \
97	queue \
98	random \
99	ranges \
100	ratio \
101	regex \
102	scoped_allocator \
103	semaphore \
104	set \
105	shared_mutex \
106	span \
107	__split_buffer \
108	sstream \
109	stack \
110	stdexcept \
111	__std_stream \
112	streambuf \
113	__string \
114	string \
115	string_view \
116	strstream \
117	system_error \
118	tgmath.h \
119	thread \
120	__threading_support \
121	__tree \
122	__tuple \
123	tuple \
124	typeindex \
125	typeinfo \
126	type_traits \
127	__undef_macros \
128	unordered_map \
129	unordered_set \
130	utility \
131	valarray \
132	variant \
133	vector \
134	version
135
136INCS+=	ctype.h \
137	errno.h \
138	fenv.h \
139	float.h \
140	inttypes.h \
141	limits.h \
142	locale.h \
143	math.h \
144	optional \
145	setjmp.h \
146	stdbool.h \
147	stddef.h \
148	stdint.h \
149	stdio.h \
150	stdlib.h \
151	string.h \
152	wchar.h \
153	wctype.h
154
155INCS+=		cxxabi.h
156
157INCS+=	ext/__hash \
158	ext/hash_map \
159	ext/hash_set
160
161INCS+=	__iterator/concepts.h \
162	__iterator/incrementable_traits.h \
163	__iterator/iter_move.h \
164	__iterator/iterator_traits.h \
165	__iterator/readable_traits.h
166
167INCS+=	__memory/addressof.h \
168	__memory/allocation_guard.h \
169	__memory/allocator.h \
170	__memory/allocator_traits.h \
171	__memory/auto_ptr.h \
172	__memory/compressed_pair.h \
173	__memory/construct_at.h \
174	__memory/pointer_safety.h \
175	__memory/pointer_traits.h \
176	__memory/raw_storage_iterator.h \
177	__memory/shared_ptr.h \
178	__memory/temporary_buffer.h \
179	__memory/uninitialized_algorithms.h \
180	__memory/unique_ptr.h
181
182INCS+=	__ranges/access.h \
183	__ranges/concepts.h \
184	__ranges/data.h \
185	__ranges/empty.h \
186	__ranges/enable_borrowed_range.h \
187	__ranges/size.h \
188	__ranges/view.h
189
190INCS+=	__utility/to_underlying.h
191
192
193cxxabi.h: ${LIBCXXRT_SRCDIR}/src/cxxabi.h
194	cp ${LIBCXXRT_SRCDIR}/src/cxxabi.h .
195
196DPSRCS+=	cxxabi.h
197CLEANFILES+=	cxxabi.h
198
199.include <bsd.clean.mk>
200.include <bsd.inc.mk>
201.include <bsd.obj.mk>
202.include <bsd.subdir.mk>
203