mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 18:00:18 +01:00
Since settings storage is now handled by NetworkManager, we must have the ability to read/write all connection types at all times. Since the 'keyfile' plugin is the only plugin that can handle all connection types, build it into NetworkManager.
61 lines
1.2 KiB
Makefile
61 lines
1.2 KiB
Makefile
SUBDIRS=. tests
|
|
|
|
INCLUDES = \
|
|
-I$(top_srcdir)/src/settings \
|
|
-I$(top_srcdir)/include \
|
|
-I$(top_srcdir)/libnm-util
|
|
|
|
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 \
|
|
errors.c \
|
|
utils.c \
|
|
utils.h \
|
|
common.h
|
|
|
|
libkeyfile_io_la_CPPFLAGS = \
|
|
$(GLIB_CFLAGS) \
|
|
$(DBUS_CFLAGS) \
|
|
-DSYSCONFDIR=\"$(sysconfdir)\" \
|
|
-DG_DISABLE_DEPRECATED
|
|
|
|
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_CPPFLAGS = \
|
|
$(GLIB_CFLAGS) \
|
|
$(GMODULE_CFLAGS) \
|
|
$(DBUS_CFLAGS) \
|
|
-DSYSCONFDIR=\"$(sysconfdir)\" \
|
|
-DG_DISABLE_DEPRECATED
|
|
|
|
libnm_settings_plugin_keyfile_la_LIBADD = \
|
|
$(top_builddir)/libnm-util/libnm-util.la \
|
|
libkeyfile-io.la \
|
|
$(GLIB_LIBS) \
|
|
$(GMODULE_LIBS) \
|
|
$(DBUS_LIBS) \
|
|
$(GIO_LIBS)
|
|
|
|
libnm_settings_plugin_keyfile_la_LDFLAGS = -rdynamic
|
|
|
|
keyfiledir=$(sysconfdir)/NetworkManager/system-connections
|
|
|
|
install-data-hook:
|
|
$(mkinstalldirs) -m 0755 $(DESTDIR)$(keyfiledir)
|
|
|