summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-08-05 16:07:51 +0200
committerThomas Haller <thaller@redhat.com>2015-08-05 16:15:03 +0200
commitb7de900b90bb7162788ea739aecaae513924fb56 (patch)
tree15358f9e0c26e1a3719842e4a97755be4ef5be95
parent50f9c8aa7e96cc335f3624720372a4f23eb54f1d (diff)
downloadNetworkManager-b7de900b90bb7162788ea739aecaae513924fb56.tar.gz
build: fix out-of-tree build for missing "nm-version.h"
Fixes: 19c3ea948a7c74774621baf62d68cb4826e1b97c
-rw-r--r--clients/tui/newt/Makefile.am1
-rw-r--r--src/Makefile.am1
-rw-r--r--src/dhcp-manager/Makefile.am1
3 files changed, 3 insertions, 0 deletions
diff --git a/clients/tui/newt/Makefile.am b/clients/tui/newt/Makefile.am
index dcc02ab726..4633212ce4 100644
--- a/clients/tui/newt/Makefile.am
+++ b/clients/tui/newt/Makefile.am
@@ -1,6 +1,7 @@
AM_CPPFLAGS= \
-I$(top_srcdir)/include \
-I$(top_srcdir)/libnm-core \
+ -I$(top_builddir)/libnm-core \
-DG_LOG_DOMAIN=\""nmtui"\" \
$(GLIB_CFLAGS) \
$(NEWT_CFLAGS) \
diff --git a/src/Makefile.am b/src/Makefile.am
index e92d9f7506..d8e9327a3b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -61,6 +61,7 @@ SYSTEMD_NM_CFLAGS = \
-I$(top_srcdir)/src/systemd/src/shared \
-I$(top_srcdir)/src/systemd \
-I$(top_srcdir)/libnm-core \
+ -I$(top_builddir)/libnm-core \
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON
libsystemd_nm_la_SOURCES = \
diff --git a/src/dhcp-manager/Makefile.am b/src/dhcp-manager/Makefile.am
index 332f2d3a40..32668d8dbc 100644
--- a/src/dhcp-manager/Makefile.am
+++ b/src/dhcp-manager/Makefile.am
@@ -6,6 +6,7 @@ nm_dhcp_helper_CPPFLAGS = \
$(GLIB_CFLAGS) \
-I$(top_srcdir)/include \
-I$(top_srcdir)/libnm-core \
+ -I$(top_builddir)/libnm-core \
-DG_LOG_DOMAIN=\""nm-dhcp-helper"\" \
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
-DNMRUNDIR=\"$(nmrundir)\"