aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc25
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc
new file mode 100644
index 000000000..26588e812
--- /dev/null
+++ b/Makefile.inc
@@ -0,0 +1,25 @@
+AM_CFLAGS = $(ODP_CFLAGS)
+AM_CXXFLAGS = $(ODP_CXXFLAGS)
+AM_LDFLAGS = $(ODP_LDFLAGS)
+
+ODP_INCLUDES = \
+ -I$(top_builddir)/include \
+ -I$(top_srcdir)/include
+
+if ODP_ABI_COMPAT
+ODP_INCLUDES += \
+ -I$(top_srcdir)/include/odp/arch/@ARCH_ABI@
+else
+ODP_INCLUDES += \
+ -I$(top_srcdir)/platform/@with_platform@/include \
+ -I$(top_srcdir)/platform/@with_platform@/arch/@ARCH_DIR@ \
+ -I$(top_srcdir)/platform/@with_platform@/arch/default \
+ -I$(top_srcdir)/platform/@with_platform@/arch/common \
+ -I$(top_srcdir)/platform/@with_platform@/include-abi
+endif
+
+HELPER_INCLUDES = \
+ -I$(top_builddir)/helper/include \
+ -I$(top_srcdir)/helper/include
+
+LIB = $(top_builddir)/lib