summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)