new file mode 100644
@@ -0,0 +1,16 @@
+# The following definitions may be used by platform tests that wish to
+# build specific ODP applications, (i.e those whose do more than validation
+# test wrapping)
+
+AM_LDFLAGS += -static
+
+LIBCUNIT_COMMON = $(top_builddir)/test/validation/common/libcunit_common.la
+LIB = $(top_builddir)/lib
+LIBODP = $(LIB)/libodphelper.la $(LIB)/libodp.la
+
+INCCUNIT_COMMON = -I$(top_srcdir)/test/validation/common
+INCODP = -I$(top_srcdir)/test \
+ -I$(top_srcdir)/platform/@with_platform@/include \
+ -I$(top_srcdir)/platform/@with_platform@/arch/$(ARCH) \
+ -I$(top_srcdir)/include \
+ -I$(top_srcdir)/helper/include
A new Makefile.inc is created, defining common includes that linux specific tests will need if they need to build with ODP. Tests just acting as wrappers around platform agnostic tests will not need these defines, whereas tests building ODP executable will. Signed-off-by: Christophe Milard <christophe.milard@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org> --- platform/linux-generic/test/Makefile.inc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 platform/linux-generic/test/Makefile.inc