From 896ac8d4ef3212f80887bf009d626c5becb1240a Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Tue, 24 Nov 2009 14:59:16 -0800 Subject: allow #include directives to use module name Includes the src directory in the search path, so header files may be migrated from: #include "foo.h" to #include which is more conducive for installation. --- src/flash/Makefile.am | 1 + src/flash/nand/Makefile.am | 1 + src/flash/nor/Makefile.am | 1 + src/helper/Makefile.am | 1 + src/jtag/Makefile.am | 1 + src/jtag/drivers/Makefile.am | 1 + src/pld/Makefile.am | 1 + src/svf/Makefile.am | 1 + src/target/Makefile.am | 1 + src/xsvf/Makefile.am | 1 + 10 files changed, 10 insertions(+) (limited to 'src') diff --git a/src/flash/Makefile.am b/src/flash/Makefile.am index 54a5116..ee322ee 100644 --- a/src/flash/Makefile.am +++ b/src/flash/Makefile.am @@ -3,6 +3,7 @@ SUBDIRS = \ nand AM_CPPFLAGS = \ + -I$(top_srcdir)/src \ -I$(top_srcdir)/src/helper \ -I$(top_srcdir)/src/jtag \ -I$(top_srcdir)/src/target diff --git a/src/flash/nand/Makefile.am b/src/flash/nand/Makefile.am index e95717e..921b7f3 100644 --- a/src/flash/nand/Makefile.am +++ b/src/flash/nand/Makefile.am @@ -1,4 +1,5 @@ AM_CPPFLAGS = \ + -I$(top_srcdir)/src \ -I$(top_srcdir)/src/flash \ -I$(top_srcdir)/src/helper \ -I$(top_srcdir)/src/jtag \ diff --git a/src/flash/nor/Makefile.am b/src/flash/nor/Makefile.am index d2d9998..1be84be 100644 --- a/src/flash/nor/Makefile.am +++ b/src/flash/nor/Makefile.am @@ -1,4 +1,5 @@ AM_CPPFLAGS = \ + -I$(top_srcdir)/src \ -I$(top_srcdir)/src/helper \ -I$(top_srcdir)/src/jtag \ -I$(top_srcdir)/src/flash \ diff --git a/src/helper/Makefile.am b/src/helper/Makefile.am index 01e805e..bf8527f 100644 --- a/src/helper/Makefile.am +++ b/src/helper/Makefile.am @@ -1,4 +1,5 @@ AM_CPPFLAGS = \ + -I$(top_srcdir)/src \ -I$(top_srcdir)/src/server \ -I$(top_srcdir)/src/target \ -DPKGDATADIR=\"$(pkgdatadir)\" diff --git a/src/jtag/Makefile.am b/src/jtag/Makefile.am index 421987c..4ca0c78 100644 --- a/src/jtag/Makefile.am +++ b/src/jtag/Makefile.am @@ -1,4 +1,5 @@ AM_CPPFLAGS = \ + -I$(top_srcdir)/src \ -I$(top_srcdir)/src/helper \ -I$(top_srcdir)/src/target diff --git a/src/jtag/drivers/Makefile.am b/src/jtag/drivers/Makefile.am index 15fbae3..4e2bce0 100644 --- a/src/jtag/drivers/Makefile.am +++ b/src/jtag/drivers/Makefile.am @@ -1,4 +1,5 @@ AM_CPPFLAGS = \ + -I$(top_srcdir)/src \ -I$(top_srcdir)/src/helper \ -I$(top_srcdir)/src/jtag diff --git a/src/pld/Makefile.am b/src/pld/Makefile.am index 06d4fc4..d99a89c 100644 --- a/src/pld/Makefile.am +++ b/src/pld/Makefile.am @@ -1,4 +1,5 @@ AM_CPPFLAGS = \ + -I$(top_srcdir)/src \ -I$(top_srcdir)/src/server \ -I$(top_srcdir)/src/helper \ -I$(top_srcdir)/src/jtag diff --git a/src/svf/Makefile.am b/src/svf/Makefile.am index 4dbd57f..10cb967 100644 --- a/src/svf/Makefile.am +++ b/src/svf/Makefile.am @@ -1,4 +1,5 @@ AM_CPPFLAGS = \ + -I$(top_srcdir)/src \ -I$(top_srcdir)/src/server \ -I$(top_srcdir)/src/helper \ -I$(top_srcdir)/src/jtag diff --git a/src/target/Makefile.am b/src/target/Makefile.am index 6d2b76d..cd90355 100644 --- a/src/target/Makefile.am +++ b/src/target/Makefile.am @@ -6,6 +6,7 @@ OOCD_TRACE_FILES = endif AM_CPPFLAGS = \ + -I$(top_srcdir)/src \ -I$(top_srcdir)/src/helper \ -I$(top_srcdir)/src/jtag \ -I$(top_srcdir)/src/xsvf diff --git a/src/xsvf/Makefile.am b/src/xsvf/Makefile.am index fd9f8c3..5a58e26 100644 --- a/src/xsvf/Makefile.am +++ b/src/xsvf/Makefile.am @@ -1,4 +1,5 @@ AM_CPPFLAGS = \ + -I$(top_srcdir)/src \ -I$(top_srcdir)/src/server \ -I$(top_srcdir)/src/helper \ -I$(top_srcdir)/src/svf \ -- cgit v1.1