mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 21:50:17 +01:00
build: fix up includes; prefer builddir over srcdir
WiMAX failed distcheck if the iwmxsdk devel files were installed but --enable-wimax=no was used, since the distcheck configure bits found the iwmxsdk headers, defaulted WiMAX support to 'on', and then proceeded to use the generated headers from the top srcdir, where of course wimax was turned off (due to --enable-wimax=no). Instead, everything should use the headers from the builddir, which reflects the options that 'make distcheck' actually selects. At the same time, re-order various includes everywhere to ensure that the builddir paths come before the srcdir paths to prevent this from happening in the future.
This commit is contained in:
parent
43d4d16b5b
commit
1d7949e66c
10 changed files with 31 additions and 28 deletions
|
|
@ -23,10 +23,10 @@ endif
|
|||
SUBDIRS += . tests
|
||||
|
||||
INCLUDES = -I${top_srcdir} \
|
||||
-I${top_srcdir}/include \
|
||||
-I${top_builddir}/include \
|
||||
-I${top_srcdir}/src/generated \
|
||||
-I${top_srcdir}/include \
|
||||
-I${top_builddir}/src/generated \
|
||||
-I${top_srcdir}/src/generated \
|
||||
-I${top_srcdir}/src/logging \
|
||||
-I${top_srcdir}/src/posix-signals \
|
||||
-I${top_srcdir}/src/dns-manager \
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
INCLUDES = \
|
||||
-I${top_srcdir} \
|
||||
-I${top_srcdir}/include \
|
||||
-I${top_builddir}/include \
|
||||
-I${top_srcdir}/libnm-util \
|
||||
-I${top_srcdir}/include \
|
||||
-I${top_builddir}/libnm-util \
|
||||
-I${top_srcdir}/libnm-util \
|
||||
-I${top_srcdir}/src \
|
||||
-I${top_srcdir}/src/generated \
|
||||
-I${top_builddir}/src/generated \
|
||||
-I${top_srcdir}/src/generated \
|
||||
-I${top_srcdir}/src/logging
|
||||
|
||||
noinst_LTLIBRARIES = libbluez-manager.la
|
||||
|
|
|
|||
|
|
@ -2,14 +2,14 @@ SUBDIRS=. tests
|
|||
|
||||
INCLUDES = \
|
||||
-I${top_srcdir} \
|
||||
-I${top_srcdir}/include \
|
||||
-I${top_builddir}/include \
|
||||
-I${top_srcdir}/src/generated \
|
||||
-I${top_srcdir}/include \
|
||||
-I${top_builddir}/src/generated \
|
||||
-I${top_srcdir}/src/generated \
|
||||
-I${top_srcdir}/src/logging \
|
||||
-I${top_srcdir}/src/posix-signals \
|
||||
-I${top_srcdir}/libnm-util \
|
||||
-I${top_builddir}/libnm-util \
|
||||
-I${top_srcdir}/libnm-util \
|
||||
-I${top_srcdir}/src
|
||||
|
||||
noinst_LTLIBRARIES = libdhcp-manager.la libdhcp-dhclient.la
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
INCLUDES = \
|
||||
-I${top_srcdir} \
|
||||
-I${top_srcdir}/include \
|
||||
-I${top_builddir}/include \
|
||||
-I${top_srcdir}/libnm-util \
|
||||
-I${top_srcdir}/include \
|
||||
-I${top_builddir}/libnm-util \
|
||||
-I${top_srcdir}/src/generated \
|
||||
-I${top_srcdir}/libnm-util \
|
||||
-I${top_builddir}/src/generated \
|
||||
-I${top_srcdir}/src/generated \
|
||||
-I${top_srcdir}/src/logging \
|
||||
-I${top_srcdir}/src
|
||||
|
||||
|
|
|
|||
|
|
@ -2,13 +2,13 @@ include $(GLIB_MAKEFILE)
|
|||
|
||||
INCLUDES = \
|
||||
-I${top_srcdir}/src \
|
||||
-I${top_srcdir}/src/generated \
|
||||
-I${top_builddir}/src/generated \
|
||||
-I${top_srcdir}/src/generated \
|
||||
-I${top_srcdir}/src/logging \
|
||||
-I${top_srcdir}/include \
|
||||
-I${top_builddir}/include \
|
||||
-I${top_srcdir}/libnm-util \
|
||||
-I${top_builddir}/libnm-util
|
||||
-I${top_srcdir}/include \
|
||||
-I${top_builddir}/libnm-util \
|
||||
-I${top_srcdir}/libnm-util
|
||||
|
||||
noinst_LTLIBRARIES = libmodem-manager.la
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
INCLUDES = \
|
||||
-I${top_srcdir} \
|
||||
-I${top_srcdir}/include \
|
||||
-I${top_builddir}/include \
|
||||
-I${top_srcdir}/libnm-util \
|
||||
-I${top_srcdir}/include \
|
||||
-I${top_builddir}/libnm-util \
|
||||
-I${top_srcdir}/libnm-util \
|
||||
-I${top_srcdir}/src \
|
||||
-I${top_srcdir}/src/generated \
|
||||
-I${top_builddir}/src/generated \
|
||||
-I${top_srcdir}/src/generated \
|
||||
-I${top_srcdir}/src/logging \
|
||||
-I${top_srcdir}/src/posix-signals
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
SUBDIRS=plugins . tests
|
||||
|
||||
INCLUDES = -I${top_srcdir} \
|
||||
-I${top_srcdir}/include \
|
||||
-I${top_builddir}/include \
|
||||
-I${top_srcdir}/libnm-util \
|
||||
-I${top_srcdir}/include \
|
||||
-I${top_builddir}/libnm-util \
|
||||
-I${top_srcdir}/src/generated \
|
||||
-I${top_srcdir}/libnm-util \
|
||||
-I${top_builddir}/src/generated \
|
||||
-I${top_srcdir}/src/generated \
|
||||
-I${top_srcdir}/src/logging \
|
||||
-I${top_srcdir}/src
|
||||
|
||||
|
|
|
|||
|
|
@ -2,13 +2,13 @@ SUBDIRS=. tests
|
|||
|
||||
INCLUDES = \
|
||||
-I${top_srcdir}/src \
|
||||
-I${top_srcdir}/src/generated \
|
||||
-I${top_builddir}/src/generated \
|
||||
-I${top_srcdir}/src/generated \
|
||||
-I${top_srcdir}/src/logging \
|
||||
-I${top_srcdir}/include \
|
||||
-I${top_builddir}/include \
|
||||
-I${top_srcdir}/libnm-util \
|
||||
-I${top_builddir}/libnm-util
|
||||
-I${top_srcdir}/include \
|
||||
-I${top_builddir}/libnm-util \
|
||||
-I${top_srcdir}/libnm-util
|
||||
|
||||
noinst_LTLIBRARIES = libsupplicant-manager.la
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
INCLUDES = \
|
||||
-I${top_srcdir} \
|
||||
-I${top_srcdir}/include \
|
||||
-I${top_builddir}/include \
|
||||
-I${top_srcdir}/libnm-util \
|
||||
-I${top_srcdir}/include \
|
||||
-I${top_builddir}/libnm-util \
|
||||
-I${top_srcdir}/src/generated \
|
||||
-I${top_srcdir}/libnm-util \
|
||||
-I${top_builddir}/src/generated \
|
||||
-I${top_srcdir}/src/generated \
|
||||
-I${top_srcdir}/src/logging \
|
||||
-I${top_srcdir}/src/posix-signals \
|
||||
-I${top_srcdir}/src \
|
||||
|
|
|
|||
|
|
@ -1,8 +1,11 @@
|
|||
INCLUDES = \
|
||||
-I${top_srcdir}/src \
|
||||
-I${top_builddir}/src/generated \
|
||||
-I${top_srcdir}/src/generated \
|
||||
-I${top_srcdir}/src/logging \
|
||||
-I${top_builddir}/include \
|
||||
-I${top_srcdir}/include \
|
||||
-I${top_builddir}/libnm-util \
|
||||
-I${top_srcdir}/libnm-util
|
||||
|
||||
pkglib_LTLIBRARIES = libnm-device-plugin-wimax.la
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue