Browse Source

build: add build/src to include path

This allows including generated include files.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
tags/v0.4.0-rc1
Øyvind Harboe 14 years ago
parent
commit
eb1bc657ae
12 changed files with 25 additions and 10 deletions
  1. +2
    -1
      src/Makefile.am
  2. +2
    -1
      src/flash/Makefile.am
  3. +3
    -1
      src/flash/nand/Makefile.am
  4. +3
    -1
      src/flash/nor/Makefile.am
  5. +1
    -0
      src/helper/Makefile.am
  6. +2
    -1
      src/jtag/Makefile.am
  7. +3
    -1
      src/jtag/drivers/Makefile.am
  8. +2
    -1
      src/pld/Makefile.am
  9. +1
    -0
      src/server/Makefile.am
  10. +2
    -1
      src/svf/Makefile.am
  11. +2
    -1
      src/target/Makefile.am
  12. +2
    -1
      src/xsvf/Makefile.am

+ 2
- 1
src/Makefile.am View File

@@ -32,7 +32,8 @@ noinst_HEADERS = \

# set the include path found by configure
AM_CPPFLAGS = \
-I$(top_srcdir)/src
-I$(top_srcdir)/src \
-I$(top_builddir)/src

libopenocd_la_CPPFLAGS = -DPKGBLDDATE=\"`date +%F-%R`\"



+ 2
- 1
src/flash/Makefile.am View File

@@ -3,7 +3,8 @@ SUBDIRS = \
nand

AM_CPPFLAGS = \
-I$(top_srcdir)/src
-I$(top_srcdir)/src \
-I$(top_builddir)/src

METASOURCES = AUTO
noinst_LTLIBRARIES = libflash.la


+ 3
- 1
src/flash/nand/Makefile.am View File

@@ -1,4 +1,6 @@
AM_CPPFLAGS = -I$(top_srcdir)/src
AM_CPPFLAGS = \
-I$(top_srcdir)/src \
-I$(top_builddir)/src

noinst_LTLIBRARIES = libocdflashnand.la



+ 3
- 1
src/flash/nor/Makefile.am View File

@@ -1,4 +1,6 @@
AM_CPPFLAGS = -I$(top_srcdir)/src
AM_CPPFLAGS = \
-I$(top_srcdir)/src \
-I$(top_builddir)/src

noinst_LTLIBRARIES = libocdflashnor.la
libocdflashnor_la_SOURCES = \


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

@@ -1,5 +1,6 @@
AM_CPPFLAGS = \
-I$(top_srcdir)/src \
-I$(top_builddir)/src \
-DPKGDATADIR=\"$(pkgdatadir)\"

METASOURCES = AUTO


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

@@ -1,5 +1,6 @@
AM_CPPFLAGS = \
-I$(top_srcdir)/src
-I$(top_srcdir)/src \
-I$(top_builddir)/src

METASOURCES = AUTO
noinst_LTLIBRARIES = libjtag.la


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

@@ -1,4 +1,6 @@
AM_CPPFLAGS = -I$(top_srcdir)/src
AM_CPPFLAGS = \
-I$(top_srcdir)/src \
-I$(top_builddir)/src

noinst_LTLIBRARIES = libocdjtagdrivers.la



+ 2
- 1
src/pld/Makefile.am View File

@@ -1,5 +1,6 @@
AM_CPPFLAGS = \
-I$(top_srcdir)/src
-I$(top_srcdir)/src \
-I$(top_builddir)/src

METASOURCES = AUTO
noinst_LTLIBRARIES = libpld.la


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

@@ -1,5 +1,6 @@
AM_CPPFLAGS = \
-I$(top_srcdir)/src \
-I$(top_builddir)/src \
-DPKGDATADIR=\"$(pkgdatadir)\"

METASOURCES = AUTO


+ 2
- 1
src/svf/Makefile.am View File

@@ -1,5 +1,6 @@
AM_CPPFLAGS = \
-I$(top_srcdir)/src
-I$(top_srcdir)/src \
-I$(top_builddir)/src

METASOURCES = AUTO
noinst_LTLIBRARIES = libsvf.la


+ 2
- 1
src/target/Makefile.am View File

@@ -6,7 +6,8 @@ OOCD_TRACE_FILES =
endif

AM_CPPFLAGS = \
-I$(top_srcdir)/src
-I$(top_srcdir)/src \
-I$(top_builddir)/src

BIN2C = $(top_builddir)/src/helper/bin2char$(EXEEXT_FOR_BUILD)



+ 2
- 1
src/xsvf/Makefile.am View File

@@ -1,5 +1,6 @@
AM_CPPFLAGS = \
-I$(top_srcdir)/src
-I$(top_srcdir)/src \
-I$(top_builddir)/src

METASOURCES = AUTO
noinst_LTLIBRARIES = libxsvf.la


Loading…
Cancel
Save