mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-10 21:00:23 +01:00
Since the API has not changed at this point, this is mostly just a matter of updating Makefiles, and changing references to the library name in comments. NetworkManager cannot link to libnm due to the duplicated type/symbol names. So it links to libnm-core.la directly, which means that NetworkManager gets a separate copy of that code from libnm.so. Everything else links to libnm.
32 lines
923 B
Makefile
32 lines
923 B
Makefile
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-example"\" \
|
|
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
|
$(GLIB_CFLAGS) \
|
|
$(DBUS_CFLAGS) \
|
|
-DNMCONFDIR=\"$(nmconfdir)\"
|
|
|
|
# 'noinst' here because this is an example plugin we don't want to install
|
|
noinst_LTLIBRARIES = libnm-settings-plugin-example.la
|
|
|
|
# The actual plugins typically pull reader.c and writer.c out into
|
|
# their own static library so that unit tests can use them without
|
|
# having to build the entire plugin. But since this is a simple
|
|
# plugin we don't do that yet.
|
|
|
|
libnm_settings_plugin_example_la_SOURCES = \
|
|
nm-example-connection.c \
|
|
nm-example-connection.h \
|
|
plugin.c \
|
|
plugin.h \
|
|
errors.c \
|
|
common.h \
|
|
reader.c \
|
|
writer.c
|
|
|
|
libnm_settings_plugin_example_la_LDFLAGS = -module -avoid-version
|
|
|