diff options
author | Andreas Rottmann <a.rottmann@gmx.at> | 2015-05-17 16:31:54 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-05-17 19:19:09 +0200 |
commit | 9eb1c800205b921c8e471c90e9fe8c5c4108aef0 (patch) | |
tree | 92e8b8fd8e815a49ddaf0cd83d88b1964f55a38a | |
parent | 16082fd3cda0ced8f22736e92394348ee2ecfda3 (diff) |
build: Fix out-of-tree builds
Fixes:
In file included from ../../../include/osmocom/core/msgb.h:25:0,
from ../../../include/osmocom/sim/sim.h:4,
from ../../../src/sim/reader_pcsc.c:30:
../../../include/osmocom/core/bits.h:6:35: fatal error: osmocom/core/bit16gen.h: No such file or directory
#include <osmocom/core/bit16gen.h>
In file included from ../../include/osmocom/core/msgb.h:25:0,
from ../../utils/osmo-sim-test.c:26:
../../include/osmocom/core/bits.h:6:35: fatal error: osmocom/core/bit16gen.h: No such file or directory
#include <osmocom/core/bit16gen.h>
-rw-r--r-- | src/sim/Makefile.am | 2 | ||||
-rw-r--r-- | utils/Makefile.am | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sim/Makefile.am b/src/sim/Makefile.am index 185e8dfb..e241dc91 100644 --- a/src/sim/Makefile.am +++ b/src/sim/Makefile.am @@ -2,7 +2,7 @@ # Please read Chapter 6 "Library interface versions" of the libtool documentation before making any modification LIBVERSION=0:0:0 -INCLUDES = $(all_includes) -I$(top_srcdir)/include +AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)/include AM_CFLAGS = -fPIC -Wall $(PCSC_CFLAGS) AM_LDFLAGS = $(COVERAGE_LDFLAGS) diff --git a/utils/Makefile.am b/utils/Makefile.am index 41f91f9f..63a32eda 100644 --- a/utils/Makefile.am +++ b/utils/Makefile.am @@ -1,5 +1,5 @@ if ENABLE_UTILITIES -AM_CPPFLAGS = -I$(top_srcdir)/include +AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include AM_CFLAGS = -Wall bin_PROGRAMS = osmo-arfcn osmo-auc-gen |