2024-04-17 16:43:31 +02:00
|
|
|
# Copyright 2016 Centricular
|
|
|
|
# Copyright 2018 Endless Mobile, Inc.
|
|
|
|
# Copyright 2022 Collabora, Ltd.
|
|
|
|
# Copyright 2023 Eli Schwartz
|
|
|
|
# Copyright 2023 Canonical Ltd.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
|
|
# License as published by the Free Software Foundation; either
|
|
|
|
# version 2.1 of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This library is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
# Lesser General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
|
|
# License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2016-03-07 12:13:24 +01:00
|
|
|
inotify_sources = [
|
|
|
|
'inotify-kernel.c',
|
|
|
|
'inotify-sub.c',
|
|
|
|
'inotify-path.c',
|
|
|
|
'inotify-missing.c',
|
|
|
|
'inotify-helper.c',
|
|
|
|
'ginotifyfilemonitor.c',
|
|
|
|
]
|
|
|
|
|
|
|
|
inotify_lib = static_library('inotify',
|
2023-04-19 21:06:34 +02:00
|
|
|
sources : [inotify_sources],
|
|
|
|
include_directories : [configinc, glibinc],
|
|
|
|
dependencies : [
|
|
|
|
gioenumtypes_dep,
|
|
|
|
libglib_dep,
|
|
|
|
libgobject_dep,
|
|
|
|
gmodule_inc_dep,
|
|
|
|
],
|
2022-11-12 20:12:16 +01:00
|
|
|
gnu_symbol_visibility : 'hidden',
|
2016-12-09 20:30:22 +01:00
|
|
|
pic : true,
|
2022-10-05 23:45:07 +02:00
|
|
|
c_args : [gio_c_args, gio_c_args_internal])
|