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 <module/foo.h>

which is more conducive for installation.
This commit is contained in:
Zachary T Welch 2009-11-24 14:59:16 -08:00
parent a976ce2dd4
commit 896ac8d4ef
10 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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 \

View File

@ -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 \

View File

@ -1,4 +1,5 @@
AM_CPPFLAGS = \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/server \
-I$(top_srcdir)/src/target \
-DPKGDATADIR=\"$(pkgdatadir)\"

View File

@ -1,4 +1,5 @@
AM_CPPFLAGS = \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/helper \
-I$(top_srcdir)/src/target

View File

@ -1,4 +1,5 @@
AM_CPPFLAGS = \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/helper \
-I$(top_srcdir)/src/jtag

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 \