NetworkManager/src/libnm-platform/meson.build
Thomas Haller 4366dc6582
platform: add "nmp-base.c" source
"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.
2022-09-23 11:43:35 +02:00

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,
],
)