summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-02 18:02:31 -0400
committermidipix <writeonce@midipix.org>2016-11-02 18:02:31 -0400
commit1d226189ab95c481f771ce62853af4118024f66f (patch)
tree15008c7471393b9da0265478d024a00b81888ed0 /project
parent25df41cbd791cccc3993e77fbf468e4e05994d9e (diff)
downloadbfirm-1d226189ab95c481f771ce62853af4118024f66f.tar.bz2
bfirm-1d226189ab95c481f771ce62853af4118024f66f.tar.xz
build system: added source tree and generated headers to compiler include path.
Diffstat (limited to 'project')
-rw-r--r--project/extras.mk34
1 files changed, 34 insertions, 0 deletions
diff --git a/project/extras.mk b/project/extras.mk
index cc65b9d..6d0940a 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -1 +1,35 @@
include $(PROJECT_DIR)/project/codegen.mk
+
+CFLAGS_COMMON += -I$(SOURCE_DIR)/include/libfirm
+CFLAGS_COMMON += -I$(SOURCE_DIR)/include/libfirm/adt
+
+CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/adt
+CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/ana
+CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/be
+CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/common
+CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/ident
+CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/ir
+CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/kaps
+CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/libcore
+CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/lower
+CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/lpp
+CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/obstack
+CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/opt
+CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/stat
+CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/tr
+CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/tv
+
+CFLAGS_COMMON += -Ibuild/gen/include/libfirm
+CFLAGS_COMMON += -Ibuild/gen/ir/ir
+
+CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/be/arm
+CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/be/amd64
+CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/be/ia32
+CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/be/sparc
+CFLAGS_COMMON += -I$(SOURCE_DIR)/ir/be/TEMPLATE
+
+CFLAGS_COMMON += -Ibuild/gen/ir/be/arm
+CFLAGS_COMMON += -Ibuild/gen/ir/be/amd64
+CFLAGS_COMMON += -Ibuild/gen/ir/be/ia32
+CFLAGS_COMMON += -Ibuild/gen/ir/be/sparc
+CFLAGS_COMMON += -Ibuild/gen/ir/be/TEMPLATE