@@ -6,6 +6,8 @@ AM_CFLAGS += \
-I$(top_srcdir)/example \
-I$(top_srcdir)/platform/@with_platform@/include \
-I$(top_srcdir)/include/ \
- -I$(top_srcdir)/helper/include
+ -I$(top_srcdir)/helper/include \
+ -I$(top_builddir)/platform/@with_platform@/include \
+ -I$(top_builddir)/include
AM_LDFLAGS += -L$(LIB)
@@ -7,6 +7,8 @@ LIB = $(top_builddir)/lib
AM_CFLAGS = -I$(srcdir)/include
AM_CFLAGS += -I$(top_srcdir)/platform/@with_platform@/include
AM_CFLAGS += -I$(top_srcdir)/include
+AM_CFLAGS += -I$(top_builddir)/platform/@with_platform@/include
+AM_CFLAGS += -I$(top_builddir)/include
AM_LDFLAGS += -version-number '$(ODPHELPER_LIBSO_VERSION)'
@@ -57,5 +57,5 @@ odpapispecinclude_HEADERS = \
$(top_srcdir)/include/odp/api/spec/ticketlock.h \
$(top_srcdir)/include/odp/api/spec/time.h \
$(top_srcdir)/include/odp/api/spec/timer.h \
- $(top_srcdir)/include/odp/api/spec/traffic_mngr.h \
- $(top_srcdir)/include/odp/api/spec/version.h
+ $(top_builddir)/include/odp/api/spec/version.h \
+ $(top_srcdir)/include/odp/api/spec/traffic_mngr.h
@@ -6,6 +6,8 @@ include $(top_srcdir)/platform/@with_platform@/Makefile.inc
AM_CFLAGS += -I$(srcdir)/include
AM_CFLAGS += -I$(top_srcdir)/include
+AM_CFLAGS += -I$(top_builddir)/include
+AM_CFLAGS += -Iinclude
include_HEADERS = \
$(top_srcdir)/include/odp.h \
@@ -6,10 +6,14 @@ LIB = $(top_builddir)/lib
#before libodp by setting PRE_LDADD before the inclusion.
LDADD = $(PRE_LDADD) $(LIB)/libodphelper-linux.la $(LIB)/libodp-linux.la
-INCFLAGS = -I$(top_srcdir)/test \
+INCFLAGS = -I$(top_builddir)/include \
+ -I$(top_srcdir)/test \
-I$(top_srcdir)/platform/@with_platform@/include \
-I$(top_srcdir)/include \
- -I$(top_srcdir)/helper/include
+ -I$(top_srcdir)/helper/include \
+ -I$(top_srcdir)/test \
+ -I$(top_srcdir)/test/validation/common
+
AM_CFLAGS += $(INCFLAGS)
AM_CXXFLAGS = $(INCFLAGS)
@@ -8,9 +8,16 @@ LIBCUNIT_COMMON = $(top_builddir)/test/validation/common/libcunit_common.la
LIB = $(top_builddir)/lib
LIBODP = $(LIB)/libodphelper-linux.la $(LIB)/libodp-linux.la
-INCCUNIT_COMMON = -I$(top_srcdir)/test/validation/common
-INCODP = -I$(top_srcdir)/test \
+INCCUNIT_COMMON = -I$(top_srcdir)/test/common_plat/common
+INCODP = \
+ -I$(top_builddir)/include \
+ -I$(top_builddir)/platform/@with_platform@/include \
+ -I$(top_srcdir)/helper/include \
+ -I$(top_srcdir)/include \
+ -I$(top_srcdir)/platform/@with_platform@/arch/$(ARCH_DIR) \
-I$(top_srcdir)/platform/@with_platform@/include \
-I$(top_srcdir)/platform/@with_platform@/arch/$(ARCH_DIR) \
+ -I$(top_srcdir)/test \
+ -I$(top_srcdir)/test/validation/common \
-I$(top_srcdir)/include \
-I$(top_srcdir)/helper/include