mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-18 03:28:09 +02:00
"nmp-base.h" really should only contain simple defines like enum types or #define. As such, it almost does not need a source file. However, the enum-to-string methods for the enums of "nmp-base.h" need a place. Add "nmp-base.c" for that.
27 lines
572 B
Meson
27 lines
572 B
Meson
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
libnm_platform = static_library(
|
|
'nm-platform',
|
|
sources: [
|
|
'nm-linux-platform.c',
|
|
'nm-netlink.c',
|
|
'nm-platform-utils.c',
|
|
'nm-platform.c',
|
|
'nmp-base.c',
|
|
'nmp-global-tracker.c',
|
|
'nmp-netns.c',
|
|
'nmp-object.c',
|
|
'nmp-plobj.c',
|
|
'wifi/nm-wifi-utils-nl80211.c',
|
|
'wifi/nm-wifi-utils.c',
|
|
'wpan/nm-wpan-utils.c',
|
|
] + (enable_wext ? [ 'wifi/nm-wifi-utils-wext.c' ] : []),
|
|
include_directories: [
|
|
src_inc,
|
|
top_inc,
|
|
],
|
|
dependencies: [
|
|
glib_dep,
|
|
libudev_dep,
|
|
],
|
|
)
|