mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-28 02:38:14 +02:00
Add versioned NM_DEPRECATED_IN_* and NM_AVAILABLE_IN_* macros, and tag new/deprecated functions accordingly. (All currently-deprecated functions are assumed to have been deprecated in 0.9.10.) Add NM_VERSION_MIN_REQUIRED and NM_VERSION_MAX_ALLOWED macros which can be set to determine which versions will cause warnings. With the current settings, external consumers of the libnm-util/libnm-glib APIs will have MIN_REQUIRED and MAX_ALLOWED both set to NM_VERSION_0_9_8 by default, meaning they will get warnings about functions added in 0.9.10. NM internally sets NM_VERSION_MAX_ALLOWED to NM_VERSION_NEXT_STABLE to ensure that it is always allowed to use all APIs.
68 lines
1.5 KiB
Makefile
68 lines
1.5 KiB
Makefile
SUBDIRS = . tests
|
|
|
|
@GNOME_CODE_COVERAGE_RULES@
|
|
|
|
nm-ifcfg-rh-glue.h: nm-ifcfg-rh.xml
|
|
$(AM_V_GEN) dbus-binding-tool --prefix=nm_ifcfg_rh --mode=glib-server --output=$@ $<
|
|
|
|
BUILT_SOURCES = \
|
|
nm-ifcfg-rh-glue.h
|
|
|
|
pkglib_LTLIBRARIES = libnm-settings-plugin-ifcfg-rh.la
|
|
|
|
noinst_LTLIBRARIES = libifcfg-rh-io.la
|
|
|
|
libifcfg_rh_io_la_SOURCES = \
|
|
shvar.c \
|
|
shvar.h \
|
|
reader.c \
|
|
reader.h \
|
|
writer.c \
|
|
writer.h \
|
|
errors.c \
|
|
common.h \
|
|
utils.c \
|
|
utils.h
|
|
|
|
AM_CPPFLAGS = \
|
|
-I$(top_srcdir)/src/ \
|
|
-I$(top_srcdir)/src/platform \
|
|
-I$(top_srcdir)/src/wifi \
|
|
-I$(top_srcdir)/src/settings \
|
|
-I$(top_srcdir)/src/posix-signals \
|
|
-I$(top_srcdir)/src/config \
|
|
-I$(top_srcdir)/include \
|
|
-I$(top_builddir)/include \
|
|
-I$(top_srcdir)/libnm-glib \
|
|
-I$(top_srcdir)/libnm-util \
|
|
-I$(top_builddir)/libnm-util \
|
|
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
|
$(GLIB_CFLAGS) \
|
|
$(DBUS_CFLAGS) \
|
|
$(POLKIT_CFLAGS) \
|
|
$(NSS_CFLAGS) \
|
|
-DSYSCONFDIR=\"$(sysconfdir)\" \
|
|
-DSBINDIR=\"$(sbindir)\"
|
|
|
|
libnm_settings_plugin_ifcfg_rh_la_SOURCES = \
|
|
plugin.c \
|
|
plugin.h \
|
|
nm-ifcfg-connection.c \
|
|
nm-ifcfg-connection.h
|
|
|
|
libnm_settings_plugin_ifcfg_rh_la_LDFLAGS = -module -avoid-version
|
|
libnm_settings_plugin_ifcfg_rh_la_LIBADD = \
|
|
$(top_builddir)/libnm-util/libnm-util.la \
|
|
$(top_builddir)/libnm-glib/libnm-glib.la \
|
|
libifcfg-rh-io.la \
|
|
$(GLIB_LIBS)
|
|
|
|
dbusservicedir = $(DBUS_SYS_DIR)
|
|
dbusservice_DATA = nm-ifcfg-rh.conf
|
|
|
|
EXTRA_DIST = \
|
|
$(dbusservice_DATA) \
|
|
nm-ifcfg-rh.xml
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|