summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-12-22 12:18:22 +0100
committerThomas Haller <thaller@redhat.com>2015-12-24 11:42:37 +0100
commitdb80ec05abdc09541896d80bdf71ccec58670109 (patch)
tree7ba6a34d1b2448e06146e11d9417a7b79f5bd5fb
parentbc06dd9332f557fb1848b3c50a102e0d35ad9205 (diff)
downloadNetworkManager-db80ec05abdc09541896d80bdf71ccec58670109.tar.gz
build: rename directory "include" to "shared"
Up to now, the "include" directory contained (only) header files that were used project-wide by libs, core, clients, et al. Since the directory now also contains a non-header file, the "include" name is misleading. Instead of adding yet another directory that is project-wide, with non-header-only content, rename the "include" directory to "shared".
-rw-r--r--.gitignore2
-rw-r--r--Makefile.am4
-rw-r--r--callouts/Makefile.am4
-rw-r--r--callouts/tests/Makefile.am4
-rw-r--r--clients/Makefile.am4
-rw-r--r--clients/cli/Makefile.am4
-rw-r--r--clients/tui/Makefile.am4
-rw-r--r--clients/tui/newt/Makefile.am4
-rw-r--r--configure.ac4
-rwxr-xr-xcontrib/fedora/rpm/build_clean.sh2
-rw-r--r--docs/libnm-glib/Makefile.am4
-rw-r--r--examples/C/glib/Makefile.am4
-rw-r--r--libnm-core/Makefile.am4
-rw-r--r--libnm-core/Makefile.libnm-core2
-rw-r--r--libnm-core/tests/Makefile.am4
-rw-r--r--libnm-glib/Makefile.am4
-rw-r--r--libnm-glib/tests/Makefile.am12
-rw-r--r--libnm-util/Makefile.am6
-rw-r--r--libnm-util/tests/Makefile.am4
-rw-r--r--libnm/Makefile.am6
-rw-r--r--libnm/tests/Makefile.am16
-rw-r--r--shared/Makefile.am (renamed from include/Makefile.am)0
-rw-r--r--shared/gsystem-local-alloc.h (renamed from include/gsystem-local-alloc.h)0
-rw-r--r--shared/nm-dbus-compat.h (renamed from include/nm-dbus-compat.h)0
-rw-r--r--shared/nm-default.h (renamed from include/nm-default.h)0
-rw-r--r--shared/nm-glib.h (renamed from include/nm-glib.h)0
-rw-r--r--shared/nm-macros-internal.h (renamed from include/nm-macros-internal.h)0
-rw-r--r--shared/nm-test-libnm-utils.h (renamed from include/nm-test-libnm-utils.h)0
-rw-r--r--shared/nm-test-utils-impl.c (renamed from include/nm-test-utils-impl.c)0
-rw-r--r--shared/nm-test-utils.h (renamed from include/nm-test-utils.h)0
-rw-r--r--shared/nm-version-macros.h.in (renamed from include/nm-version-macros.h.in)0
-rw-r--r--src/Makefile.am8
-rw-r--r--src/devices/adsl/Makefile.am4
-rw-r--r--src/devices/bluetooth/Makefile.am4
-rw-r--r--src/devices/team/Makefile.am4
-rw-r--r--src/devices/tests/Makefile.am4
-rw-r--r--src/devices/wifi/Makefile.am4
-rw-r--r--src/devices/wifi/tests/Makefile.am4
-rw-r--r--src/devices/wwan/Makefile.am4
-rw-r--r--src/dhcp-manager/Makefile.am4
-rw-r--r--src/dhcp-manager/tests/Makefile.am4
-rw-r--r--src/dnsmasq-manager/tests/Makefile.am4
-rw-r--r--src/platform/tests/Makefile.am4
-rw-r--r--src/ppp-manager/Makefile.am4
-rw-r--r--src/rdisc/tests/Makefile.am4
-rw-r--r--src/settings/plugins/ibft/Makefile.am4
-rw-r--r--src/settings/plugins/ibft/tests/Makefile.am4
-rw-r--r--src/settings/plugins/ifcfg-rh/Makefile.am4
-rw-r--r--src/settings/plugins/ifcfg-rh/tests/Makefile.am4
-rw-r--r--src/settings/plugins/ifnet/Makefile.am4
-rw-r--r--src/settings/plugins/ifnet/tests/Makefile.am4
-rw-r--r--src/settings/plugins/ifupdown/Makefile.am4
-rw-r--r--src/settings/plugins/ifupdown/tests/Makefile.am4
-rw-r--r--src/settings/plugins/keyfile/Makefile.am4
-rw-r--r--src/settings/plugins/keyfile/tests/Makefile.am4
-rw-r--r--src/supplicant-manager/tests/Makefile.am4
-rw-r--r--src/tests/Makefile.am4
-rw-r--r--src/tests/config/Makefile.am4
58 files changed, 107 insertions, 107 deletions
diff --git a/.gitignore b/.gitignore
index 6629338305..d6c22aebed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -137,7 +137,7 @@ test-*.trs
/examples/C/qt/list-connections
/examples/C/qt/change-ipv4-addresses
-/include/nm-version-macros.h
+/shared/nm-version-macros.h
/introspection/all.xml
/introspection/nmdbus-*.c
diff --git a/Makefile.am b/Makefile.am
index 00e703cc1c..a79bddca3d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,7 @@ include $(GLIB_MAKEFILE)
SUBDIRS = \
. \
- include \
+ shared \
introspection \
libnm-core \
libnm \
@@ -67,6 +67,6 @@ pkgconfig_DATA = NetworkManager.pc
CLEANFILES = cscope.in.out cscope.out cscope.po.out
cscope:
- cscope -b -q -R -Iinclude -ssrc -slibnm-core -slibnm -slibnm-glib -slibnm-util -sclients;
+ cscope -b -q -R -sshared -ssrc -slibnm-core -slibnm -slibnm-glib -slibnm-util -sclients;
.PHONY: cscope
diff --git a/callouts/Makefile.am b/callouts/Makefile.am
index 3708aebbdf..6440a4de02 100644
--- a/callouts/Makefile.am
+++ b/callouts/Makefile.am
@@ -1,8 +1,8 @@
SUBDIRS = . tests
AM_CPPFLAGS = \
- -I${top_srcdir}/include \
- -I${top_builddir}/include \
+ -I${top_srcdir}/shared \
+ -I${top_builddir}/shared \
-I${top_srcdir}/libnm-core \
-I${top_builddir}/libnm-core \
$(GLIB_CFLAGS) \
diff --git a/callouts/tests/Makefile.am b/callouts/tests/Makefile.am
index 30b73b17ca..ee3f647d37 100644
--- a/callouts/tests/Makefile.am
+++ b/callouts/tests/Makefile.am
@@ -1,8 +1,8 @@
if ENABLE_TESTS
AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
-I$(top_srcdir)/callouts \
diff --git a/clients/Makefile.am b/clients/Makefile.am
index 8316dcc0ed..9c30eea1b2 100644
--- a/clients/Makefile.am
+++ b/clients/Makefile.am
@@ -1,8 +1,8 @@
SUBDIRS = cli tui
AM_CPPFLAGS = \
- -I${top_srcdir}/include \
- -I$(top_builddir)/include \
+ -I${top_srcdir}/shared \
+ -I$(top_builddir)/shared \
-I${top_srcdir}/libnm-core \
-I${top_builddir}/libnm-core \
-I${top_srcdir}/libnm \
diff --git a/clients/cli/Makefile.am b/clients/cli/Makefile.am
index 192920e6e5..dfcb1e961a 100644
--- a/clients/cli/Makefile.am
+++ b/clients/cli/Makefile.am
@@ -6,8 +6,8 @@ bin_PROGRAMS = \
AM_CPPFLAGS = \
-I${top_srcdir} \
-I${top_builddir} \
- -I${top_srcdir}/include \
- -I$(top_builddir)/include \
+ -I${top_srcdir}/shared \
+ -I$(top_builddir)/shared \
-I${top_srcdir}/libnm-core \
-I${top_builddir}/libnm-core \
-I${top_srcdir}/libnm \
diff --git a/clients/tui/Makefile.am b/clients/tui/Makefile.am
index 305f08b25d..ba2bbcd135 100644
--- a/clients/tui/Makefile.am
+++ b/clients/tui/Makefile.am
@@ -4,8 +4,8 @@ SUBDIRS = newt .
AM_CPPFLAGS= \
-I$(top_srcdir) \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
-I$(top_srcdir)/libnm \
diff --git a/clients/tui/newt/Makefile.am b/clients/tui/newt/Makefile.am
index 9413e96087..e07f9beff6 100644
--- a/clients/tui/newt/Makefile.am
+++ b/clients/tui/newt/Makefile.am
@@ -1,6 +1,6 @@
AM_CPPFLAGS= \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
-DG_LOG_DOMAIN=\""nmtui"\" \
diff --git a/configure.ac b/configure.ac
index c2c48d2c6d..63f2db1aa0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1007,8 +1007,8 @@ AM_CONDITIONAL(SETTING_DOCS_AVAILABLE, test "$build_setting_docs" = "yes" -o "$h
AC_CONFIG_FILES([
Makefile
-include/Makefile
-include/nm-version-macros.h
+shared/Makefile
+shared/nm-version-macros.h
src/Makefile
src/tests/Makefile
src/tests/config/Makefile
diff --git a/contrib/fedora/rpm/build_clean.sh b/contrib/fedora/rpm/build_clean.sh
index b57b7099e8..8b098681c3 100755
--- a/contrib/fedora/rpm/build_clean.sh
+++ b/contrib/fedora/rpm/build_clean.sh
@@ -76,7 +76,7 @@ fi
./autogen.sh --enable-gtk-doc || die "Error autogen.sh"
if [[ $QUICK == 1 ]]; then
- make -C include || die "Error make -C include"
+ make -C shared || die "Error make -C shared"
make -C introspection || die "Error make -C introspection"
make -C libnm-core || die "Error make -C libnm-core"
make -C libnm || die "Error make -C libnm"
diff --git a/docs/libnm-glib/Makefile.am b/docs/libnm-glib/Makefile.am
index 2d78856103..c38e6e3431 100644
--- a/docs/libnm-glib/Makefile.am
+++ b/docs/libnm-glib/Makefile.am
@@ -53,8 +53,8 @@ extra_files = libnm-glib.png
# CFLAGS and LDFLAGS for compiling scan program. Only needed
# if $(DOC_MODULE).types is non-empty.
GTKDOC_CFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-util \
-I$(top_builddir)/libnm-util \
-I$(top_srcdir)/libnm-glib \
diff --git a/examples/C/glib/Makefile.am b/examples/C/glib/Makefile.am
index 4b03d87f5e..3e442c30b1 100644
--- a/examples/C/glib/Makefile.am
+++ b/examples/C/glib/Makefile.am
@@ -1,6 +1,6 @@
AM_CPPFLAGS = \
- -I${top_srcdir}/include \
- -I$(top_builddir)/include \
+ -I${top_srcdir}/shared \
+ -I$(top_builddir)/shared \
-I${top_srcdir}/libnm-core \
-I${top_builddir}/libnm-core \
-I${top_srcdir}/libnm \
diff --git a/libnm-core/Makefile.am b/libnm-core/Makefile.am
index 55ed2f6ab6..527a1c2482 100644
--- a/libnm-core/Makefile.am
+++ b/libnm-core/Makefile.am
@@ -3,8 +3,8 @@ include $(GLIB_MAKEFILE)
SUBDIRS = . tests
AM_CPPFLAGS = \
- -I${top_srcdir}/include \
- -I${top_builddir}/include \
+ -I${top_srcdir}/shared \
+ -I${top_builddir}/shared \
-DG_LOG_DOMAIN=\""libnm"\" \
-DLOCALEDIR=\"$(datadir)/locale\" \
-DNMCONFDIR=\"$(nmconfdir)\" \
diff --git a/libnm-core/Makefile.libnm-core b/libnm-core/Makefile.libnm-core
index df219295c4..fe8cc8a603 100644
--- a/libnm-core/Makefile.libnm-core
+++ b/libnm-core/Makefile.libnm-core
@@ -6,7 +6,7 @@ core = $(top_srcdir)/libnm-core
core_build = $(top_builddir)/libnm-core
libnm_core_headers = \
- $(top_builddir)/include/nm-version-macros.h \
+ $(top_builddir)/shared/nm-version-macros.h \
$(core_build)/nm-core-enum-types.h \
$(core)/nm-connection.h \
$(core)/nm-core-types.h \
diff --git a/libnm-core/tests/Makefile.am b/libnm-core/tests/Makefile.am
index 9949241abe..92c816fd84 100644
--- a/libnm-core/tests/Makefile.am
+++ b/libnm-core/tests/Makefile.am
@@ -12,8 +12,8 @@ if ENABLE_TESTS
certsdir = $(srcdir)/certs
AM_CPPFLAGS = \
- -I${top_srcdir}/include \
- -I${top_builddir}/include \
+ -I${top_srcdir}/shared \
+ -I${top_builddir}/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
-DNETWORKMANAGER_COMPILATION \
diff --git a/libnm-glib/Makefile.am b/libnm-glib/Makefile.am
index 7a815ee445..676b067116 100644
--- a/libnm-glib/Makefile.am
+++ b/libnm-glib/Makefile.am
@@ -3,8 +3,8 @@ include $(GLIB_MAKEFILE)
SUBDIRS = . tests
AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-util \
-I$(top_builddir)/libnm-util \
-DG_LOG_DOMAIN=\""libnm-glib"\" \
diff --git a/libnm-glib/tests/Makefile.am b/libnm-glib/tests/Makefile.am
index 9afbf6f566..a1b25f62f4 100644
--- a/libnm-glib/tests/Makefile.am
+++ b/libnm-glib/tests/Makefile.am
@@ -1,8 +1,8 @@
if ENABLE_TESTS
AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-util \
-I$(top_builddir)/libnm-util \
-I$(top_srcdir)/libnm-glib \
@@ -24,8 +24,8 @@ TESTS = test-nm-client test-remote-settings-client
####### NMClient and non-settings tests #######
test_nm_client_SOURCES = \
- $(top_builddir)/include/nm-test-utils-impl.c \
- $(top_builddir)/include/nm-test-libnm-utils.h \
+ $(top_builddir)/shared/nm-test-utils-impl.c \
+ $(top_builddir)/shared/nm-test-libnm-utils.h \
test-nm-client.c
test_nm_client_LDADD = \
@@ -37,8 +37,8 @@ test_nm_client_LDADD = \
####### remote settings client test #######
test_remote_settings_client_SOURCES = \
- $(top_builddir)/include/nm-test-utils-impl.c \
- $(top_builddir)/include/nm-test-libnm-utils.h \
+ $(top_builddir)/shared/nm-test-utils-impl.c \
+ $(top_builddir)/shared/nm-test-libnm-utils.h \
test-remote-settings-client.c
test_remote_settings_client_LDADD = \
diff --git a/libnm-util/Makefile.am b/libnm-util/Makefile.am
index 4c08b9405a..6e63790817 100644
--- a/libnm-util/Makefile.am
+++ b/libnm-util/Makefile.am
@@ -4,8 +4,8 @@ SUBDIRS = . tests
AM_CPPFLAGS = \
-I${top_srcdir} \
- -I${top_srcdir}/include \
- -I$(top_builddir)/include \
+ -I${top_srcdir}/shared \
+ -I$(top_builddir)/shared \
-DG_LOG_DOMAIN=\""libnm-util"\" \
-DLOCALEDIR=\"$(datadir)/locale\" \
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_LIB_LEGACY \
@@ -25,7 +25,7 @@ endif
lib_LTLIBRARIES=libnm-util.la
libnm_util_include_HEADERS = \
- $(top_builddir)/include/nm-version-macros.h \
+ $(top_builddir)/shared/nm-version-macros.h \
NetworkManager.h \
NetworkManagerVPN.h \
nm-connection.h \
diff --git a/libnm-util/tests/Makefile.am b/libnm-util/tests/Makefile.am
index e580a13486..eda212ed87 100644
--- a/libnm-util/tests/Makefile.am
+++ b/libnm-util/tests/Makefile.am
@@ -1,8 +1,8 @@
if ENABLE_TESTS
AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-util \
-I$(top_builddir)/libnm-util \
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
diff --git a/libnm/Makefile.am b/libnm/Makefile.am
index 253e109e21..80cdccb066 100644
--- a/libnm/Makefile.am
+++ b/libnm/Makefile.am
@@ -3,8 +3,8 @@ include $(GLIB_MAKEFILE)
SUBDIRS = . tests
AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_builddir)/introspection \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
@@ -26,7 +26,7 @@ lib_LTLIBRARIES = libnm.la
libnmincludedir = $(includedir)/libnm
libnminclude_hfiles = \
- $(top_builddir)/include/nm-version-macros.h \
+ $(top_builddir)/shared/nm-version-macros.h \
NetworkManager.h \
nm-access-point.h \
nm-active-connection.h \
diff --git a/libnm/tests/Makefile.am b/libnm/tests/Makefile.am
index 99a4b8a66e..ddcf50be80 100644
--- a/libnm/tests/Makefile.am
+++ b/libnm/tests/Makefile.am
@@ -1,8 +1,8 @@
if ENABLE_TESTS
AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm \
-I$(top_builddir)/libnm \
-I$(top_srcdir)/libnm-core \
@@ -26,18 +26,18 @@ endif
TESTS = test-nm-client test-remote-settings-client test-secret-agent
test_nm_client_SOURCES = \
- $(top_builddir)/include/nm-test-utils-impl.c \
- $(top_builddir)/include/nm-test-libnm-utils.h \
+ $(top_builddir)/shared/nm-test-utils-impl.c \
+ $(top_builddir)/shared/nm-test-libnm-utils.h \
test-nm-client.c
test_remote_settings_client_SOURCES = \
- $(top_builddir)/include/nm-test-utils-impl.c \
- $(top_builddir)/include/nm-test-libnm-utils.h \
+ $(top_builddir)/shared/nm-test-utils-impl.c \
+ $(top_builddir)/shared/nm-test-libnm-utils.h \
test-remote-settings-client.c
test_secret_agent_SOURCES = \
- $(top_builddir)/include/nm-test-utils-impl.c \
- $(top_builddir)/include/nm-test-libnm-utils.h \
+ $(top_builddir)/shared/nm-test-utils-impl.c \
+ $(top_builddir)/shared/nm-test-libnm-utils.h \
test-secret-agent.c
endif
diff --git a/include/Makefile.am b/shared/Makefile.am
index f0a1dba963..f0a1dba963 100644
--- a/include/Makefile.am
+++ b/shared/Makefile.am
diff --git a/include/gsystem-local-alloc.h b/shared/gsystem-local-alloc.h
index 51b6251974..51b6251974 100644
--- a/include/gsystem-local-alloc.h
+++ b/shared/gsystem-local-alloc.h
diff --git a/include/nm-dbus-compat.h b/shared/nm-dbus-compat.h
index dd97b5fd62..dd97b5fd62 100644
--- a/include/nm-dbus-compat.h
+++ b/shared/nm-dbus-compat.h
diff --git a/include/nm-default.h b/shared/nm-default.h
index 045ad8db88..045ad8db88 100644
--- a/include/nm-default.h
+++ b/shared/nm-default.h
diff --git a/include/nm-glib.h b/shared/nm-glib.h
index c75e91ba51..c75e91ba51 100644
--- a/include/nm-glib.h
+++ b/shared/nm-glib.h
diff --git a/include/nm-macros-internal.h b/shared/nm-macros-internal.h
index b4d2d23c91..b4d2d23c91 100644
--- a/include/nm-macros-internal.h
+++ b/shared/nm-macros-internal.h
diff --git a/include/nm-test-libnm-utils.h b/shared/nm-test-libnm-utils.h
index 667ba90db6..667ba90db6 100644
--- a/include/nm-test-libnm-utils.h
+++ b/shared/nm-test-libnm-utils.h
diff --git a/include/nm-test-utils-impl.c b/shared/nm-test-utils-impl.c
index dac07b90d4..dac07b90d4 100644
--- a/include/nm-test-utils-impl.c
+++ b/shared/nm-test-utils-impl.c
diff --git a/include/nm-test-utils.h b/shared/nm-test-utils.h
index 28ae56fee7..28ae56fee7 100644
--- a/include/nm-test-utils.h
+++ b/shared/nm-test-utils.h
diff --git a/include/nm-version-macros.h.in b/shared/nm-version-macros.h.in
index a8ad5c8d6e..a8ad5c8d6e 100644
--- a/include/nm-version-macros.h.in
+++ b/shared/nm-version-macros.h.in
diff --git a/src/Makefile.am b/src/Makefile.am
index e4b2cb090c..c37b058ac5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -33,8 +33,8 @@ SUBDIRS += \
endif
AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_builddir)/introspection \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
@@ -173,8 +173,8 @@ libsystemd_nm_la_SOURCES = \
systemd/src/systemd/sd-ndisc.h
libsystemd_nm_la_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
$(SYSTEMD_NM_CFLAGS_PATHS) \
diff --git a/src/devices/adsl/Makefile.am b/src/devices/adsl/Makefile.am
index b082ffc4ff..e7034fa873 100644
--- a/src/devices/adsl/Makefile.am
+++ b/src/devices/adsl/Makefile.am
@@ -8,8 +8,8 @@ AM_CPPFLAGS = \
-I${top_srcdir}/src/devices \
-I${top_srcdir}/src/platform \
-I${top_builddir}/introspection \
- -I${top_srcdir}/include \
- -I$(top_builddir)/include \
+ -I${top_srcdir}/shared \
+ -I$(top_builddir)/shared \
-I${top_builddir}/libnm-core \
-I${top_srcdir}/libnm-core \
-DG_LOG_DOMAIN=\""NetworkManager-adsl"\" \
diff --git a/src/devices/bluetooth/Makefile.am b/src/devices/bluetooth/Makefile.am
index 37217dfac6..2054ea0f59 100644
--- a/src/devices/bluetooth/Makefile.am
+++ b/src/devices/bluetooth/Makefile.am
@@ -10,8 +10,8 @@ AM_CPPFLAGS = \
-I${top_srcdir}/src/platform \
-I${top_srcdir}/src/devices/wwan \
-I${top_builddir}/introspection \
- -I${top_srcdir}/include \
- -I$(top_builddir)/include \
+ -I${top_srcdir}/shared \
+ -I$(top_builddir)/shared \
-I${top_builddir}/libnm-core \
-I${top_srcdir}/libnm-core \
-DG_LOG_DOMAIN=\""NetworkManager-bluetooth"\" \
diff --git a/src/devices/team/Makefile.am b/src/devices/team/Makefile.am
index 3df138609d..a66458337c 100644
--- a/src/devices/team/Makefile.am
+++ b/src/devices/team/Makefile.am
@@ -8,8 +8,8 @@ AM_CPPFLAGS = \
-I${top_srcdir}/src/devices \
-I${top_srcdir}/src/platform \
-I${top_builddir}/introspection \
- -I${top_srcdir}/include \
- -I$(top_builddir)/include \
+ -I${top_srcdir}/shared \
+ -I$(top_builddir)/shared \
-I${top_builddir}/libnm-core \
-I${top_srcdir}/libnm-core \
-DG_LOG_DOMAIN=\""NetworkManager-team"\" \
diff --git a/src/devices/tests/Makefile.am b/src/devices/tests/Makefile.am
index 4b1595e7b4..330377b0b8 100644
--- a/src/devices/tests/Makefile.am
+++ b/src/devices/tests/Makefile.am
@@ -1,6 +1,6 @@
AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
-I$(top_srcdir)/src/platform \
diff --git a/src/devices/wifi/Makefile.am b/src/devices/wifi/Makefile.am
index df21597d38..b0919ef710 100644
--- a/src/devices/wifi/Makefile.am
+++ b/src/devices/wifi/Makefile.am
@@ -14,8 +14,8 @@ AM_CPPFLAGS = \
-I${top_srcdir}/src/platform \
-I${top_srcdir}/src/supplicant-manager \
-I${top_builddir}/introspection \
- -I${top_srcdir}/include \
- -I$(top_builddir)/include \
+ -I${top_srcdir}/shared \
+ -I$(top_builddir)/shared \
-I${top_builddir}/libnm-core \
-I${top_srcdir}/libnm-core \
-DG_LOG_DOMAIN=\""NetworkManager-wifi"\" \
diff --git a/src/devices/wifi/tests/Makefile.am b/src/devices/wifi/tests/Makefile.am
index 2e25dc422a..dee8e799b2 100644
--- a/src/devices/wifi/tests/Makefile.am
+++ b/src/devices/wifi/tests/Makefile.am
@@ -1,7 +1,7 @@
AM_CPPFLAGS = \
-I$(top_builddir)/introspection \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
-I${top_srcdir}/src/platform \
diff --git a/src/devices/wwan/Makefile.am b/src/devices/wwan/Makefile.am
index 1d2dcb680b..107f630b3f 100644
--- a/src/devices/wwan/Makefile.am
+++ b/src/devices/wwan/Makefile.am
@@ -9,8 +9,8 @@ AM_CPPFLAGS = \
-I${top_srcdir}/src/settings \
-I${top_srcdir}/src/platform \
-I${top_builddir}/introspection \
- -I${top_srcdir}/include \
- -I$(top_builddir)/include \
+ -I${top_srcdir}/shared \
+ -I$(top_builddir)/shared \
-I${top_srcdir}/libnm-core \
-I${top_builddir}/libnm-core \
-DG_LOG_DOMAIN=\""NetworkManager-wwan"\" \
diff --git a/src/dhcp-manager/Makefile.am b/src/dhcp-manager/Makefile.am
index b07bbc671f..3199ab0451 100644
--- a/src/dhcp-manager/Makefile.am
+++ b/src/dhcp-manager/Makefile.am
@@ -4,8 +4,8 @@ nm_dhcp_helper_SOURCES = nm-dhcp-helper.c
nm_dhcp_helper_CPPFLAGS = \
$(GLIB_CFLAGS) \
- -I$(top_srcdir)/include \
- -I${top_builddir}/include \
+ -I$(top_srcdir)/shared \
+ -I${top_builddir}/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
-DG_LOG_DOMAIN=\""nm-dhcp-helper"\" \
diff --git a/src/dhcp-manager/tests/Makefile.am b/src/dhcp-manager/tests/Makefile.am
index 578f7144ac..5c7f9ba20e 100644
--- a/src/dhcp-manager/tests/Makefile.am
+++ b/src/dhcp-manager/tests/Makefile.am
@@ -1,6 +1,6 @@
AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I${top_builddir}/include \
+ -I$(top_srcdir)/shared \
+ -I${top_builddir}/shared \
-I${top_srcdir}/libnm-core \
-I${top_builddir}/libnm-core \
-I$(top_srcdir)/src/dhcp-manager \
diff --git a/src/dnsmasq-manager/tests/Makefile.am b/src/dnsmasq-manager/tests/Makefile.am
index 0ddaa381c1..2c5e8e4063 100644
--- a/src/dnsmasq-manager/tests/Makefile.am
+++ b/src/dnsmasq-manager/tests/Makefile.am
@@ -1,6 +1,6 @@
AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I${top_builddir}/include \
+ -I$(top_srcdir)/shared \
+ -I${top_builddir}/shared \
-I${top_srcdir}/libnm-core \
-I${top_builddir}/libnm-core \
-I$(top_srcdir)/src/dnsmasq-manager \
diff --git a/src/platform/tests/Makefile.am b/src/platform/tests/Makefile.am
index 5996f34706..b097fcf6b2 100644
--- a/src/platform/tests/Makefile.am
+++ b/src/platform/tests/Makefile.am
@@ -1,7 +1,7 @@
AM_CPPFLAGS = \
-I${top_srcdir} \
- -I${top_srcdir}/include \
- -I${top_builddir}/include \
+ -I${top_srcdir}/shared \
+ -I${top_builddir}/shared \
-I${top_srcdir}/src \
-I${top_builddir}/src \
-I${top_srcdir}/libnm-core \
diff --git a/src/ppp-manager/Makefile.am b/src/ppp-manager/Makefile.am
index 650c4301f2..5cf908df70 100644
--- a/src/ppp-manager/Makefile.am
+++ b/src/ppp-manager/Makefile.am
@@ -1,8 +1,8 @@
if WITH_PPP
AM_CPPFLAGS = \
- -I${top_srcdir}/include \
- -I${top_builddir}/include \
+ -I${top_srcdir}/shared \
+ -I${top_builddir}/shared \
-I${top_srcdir}/libnm-core \
-I${top_srcdir}/src \
-I${top_builddir}/libnm-core \
diff --git a/src/rdisc/tests/Makefile.am b/src/rdisc/tests/Makefile.am
index cf302ad6c7..d520e4164a 100644
--- a/src/rdisc/tests/Makefile.am
+++ b/src/rdisc/tests/Makefile.am
@@ -1,7 +1,7 @@
AM_CPPFLAGS = \
-I${top_srcdir} \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I${top_srcdir}/src \
-I${top_srcdir}/src/platform \
-I${top_srcdir}/libnm-core \
diff --git a/src/settings/plugins/ibft/Makefile.am b/src/settings/plugins/ibft/Makefile.am
index 49d78311de..a994808d84 100644
--- a/src/settings/plugins/ibft/Makefile.am
+++ b/src/settings/plugins/ibft/Makefile.am
@@ -14,8 +14,8 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/src/ \
-I$(top_srcdir)/src/platform \
-I$(top_srcdir)/src/settings \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
diff --git a/src/settings/plugins/ibft/tests/Makefile.am b/src/settings/plugins/ibft/tests/Makefile.am
index 3c3b5cf577..29881e852d 100644
--- a/src/settings/plugins/ibft/tests/Makefile.am
+++ b/src/settings/plugins/ibft/tests/Makefile.am
@@ -5,8 +5,8 @@ if ENABLE_TESTS
AM_CPPFLAGS = \
$(GLIB_CFLAGS) \
$(CODE_COVERAGE_CFLAGS) \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
-I$(top_srcdir)/src/ \
diff --git a/src/settings/plugins/ifcfg-rh/Makefile.am b/src/settings/plugins/ifcfg-rh/Makefile.am
index ebae6374e5..ab96a32852 100644
--- a/src/settings/plugins/ifcfg-rh/Makefile.am
+++ b/src/settings/plugins/ifcfg-rh/Makefile.am
@@ -43,8 +43,8 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/src/ \
-I$(top_srcdir)/src/platform \
-I$(top_srcdir)/src/settings \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
diff --git a/src/settings/plugins/ifcfg-rh/tests/Makefile.am b/src/settings/plugins/ifcfg-rh/tests/Makefile.am
index 4f942d2050..25d271976e 100644
--- a/src/settings/plugins/ifcfg-rh/tests/Makefile.am
+++ b/src/settings/plugins/ifcfg-rh/tests/Makefile.am
@@ -7,8 +7,8 @@ SUBDIRS=network-scripts
AM_CPPFLAGS = \
$(GLIB_CFLAGS) \
$(CODE_COVERAGE_CFLAGS) \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
-I$(top_srcdir)/src/ \
diff --git a/src/settings/plugins/ifnet/Makefile.am b/src/settings/plugins/ifnet/Makefile.am
index 5e1713a147..ffd8ab3caf 100644
--- a/src/settings/plugins/ifnet/Makefile.am
+++ b/src/settings/plugins/ifnet/Makefile.am
@@ -6,8 +6,8 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/platform \
-I$(top_srcdir)/src/settings \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
-DG_LOG_DOMAIN=\""NetworkManager-ifnet"\" \
diff --git a/src/settings/plugins/ifnet/tests/Makefile.am b/src/settings/plugins/ifnet/tests/Makefile.am
index 9c1bcbf62e..1919f1410a 100644
--- a/src/settings/plugins/ifnet/tests/Makefile.am
+++ b/src/settings/plugins/ifnet/tests/Makefile.am
@@ -4,8 +4,8 @@ if ENABLE_TESTS
AM_CPPFLAGS= \
-I$(srcdir)/../ \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
-I$(top_srcdir)/src \
diff --git a/src/settings/plugins/ifupdown/Makefile.am b/src/settings/plugins/ifupdown/Makefile.am
index b3ab2efdfc..c5c645d358 100644
--- a/src/settings/plugins/ifupdown/Makefile.am
+++ b/src/settings/plugins/ifupdown/Makefile.am
@@ -5,8 +5,8 @@ SUBDIRS = . tests
AM_CPPFLAGS = \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/settings \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
-DG_LOG_DOMAIN=\""NetworkManager-ifupdown"\" \
diff --git a/src/settings/plugins/ifupdown/tests/Makefile.am b/src/settings/plugins/ifupdown/tests/Makefile.am
index 55d9f88b2a..29e9a7ed5c 100644
--- a/src/settings/plugins/ifupdown/tests/Makefile.am
+++ b/src/settings/plugins/ifupdown/tests/Makefile.am
@@ -1,8 +1,8 @@
if ENABLE_TESTS
AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
-I$(top_srcdir)/src \
diff --git a/src/settings/plugins/keyfile/Makefile.am b/src/settings/plugins/keyfile/Makefile.am
index 1278b2fa3c..ddcd15b292 100644
--- a/src/settings/plugins/keyfile/Makefile.am
+++ b/src/settings/plugins/keyfile/Makefile.am
@@ -5,8 +5,8 @@ SUBDIRS = . tests
AM_CPPFLAGS = \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/settings \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
-DG_LOG_DOMAIN=\""NetworkManager-keyfile"\" \
diff --git a/src/settings/plugins/keyfile/tests/Makefile.am b/src/settings/plugins/keyfile/tests/Makefile.am
index 34331e15a8..4d85f09a40 100644
--- a/src/settings/plugins/keyfile/tests/Makefile.am
+++ b/src/settings/plugins/keyfile/tests/Makefile.am
@@ -5,8 +5,8 @@ SUBDIRS=keyfiles
@GNOME_CODE_COVERAGE_RULES@
AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
-I$(top_srcdir)/src \
diff --git a/src/supplicant-manager/tests/Makefile.am b/src/supplicant-manager/tests/Makefile.am
index 66bd7d581d..9ac0387c4b 100644
--- a/src/supplicant-manager/tests/Makefile.am
+++ b/src/supplicant-manager/tests/Makefile.am
@@ -1,8 +1,8 @@
SUBDIRS=certs
AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
-I$(top_srcdir)/src \
diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
index 18fce10088..26c2ed7f55 100644
--- a/src/tests/Makefile.am
+++ b/src/tests/Makefile.am
@@ -1,8 +1,8 @@
SUBDIRS = config
AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
-I$(top_srcdir)/src/platform \
diff --git a/src/tests/config/Makefile.am b/src/tests/config/Makefile.am
index 80f923c46e..5d4aed5c86 100644
--- a/src/tests/config/Makefile.am
+++ b/src/tests/config/Makefile.am
@@ -1,6 +1,6 @@
AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/shared \
+ -I$(top_builddir)/shared \
-I$(top_srcdir)/libnm-core \
-I$(top_builddir)/libnm-core \
-I$(top_srcdir)/src/ \