[PATCH 1/2] Fix out-of-tree builds

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

mail at rotty.xx.vu mail at rotty.xx.vu
Sun May 17 14:31:54 UTC 2015


From: Andreas Rottmann <a.rottmann at gmx.at>

---
 src/sim/Makefile.am | 2 +-
 utils/Makefile.am   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/sim/Makefile.am b/src/sim/Makefile.am
index 185e8df..e241dc9 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 41f91f9..63a32ed 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
-- 
1.9.1




More information about the OpenBSC mailing list