diff mbox

[4/7] build system: cleanup build rules

Message ID 1418943710-17817-5-git-send-email-anders.roxell@linaro.org
State Accepted
Commit 54e07c14974bdc05cbf7d2c892dff0d9f0290e05
Headers show

Commit Message

Anders Roxell Dec. 18, 2014, 11:01 p.m. UTC
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(-)
diff mbox

Patch

diff --git a/example/generator/Makefile.am b/example/generator/Makefile.am
index 394985f..d766f79 100644
--- a/example/generator/Makefile.am
+++ b/example/generator/Makefile.am
@@ -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
diff --git a/example/ipsec/Makefile.am b/example/ipsec/Makefile.am
index 59f10ed..f0a8d1d 100644
--- a/example/ipsec/Makefile.am
+++ b/example/ipsec/Makefile.am
@@ -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 \
diff --git a/example/l2fwd/Makefile.am b/example/l2fwd/Makefile.am
index d57a159..17f0d8f 100644
--- a/example/l2fwd/Makefile.am
+++ b/example/l2fwd/Makefile.am
@@ -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
diff --git a/example/odp_example/Makefile.am b/example/odp_example/Makefile.am
index 95136e7..84f2641 100644
--- a/example/odp_example/Makefile.am
+++ b/example/odp_example/Makefile.am
@@ -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
diff --git a/example/packet/Makefile.am b/example/packet/Makefile.am
index da5fc45..30a0033 100644
--- a/example/packet/Makefile.am
+++ b/example/packet/Makefile.am
@@ -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
diff --git a/example/timer/Makefile.am b/example/timer/Makefile.am
index dffd4eb..30c6105 100644
--- a/example/timer/Makefile.am
+++ b/example/timer/Makefile.am
@@ -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