diff options
Diffstat (limited to 'src/settings/plugins/example/Makefile.am')
| -rw-r--r-- | src/settings/plugins/example/Makefile.am | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/settings/plugins/example/Makefile.am b/src/settings/plugins/example/Makefile.am index f3aa11b6..8233a71f 100644 --- a/src/settings/plugins/example/Makefile.am +++ b/src/settings/plugins/example/Makefile.am @@ -1,16 +1,22 @@ -# 'noinst' here because this is an example plugin we don't want to install -noinst_LTLIBRARIES = libnm-settings-plugin-example.la - -libnm_settings_plugin_example_la_CPPFLAGS = \ +AM_CPPFLAGS = \ + -I$(top_srcdir)/src \ + -I$(top_srcdir)/src/config \ + -I$(top_srcdir)/src/logging \ -I$(top_srcdir)/src/settings \ -I$(top_srcdir)/include \ -I$(top_builddir)/include \ -I$(top_srcdir)/libnm-util \ -I$(top_builddir)/libnm-util \ + -DG_LOG_DOMAIN=\""NetworkManager-example"\" \ + -DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \ $(GLIB_CFLAGS) \ $(DBUS_CFLAGS) \ + $(POLKIT_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 @@ -27,6 +33,7 @@ libnm_settings_plugin_example_la_SOURCES = \ writer.c libnm_settings_plugin_example_la_LIBADD = \ + $(top_builddir)/src/libNetworkManager.la \ $(top_builddir)/libnm-util/libnm-util.la \ $(GLIB_LIBS) |