From 32f0f81581853f57507fb6b36e0aec8d5e0fb8c5 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 2 Nov 2016 23:01:20 -0400 Subject: build system: added header location definitions. --- project/headers.mk | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'project') diff --git a/project/headers.mk b/project/headers.mk index 4caca62..ac03934 100644 --- a/project/headers.mk +++ b/project/headers.mk @@ -23,3 +23,21 @@ GEN_REGALLOC_HEADERS = \ build/gen/ir/be/ia32/gen_ia32_regalloc_if.h \ build/gen/ir/be/sparc/gen_sparc_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) -- cgit v1.2.3