1# The logic to define PLUGIN_HEADERS is filled with dozens of variables that
2# is impossible for a human to wade through.  To keep this simple, generate
3# a list manually from a vendor-built and installed version of gcc, e.g.
4# stage/usr/local/lib/gcc8/gcc/x86_64-portbld-dragonfly5.1/8.0.0/plugin/include
5
6PLUGIN_HEADERS= \
7	addresses.h \
8	alias.h \
9	all-tree.def \
10	alloc-pool.h \
11	ansidecl.h \
12	asan.h \
13	attribs.h \
14	auto-host.h \
15	auto-profile.h \
16	b-header-vars \
17	backend.h \
18	basic-block.h \
19	bb-reorder.h \
20	bitmap.h \
21	brig-builtins.def \
22	builtin-attrs.def \
23	builtin-types.def \
24	builtins.def \
25	builtins.h \
26	bversion.h \
27	c-tree.h \
28	calls.h \
29	ccmp.h \
30	cfg-flags.def \
31	cfg.h \
32	cfganal.h \
33	cfgbuild.h \
34	cfgcleanup.h \
35	cfgexpand.h \
36	cfghooks.h \
37	cfgloop.h \
38	cfgloopmanip.h \
39	cfgrtl.h \
40	cgraph.h \
41	chkp-builtins.def \
42	cif-code.def \
43	collect-utils.h \
44	collect2-aix.h \
45	collect2.h \
46	color-macros.h \
47	conditions.h \
48	configargs.h \
49	context.h \
50	convert.h \
51	coretypes.h \
52	coverage.h \
53	cppbuiltin.h \
54	cppdefault.h \
55	cpplib.h \
56	cselib.h \
57	data-streamer.h \
58	dbgcnt.def \
59	dbgcnt.h \
60	dbxout.h \
61	dce.h \
62	ddg.h \
63	debug.h \
64	defaults.h \
65	df.h \
66	dfp.h \
67	diagnostic-color.h \
68	diagnostic-core.h \
69	diagnostic.def \
70	diagnostic.h \
71	dojump.h \
72	dominance.h \
73	domwalk.h \
74	double-int.h \
75	dumpfile.h \
76	dwarf2asm.h \
77	dwarf2out.h \
78	edit-context.h \
79	emit-rtl.h \
80	errors.h \
81	et-forest.h \
82	except.h \
83	explow.h \
84	expmed.h \
85	expr.h \
86	fibonacci_heap.h \
87	file-find.h \
88	file-prefix-map.h \
89	filenames.h \
90	fixed-value.h \
91	flag-types.h \
92	flags.h \
93	fold-const-call.h \
94	fold-const.h \
95	function.h \
96	gcc-plugin.h \
97	gcc-rich-location.h \
98	gcc-symtab.h \
99	gcc.h \
100	gcov-counter.def \
101	gcov-io.h \
102	gcse-common.h \
103	gcse.h \
104	generic-match.h \
105	gengtype.h \
106	genrtl.h \
107	gensupport.h \
108	ggc-internal.h \
109	ggc.h \
110	gimple-builder.h \
111	gimple-expr.h \
112	gimple-fold.h \
113	gimple-iterator.h \
114	gimple-low.h \
115	gimple-match.h \
116	gimple-predict.h \
117	gimple-pretty-print.h \
118	gimple-ssa-evrp-analyze.h \
119	gimple-ssa-warn-restrict.h \
120	gimple-ssa.h \
121	gimple-streamer.h \
122	gimple-walk.h \
123	gimple.def \
124	gimple.h \
125	gimplify-me.h \
126	gimplify.h \
127	glimits.h \
128	graph.h \
129	graphds.h \
130	graphite.h \
131	gsstruct.def \
132	gstab.h \
133	gsyms.h \
134	gsyslimits.h \
135	gtm-builtins.def \
136	gtype-desc.h \
137	hard-reg-set.h \
138	hash-map-traits.h \
139	hash-map.h \
140	hash-set.h \
141	hash-table.h \
142	hash-traits.h \
143	hashtab.h \
144	highlev-plugin-common.h \
145	hooks.h \
146	hosthooks-def.h \
147	hosthooks.h \
148	hsa-brig-format.h \
149	hsa-builtins.def \
150	hsa-common.h \
151	hw-doloop.h \
152	hwint.h \
153	ifcvt.h \
154	inchash.h \
155	incpath.h \
156	input.h \
157	insn-addr.h \
158	insn-codes.h \
159	insn-constants.h \
160	insn-flags.h \
161	insn-modes-inline.h \
162	insn-modes.h \
163	insn-notes.def \
164	int-vector-builder.h \
165	internal-fn.def \
166	internal-fn.h \
167	intl.h \
168	ipa-chkp.h \
169	ipa-fnsummary.h \
170	ipa-icf-gimple.h \
171	ipa-icf.h \
172	ipa-inline.h \
173	ipa-param-manipulation.h \
174	ipa-predicate.h \
175	ipa-prop.h \
176	ipa-ref.h \
177	ipa-reference.h \
178	ipa-utils.h \
179	ira-int.h \
180	ira.h \
181	is-a.h \
182	langhooks-def.h \
183	langhooks.h \
184	lcm.h \
185	libfuncs.h \
186	libiberty.h \
187	limitx.h \
188	limity.h \
189	line-map.h \
190	loop-unroll.h \
191	lower-subreg.h \
192	lra-int.h \
193	lra.h \
194	lto-compress.h \
195	lto-section-names.h \
196	lto-streamer.h \
197	machmode.def \
198	machmode.h \
199	md5.h \
200	mem-stats-traits.h \
201	mem-stats.h \
202	memmodel.h \
203	memory-block.h \
204	mode-classes.def \
205	obstack.h \
206	omp-builtins.def \
207	omp-expand.h \
208	omp-general.h \
209	omp-grid.h \
210	omp-low.h \
211	omp-offload.h \
212	optabs-libfuncs.h \
213	optabs-query.h \
214	optabs-tree.h \
215	optabs.def \
216	optabs.h \
217	options.h \
218	opts-diagnostic.h \
219	opts.h \
220	output.h \
221	params-enum.h \
222	params-list.h \
223	params-options.h \
224	params.def \
225	params.h \
226	params.list \
227	pass-instances.def \
228	pass_manager.h \
229	passes.def \
230	plugin-api.h \
231	plugin-version.h \
232	plugin.def \
233	plugin.h \
234	poly-int-types.h \
235	poly-int.h \
236	predict.def \
237	predict.h \
238	prefix.h \
239	pretty-print.h \
240	print-rtl.h \
241	print-tree.h \
242	profile-count.h \
243	profile.h \
244	read-md.h \
245	read-rtl-function.h \
246	real.h \
247	realmpfr.h \
248	recog.h \
249	reg-notes.def \
250	regcprop.h \
251	regrename.h \
252	regs.h \
253	regset.h \
254	reload.h \
255	resource.h \
256	rtl-chkp.h \
257	rtl-error.h \
258	rtl-iter.h \
259	rtl.def \
260	rtl.h \
261	rtlhash.h \
262	rtlhooks-def.h \
263	rtx-vector-builder.h \
264	run-rtl-passes.h \
265	safe-ctype.h \
266	sanitizer.def \
267	sbitmap.h \
268	sched-int.h \
269	sel-sched-dump.h \
270	sel-sched-ir.h \
271	sel-sched.h \
272	selftest-diagnostic.h \
273	selftest-rtl.h \
274	selftest.h \
275	sese.h \
276	shrink-wrap.h \
277	signop.h \
278	sparseset.h \
279	spellcheck-tree.h \
280	spellcheck.h \
281	splay-tree.h \
282	sreal.h \
283	ssa-iterators.h \
284	ssa.h \
285	stab.def \
286	statistics.h \
287	stmt.h \
288	stor-layout.h \
289	streamer-hooks.h \
290	stringpool.h \
291	substring-locations.h \
292	symbol-summary.h \
293	symtab.h \
294	sync-builtins.def \
295	system.h \
296	target-def.h \
297	target-globals.h \
298	target-hooks-macros.h \
299	target-insns.def \
300	target.def \
301	target.h \
302	targhooks.h \
303	timevar.def \
304	timevar.h \
305	tm-preds.h \
306	tm.h \
307	tm_p.h \
308	toplev.h \
309	tracer.h \
310	trans-mem.h \
311	tree-affine.h \
312	tree-cfg.h \
313	tree-cfgcleanup.h \
314	tree-check.h \
315	tree-chkp.h \
316	tree-chrec.h \
317	tree-core.h \
318	tree-data-ref.h \
319	tree-dfa.h \
320	tree-diagnostic.h \
321	tree-dump.h \
322	tree-eh.h \
323	tree-hash-traits.h \
324	tree-hasher.h \
325	tree-if-conv.h \
326	tree-inline.h \
327	tree-into-ssa.h \
328	tree-iterator.h \
329	tree-nested.h \
330	tree-object-size.h \
331	tree-outof-ssa.h \
332	tree-parloops.h \
333	tree-pass.h \
334	tree-phinodes.h \
335	tree-pretty-print.h \
336	tree-scalar-evolution.h \
337	tree-ssa-address.h \
338	tree-ssa-alias.h \
339	tree-ssa-ccp.h \
340	tree-ssa-coalesce.h \
341	tree-ssa-dce.h \
342	tree-ssa-dom.h \
343	tree-ssa-live.h \
344	tree-ssa-loop-ivopts.h \
345	tree-ssa-loop-manip.h \
346	tree-ssa-loop-niter.h \
347	tree-ssa-loop.h \
348	tree-ssa-operands.h \
349	tree-ssa-propagate.h \
350	tree-ssa-sccvn.h \
351	tree-ssa-scopedtables.h \
352	tree-ssa-ter.h \
353	tree-ssa-threadedge.h \
354	tree-ssa-threadupdate.h \
355	tree-ssa.h \
356	tree-ssanames.h \
357	tree-stdarg.h \
358	tree-streamer.h \
359	tree-vector-builder.h \
360	tree-vectorizer.h \
361	tree-vrp.h \
362	tree.def \
363	tree.h \
364	treestruct.def \
365	tsan.h \
366	tsystem.h \
367	typeclass.h \
368	typed-splay-tree.h \
369	ubsan.h \
370	valtrack.h \
371	value-prof.h \
372	varasm.h \
373	vec-perm-indices.h \
374	vec.h \
375	vector-builder.h \
376	version.h \
377	vmsdbg.h \
378	vr-values.h \
379	vtable-verify.h \
380	wide-int-print.h \
381	wide-int.h \
382	xcoff.h \
383	xcoffout.h
384
385PLUGIN_HEADERS_CFAMILY= \
386	c-common.def \
387	c-common.h \
388	c-objc.h \
389	c-pragma.h \
390	c-pretty-print.h
391
392PLUGIN_HEADERS_CP= \
393	cp-tree.def \
394	cp-tree.h \
395	cxx-pretty-print.h \
396	name-lookup.h \
397	operators.def \
398	type-utils.h
399
400PLUGIN_HEADERS_OBJC= \
401	objc-tree.def \
402
403PLUGIN_HEADERS_ADA_GCC= \
404	ada-tree.def \
405
406PLUGIN_HEADERS_CONFIG= \
407	dbxelf.h \
408	dragonfly-stdint.h \
409	dragonfly.h \
410	elfos.h \
411	initfini-array.h \
412	vxworks-dummy.h
413
414PLUGIN_HEADERS_CONFIG_I386= \
415	i386/att.h \
416	i386/biarch64.h \
417	i386/dragonfly.h \
418	i386/i386-opts.h \
419	i386/i386-protos.h \
420	i386/i386.h \
421	i386/stringop.def \
422	i386/unix.h \
423	i386/x86-64.h \
424	i386/x86-tune.def
425