
The IO library was in io/ because I was too lazy to find autotools' SUBDIRS rules at the time and that you could use '.' for the current directory. Fix that and use its own error defines instead of the system settings service. Clean up a for more things for good measure too (like KEYFILE_DIR, etc).
55 lines
1.1 KiB
Makefile
55 lines
1.1 KiB
Makefile
SUBDIRS=. tests
|
|
|
|
INCLUDES = \
|
|
-I$(top_srcdir)/src/system-settings \
|
|
-I$(top_srcdir)/include \
|
|
-I$(top_srcdir)/libnm-util \
|
|
-I$(top_srcdir)/libnm-glib
|
|
|
|
pkglib_LTLIBRARIES = libnm-settings-plugin-keyfile.la
|
|
|
|
noinst_LTLIBRARIES = libkeyfile-io.la
|
|
|
|
libkeyfile_io_la_SOURCES = \
|
|
reader.c \
|
|
reader.h \
|
|
writer.c \
|
|
writer.h \
|
|
errors.c \
|
|
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_LDFLAGS = -module -avoid-version
|
|
libnm_settings_plugin_keyfile_la_LIBADD = \
|
|
$(top_builddir)/libnm-util/libnm-util.la \
|
|
$(top_builddir)/libnm-glib/libnm-glib.la \
|
|
libkeyfile-io.la \
|
|
$(GLIB_LIBS) \
|
|
$(GMODULE_LIBS) \
|
|
$(DBUS_LIBS) \
|
|
$(GIO_LIBS)
|
|
|
|
install-data-hook:
|
|
$(mkinstalldirs) -m 0755 $(DESTDIR)$(keyfiledir)
|
|
|