@@ -2,6 +2,6 @@ include $(top_srcdir)/example/Makefile.inc
bin_PROGRAMS = odp_generator
odp_generator_LDFLAGS = $(AM_LDFLAGS) -static
-odp_generator_CFLAGS = $(AM_CFLAGS) -I../
+odp_generator_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/example
dist_odp_generator_SOURCES = odp_generator.c
@@ -2,7 +2,7 @@ include $(top_srcdir)/example/Makefile.inc
bin_PROGRAMS = odp_ipsec
odp_ipsec_LDFLAGS = $(AM_LDFLAGS) -static
-odp_ipsec_CFLAGS = $(AM_CFLAGS) -I../
+odp_ipsec_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/example
dist_bin_SCRIPTS = \
$(srcdir)/run_ah_in.sh \
@@ -2,6 +2,6 @@ include $(top_srcdir)/example/Makefile.inc
bin_PROGRAMS = odp_l2fwd
odp_l2fwd_LDFLAGS = $(AM_LDFLAGS) -static
-odp_l2fwd_CFLAGS = $(AM_CFLAGS) -I../
+odp_l2fwd_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/example
dist_odp_l2fwd_SOURCES = odp_l2fwd.c
@@ -2,6 +2,6 @@ include $(top_srcdir)/example/Makefile.inc
bin_PROGRAMS = odp_example
odp_example_LDFLAGS = $(AM_LDFLAGS) -static
-odp_example_CFLAGS = $(AM_CFLAGS) -I../
+odp_example_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/example
dist_odp_example_SOURCES = odp_example.c
@@ -2,6 +2,6 @@ include $(top_srcdir)/example/Makefile.inc
bin_PROGRAMS = odp_pktio
odp_pktio_LDFLAGS = $(AM_LDFLAGS) -static
-odp_pktio_CFLAGS = $(AM_CFLAGS) -I../
+odp_pktio_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/example
dist_odp_pktio_SOURCES = odp_pktio.c
@@ -2,6 +2,6 @@ include $(top_srcdir)/example/Makefile.inc
bin_PROGRAMS = odp_timer_test
odp_timer_test_LDFLAGS = $(AM_LDFLAGS) -static
-odp_timer_test_CFLAGS = $(AM_CFLAGS) -I../
+odp_timer_test_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/example
dist_odp_timer_test_SOURCES = odp_timer_test.c
Signed-off-by: Anders Roxell <anders.roxell@linaro.org> --- example/generator/Makefile.am | 2 +- example/ipsec/Makefile.am | 2 +- example/l2fwd/Makefile.am | 2 +- example/odp_example/Makefile.am | 2 +- example/packet/Makefile.am | 2 +- example/timer/Makefile.am | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)