summaryrefslogtreecommitdiff
path: root/project/headers.mk
blob: 5cb1061b15b775e14b90c455ef89540f89e10dca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
GEN_IR_HEADERS = \
	build/gen/ir/ir/gen_irnode.h \
	build/gen/ir/ir/gen_proj_names.h \
	build/gen/include/libfirm/nodes.h \

GEN_EMITTER_HEADERS = \
	build/gen/ir/be/arm/gen_arm_emitter.h \
	build/gen/ir/be/amd64/gen_amd64_emitter.h \
	build/gen/ir/be/ia32/gen_ia32_emitter.h \
	build/gen/ir/be/mips/gen_mips_emitter.h \
	build/gen/ir/be/sparc/gen_sparc_emitter.h \
	build/gen/ir/be/riscv/gen_riscv_emitter.h \
	build/gen/ir/be/TEMPLATE/gen_TEMPLATE_emitter.h \

GEN_OPCODES_HEADERS = \
	build/gen/ir/be/arm/gen_arm_new_nodes.h \
	build/gen/ir/be/amd64/gen_amd64_new_nodes.h \
	build/gen/ir/be/ia32/gen_ia32_new_nodes.h \
	build/gen/ir/be/mips/gen_mips_new_nodes.h \
	build/gen/ir/be/sparc/gen_sparc_new_nodes.h \
	build/gen/ir/be/riscv/gen_riscv_new_nodes.h \
	build/gen/ir/be/TEMPLATE/gen_TEMPLATE_new_nodes.h \

GEN_REGALLOC_HEADERS = \
	build/gen/ir/be/arm/gen_arm_regalloc_if.h \
	build/gen/ir/be/amd64/gen_amd64_regalloc_if.h \
	build/gen/ir/be/ia32/gen_ia32_regalloc_if.h \
	build/gen/ir/be/mips/gen_mips_regalloc_if.h \
	build/gen/ir/be/sparc/gen_sparc_regalloc_if.h \
	build/gen/ir/be/riscv/gen_riscv_regalloc_if.h \
	build/gen/ir/be/TEMPLATE/gen_TEMPLATE_regalloc_if.h \


api_include_dirs    = $(SOURCE_DIR)/include/libfirm/
api_include_headers = $(addsuffix *.h,$(api_include_dirs))
api_sort_headers    = $(sort $(wildcard $(api_include_headers)))
API_HEADERS         = $(api_sort_headers)

adt_include_dirs    = $(SOURCE_DIR)/include/libfirm/adt/
adt_include_headers = $(addsuffix *.h,$(adt_include_dirs))
adt_sort_headers    = $(sort $(wildcard $(adt_include_headers)))
ADT_HEADERS         = $(adt_sort_headers)

ALL_HEADERS         = $(API_HEADERS)
ALL_HEADERS        += $(ADT_HEADERS)
ALL_HEADERS        += $(GEN_IR_HEADERS)
ALL_HEADERS        += $(GEN_EMITTER_HEADERS)
ALL_HEADERS        += $(GEN_OPCODES_HEADERS)
ALL_HEADERS        += $(GEN_REGALLOC_HEADERS)