mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 22:50:08 +01:00
shared: merge branch 'th/shared-library-refactoring'
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/113
(cherry picked from commit 9740bd6d99)
This commit is contained in:
commit
0e2abc02a1
164 changed files with 542 additions and 338 deletions
258
Makefile.am
258
Makefile.am
|
|
@ -289,7 +289,37 @@ shared_libnacd_la_LIBADD = \
|
|||
|
||||
###############################################################################
|
||||
|
||||
shared_nm_utils_libnm_utils_cppflags = \
|
||||
noinst_LTLIBRARIES += shared/nm-std-aux/libnm-std-aux.la
|
||||
|
||||
shared_nm_std_aux_libnm_std_aux_la_CPPFLAGS = \
|
||||
$(dflt_cppflags) \
|
||||
-I$(srcdir)/shared \
|
||||
$(CODE_COVERAGE_CFLAGS) \
|
||||
$(SANITIZER_LIB_CFLAGS) \
|
||||
-DG_LOG_DOMAIN=\""libnm"\" \
|
||||
-DNETWORKMANAGER_COMPILATION='0' \
|
||||
$(NULL)
|
||||
|
||||
shared_nm_std_aux_libnm_std_aux_la_SOURCES = \
|
||||
shared/c-list/src/c-list.h \
|
||||
shared/nm-std-aux/c-list-util.c \
|
||||
shared/nm-std-aux/c-list-util.h \
|
||||
shared/nm-std-aux/nm-dbus-compat.h \
|
||||
shared/nm-std-aux/unaligned.h \
|
||||
$(NULL)
|
||||
|
||||
shared_nm_std_aux_libnm_std_aux_la_LDFLAGS = \
|
||||
$(CODE_COVERAGE_LDFLAGS) \
|
||||
$(SANITIZER_LIB_LDFLAGS) \
|
||||
$(NULL)
|
||||
|
||||
shared_nm_std_aux_libnm_std_aux_la_LIBADD = \
|
||||
shared/libcsiphash.la \
|
||||
$(NULL)
|
||||
|
||||
###############################################################################
|
||||
|
||||
shared_nm_glib_aux_cppflags = \
|
||||
$(dflt_cppflags) \
|
||||
-I$(srcdir)/shared \
|
||||
$(CODE_COVERAGE_CFLAGS) \
|
||||
|
|
@ -299,78 +329,143 @@ shared_nm_utils_libnm_utils_cppflags = \
|
|||
-DNETWORKMANAGER_COMPILATION='(NM_NETWORKMANAGER_COMPILATION_GLIB|NM_NETWORKMANAGER_COMPILATION_WITH_GLIB_I18N_LIB)' \
|
||||
$(NULL)
|
||||
|
||||
noinst_LTLIBRARIES += shared/nm-utils/libnm-utils-base.la
|
||||
noinst_LTLIBRARIES += shared/nm-glib-aux/libnm-glib-aux.la
|
||||
|
||||
shared_nm_utils_libnm_utils_base_la_CPPFLAGS = \
|
||||
$(shared_nm_utils_libnm_utils_cppflags) \
|
||||
shared_nm_glib_aux_libnm_glib_aux_la_CPPFLAGS = \
|
||||
$(shared_nm_glib_aux_cppflags) \
|
||||
$(NULL)
|
||||
|
||||
shared_nm_utils_libnm_utils_base_la_SOURCES = \
|
||||
shared/c-list/src/c-list.h \
|
||||
shared/nm-utils/c-list-util.c \
|
||||
shared/nm-utils/c-list-util.h \
|
||||
shared/nm-utils/nm-c-list.h \
|
||||
shared/nm-utils/nm-dedup-multi.c \
|
||||
shared/nm-utils/nm-dedup-multi.h \
|
||||
shared/nm-utils/nm-enum-utils.c \
|
||||
shared/nm-utils/nm-enum-utils.h \
|
||||
shared/nm-utils/nm-errno.c \
|
||||
shared/nm-utils/nm-errno.h \
|
||||
shared/nm-utils/nm-glib.h \
|
||||
shared/nm-utils/nm-hash-utils.c \
|
||||
shared/nm-utils/nm-hash-utils.h \
|
||||
shared/nm-utils/nm-io-utils.c \
|
||||
shared/nm-utils/nm-io-utils.h \
|
||||
shared/nm-utils/nm-logging-fwd.h \
|
||||
shared/nm-utils/nm-macros-internal.h \
|
||||
shared/nm-utils/nm-obj.h \
|
||||
shared/nm-utils/nm-random-utils.c \
|
||||
shared/nm-utils/nm-random-utils.h \
|
||||
shared/nm-utils/nm-secret-utils.c \
|
||||
shared/nm-utils/nm-secret-utils.h \
|
||||
shared/nm-utils/nm-shared-utils.c \
|
||||
shared/nm-utils/nm-shared-utils.h \
|
||||
shared/nm-utils/nm-time-utils.c \
|
||||
shared/nm-utils/nm-time-utils.h \
|
||||
shared/nm-utils/unaligned.h \
|
||||
shared_nm_glib_aux_libnm_glib_aux_la_SOURCES = \
|
||||
shared/nm-glib-aux/nm-c-list.h \
|
||||
shared/nm-glib-aux/nm-dedup-multi.c \
|
||||
shared/nm-glib-aux/nm-dedup-multi.h \
|
||||
shared/nm-glib-aux/nm-enum-utils.c \
|
||||
shared/nm-glib-aux/nm-enum-utils.h \
|
||||
shared/nm-glib-aux/nm-errno.c \
|
||||
shared/nm-glib-aux/nm-errno.h \
|
||||
shared/nm-glib-aux/nm-glib.h \
|
||||
shared/nm-glib-aux/nm-hash-utils.c \
|
||||
shared/nm-glib-aux/nm-hash-utils.h \
|
||||
shared/nm-glib-aux/nm-io-utils.c \
|
||||
shared/nm-glib-aux/nm-io-utils.h \
|
||||
shared/nm-glib-aux/nm-jansson.h \
|
||||
shared/nm-glib-aux/nm-logging-fwd.h \
|
||||
shared/nm-glib-aux/nm-macros-internal.h \
|
||||
shared/nm-glib-aux/nm-obj.h \
|
||||
shared/nm-glib-aux/nm-random-utils.c \
|
||||
shared/nm-glib-aux/nm-random-utils.h \
|
||||
shared/nm-glib-aux/nm-secret-utils.c \
|
||||
shared/nm-glib-aux/nm-secret-utils.h \
|
||||
shared/nm-glib-aux/nm-shared-utils.c \
|
||||
shared/nm-glib-aux/nm-shared-utils.h \
|
||||
shared/nm-glib-aux/nm-time-utils.c \
|
||||
shared/nm-glib-aux/nm-time-utils.h \
|
||||
$(NULL)
|
||||
|
||||
shared_nm_utils_libnm_utils_base_la_LDFLAGS = \
|
||||
shared_nm_glib_aux_libnm_glib_aux_la_LDFLAGS = \
|
||||
$(CODE_COVERAGE_LDFLAGS) \
|
||||
$(SANITIZER_LIB_LDFLAGS) \
|
||||
$(NULL)
|
||||
|
||||
shared_nm_utils_libnm_utils_base_la_LIBADD = \
|
||||
shared/libcsiphash.la \
|
||||
shared_nm_glib_aux_libnm_glib_aux_la_LIBADD = \
|
||||
shared/nm-std-aux/libnm-std-aux.la \
|
||||
$(GLIB_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
###############################################################################
|
||||
|
||||
noinst_LTLIBRARIES += shared/nm-utils/libnm-utils-udev.la
|
||||
noinst_LTLIBRARIES += shared/nm-udev-aux/libnm-udev-aux.la
|
||||
|
||||
shared_nm_utils_libnm_utils_udev_la_CPPFLAGS = \
|
||||
$(shared_nm_utils_libnm_utils_cppflags) \
|
||||
shared_nm_udev_aux_libnm_udev_aux_la_CPPFLAGS = \
|
||||
$(shared_nm_glib_aux_cppflags) \
|
||||
$(LIBUDEV_CFLAGS) \
|
||||
$(NULL)
|
||||
|
||||
shared_nm_utils_libnm_utils_udev_la_SOURCES = \
|
||||
shared/nm-utils/nm-udev-utils.c \
|
||||
shared/nm-utils/nm-udev-utils.h \
|
||||
shared_nm_udev_aux_libnm_udev_aux_la_SOURCES = \
|
||||
shared/nm-udev-aux/nm-udev-utils.c \
|
||||
shared/nm-udev-aux/nm-udev-utils.h \
|
||||
$(NULL)
|
||||
|
||||
shared_nm_utils_libnm_utils_udev_la_LDFLAGS = \
|
||||
shared_nm_udev_aux_libnm_udev_aux_la_LDFLAGS = \
|
||||
$(CODE_COVERAGE_LDFLAGS) \
|
||||
$(SANITIZER_LIB_LDFLAGS) \
|
||||
$(NULL)
|
||||
|
||||
shared_nm_utils_libnm_utils_udev_la_LIBADD = \
|
||||
shared_nm_udev_aux_libnm_udev_aux_la_LIBADD = \
|
||||
$(GLIB_LIBS) \
|
||||
$(LIBUDEV_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
###############################################################################
|
||||
|
||||
noinst_LTLIBRARIES += shared/nm-libnm-core-intern/libnm-libnm-core-intern.la
|
||||
|
||||
shared_nm_libnm_core_intern_libnm_libnm_core_intern_la_CPPFLAGS = \
|
||||
$(dflt_cppflags) \
|
||||
-I$(srcdir)/shared \
|
||||
-I$(builddir)/shared \
|
||||
-I$(srcdir)/libnm-core \
|
||||
-I$(builddir)/libnm-core \
|
||||
$(CODE_COVERAGE_CFLAGS) \
|
||||
$(GLIB_CFLAGS) \
|
||||
$(SANITIZER_LIB_CFLAGS) \
|
||||
-DG_LOG_DOMAIN=\""libnm"\" \
|
||||
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_LIBNM_CORE \
|
||||
$(NULL)
|
||||
|
||||
shared_nm_libnm_core_intern_libnm_libnm_core_intern_la_SOURCES = \
|
||||
shared/nm-libnm-core-intern/nm-common-macros.h \
|
||||
shared/nm-libnm-core-intern/nm-ethtool-utils.c \
|
||||
shared/nm-libnm-core-intern/nm-ethtool-utils.h \
|
||||
shared/nm-libnm-core-intern/nm-libnm-core-utils.c \
|
||||
shared/nm-libnm-core-intern/nm-libnm-core-utils.h \
|
||||
$(NULL)
|
||||
|
||||
shared_nm_libnm_core_intern_libnm_libnm_core_intern_la_LDFLAGS = \
|
||||
$(CODE_COVERAGE_LDFLAGS) \
|
||||
$(SANITIZER_LIB_LDFLAGS) \
|
||||
$(NULL)
|
||||
|
||||
shared_nm_libnm_core_intern_libnm_libnm_core_intern_la_LIBADD = \
|
||||
$(GLIB_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
$(shared_nm_libnm_core_intern_libnm_libnm_core_intern_la_OBJECTS): $(libnm_core_lib_h_pub_mkenums)
|
||||
|
||||
###############################################################################
|
||||
|
||||
noinst_LTLIBRARIES += shared/nm-libnm-core-aux/libnm-libnm-core-aux.la
|
||||
|
||||
shared_nm_libnm_core_aux_libnm_libnm_core_aux_la_CPPFLAGS = \
|
||||
$(dflt_cppflags) \
|
||||
-I$(srcdir)/shared \
|
||||
-I$(builddir)/shared \
|
||||
-I$(srcdir)/libnm-core \
|
||||
-I$(builddir)/libnm-core \
|
||||
$(CODE_COVERAGE_CFLAGS) \
|
||||
$(GLIB_CFLAGS) \
|
||||
$(SANITIZER_LIB_CFLAGS) \
|
||||
-DG_LOG_DOMAIN=\""libnm"\" \
|
||||
-DNETWORKMANAGER_COMPILATION='(NM_NETWORKMANAGER_COMPILATION_WITH_GLIB|NM_NETWORKMANAGER_COMPILATION_WITH_GLIB_I18N_LIB)' \
|
||||
$(NULL)
|
||||
|
||||
shared_nm_libnm_core_aux_libnm_libnm_core_aux_la_SOURCES = \
|
||||
shared/nm-libnm-core-aux/nm-dispatcher-api.h \
|
||||
$(NULL)
|
||||
|
||||
shared_nm_libnm_core_aux_libnm_libnm_core_aux_la_LDFLAGS = \
|
||||
$(CODE_COVERAGE_LDFLAGS) \
|
||||
$(SANITIZER_LIB_LDFLAGS) \
|
||||
$(NULL)
|
||||
|
||||
shared_nm_libnm_core_aux_libnm_libnm_core_aux_la_LIBADD = \
|
||||
$(GLIB_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
$(shared_nm_libnm_core_aux_libnm_libnm_core_aux_la_OBJECTS): $(libnm_core_lib_h_pub_mkenums)
|
||||
|
||||
###############################################################################
|
||||
|
||||
check_programs += shared/nm-utils/tests/test-shared-general
|
||||
|
||||
shared_nm_utils_tests_test_shared_general_CPPFLAGS = \
|
||||
|
|
@ -389,7 +484,7 @@ shared_nm_utils_tests_test_shared_general_LDFLAGS = \
|
|||
$(NULL)
|
||||
|
||||
shared_nm_utils_tests_test_shared_general_LDADD = \
|
||||
shared/nm-utils/libnm-utils-base.la \
|
||||
shared/nm-glib-aux/libnm-glib-aux.la \
|
||||
$(GLIB_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
|
|
@ -698,8 +793,6 @@ libnm_core_lib_h_pub_real = \
|
|||
libnm_core_lib_h_pub_mkenums = \
|
||||
libnm-core/nm-core-enum-types.h
|
||||
libnm_core_lib_h_priv = \
|
||||
shared/nm-ethtool-utils.h \
|
||||
shared/nm-libnm-core-utils.h \
|
||||
shared/nm-meta-setting.h \
|
||||
libnm-core/nm-crypto.h \
|
||||
libnm-core/nm-crypto-impl.h \
|
||||
|
|
@ -761,8 +854,6 @@ libnm_core_lib_c_settings_real = \
|
|||
libnm-core/nm-setting-wpan.c
|
||||
libnm_core_lib_c_real = \
|
||||
$(libnm_core_lib_c_settings_real) \
|
||||
shared/nm-ethtool-utils.c \
|
||||
shared/nm-libnm-core-utils.c \
|
||||
shared/nm-meta-setting.c \
|
||||
libnm-core/nm-crypto.c \
|
||||
libnm-core/nm-connection.c \
|
||||
|
|
@ -963,22 +1054,28 @@ libnm_core_tests_test_settings_defaults_CPPFLAGS = $(libnm_core_tests_cppflags)
|
|||
|
||||
libnm_core_tests_test_general_SOURCES = \
|
||||
libnm-core/tests/test-general-enums.h \
|
||||
libnm-core/tests/test-general.c
|
||||
libnm-core/tests/test-general.c \
|
||||
$(NULL)
|
||||
|
||||
nodist_libnm_core_tests_test_general_SOURCES = \
|
||||
libnm-core/tests/nm-core-tests-enum-types.c \
|
||||
libnm-core/tests/nm-core-tests-enum-types.h
|
||||
libnm-core/tests/nm-core-tests-enum-types.h \
|
||||
$(NULL)
|
||||
|
||||
libnm_core_tests_ldadd = \
|
||||
shared/nm-libnm-core-aux/libnm-libnm-core-aux.la \
|
||||
libnm-core/libnm-core.la \
|
||||
$(libnm_crypto_lib) \
|
||||
shared/nm-libnm-core-intern/libnm-libnm-core-intern.la \
|
||||
shared/systemd/libnm-systemd-shared.la \
|
||||
shared/systemd/libnm-systemd-logging-stub.la \
|
||||
shared/nm-utils/libnm-utils-base.la \
|
||||
$(libnm_crypto_lib) \
|
||||
$(GLIB_LIBS)
|
||||
shared/nm-glib-aux/libnm-glib-aux.la \
|
||||
$(GLIB_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
libnm_core_tests_ldflags = \
|
||||
$(SANITIZER_EXEC_LDFLAGS)
|
||||
$(SANITIZER_EXEC_LDFLAGS) \
|
||||
$(NULL)
|
||||
|
||||
libnm_core_tests_test_compare_LDADD = $(libnm_core_tests_ldadd)
|
||||
libnm_core_tests_test_crypto_LDADD = $(libnm_core_tests_ldadd)
|
||||
|
|
@ -1182,10 +1279,12 @@ libnm_libnm_utils_la_SOURCES = \
|
|||
libnm/nm-libnm-utils.c
|
||||
|
||||
libnm_libnm_utils_la_LIBADD = \
|
||||
shared/nm-libnm-core-aux/libnm-libnm-core-aux.la \
|
||||
libnm-core/libnm-core.la \
|
||||
$(libnm_crypto_lib) \
|
||||
shared/nm-libnm-core-intern/libnm-libnm-core-intern.la \
|
||||
introspection/libnmdbus.la \
|
||||
shared/nm-utils/libnm-utils-base.la \
|
||||
shared/nm-glib-aux/libnm-glib-aux.la \
|
||||
$(GLIB_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
|
|
@ -1230,7 +1329,7 @@ libnm_libnm_la_LIBADD = \
|
|||
libnm/libnm-utils.la \
|
||||
shared/systemd/libnm-systemd-shared.la \
|
||||
shared/systemd/libnm-systemd-logging-stub.la \
|
||||
shared/nm-utils/libnm-utils-udev.la \
|
||||
shared/nm-udev-aux/libnm-udev-aux.la \
|
||||
$(DL_LIBS) \
|
||||
$(GLIB_LIBS) \
|
||||
$(UUID_LIBS) \
|
||||
|
|
@ -1431,9 +1530,6 @@ libnm_tests_test_general_LDADD = \
|
|||
libnm/libnm-utils.la \
|
||||
$(libnm_tests_ldadd)
|
||||
|
||||
libnm_tests_test_general_LDFLAGS = \
|
||||
$(libnm_tests_ldflags)
|
||||
|
||||
libnm_tests_test_nm_client_LDADD = $(libnm_tests_ldadd)
|
||||
libnm_tests_test_remote_settings_client_LDADD = $(libnm_tests_ldadd)
|
||||
libnm_tests_test_secret_agent_LDADD = $(libnm_tests_ldadd)
|
||||
|
|
@ -1868,10 +1964,12 @@ src_libNetworkManagerBase_la_SOURCES += \
|
|||
endif
|
||||
|
||||
src_libNetworkManagerBase_la_LIBADD = \
|
||||
shared/nm-libnm-core-aux/libnm-libnm-core-aux.la \
|
||||
libnm-core/libnm-core.la \
|
||||
$(libnm_crypto_lib) \
|
||||
shared/nm-utils/libnm-utils-udev.la \
|
||||
shared/nm-utils/libnm-utils-base.la \
|
||||
shared/nm-libnm-core-intern/libnm-libnm-core-intern.la \
|
||||
shared/nm-udev-aux/libnm-udev-aux.la \
|
||||
shared/nm-glib-aux/libnm-glib-aux.la \
|
||||
$(GLIB_LIBS) \
|
||||
$(SYSTEMD_JOURNAL_LIBS) \
|
||||
$(LIBUDEV_LIBS) \
|
||||
|
|
@ -2174,11 +2272,10 @@ src_initrd_nm_initrd_generator_SOURCES = \
|
|||
src/initrd/nm-initrd-generator.c
|
||||
|
||||
src_initrd_nm_initrd_generator_LDADD = \
|
||||
libnm-core/libnm-core.la \
|
||||
src/initrd/libnmi-core.la \
|
||||
src/libNetworkManagerBase.la \
|
||||
shared/systemd/libnm-systemd-shared.la \
|
||||
shared/nm-utils/libnm-utils-base.la \
|
||||
shared/nm-glib-aux/libnm-glib-aux.la \
|
||||
$(GLIB_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
|
|
@ -2198,10 +2295,9 @@ src_initrd_tests_test_ibft_reader_LDFLAGS = \
|
|||
$(SANITIZER_EXEC_LDFLAGS)
|
||||
|
||||
src_initrd_tests_test_ibft_reader_LDADD = \
|
||||
libnm-core/libnm-core.la \
|
||||
src/initrd/libnmi-core.la \
|
||||
src/libNetworkManagerTest.la \
|
||||
shared/nm-utils/libnm-utils-base.la \
|
||||
shared/nm-glib-aux/libnm-glib-aux.la \
|
||||
$(GLIB_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
|
|
@ -2414,10 +2510,9 @@ src_initrd_tests_test_cmdline_reader_LDFLAGS = \
|
|||
$(SANITIZER_EXEC_LDFLAGS)
|
||||
|
||||
src_initrd_tests_test_cmdline_reader_LDADD = \
|
||||
libnm-core/libnm-core.la \
|
||||
src/initrd/libnmi-core.la \
|
||||
src/libNetworkManagerTest.la \
|
||||
shared/nm-utils/libnm-utils-base.la \
|
||||
shared/nm-glib-aux/libnm-glib-aux.la \
|
||||
$(GLIB_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
|
|
@ -3789,9 +3884,9 @@ $(dispatcher_nm_dispatcher_OBJECTS): $(dispatcher_nmdbus_dispatcher_sources)
|
|||
CLEANFILES += $(dispatcher_nmdbus_dispatcher_sources)
|
||||
|
||||
dispatcher_libnm_dispatcher_core_la_SOURCES = \
|
||||
shared/nm-dispatcher-api.h \
|
||||
dispatcher/nm-dispatcher-utils.c \
|
||||
dispatcher/nm-dispatcher-utils.h
|
||||
dispatcher/nm-dispatcher-utils.h \
|
||||
$(NULL)
|
||||
|
||||
dispatcher_libnm_dispatcher_core_la_CPPFLAGS = $(dispatcher_cppflags)
|
||||
|
||||
|
|
@ -3800,8 +3895,8 @@ dispatcher_libnm_dispatcher_core_la_LIBADD = \
|
|||
$(GLIB_LIBS)
|
||||
|
||||
dispatcher_nm_dispatcher_SOURCES = \
|
||||
shared/nm-dispatcher-api.h \
|
||||
dispatcher/nm-dispatcher.c
|
||||
dispatcher/nm-dispatcher.c \
|
||||
$(NULL)
|
||||
|
||||
nodist_dispatcher_nm_dispatcher_SOURCES = $(dispatcher_nmdbus_dispatcher_sources)
|
||||
|
||||
|
|
@ -3873,7 +3968,7 @@ dispatcher_tests_test_dispatcher_envp_LDFLAGS = \
|
|||
dispatcher_tests_test_dispatcher_envp_LDADD = \
|
||||
dispatcher/libnm-dispatcher-core.la \
|
||||
libnm/libnm.la \
|
||||
shared/nm-utils/libnm-utils-base.la \
|
||||
shared/nm-glib-aux/libnm-glib-aux.la \
|
||||
$(GLIB_LIBS)
|
||||
|
||||
$(dispatcher_tests_test_dispatcher_envp_OBJECTS): $(libnm_core_lib_h_pub_mkenums)
|
||||
|
|
@ -3956,7 +4051,7 @@ clients_common_libnmc_base_la_CPPFLAGS = \
|
|||
|
||||
clients_common_libnmc_base_la_LIBADD = \
|
||||
libnm/libnm.la \
|
||||
shared/nm-utils/libnm-utils-base.la \
|
||||
shared/nm-glib-aux/libnm-glib-aux.la \
|
||||
$(GLIB_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
|
|
@ -3991,11 +4086,6 @@ clients_common_libnmc_la_SOURCES = \
|
|||
shared/nm-meta-setting.c \
|
||||
shared/nm-meta-setting.h \
|
||||
\
|
||||
shared/nm-ethtool-utils.c \
|
||||
shared/nm-ethtool-utils.h \
|
||||
shared/nm-libnm-core-utils.c \
|
||||
shared/nm-libnm-core-utils.h \
|
||||
\
|
||||
clients/common/nm-meta-setting-desc.c \
|
||||
clients/common/nm-meta-setting-desc.h \
|
||||
clients/common/nm-meta-setting-access.c \
|
||||
|
|
@ -4008,8 +4098,10 @@ clients_common_libnmc_la_CPPFLAGS = \
|
|||
$(NULL)
|
||||
|
||||
clients_common_libnmc_la_LIBADD = \
|
||||
libnm/libnm.la \
|
||||
clients/common/libnmc-base.la \
|
||||
libnm/libnm.la \
|
||||
shared/nm-libnm-core-aux/libnm-libnm-core-aux.la \
|
||||
shared/nm-libnm-core-intern/libnm-libnm-core-intern.la \
|
||||
$(GLIB_LIBS)
|
||||
|
||||
$(clients_common_libnmc_la_OBJECTS): $(libnm_core_lib_h_pub_mkenums)
|
||||
|
|
@ -4548,7 +4640,7 @@ nm_utils_enum_types_sources = $(filter-out libnm-util/NetworkManager%,$(libnm_ut
|
|||
$(libnm_util_libnm_util_la_OBJECTS): $(libnm_util_lib_h_pub_mkenums)
|
||||
|
||||
libnm_util_libnm_util_la_LIBADD = \
|
||||
shared/nm-utils/libnm-utils-base.la \
|
||||
shared/nm-glib-aux/libnm-glib-aux.la \
|
||||
$(GLIB_LIBS) \
|
||||
$(DBUS_LIBS) \
|
||||
$(UUID_LIBS)
|
||||
|
|
@ -4870,7 +4962,7 @@ libnm_glib_libnm_glib_la_LDFLAGS = \
|
|||
libnm_glib_libnm_glib_la_LIBADD = \
|
||||
libnm-util/libnm-util.la \
|
||||
libnm-glib/libdeprecated-nm-glib.la \
|
||||
shared/nm-utils/libnm-utils-udev.la \
|
||||
shared/nm-udev-aux/libnm-udev-aux.la \
|
||||
$(GLIB_LIBS) \
|
||||
$(DBUS_LIBS) \
|
||||
$(LIBUDEV_LIBS) \
|
||||
|
|
@ -5284,15 +5376,11 @@ EXTRA_DIST += \
|
|||
\
|
||||
po/meson.build \
|
||||
\
|
||||
shared/nm-common-macros.h \
|
||||
shared/nm-dbus-compat.h \
|
||||
shared/nm-default.h \
|
||||
shared/nm-dispatcher-api.h \
|
||||
shared/nm-test-libnm-utils.h \
|
||||
shared/nm-test-utils-impl.c \
|
||||
shared/nm-utils/nm-compat.c \
|
||||
shared/nm-utils/nm-compat.h \
|
||||
shared/nm-utils/nm-jansson.h \
|
||||
shared/nm-utils/nm-test-utils.h \
|
||||
shared/nm-utils/nm-vpn-editor-plugin-call.h \
|
||||
shared/nm-utils/nm-vpn-plugin-macros.h \
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "nm-common-macros.h"
|
||||
#include "nm-libnm-core-intern/nm-common-macros.h"
|
||||
|
||||
#include "nm-client-utils.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ deps = [
|
|||
libnm_dep,
|
||||
libnmc_base_dep,
|
||||
libnmc_dep,
|
||||
nm_core_dep,
|
||||
libnm_core_dep,
|
||||
readline_dep,
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#include "nm-common-macros.h"
|
||||
#include "nm-libnm-core-intern/nm-common-macros.h"
|
||||
|
||||
#include "nm-client-utils.h"
|
||||
#include "nm-vpn-helpers.h"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ nm_polkit_listener = files('nm-polkit-listener.c')
|
|||
|
||||
deps = [
|
||||
libnm_dep,
|
||||
nm_core_dep,
|
||||
shared_nm_libnm_core_aux_dep,
|
||||
]
|
||||
|
||||
cflags = clients_cflags + [
|
||||
|
|
@ -55,7 +55,7 @@ libnmc = static_library(
|
|||
sources: files(
|
||||
'nm-meta-setting-access.c',
|
||||
'nm-meta-setting-desc.c',
|
||||
) + shared_nm_meta_setting_c + shared_nm_ethtool_utils_c + shared_nm_libnm_core_utils_c + [settings_docs_source],
|
||||
) + shared_nm_meta_setting_c + [settings_docs_source],
|
||||
dependencies: deps,
|
||||
c_args: cflags,
|
||||
link_with: libnmc_base,
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
#include "nm-meta-setting.h"
|
||||
#include "nm-active-connection.h"
|
||||
#include "nm-device.h"
|
||||
#include "nm-libnm-core-utils.h"
|
||||
#include "nm-libnm-core-intern/nm-libnm-core-utils.h"
|
||||
|
||||
const NMObject **nmc_objects_sort_by_path (const NMObject *const*objs, gssize len);
|
||||
|
||||
|
|
|
|||
|
|
@ -24,10 +24,10 @@
|
|||
#include <stdlib.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#include "nm-common-macros.h"
|
||||
#include "nm-utils/nm-enum-utils.h"
|
||||
#include "nm-utils/nm-secret-utils.h"
|
||||
#include "nm-libnm-core-utils.h"
|
||||
#include "nm-libnm-core-intern/nm-common-macros.h"
|
||||
#include "nm-glib-aux/nm-enum-utils.h"
|
||||
#include "nm-glib-aux/nm-secret-utils.h"
|
||||
#include "nm-libnm-core-intern/nm-libnm-core-utils.h"
|
||||
|
||||
#include "nm-vpn-helpers.h"
|
||||
#include "nm-client-utils.h"
|
||||
|
|
|
|||
|
|
@ -20,9 +20,9 @@
|
|||
#ifndef __NM_META_SETTING_DESC_H__
|
||||
#define __NM_META_SETTING_DESC_H__
|
||||
|
||||
#include "nm-utils/nm-obj.h"
|
||||
#include "nm-glib-aux/nm-obj.h"
|
||||
#include "nm-meta-setting.h"
|
||||
#include "nm-ethtool-utils.h"
|
||||
#include "nm-libnm-core-intern/nm-ethtool-utils.h"
|
||||
|
||||
struct _NMDevice;
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
#include "nm-vpn-service-plugin.h"
|
||||
#include "nm-vpn-helpers.h"
|
||||
#include "nm-utils/nm-secret-utils.h"
|
||||
#include "nm-glib-aux/nm-secret-utils.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
|
|
|
|||
|
|
@ -30,8 +30,8 @@
|
|||
|
||||
#include "nm-client-utils.h"
|
||||
#include "nm-utils.h"
|
||||
#include "nm-utils/nm-io-utils.h"
|
||||
#include "nm-utils/nm-secret-utils.h"
|
||||
#include "nm-glib-aux/nm-io-utils.h"
|
||||
#include "nm-glib-aux/nm-secret-utils.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ deps = [
|
|||
libnm_dep,
|
||||
libnmc_dep,
|
||||
libnmc_base_dep,
|
||||
nm_core_dep,
|
||||
libnm_core_dep,
|
||||
]
|
||||
|
||||
exe = executable(
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ name = 'nm-online'
|
|||
|
||||
deps = [
|
||||
libnm_dep,
|
||||
nm_core_dep,
|
||||
libnm_core_dep,
|
||||
]
|
||||
|
||||
clients_cflags = [
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ name = 'nmtui'
|
|||
|
||||
deps = [
|
||||
newt_dep,
|
||||
nm_core_dep,
|
||||
libnm_core_dep,
|
||||
]
|
||||
|
||||
cflags = clients_cflags + [
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
#include "nmt-mac-entry.h"
|
||||
|
||||
#include "nm-common-macros.h"
|
||||
#include "nm-libnm-core-intern/nm-common-macros.h"
|
||||
|
||||
G_DEFINE_TYPE (NmtMacEntry, nmt_mac_entry, NMT_TYPE_NEWT_ENTRY)
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ sources = files('nm-dispatcher-utils.c')
|
|||
|
||||
deps = [
|
||||
libnm_dep,
|
||||
nm_core_dep,
|
||||
libnm_core_dep,
|
||||
]
|
||||
|
||||
cflags = [
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
#include "nm-setting-ip6-config.h"
|
||||
#include "nm-setting-connection.h"
|
||||
|
||||
#include "nm-dispatcher-api.h"
|
||||
#include "nm-libnm-core-aux/nm-dispatcher-api.h"
|
||||
#include "nm-utils.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
#include <arpa/inet.h>
|
||||
#include <glib-unix.h>
|
||||
|
||||
#include "nm-dispatcher-api.h"
|
||||
#include "nm-libnm-core-aux/nm-dispatcher-api.h"
|
||||
#include "nm-dispatcher-utils.h"
|
||||
|
||||
#include "nmdbus-dispatcher.h"
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ exe = executable(
|
|||
test_unit,
|
||||
test_unit + '.c',
|
||||
include_directories: incs,
|
||||
dependencies: nm_core_dep,
|
||||
dependencies: libnm_core_dep,
|
||||
c_args: [
|
||||
'-DNETWORKMANAGER_COMPILATION_TEST',
|
||||
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
#include "nm-dispatcher-utils.h"
|
||||
#include "nm-dispatcher-api.h"
|
||||
#include "nm-libnm-core-aux/nm-dispatcher-api.h"
|
||||
|
||||
#include "nm-utils/nm-test-utils.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,6 @@ foreach example: examples
|
|||
example[0],
|
||||
[example[0] + '.c'] + example[1],
|
||||
include_directories: example[2],
|
||||
dependencies: [nm_core_dep] + example[3],
|
||||
dependencies: [libnm_core_dep] + example[3],
|
||||
)
|
||||
endforeach
|
||||
|
|
|
|||
|
|
@ -139,14 +139,57 @@ libnm_core_enum = gnome.mkenums(
|
|||
install_dir: libnm_pkgincludedir,
|
||||
)
|
||||
|
||||
libnm_core_enum_dep = declare_dependency(
|
||||
sources: libnm_core_enum[1],
|
||||
)
|
||||
|
||||
###############################################################################
|
||||
|
||||
shared_nm_libnm_core_intern = static_library(
|
||||
'nm-libnm-core-intern',
|
||||
sources: files('../shared/nm-libnm-core-intern/nm-ethtool-utils.c',
|
||||
'../shared/nm-libnm-core-intern/nm-libnm-core-utils.c'),
|
||||
c_args: [
|
||||
'-DG_LOG_DOMAIN="@0@"'.format(libnm_name),
|
||||
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_LIBNM_CORE',
|
||||
],
|
||||
include_directories: [
|
||||
top_inc,
|
||||
shared_inc,
|
||||
libnm_core_inc,
|
||||
],
|
||||
dependencies: [
|
||||
glib_dep,
|
||||
shared_c_siphash_dep,
|
||||
shared_nm_glib_aux_dep,
|
||||
libnm_core_enum_dep,
|
||||
],
|
||||
)
|
||||
|
||||
shared_nm_libnm_core_intern_dep = declare_dependency(
|
||||
link_with: shared_nm_libnm_core_intern,
|
||||
include_directories: [
|
||||
top_inc,
|
||||
shared_inc,
|
||||
],
|
||||
dependencies: [
|
||||
glib_dep,
|
||||
shared_nm_glib_aux_dep,
|
||||
libnm_systemd_shared_dep,
|
||||
],
|
||||
)
|
||||
|
||||
###############################################################################
|
||||
|
||||
deps = [
|
||||
dl_dep,
|
||||
libudev_dep,
|
||||
uuid_dep,
|
||||
glib_dep,
|
||||
shared_c_siphash_dep,
|
||||
shared_nm_utils_base_dep,
|
||||
shared_nm_utils_udev_dep,
|
||||
shared_nm_glib_aux_dep,
|
||||
shared_nm_udev_aux_dep,
|
||||
shared_nm_libnm_core_intern_dep,
|
||||
]
|
||||
|
||||
cflags = [
|
||||
|
|
@ -188,8 +231,6 @@ endif
|
|||
libnm_core_sources_all = libnm_core_sources
|
||||
libnm_core_sources_all += libnm_core_enum
|
||||
libnm_core_sources_all += shared_nm_meta_setting_c
|
||||
libnm_core_sources_all += shared_nm_ethtool_utils_c
|
||||
libnm_core_sources_all += shared_nm_libnm_core_utils_c
|
||||
libnm_core_sources_all += [version_header]
|
||||
|
||||
libnm_core = static_library(
|
||||
|
|
@ -200,16 +241,54 @@ libnm_core = static_library(
|
|||
c_args: cflags,
|
||||
)
|
||||
|
||||
nm_core_dep = declare_dependency(
|
||||
libnm_core_dep = declare_dependency(
|
||||
sources: libnm_core_enum[1],
|
||||
include_directories: libnm_core_inc,
|
||||
dependencies: [
|
||||
shared_nm_utils_base_dep,
|
||||
shared_nm_libnm_core_intern_dep,
|
||||
shared_nm_glib_aux_dep,
|
||||
shared_c_siphash_dep,
|
||||
libnm_systemd_shared_dep,
|
||||
],
|
||||
)
|
||||
|
||||
###############################################################################
|
||||
|
||||
shared_nm_libnm_core_aux = static_library(
|
||||
'nm-libnm-core-aux',
|
||||
sources: files('../shared/nm-libnm-core-aux/nm-dispatcher-api.h'),
|
||||
c_args: [
|
||||
'-DG_LOG_DOMAIN="@0@"'.format(libnm_name),
|
||||
'-DNETWORKMANAGER_COMPILATION=(NM_NETWORKMANAGER_COMPILATION_WITH_GLIB|NM_NETWORKMANAGER_COMPILATION_WITH_GLIB_I18N_LIB)',
|
||||
],
|
||||
include_directories: [
|
||||
top_inc,
|
||||
shared_inc,
|
||||
libnm_core_inc,
|
||||
],
|
||||
dependencies: [
|
||||
glib_dep,
|
||||
shared_c_siphash_dep,
|
||||
shared_nm_glib_aux_dep,
|
||||
],
|
||||
)
|
||||
|
||||
shared_nm_libnm_core_aux_dep = declare_dependency(
|
||||
link_with: shared_nm_libnm_core_aux,
|
||||
include_directories: [
|
||||
top_inc,
|
||||
shared_inc,
|
||||
],
|
||||
dependencies: [
|
||||
libnm_core_dep,
|
||||
glib_dep,
|
||||
shared_nm_glib_aux_dep,
|
||||
libnm_systemd_shared_dep,
|
||||
],
|
||||
)
|
||||
|
||||
###############################################################################
|
||||
|
||||
enums_to_docbook = join_paths(meson.source_root(), 'tools', 'enums-to-docbook.pl')
|
||||
|
||||
docbooks = [
|
||||
|
|
@ -234,6 +313,8 @@ foreach docbook: docbooks
|
|||
content_files += xml.full_path()
|
||||
endforeach
|
||||
|
||||
###############################################################################
|
||||
|
||||
if enable_tests
|
||||
subdir('tests')
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@
|
|||
#include "nm-utils.h"
|
||||
#include "nm-vpn-dbus-interface.h"
|
||||
#include "nm-vpn-editor-plugin.h"
|
||||
#include "nm-libnm-core-utils.h"
|
||||
#include "nm-libnm-core-intern/nm-libnm-core-utils.h"
|
||||
|
||||
/* IEEE 802.1D-1998 timer values */
|
||||
#define NM_BR_MIN_HELLO_TIME 1
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
#include <gnutls/x509.h>
|
||||
#include <gnutls/pkcs12.h>
|
||||
|
||||
#include "nm-utils/nm-secret-utils.h"
|
||||
#include "nm-glib-aux/nm-secret-utils.h"
|
||||
#include "nm-errors.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
#include <ciferfam.h>
|
||||
#include <p12plcy.h>
|
||||
|
||||
#include "nm-utils/nm-secret-utils.h"
|
||||
#include "nm-glib-aux/nm-secret-utils.h"
|
||||
#include "nm-errors.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@
|
|||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "nm-utils/nm-secret-utils.h"
|
||||
#include "nm-utils/nm-io-utils.h"
|
||||
#include "nm-glib-aux/nm-secret-utils.h"
|
||||
#include "nm-glib-aux/nm-io-utils.h"
|
||||
|
||||
#include "nm-crypto-impl.h"
|
||||
#include "nm-utils.h"
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ gboolean nm_jansson_load (void);
|
|||
#define json_integer_value (*_nm_jansson_json_integer_value)
|
||||
#define json_string_value (*_nm_jansson_json_string_value)
|
||||
|
||||
#include "nm-utils/nm-jansson.h"
|
||||
#include "nm-glib-aux/nm-jansson.h"
|
||||
#endif
|
||||
|
||||
#endif /* __NM_JSON_H__ */
|
||||
|
|
|
|||
|
|
@ -31,9 +31,9 @@
|
|||
#include <arpa/inet.h>
|
||||
#include <linux/pkt_sched.h>
|
||||
|
||||
#include "nm-utils/nm-secret-utils.h"
|
||||
#include "nm-glib-aux/nm-secret-utils.h"
|
||||
#include "systemd/nm-sd-utils-shared.h"
|
||||
#include "nm-common-macros.h"
|
||||
#include "nm-libnm-core-intern/nm-common-macros.h"
|
||||
#include "nm-core-internal.h"
|
||||
#include "nm-keyfile-utils.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include "nm-setting-8021x.h"
|
||||
|
||||
#include "nm-utils/nm-secret-utils.h"
|
||||
#include "nm-glib-aux/nm-secret-utils.h"
|
||||
#include "nm-utils.h"
|
||||
#include "nm-crypto.h"
|
||||
#include "nm-utils-private.h"
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
#include "nm-setting-ethtool.h"
|
||||
|
||||
#include "nm-setting-private.h"
|
||||
#include "nm-ethtool-utils.h"
|
||||
#include "nm-libnm-core-intern/nm-ethtool-utils.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "nm-utils/nm-secret-utils.h"
|
||||
#include "nm-glib-aux/nm-secret-utils.h"
|
||||
|
||||
#include "nm-utils.h"
|
||||
#include "nm-core-types-internal.h"
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "nm-libnm-core-utils.h"
|
||||
#include "nm-libnm-core-intern/nm-libnm-core-utils.h"
|
||||
#include "nm-utils.h"
|
||||
#include "nm-core-types-internal.h"
|
||||
#include "nm-setting-connection.h"
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "nm-utils/nm-secret-utils.h"
|
||||
#include "nm-glib-aux/nm-secret-utils.h"
|
||||
#include "nm-utils.h"
|
||||
#include "nm-utils-private.h"
|
||||
#include "nm-setting-private.h"
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
#include <net/ethernet.h>
|
||||
|
||||
#include "nm-utils.h"
|
||||
#include "nm-common-macros.h"
|
||||
#include "nm-libnm-core-intern/nm-common-macros.h"
|
||||
#include "nm-utils-private.h"
|
||||
#include "nm-setting-private.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
#include <net/ethernet.h>
|
||||
|
||||
#include "nm-utils.h"
|
||||
#include "nm-common-macros.h"
|
||||
#include "nm-libnm-core-intern/nm-common-macros.h"
|
||||
#include "nm-utils-private.h"
|
||||
#include "nm-setting-private.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
#include "nm-setting-private.h"
|
||||
#include "nm-utils-private.h"
|
||||
#include "nm-connection-private.h"
|
||||
#include "nm-utils/nm-secret-utils.h"
|
||||
#include "nm-glib-aux/nm-secret-utils.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
#include <net/ethernet.h>
|
||||
|
||||
#include "nm-utils.h"
|
||||
#include "nm-common-macros.h"
|
||||
#include "nm-libnm-core-intern/nm-common-macros.h"
|
||||
#include "nm-utils-private.h"
|
||||
#include "nm-setting-private.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -37,10 +37,10 @@
|
|||
#include "nm-json.h"
|
||||
#endif
|
||||
|
||||
#include "nm-utils/nm-enum-utils.h"
|
||||
#include "nm-utils/nm-secret-utils.h"
|
||||
#include "nm-glib-aux/nm-enum-utils.h"
|
||||
#include "nm-glib-aux/nm-secret-utils.h"
|
||||
#include "systemd/nm-sd-utils-shared.h"
|
||||
#include "nm-common-macros.h"
|
||||
#include "nm-libnm-core-intern/nm-common-macros.h"
|
||||
#include "nm-utils-private.h"
|
||||
#include "nm-setting-private.h"
|
||||
#include "nm-crypto.h"
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ foreach test_unit: test_units
|
|||
'libnm-core-' + test_unit,
|
||||
[test_unit + '.c'] + enum,
|
||||
dependencies: [
|
||||
nm_core_dep,
|
||||
libnm_core_dep,
|
||||
libnm_systemd_shared_no_logging_dep,
|
||||
],
|
||||
c_args: [
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
#include "nm-default.h"
|
||||
|
||||
#include "nm-utils/c-list-util.h"
|
||||
#include "nm-utils/nm-enum-utils.h"
|
||||
#include "nm-std-aux/c-list-util.h"
|
||||
#include "nm-glib-aux/nm-enum-utils.h"
|
||||
|
||||
#include "nm-utils.h"
|
||||
#include "nm-setting-private.h"
|
||||
|
|
@ -63,8 +63,8 @@
|
|||
#include "nm-setting-wpan.h"
|
||||
#include "nm-simple-connection.h"
|
||||
#include "nm-keyfile-internal.h"
|
||||
#include "nm-utils/nm-dedup-multi.h"
|
||||
#include "nm-ethtool-utils.h"
|
||||
#include "nm-glib-aux/nm-dedup-multi.h"
|
||||
#include "nm-libnm-core-intern/nm-ethtool-utils.h"
|
||||
|
||||
#include "test-general-enums.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ dbus_binding_tool = find_program('dbus-binding-tool')
|
|||
common_deps = [
|
||||
dbus_dep,
|
||||
dbus_glib_dep,
|
||||
shared_nm_utils_base_dep,
|
||||
shared_nm_glib_aux_dep,
|
||||
]
|
||||
|
||||
common_cflags = [
|
||||
|
|
@ -196,7 +196,7 @@ libnm_glib = shared_library(
|
|||
dependencies: common_deps + [
|
||||
libnm_util_dep,
|
||||
libudev_dep,
|
||||
shared_nm_utils_udev_dep,
|
||||
shared_nm_udev_aux_dep,
|
||||
],
|
||||
c_args: cflags,
|
||||
link_whole: libdeprecated_nm_glib,
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
#include <string.h>
|
||||
|
||||
#include "nm-utils.h"
|
||||
#include "nm-common-macros.h"
|
||||
#include "nm-libnm-core-intern/nm-common-macros.h"
|
||||
|
||||
#include "nm-device-ethernet.h"
|
||||
#include "nm-device-wifi.h"
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
#include "NetworkManager.h"
|
||||
|
||||
#include "nm-utils/nm-udev-utils.h"
|
||||
#include "nm-udev-aux/nm-udev-utils.h"
|
||||
#include "nm-device-ethernet.h"
|
||||
#include "nm-device-adsl.h"
|
||||
#include "nm-device-wifi.h"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ deps = [
|
|||
dbus_glib_dep,
|
||||
libnm_glib_dep,
|
||||
libnm_util_dep,
|
||||
shared_nm_utils_base_dep,
|
||||
shared_nm_glib_aux_dep,
|
||||
]
|
||||
|
||||
test_units = [
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ sources = files(
|
|||
deps = [
|
||||
dbus_dep,
|
||||
dbus_glib_dep,
|
||||
shared_nm_utils_base_dep,
|
||||
shared_nm_glib_aux_dep,
|
||||
uuid_dep,
|
||||
]
|
||||
|
||||
|
|
@ -201,7 +201,7 @@ sources = files(
|
|||
)
|
||||
|
||||
deps = [
|
||||
shared_nm_utils_base_dep,
|
||||
shared_nm_glib_aux_dep,
|
||||
]
|
||||
|
||||
libtest_crypto = static_library(
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ deps = [
|
|||
dbus_dep,
|
||||
dbus_glib_dep,
|
||||
libnm_util_dep,
|
||||
shared_nm_utils_base_dep,
|
||||
shared_nm_glib_aux_dep,
|
||||
]
|
||||
|
||||
cflags = common_cflags + [
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ libnm_utils_sources = files('nm-libnm-utils.c')
|
|||
|
||||
deps = [
|
||||
libnmdbus_dep,
|
||||
shared_nm_utils_base_dep,
|
||||
nm_core_dep,
|
||||
shared_nm_glib_aux_dep,
|
||||
libnm_core_dep,
|
||||
]
|
||||
|
||||
if have_fake_typelibs
|
||||
|
|
@ -158,8 +158,8 @@ libnm = shared_library(
|
|||
dependencies: [
|
||||
dl_dep,
|
||||
libudev_dep,
|
||||
shared_nm_utils_base_dep,
|
||||
nm_core_dep,
|
||||
shared_nm_glib_aux_dep,
|
||||
libnm_core_dep,
|
||||
uuid_dep,
|
||||
libnm_systemd_shared_no_logging_dep,
|
||||
],
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
#error Cannot use this header.
|
||||
#endif
|
||||
|
||||
#include "nm-dbus-compat.h"
|
||||
#include "nm-std-aux/nm-dbus-compat.h"
|
||||
|
||||
GBusType _nm_dbus_bus_type (void);
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
#include "nm-dbus-helpers.h"
|
||||
#include "nm-device-tun.h"
|
||||
#include "nm-setting-connection.h"
|
||||
#include "shared/nm-utils/nm-udev-utils.h"
|
||||
#include "nm-udev-aux/nm-udev-utils.h"
|
||||
|
||||
#include "introspection/org.freedesktop.NetworkManager.Device.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include "nm-utils.h"
|
||||
#include "nm-checkpoint.h"
|
||||
#include "nm-common-macros.h"
|
||||
#include "nm-libnm-core-intern/nm-common-macros.h"
|
||||
#include "nm-device-ethernet.h"
|
||||
#include "nm-device-wifi.h"
|
||||
#include "nm-core-internal.h"
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
#include <signal.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "nm-utils/nm-secret-utils.h"
|
||||
#include "nm-glib-aux/nm-secret-utils.h"
|
||||
#include "nm-enum-types.h"
|
||||
#include "nm-utils.h"
|
||||
#include "nm-connection.h"
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ foreach test_unit: test_units
|
|||
],
|
||||
dependencies: [
|
||||
libnm_dep,
|
||||
nm_core_dep,
|
||||
libnm_core_dep,
|
||||
libnm_systemd_shared_no_logging_dep,
|
||||
],
|
||||
c_args: cflags,
|
||||
|
|
@ -39,6 +39,6 @@ libnm_vpn_plugin_utils_test = static_library(
|
|||
'nm-vpn-plugin-utils-test',
|
||||
sources: shared_nm_utils_nm_vpn_plugin_utils_c + [libnm_enum[1]],
|
||||
include_directories: libnm_inc,
|
||||
dependencies: nm_core_dep,
|
||||
dependencies: libnm_core_dep,
|
||||
c_args: cflags,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@ libnm/nm-remote-settings.c
|
|||
libnm/nm-vpn-plugin-old.c
|
||||
libnm/nm-vpn-service-plugin.c
|
||||
data/org.freedesktop.NetworkManager.policy.in.in
|
||||
shared/nm-utils/nm-shared-utils.c
|
||||
shared/nm-glib-aux/nm-shared-utils.c
|
||||
src/NetworkManagerUtils.c
|
||||
src/main.c
|
||||
src/main-utils.c
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
shared_inc = include_directories('.')
|
||||
|
||||
###############################################################################
|
||||
|
||||
shared_c_siphash = static_library(
|
||||
'c-siphash',
|
||||
sources: 'c-siphash/src/c-siphash.c',
|
||||
|
|
@ -10,6 +12,8 @@ shared_c_siphash_dep = declare_dependency(
|
|||
link_with: shared_c_siphash,
|
||||
)
|
||||
|
||||
###############################################################################
|
||||
|
||||
shared_c_rbtree = static_library(
|
||||
'c-rbtree',
|
||||
c_args: '-std=c11',
|
||||
|
|
@ -23,6 +27,7 @@ shared_c_rbtree_dep = declare_dependency(
|
|||
link_with: shared_c_rbtree,
|
||||
)
|
||||
|
||||
###############################################################################
|
||||
|
||||
if enable_ebpf
|
||||
shared_n_acd_bpf_files = files('n-acd/src/n-acd-bpf.c')
|
||||
|
|
@ -62,6 +67,8 @@ shared_n_acd_dep = declare_dependency(
|
|||
link_with: shared_n_acd,
|
||||
)
|
||||
|
||||
###############################################################################
|
||||
|
||||
version_conf = configuration_data()
|
||||
version_conf.set('NM_MAJOR_VERSION', nm_major_version)
|
||||
version_conf.set('NM_MINOR_VERSION', nm_minor_version)
|
||||
|
|
@ -73,10 +80,6 @@ version_header = configure_file(
|
|||
configuration: version_conf,
|
||||
)
|
||||
|
||||
shared_nm_ethtool_utils_c = files('nm-ethtool-utils.c')
|
||||
|
||||
shared_nm_libnm_core_utils_c = files('nm-libnm-core-utils.c')
|
||||
|
||||
shared_nm_meta_setting_c = files('nm-meta-setting.c')
|
||||
|
||||
shared_nm_test_utils_impl_c = files('nm-test-utils-impl.c')
|
||||
|
|
@ -85,35 +88,60 @@ shared_nm_utils_nm_vpn_plugin_utils_c = files('nm-utils/nm-vpn-plugin-utils.c')
|
|||
|
||||
###############################################################################
|
||||
|
||||
shared_nm_utils_c_args = [
|
||||
shared_nm_std_aux = static_library(
|
||||
'nm-std-aux',
|
||||
sources: files('nm-std-aux/c-list-util.c'),
|
||||
c_args: [
|
||||
'-DG_LOG_DOMAIN="@0@"'.format(libnm_name),
|
||||
'-DNETWORKMANAGER_COMPILATION=0',
|
||||
],
|
||||
include_directories: [
|
||||
top_inc,
|
||||
shared_inc,
|
||||
],
|
||||
dependencies: [
|
||||
],
|
||||
)
|
||||
|
||||
shared_nm_std_aux_dep = declare_dependency(
|
||||
link_with: shared_nm_std_aux,
|
||||
include_directories: [
|
||||
top_inc,
|
||||
shared_inc,
|
||||
],
|
||||
)
|
||||
|
||||
###############################################################################
|
||||
|
||||
shared_nm_glib_aux_c_args = [
|
||||
'-DG_LOG_DOMAIN="@0@"'.format(libnm_name),
|
||||
'-DNETWORKMANAGER_COMPILATION=(NM_NETWORKMANAGER_COMPILATION_GLIB|NM_NETWORKMANAGER_COMPILATION_WITH_GLIB_I18N_LIB)',
|
||||
]
|
||||
|
||||
shared_nm_utils_base = static_library(
|
||||
shared_nm_glib_aux = static_library(
|
||||
'nm-utils-base',
|
||||
sources: files('nm-utils/c-list-util.c',
|
||||
'nm-utils/nm-dedup-multi.c',
|
||||
'nm-utils/nm-enum-utils.c',
|
||||
'nm-utils/nm-errno.c',
|
||||
'nm-utils/nm-hash-utils.c',
|
||||
'nm-utils/nm-io-utils.c',
|
||||
'nm-utils/nm-random-utils.c',
|
||||
'nm-utils/nm-secret-utils.c',
|
||||
'nm-utils/nm-shared-utils.c',
|
||||
'nm-utils/nm-time-utils.c'),
|
||||
c_args: shared_nm_utils_c_args,
|
||||
sources: files('nm-glib-aux/nm-dedup-multi.c',
|
||||
'nm-glib-aux/nm-enum-utils.c',
|
||||
'nm-glib-aux/nm-errno.c',
|
||||
'nm-glib-aux/nm-hash-utils.c',
|
||||
'nm-glib-aux/nm-io-utils.c',
|
||||
'nm-glib-aux/nm-random-utils.c',
|
||||
'nm-glib-aux/nm-secret-utils.c',
|
||||
'nm-glib-aux/nm-shared-utils.c',
|
||||
'nm-glib-aux/nm-time-utils.c'),
|
||||
c_args: shared_nm_glib_aux_c_args,
|
||||
include_directories: [
|
||||
top_inc,
|
||||
shared_inc,
|
||||
],
|
||||
dependencies: [
|
||||
glib_dep,
|
||||
shared_nm_std_aux_dep,
|
||||
],
|
||||
)
|
||||
|
||||
shared_nm_utils_base_dep = declare_dependency(
|
||||
link_with: shared_nm_utils_base,
|
||||
shared_nm_glib_aux_dep = declare_dependency(
|
||||
link_with: shared_nm_glib_aux,
|
||||
include_directories: [
|
||||
top_inc,
|
||||
shared_inc,
|
||||
|
|
@ -121,50 +149,34 @@ shared_nm_utils_base_dep = declare_dependency(
|
|||
dependencies: glib_dep,
|
||||
)
|
||||
|
||||
shared_nm_utils_udev = static_library(
|
||||
'nm-utils-udev',
|
||||
sources: files('nm-utils/nm-udev-utils.c'),
|
||||
c_args: shared_nm_utils_c_args,
|
||||
include_directories: [
|
||||
top_inc,
|
||||
shared_inc,
|
||||
],
|
||||
dependencies: [
|
||||
glib_dep,
|
||||
shared_nm_utils_base_dep,
|
||||
libudev_dep,
|
||||
],
|
||||
)
|
||||
|
||||
shared_nm_utils_udev_dep = declare_dependency(
|
||||
link_with: shared_nm_utils_udev,
|
||||
include_directories: [
|
||||
top_inc,
|
||||
shared_inc,
|
||||
],
|
||||
dependencies: [
|
||||
glib_dep,
|
||||
shared_nm_utils_base_dep,
|
||||
libudev_dep,
|
||||
],
|
||||
)
|
||||
|
||||
###############################################################################
|
||||
|
||||
test_shared_general = executable(
|
||||
'nm-utils/tests/test-shared-general',
|
||||
[ 'nm-utils/tests/test-shared-general.c', ],
|
||||
c_args: [
|
||||
'-DNETWORKMANAGER_COMPILATION_TEST',
|
||||
'-DNETWORKMANAGER_COMPILATION=(NM_NETWORKMANAGER_COMPILATION_GLIB|NM_NETWORKMANAGER_COMPILATION_WITH_GLIB_I18N_PROG)',
|
||||
shared_nm_udev_aux = static_library(
|
||||
'nm-udev-aux',
|
||||
sources: files('nm-udev-aux/nm-udev-utils.c'),
|
||||
c_args: shared_nm_glib_aux_c_args,
|
||||
include_directories: [
|
||||
top_inc,
|
||||
shared_inc,
|
||||
],
|
||||
dependencies: [
|
||||
glib_dep,
|
||||
shared_nm_glib_aux_dep,
|
||||
libudev_dep,
|
||||
],
|
||||
dependencies: shared_nm_utils_base_dep,
|
||||
link_with: shared_c_siphash,
|
||||
)
|
||||
test(
|
||||
'shared/nm-utils/test-shared-general',
|
||||
test_script,
|
||||
args: test_args + [test_shared_general.full_path()]
|
||||
|
||||
shared_nm_udev_aux_dep = declare_dependency(
|
||||
link_with: shared_nm_udev_aux,
|
||||
include_directories: [
|
||||
top_inc,
|
||||
shared_inc,
|
||||
],
|
||||
dependencies: [
|
||||
glib_dep,
|
||||
shared_nm_glib_aux_dep,
|
||||
libudev_dep,
|
||||
],
|
||||
)
|
||||
|
||||
###############################################################################
|
||||
|
|
@ -209,7 +221,7 @@ libnm_systemd_shared = static_library(
|
|||
'systemd/sd-adapt-shared',
|
||||
'systemd/src/basic',
|
||||
),
|
||||
dependencies: shared_nm_utils_base_dep,
|
||||
dependencies: shared_nm_glib_aux_dep,
|
||||
c_args: [
|
||||
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_SYSTEMD_SHARED',
|
||||
'-DG_LOG_DOMAIN="libnm"',
|
||||
|
|
@ -222,7 +234,7 @@ libnm_systemd_shared_dep = declare_dependency(
|
|||
'systemd/src/basic',
|
||||
),
|
||||
dependencies: [
|
||||
shared_nm_utils_base_dep,
|
||||
shared_nm_glib_aux_dep,
|
||||
],
|
||||
link_with: [
|
||||
libnm_systemd_shared,
|
||||
|
|
@ -238,7 +250,7 @@ libnm_systemd_logging_stub = static_library(
|
|||
'systemd/sd-adapt-shared',
|
||||
'systemd/src/basic',
|
||||
),
|
||||
dependencies: shared_nm_utils_base_dep,
|
||||
dependencies: shared_nm_glib_aux_dep,
|
||||
c_args: [
|
||||
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_SYSTEMD_SHARED',
|
||||
'-DG_LOG_DOMAIN="libnm"',
|
||||
|
|
@ -253,3 +265,21 @@ libnm_systemd_shared_no_logging_dep = declare_dependency(
|
|||
libnm_systemd_logging_stub,
|
||||
],
|
||||
)
|
||||
|
||||
###############################################################################
|
||||
|
||||
test_shared_general = executable(
|
||||
'nm-utils/tests/test-shared-general',
|
||||
[ 'nm-utils/tests/test-shared-general.c', ],
|
||||
c_args: [
|
||||
'-DNETWORKMANAGER_COMPILATION_TEST',
|
||||
'-DNETWORKMANAGER_COMPILATION=(NM_NETWORKMANAGER_COMPILATION_GLIB|NM_NETWORKMANAGER_COMPILATION_WITH_GLIB_I18N_PROG)',
|
||||
],
|
||||
dependencies: shared_nm_glib_aux_dep,
|
||||
link_with: shared_c_siphash,
|
||||
)
|
||||
test(
|
||||
'shared/nm-utils/test-shared-general',
|
||||
test_script,
|
||||
args: test_args + [test_shared_general.full_path()]
|
||||
)
|
||||
|
|
|
|||
|
|
@ -290,14 +290,14 @@ _nm_g_return_if_fail_warning (const char *log_domain,
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#include "nm-utils/nm-macros-internal.h"
|
||||
#include "nm-utils/nm-shared-utils.h"
|
||||
#include "nm-utils/nm-errno.h"
|
||||
#include "nm-glib-aux/nm-macros-internal.h"
|
||||
#include "nm-glib-aux/nm-shared-utils.h"
|
||||
#include "nm-glib-aux/nm-errno.h"
|
||||
|
||||
#if (NETWORKMANAGER_COMPILATION) & NM_NETWORKMANAGER_COMPILATION_WITH_LIBNM_UTIL
|
||||
/* no hash-utils in legacy code. */
|
||||
#else
|
||||
#include "nm-utils/nm-hash-utils.h"
|
||||
#include "nm-glib-aux/nm-hash-utils.h"
|
||||
#endif
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
#define __NM_DEDUP_MULTI_H__
|
||||
|
||||
#include "nm-obj.h"
|
||||
#include "c-list-util.h"
|
||||
#include "nm-std-aux/c-list-util.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
|
|
@ -18,6 +18,9 @@
|
|||
* Copyright (C) 2008 - 2012 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#ifndef __NM_DISPACHER_API_H__
|
||||
#define __NM_DISPACHER_API_H__
|
||||
|
||||
#define NMD_SCRIPT_DIR_DEFAULT NMCONFDIR "/dispatcher.d"
|
||||
#define NMD_SCRIPT_DIR_PRE_UP NMD_SCRIPT_DIR_DEFAULT "/pre-up.d"
|
||||
#define NMD_SCRIPT_DIR_PRE_DOWN NMD_SCRIPT_DIR_DEFAULT "/pre-down.d"
|
||||
|
|
@ -59,3 +62,4 @@ typedef enum {
|
|||
DISPATCH_RESULT_TIMEOUT = 4,
|
||||
} DispatchResult;
|
||||
|
||||
#endif /* __NM_DISPACHER_API_H__ */
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
#include <sys/wait.h>
|
||||
|
||||
#include "NetworkManager.h"
|
||||
#include "nm-dbus-compat.h"
|
||||
#include "nm-std-aux/nm-dbus-compat.h"
|
||||
|
||||
#include "nm-test-libnm-utils.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
#include <NetworkManager.h>
|
||||
|
||||
/* we make use of other internal header files, you need those too. */
|
||||
#include "nm-macros-internal.h"
|
||||
#include "nm-glib-aux/nm-macros-internal.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
|
|
|
|||
|
|
@ -21,9 +21,9 @@
|
|||
|
||||
#include "nm-default.h"
|
||||
|
||||
#include "nm-utils/nm-time-utils.h"
|
||||
#include "nm-utils/nm-random-utils.h"
|
||||
#include "nm-utils/unaligned.h"
|
||||
#include "nm-std-aux/unaligned.h"
|
||||
#include "nm-glib-aux/nm-random-utils.h"
|
||||
#include "nm-glib-aux/nm-time-utils.h"
|
||||
|
||||
#include "nm-utils/nm-test-utils.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include "nm-default.h"
|
||||
|
||||
#include "nm-utils/nm-logging-fwd.h"
|
||||
#include "nm-glib-aux/nm-logging-fwd.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include <syslog.h>
|
||||
|
||||
#include "nm-utils/nm-logging-fwd.h"
|
||||
#include "nm-glib-aux/nm-logging-fwd.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#pragma once
|
||||
|
||||
#include "nm-utils/unaligned.h"
|
||||
#include "nm-std-aux/unaligned.h"
|
||||
|
|
|
|||
|
|
@ -25,9 +25,9 @@
|
|||
|
||||
#include <linux/fib_rules.h>
|
||||
|
||||
#include "nm-utils/nm-c-list.h"
|
||||
#include "nm-glib-aux/nm-c-list.h"
|
||||
|
||||
#include "nm-common-macros.h"
|
||||
#include "nm-libnm-core-intern/nm-common-macros.h"
|
||||
#include "nm-utils.h"
|
||||
#include "nm-setting-connection.h"
|
||||
#include "nm-setting-ip4-config.h"
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
#include "nm-device-adsl.h"
|
||||
#include "devices/nm-device-factory.h"
|
||||
#include "platform/nm-platform.h"
|
||||
#include "nm-utils/nm-udev-utils.h"
|
||||
#include "nm-udev-aux/nm-udev-utils.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
#include "nm-device-bt.h"
|
||||
#include "nm-core-internal.h"
|
||||
#include "platform/nm-platform.h"
|
||||
#include "nm-dbus-compat.h"
|
||||
#include "nm-std-aux/nm-dbus-compat.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@
|
|||
#include "nm-device-factory.h"
|
||||
#include "nm-core-internal.h"
|
||||
#include "NetworkManagerUtils.h"
|
||||
#include "nm-utils/nm-udev-utils.h"
|
||||
#include "nm-udev-aux/nm-udev-utils.h"
|
||||
|
||||
#include "nm-device-logging.h"
|
||||
_LOG_DECLARE_SELF(NMDeviceEthernet);
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue