mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 14:30:18 +01:00
Each plugin defined its own error domain, though none actually defined any errors. Replace these with appropriate uses of NM_SETTINGS_ERROR_INVALID_CONNECTION and NM_SETTINGS_ERROR_FAILED.
50 lines
1 KiB
Makefile
50 lines
1 KiB
Makefile
SUBDIRS = . tests
|
|
|
|
@GNOME_CODE_COVERAGE_RULES@
|
|
|
|
AM_CPPFLAGS = \
|
|
-I$(top_srcdir)/src \
|
|
-I$(top_srcdir)/src/settings \
|
|
-I$(top_srcdir)/include \
|
|
-I$(top_srcdir)/libnm-core \
|
|
-I$(top_builddir)/libnm-core \
|
|
-DG_LOG_DOMAIN=\""NetworkManager-keyfile"\" \
|
|
-DNETWORKMANAGER_COMPILATION \
|
|
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
|
$(GLIB_CFLAGS) \
|
|
$(DBUS_CFLAGS) \
|
|
-DNMCONFDIR=\"$(nmconfdir)\"
|
|
|
|
noinst_LTLIBRARIES = \
|
|
libkeyfile-io.la \
|
|
libnm-settings-plugin-keyfile.la
|
|
|
|
##### I/O library for testcases #####
|
|
|
|
libkeyfile_io_la_SOURCES = \
|
|
reader.c \
|
|
reader.h \
|
|
writer.c \
|
|
writer.h \
|
|
utils.c \
|
|
utils.h \
|
|
common.h
|
|
|
|
libkeyfile_io_la_LIBADD = $(GLIB_LIBS)
|
|
|
|
#####################################
|
|
|
|
libnm_settings_plugin_keyfile_la_SOURCES = \
|
|
nm-keyfile-connection.c \
|
|
nm-keyfile-connection.h \
|
|
plugin.c \
|
|
plugin.h
|
|
|
|
libnm_settings_plugin_keyfile_la_LIBADD = \
|
|
libkeyfile-io.la
|
|
|
|
keyfiledir=$(sysconfdir)/NetworkManager/system-connections
|
|
|
|
install-data-hook:
|
|
$(mkinstalldirs) -m 0755 $(DESTDIR)$(keyfiledir)
|
|
|