mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 04:40:13 +01:00
Rewrite nm-online to use libnm-glib, and change it so that it waits until NM has finished all of its startup-time connection activation attempts, rather than only waiting until at least one has succeeded. In particular, this means that on multi-homed servers, the NetworkManager-wait-online systemd service (and by extension, network.service) will now block until *all* of the server's IP addresses are up, which is needed for some old daemons that assume that no network interfaces will be added after they start.
35 lines
914 B
Makefile
35 lines
914 B
Makefile
INCLUDES = -I${top_srcdir} \
|
|
-I${top_srcdir}/libnm-util \
|
|
-I${top_builddir}/libnm-util \
|
|
-I${top_srcdir}/libnm-glib \
|
|
-I${top_srcdir}/include \
|
|
-I${top_builddir}/include
|
|
|
|
AM_CPPFLAGS = \
|
|
$(DBUS_CFLAGS) \
|
|
$(GLIB_CFLAGS) \
|
|
-DBINDIR=\"$(bindir)\" \
|
|
-DDATADIR=\"$(datadir)\" \
|
|
-DNMLOCALEDIR=\"$(datadir)/locale\"
|
|
|
|
bin_PROGRAMS = nm-online
|
|
|
|
noinst_PROGRAMS = libnm-glib-test
|
|
|
|
nm_online_SOURCES = nm-online.c
|
|
nm_online_LDADD = \
|
|
$(top_builddir)/libnm-glib/libnm-glib.la \
|
|
$(top_builddir)/libnm-util/libnm-util.la \
|
|
$(DBUS_LIBS) \
|
|
$(GLIB_LIBS)
|
|
|
|
libnm_glib_test_SOURCES = libnm-glib-test.c
|
|
libnm_glib_test_CFLAGS = \
|
|
-Wno-deprecated-declarations \
|
|
-Wno-deprecated
|
|
libnm_glib_test_LDADD = \
|
|
$(top_builddir)/libnm-glib/libnm-glib.la \
|
|
$(top_builddir)/libnm-util/libnm-util.la \
|
|
$(DBUS_LIBS) \
|
|
$(GLIB_LIBS)
|
|
|