summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-02 23:01:20 -0400
committermidipix <writeonce@midipix.org>2016-11-02 23:01:20 -0400
commit32f0f81581853f57507fb6b36e0aec8d5e0fb8c5 (patch)
treeb0dedc86f3b4e8be5138fc7094e8abf95d816c57
parenta70869e2a9a22a49f75a8bd6aa1b0661fd31af04 (diff)
downloadbfirm-32f0f81581853f57507fb6b36e0aec8d5e0fb8c5.tar.bz2
bfirm-32f0f81581853f57507fb6b36e0aec8d5e0fb8c5.tar.xz
build system: added header location definitions.
-rw-r--r--project/headers.mk18
1 files changed, 18 insertions, 0 deletions
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)