Browse Source

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.
tags/v0.4.0-rc1
Zachary T Welch 14 years ago
parent
commit
896ac8d4ef
10 changed files with 10 additions and 0 deletions
  1. +1
    -0
      src/flash/Makefile.am
  2. +1
    -0
      src/flash/nand/Makefile.am
  3. +1
    -0
      src/flash/nor/Makefile.am
  4. +1
    -0
      src/helper/Makefile.am
  5. +1
    -0
      src/jtag/Makefile.am
  6. +1
    -0
      src/jtag/drivers/Makefile.am
  7. +1
    -0
      src/pld/Makefile.am
  8. +1
    -0
      src/svf/Makefile.am
  9. +1
    -0
      src/target/Makefile.am
  10. +1
    -0
      src/xsvf/Makefile.am

+ 1
- 0
src/flash/Makefile.am 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


+ 1
- 0
src/flash/nand/Makefile.am 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 \


+ 1
- 0
src/flash/nor/Makefile.am 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 \


+ 1
- 0
src/helper/Makefile.am View File

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


+ 1
- 0
src/jtag/Makefile.am View File

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



+ 1
- 0
src/jtag/drivers/Makefile.am View File

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



+ 1
- 0
src/pld/Makefile.am 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


+ 1
- 0
src/svf/Makefile.am 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


+ 1
- 0
src/target/Makefile.am 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


+ 1
- 0
src/xsvf/Makefile.am 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 \


Loading…
Cancel
Save