diff options
author | Thomas Haller <thaller@redhat.com> | 2021-02-03 15:25:56 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-02-04 09:45:55 +0100 |
commit | ac1a9e03e4d6674e1e60529b47b325a8f62e67b3 (patch) | |
tree | ef0445da3fd804e6cc5ee1e9c48a352dd348df1f /src/devices/adsl/meson.build | |
parent | 97ed143e04e74323a59a0f24a965d36341233670 (diff) | |
download | NetworkManager-ac1a9e03e4d6674e1e60529b47b325a8f62e67b3.tar.gz |
all: move "src/" directory to "src/core/"
Currently "src/" mostly contains the source code of the daemon.
I say mostly, because that is not true, there are also the device,
settings, wwan, ppp plugins, the initrd generator, the pppd and dhcp
helper, and probably more.
Also we have source code under libnm-core/, libnm/, clients/, and
shared/ directories. That is all confusing.
We should have one "src" directory, that contains subdirectories. Those
subdirectories should contain individual parts (libraries or
applications), that possibly have dependencies on other subdirectories.
There should be a flat hierarchy of directories under src/, which
contains individual modules.
As the name "src/" is already taken, that prevents any sensible
restructuring of the code.
As a first step, move "src/" to "src/core/". This gives space to
reorganize the code better by moving individual components into "src/".
For inspiration, look at systemd's "src/" directory.
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/743
Diffstat (limited to 'src/devices/adsl/meson.build')
-rw-r--r-- | src/devices/adsl/meson.build | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/devices/adsl/meson.build b/src/devices/adsl/meson.build deleted file mode 100644 index 95f61d958a..0000000000 --- a/src/devices/adsl/meson.build +++ /dev/null @@ -1,26 +0,0 @@ -# SPDX-License-Identifier: LGPL-2.1-or-later - -libnm_device_plugin_adsl = shared_module( - 'nm-device-plugin-adsl', - sources: files( - 'nm-atm-manager.c', - 'nm-device-adsl.c', - ), - dependencies: core_plugin_dep, - c_args: daemon_c_flags, - link_args: ldflags_linker_script_devices, - link_depends: linker_script_devices, - install: true, - install_dir: nm_plugindir, -) - -core_plugins += libnm_device_plugin_adsl - -test( - 'check-local-devices-adsl', - check_exports, - args: [ - libnm_device_plugin_adsl.full_path(), - linker_script_devices, - ], -) |