2013-05-06 14:18:26 -04:00
|
|
|
include $(GLIB_MAKEFILE)
|
2004-06-24 14:18:37 +00:00
|
|
|
|
2013-02-05 18:35:34 +01:00
|
|
|
@GNOME_CODE_COVERAGE_RULES@
|
|
|
|
|
|
2013-05-06 14:18:26 -04:00
|
|
|
SUBDIRS = \
|
|
|
|
|
. \
|
2014-03-19 14:16:48 -04:00
|
|
|
devices/adsl \
|
2014-06-18 11:10:52 +02:00
|
|
|
devices/wifi \
|
2013-05-06 14:18:26 -04:00
|
|
|
dhcp-manager \
|
|
|
|
|
ppp-manager \
|
|
|
|
|
settings/plugins
|
|
|
|
|
|
2014-05-20 16:36:42 -04:00
|
|
|
if WITH_MODEM_MANAGER_1
|
|
|
|
|
SUBDIRS += \
|
|
|
|
|
devices/wwan \
|
|
|
|
|
devices/bluetooth
|
|
|
|
|
endif
|
|
|
|
|
|
2011-01-05 18:23:08 -06:00
|
|
|
if WITH_WIMAX
|
2013-05-08 08:37:26 -04:00
|
|
|
SUBDIRS += devices/wimax
|
2011-01-05 18:23:08 -06:00
|
|
|
endif
|
|
|
|
|
|
2014-06-19 12:23:10 +02:00
|
|
|
if WITH_TEAMDCTL
|
|
|
|
|
SUBDIRS += devices/team
|
|
|
|
|
endif
|
|
|
|
|
|
2013-05-06 14:18:26 -04:00
|
|
|
if ENABLE_TESTS
|
2013-07-29 14:44:49 +02:00
|
|
|
SUBDIRS += \
|
|
|
|
|
dhcp-manager/tests \
|
2012-10-12 15:25:23 -05:00
|
|
|
dnsmasq-manager/tests \
|
2013-07-29 14:44:49 +02:00
|
|
|
platform \
|
|
|
|
|
rdisc \
|
|
|
|
|
supplicant-manager/tests \
|
2013-05-06 14:18:26 -04:00
|
|
|
tests
|
|
|
|
|
endif
|
2011-01-10 23:39:12 -06:00
|
|
|
|
2013-08-22 10:47:21 -04:00
|
|
|
AM_CPPFLAGS = \
|
2013-05-06 14:18:26 -04:00
|
|
|
-I$(top_srcdir)/include \
|
2014-05-19 13:44:02 -04:00
|
|
|
-I$(top_srcdir)/libnm-core \
|
|
|
|
|
-I$(top_builddir)/libnm-core \
|
2014-02-12 12:28:52 -05:00
|
|
|
-I$(top_srcdir)/callouts \
|
2014-07-31 14:02:22 -05:00
|
|
|
-DPREFIX=\"$(prefix)\" \
|
2014-04-07 16:14:47 -04:00
|
|
|
-DG_LOG_DOMAIN=\""NetworkManager"\" \
|
2014-07-06 16:53:02 -04:00
|
|
|
-DNETWORKMANAGER_COMPILATION \
|
2014-02-12 12:28:52 -05:00
|
|
|
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE
|
2011-01-10 23:39:12 -06:00
|
|
|
|
2013-05-06 14:18:26 -04:00
|
|
|
# add each subdirectory that contains a libNM source file. $(sort) is being used
|
|
|
|
|
# primarily for its side effect of removing duplicates.
|
2013-08-22 10:47:21 -04:00
|
|
|
AM_CPPFLAGS += $(foreach d,$(sort $(dir $(libNetworkManager_la_SOURCES))),-I$(top_srcdir)/src/$d)
|
2011-01-10 23:39:12 -06:00
|
|
|
|
2014-10-29 09:12:18 -05:00
|
|
|
noinst_LTLIBRARIES = \
|
|
|
|
|
libNetworkManager.la \
|
|
|
|
|
libnm-iface-helper.la \
|
|
|
|
|
libsystemd-dhcp.la
|
2014-07-22 12:38:20 -05:00
|
|
|
|
|
|
|
|
######################
|
|
|
|
|
# libsystemd-dhcp
|
|
|
|
|
######################
|
|
|
|
|
|
|
|
|
|
SYSTEMD_DHCP_CFLAGS = \
|
|
|
|
|
-I$(top_srcdir)/src/dhcp-manager/systemd-dhcp/src/systemd \
|
|
|
|
|
-I$(top_srcdir)/src/dhcp-manager/systemd-dhcp/src/libsystemd-network \
|
|
|
|
|
-I$(top_srcdir)/src/dhcp-manager/systemd-dhcp/src/shared \
|
|
|
|
|
-I$(top_srcdir)/src/dhcp-manager/systemd-dhcp
|
|
|
|
|
|
|
|
|
|
libsystemd_dhcp_la_SOURCES = \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/libsystemd-network/dhcp-network.c \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/libsystemd-network/dhcp-packet.c \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/libsystemd-network/dhcp-internal.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/libsystemd-network/dhcp6-network.c \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/libsystemd-network/dhcp6-lease-internal.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/libsystemd-network/dhcp6-option.c \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/libsystemd-network/network-internal.c \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/libsystemd-network/sd-dhcp-lease.c \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/libsystemd-network/sd-dhcp-client.c \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/libsystemd-network/dhcp-option.c \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/libsystemd-network/network-internal.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/libsystemd-network/sd-dhcp6-lease.c \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/libsystemd-network/dhcp-protocol.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/libsystemd-network/dhcp6-internal.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/libsystemd-network/dhcp6-protocol.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/libsystemd-network/dhcp-lease-internal.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/libsystemd-network/sd-dhcp6-client.c \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/shared/async.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/shared/time-util.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/shared/siphash24.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/shared/time-util.c \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/shared/socket-util.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/shared/sparse-endian.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/shared/macro.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/shared/refcnt.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/shared/util.c \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/shared/in-addr-util.c \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/shared/siphash24.c \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/shared/util.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/shared/in-addr-util.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/shared/list.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/shared/fileio.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/shared/fileio.c \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/shared/strv.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/shared/strv.c \
|
2014-11-18 16:22:07 -05:00
|
|
|
dhcp-manager/systemd-dhcp/src/shared/unaligned.h \
|
2014-07-22 12:38:20 -05:00
|
|
|
dhcp-manager/systemd-dhcp/src/shared/utf8.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/shared/utf8.c \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/systemd/sd-dhcp-lease.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/systemd/sd-dhcp-client.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/systemd/sd-id128.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/systemd/sd-dhcp6-lease.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/systemd/sd-dhcp6-client.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/systemd/sd-event.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/src/systemd/_sd-common.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/nm-sd-adapt.h \
|
|
|
|
|
dhcp-manager/systemd-dhcp/nm-sd-adapt.c
|
|
|
|
|
|
|
|
|
|
libsystemd_dhcp_la_CPPFLAGS = \
|
|
|
|
|
-I$(top_srcdir)/include \
|
|
|
|
|
$(SYSTEMD_DHCP_CFLAGS) \
|
|
|
|
|
$(GLIB_CFLAGS)
|
|
|
|
|
|
|
|
|
|
libsystemd_dhcp_la_LIBADD = \
|
|
|
|
|
$(GLIB_LIBS)
|
|
|
|
|
|
2009-02-02 01:36:43 -05:00
|
|
|
###########################################
|
|
|
|
|
# NetworkManager
|
|
|
|
|
###########################################
|
|
|
|
|
|
2006-01-20 15:37:37 +00:00
|
|
|
sbin_PROGRAMS = NetworkManager
|
2004-11-12 18:49:33 +00:00
|
|
|
|
2009-05-14 11:01:56 -04:00
|
|
|
NetworkManager_SOURCES = \
|
build: ensure device source file constructors can be linked and called
gcc's linker does not add constructors from object files to the main
executable if they are built into a convenience library and then the
library is linked to the executable, unless something outside of the
object file with the constructor references a symbol from the object
file.
http://osdir.com/ml/libtool-gnu/2011-06/msg00003.html
"Yes, when convenience libraries are used to create a shared library, all the
objects are included in the output, when the output is an application they are
used like a normal archive library.
Either use them to create a shared library or, if creating an application,
don't use them, use the objects instead."
Further patches will remove all references to the NMDevice subclasses
from nm-manager.c, and have each NMDevice subclass register itself
with a factory through a constructor. But due to the above issue,
we need to somehow ensure the constructor in each nm-device-*.c file
gets added to the executable. This is accomplished by explicitly
linking each NMDevice subclass' object file into the main executable.
(Note that we cannot use -Wl,-whole-archive here because libtool only
supports this option for linking a convenience library to a shared
library, but not to an executable, and will actively prevent using
-whole-archive in LDFLAGS)
2014-09-08 15:12:48 -05:00
|
|
|
$(nm_device_sources) $(nm_device_headers) \
|
2014-10-29 17:12:46 -05:00
|
|
|
$(nm_dhcp_client_sources) $(nm_dhcp_client_headers) \
|
2014-10-29 09:36:47 -05:00
|
|
|
main-utils.c \
|
|
|
|
|
main-utils.h \
|
2013-05-06 14:18:26 -04:00
|
|
|
main.c
|
|
|
|
|
|
2014-07-17 18:04:17 -04:00
|
|
|
NetworkManager_LDADD = libNetworkManager.la
|
2013-05-06 14:18:26 -04:00
|
|
|
|
build: ensure device source file constructors can be linked and called
gcc's linker does not add constructors from object files to the main
executable if they are built into a convenience library and then the
library is linked to the executable, unless something outside of the
object file with the constructor references a symbol from the object
file.
http://osdir.com/ml/libtool-gnu/2011-06/msg00003.html
"Yes, when convenience libraries are used to create a shared library, all the
objects are included in the output, when the output is an application they are
used like a normal archive library.
Either use them to create a shared library or, if creating an application,
don't use them, use the objects instead."
Further patches will remove all references to the NMDevice subclasses
from nm-manager.c, and have each NMDevice subclass register itself
with a factory through a constructor. But due to the above issue,
we need to somehow ensure the constructor in each nm-device-*.c file
gets added to the executable. This is accomplished by explicitly
linking each NMDevice subclass' object file into the main executable.
(Note that we cannot use -Wl,-whole-archive here because libtool only
supports this option for linking a convenience library to a shared
library, but not to an executable, and will actively prevent using
-whole-archive in LDFLAGS)
2014-09-08 15:12:48 -05:00
|
|
|
nm_device_sources = \
|
2014-09-08 10:15:02 -05:00
|
|
|
devices/nm-device-bond.c \
|
2014-09-08 10:12:28 -05:00
|
|
|
devices/nm-device-bridge.c \
|
2014-09-10 10:59:40 -05:00
|
|
|
devices/nm-device-ethernet.c \
|
2014-09-08 11:17:58 -05:00
|
|
|
devices/nm-device-gre.c \
|
2014-09-05 16:07:43 -05:00
|
|
|
devices/nm-device-infiniband.c \
|
2014-09-08 11:11:19 -05:00
|
|
|
devices/nm-device-macvlan.c \
|
2014-09-08 11:50:37 -05:00
|
|
|
devices/nm-device-tun.c \
|
2014-09-08 10:57:31 -05:00
|
|
|
devices/nm-device-veth.c \
|
2014-09-08 10:24:11 -05:00
|
|
|
devices/nm-device-vlan.c \
|
2014-09-08 11:13:42 -05:00
|
|
|
devices/nm-device-vxlan.c \
|
build: ensure device source file constructors can be linked and called
gcc's linker does not add constructors from object files to the main
executable if they are built into a convenience library and then the
library is linked to the executable, unless something outside of the
object file with the constructor references a symbol from the object
file.
http://osdir.com/ml/libtool-gnu/2011-06/msg00003.html
"Yes, when convenience libraries are used to create a shared library, all the
objects are included in the output, when the output is an application they are
used like a normal archive library.
Either use them to create a shared library or, if creating an application,
don't use them, use the objects instead."
Further patches will remove all references to the NMDevice subclasses
from nm-manager.c, and have each NMDevice subclass register itself
with a factory through a constructor. But due to the above issue,
we need to somehow ensure the constructor in each nm-device-*.c file
gets added to the executable. This is accomplished by explicitly
linking each NMDevice subclass' object file into the main executable.
(Note that we cannot use -Wl,-whole-archive here because libtool only
supports this option for linking a convenience library to a shared
library, but not to an executable, and will actively prevent using
-whole-archive in LDFLAGS)
2014-09-08 15:12:48 -05:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
|
|
nm_device_headers = \
|
|
|
|
|
devices/nm-device-bond.h \
|
|
|
|
|
devices/nm-device-bridge.h \
|
|
|
|
|
devices/nm-device-ethernet.h \
|
|
|
|
|
devices/nm-device-gre.h \
|
|
|
|
|
devices/nm-device-infiniband.h \
|
|
|
|
|
devices/nm-device-macvlan.h \
|
|
|
|
|
devices/nm-device-tun.h \
|
|
|
|
|
devices/nm-device-veth.h \
|
|
|
|
|
devices/nm-device-vlan.h \
|
|
|
|
|
devices/nm-device-vxlan.h
|
|
|
|
|
|
2014-10-29 17:12:46 -05:00
|
|
|
nm_dhcp_client_sources = \
|
|
|
|
|
dhcp-manager/nm-dhcp-dhclient.c \
|
|
|
|
|
dhcp-manager/nm-dhcp-dhclient-utils.c \
|
|
|
|
|
dhcp-manager/nm-dhcp-dhcpcd.c \
|
|
|
|
|
dhcp-manager/nm-dhcp-systemd.c
|
|
|
|
|
|
|
|
|
|
nm_dhcp_client_headers = \
|
|
|
|
|
dhcp-manager/nm-dhcp-dhclient.h \
|
|
|
|
|
dhcp-manager/nm-dhcp-dhclient-utils.h \
|
|
|
|
|
dhcp-manager/nm-dhcp-dhcpcd.h \
|
|
|
|
|
dhcp-manager/nm-dhcp-systemd.h
|
|
|
|
|
|
2013-05-08 16:47:48 -04:00
|
|
|
nm_sources = \
|
build: ensure device source file constructors can be linked and called
gcc's linker does not add constructors from object files to the main
executable if they are built into a convenience library and then the
library is linked to the executable, unless something outside of the
object file with the constructor references a symbol from the object
file.
http://osdir.com/ml/libtool-gnu/2011-06/msg00003.html
"Yes, when convenience libraries are used to create a shared library, all the
objects are included in the output, when the output is an application they are
used like a normal archive library.
Either use them to create a shared library or, if creating an application,
don't use them, use the objects instead."
Further patches will remove all references to the NMDevice subclasses
from nm-manager.c, and have each NMDevice subclass register itself
with a factory through a constructor. But due to the above issue,
we need to somehow ensure the constructor in each nm-device-*.c file
gets added to the executable. This is accomplished by explicitly
linking each NMDevice subclass' object file into the main executable.
(Note that we cannot use -Wl,-whole-archive here because libtool only
supports this option for linking a convenience library to a shared
library, but not to an executable, and will actively prevent using
-whole-archive in LDFLAGS)
2014-09-08 15:12:48 -05:00
|
|
|
$(nm_device_headers) \
|
2014-10-29 17:12:46 -05:00
|
|
|
$(nm_dhcp_client_headers) \
|
2013-05-08 08:37:26 -04:00
|
|
|
devices/nm-device.c \
|
|
|
|
|
devices/nm-device.h \
|
2014-09-08 16:11:51 -05:00
|
|
|
devices/nm-device-ethernet-utils.c \
|
|
|
|
|
devices/nm-device-ethernet-utils.h \
|
2014-02-09 10:22:19 -06:00
|
|
|
devices/nm-device-factory.c \
|
2013-05-08 08:37:26 -04:00
|
|
|
devices/nm-device-factory.h \
|
|
|
|
|
devices/nm-device-generic.c \
|
|
|
|
|
devices/nm-device-generic.h \
|
2014-08-02 14:52:49 +02:00
|
|
|
devices/nm-device-logging.h \
|
2013-05-08 08:37:26 -04:00
|
|
|
devices/nm-device-private.h \
|
|
|
|
|
\
|
2013-05-06 14:18:26 -04:00
|
|
|
dhcp-manager/nm-dhcp-client.c \
|
|
|
|
|
dhcp-manager/nm-dhcp-client.h \
|
2014-07-01 08:21:33 -05:00
|
|
|
dhcp-manager/nm-dhcp-utils.c \
|
|
|
|
|
dhcp-manager/nm-dhcp-utils.h \
|
2014-10-29 15:04:38 -05:00
|
|
|
dhcp-manager/nm-dhcp-listener.c \
|
|
|
|
|
dhcp-manager/nm-dhcp-listener.h \
|
2013-05-06 14:18:26 -04:00
|
|
|
dhcp-manager/nm-dhcp-manager.c \
|
|
|
|
|
dhcp-manager/nm-dhcp-manager.h \
|
|
|
|
|
\
|
|
|
|
|
dns-manager/nm-dns-dnsmasq.c \
|
|
|
|
|
dns-manager/nm-dns-dnsmasq.h \
|
2014-04-03 12:39:45 +02:00
|
|
|
dns-manager/nm-dns-unbound.c \
|
|
|
|
|
dns-manager/nm-dns-unbound.h \
|
2013-05-06 14:18:26 -04:00
|
|
|
dns-manager/nm-dns-manager.c \
|
|
|
|
|
dns-manager/nm-dns-manager.h \
|
|
|
|
|
dns-manager/nm-dns-plugin.c \
|
|
|
|
|
dns-manager/nm-dns-plugin.h \
|
|
|
|
|
dns-manager/nm-dns-utils.c \
|
|
|
|
|
dns-manager/nm-dns-utils.h \
|
|
|
|
|
\
|
|
|
|
|
dnsmasq-manager/nm-dnsmasq-manager.c \
|
|
|
|
|
dnsmasq-manager/nm-dnsmasq-manager.h \
|
2012-10-12 15:25:23 -05:00
|
|
|
dnsmasq-manager/nm-dnsmasq-utils.c \
|
|
|
|
|
dnsmasq-manager/nm-dnsmasq-utils.h \
|
2013-05-06 14:18:26 -04:00
|
|
|
\
|
|
|
|
|
platform/nm-fake-platform.c \
|
|
|
|
|
platform/nm-fake-platform.h \
|
|
|
|
|
platform/nm-linux-platform.c \
|
|
|
|
|
platform/nm-linux-platform.h \
|
|
|
|
|
platform/nm-platform.c \
|
|
|
|
|
platform/nm-platform.h \
|
2014-02-04 14:27:03 +01:00
|
|
|
platform/wifi/wifi-utils-nl80211.c \
|
|
|
|
|
platform/wifi/wifi-utils-nl80211.h \
|
|
|
|
|
platform/wifi/wifi-utils-private.h \
|
|
|
|
|
platform/wifi/wifi-utils.c \
|
|
|
|
|
platform/wifi/wifi-utils.h \
|
2013-05-06 14:18:26 -04:00
|
|
|
\
|
2013-05-30 16:53:23 +02:00
|
|
|
rdisc/nm-fake-rdisc.c \
|
|
|
|
|
rdisc/nm-fake-rdisc.h \
|
|
|
|
|
rdisc/nm-lndp-rdisc.c \
|
|
|
|
|
rdisc/nm-lndp-rdisc.h \
|
|
|
|
|
rdisc/nm-rdisc.c \
|
|
|
|
|
rdisc/nm-rdisc.h \
|
2015-04-09 13:28:09 -05:00
|
|
|
rdisc/nm-rdisc-private.h \
|
2013-05-30 16:53:23 +02:00
|
|
|
\
|
2013-05-06 14:18:26 -04:00
|
|
|
ppp-manager/nm-ppp-manager.c \
|
|
|
|
|
ppp-manager/nm-ppp-manager.h \
|
|
|
|
|
ppp-manager/nm-ppp-status.h \
|
|
|
|
|
\
|
|
|
|
|
settings/nm-agent-manager.c \
|
|
|
|
|
settings/nm-agent-manager.h \
|
|
|
|
|
settings/nm-inotify-helper.c \
|
|
|
|
|
settings/nm-inotify-helper.h \
|
|
|
|
|
settings/nm-secret-agent.c \
|
|
|
|
|
settings/nm-secret-agent.h \
|
|
|
|
|
settings/nm-settings-connection.c \
|
|
|
|
|
settings/nm-settings-connection.h \
|
|
|
|
|
settings/nm-settings.c \
|
|
|
|
|
settings/nm-settings.h \
|
|
|
|
|
settings/nm-system-config-interface.c \
|
|
|
|
|
settings/nm-system-config-interface.h \
|
|
|
|
|
\
|
|
|
|
|
settings/plugins/keyfile/common.h \
|
|
|
|
|
settings/plugins/keyfile/nm-keyfile-connection.c \
|
|
|
|
|
settings/plugins/keyfile/nm-keyfile-connection.h \
|
|
|
|
|
settings/plugins/keyfile/plugin.c \
|
|
|
|
|
settings/plugins/keyfile/plugin.h \
|
|
|
|
|
settings/plugins/keyfile/reader.c \
|
|
|
|
|
settings/plugins/keyfile/reader.h \
|
|
|
|
|
settings/plugins/keyfile/utils.c \
|
|
|
|
|
settings/plugins/keyfile/utils.h \
|
|
|
|
|
settings/plugins/keyfile/writer.c \
|
|
|
|
|
settings/plugins/keyfile/writer.h \
|
|
|
|
|
\
|
|
|
|
|
supplicant-manager/nm-supplicant-config.c \
|
|
|
|
|
supplicant-manager/nm-supplicant-config.h \
|
|
|
|
|
supplicant-manager/nm-supplicant-interface.c \
|
|
|
|
|
supplicant-manager/nm-supplicant-interface.h \
|
|
|
|
|
supplicant-manager/nm-supplicant-manager.c \
|
|
|
|
|
supplicant-manager/nm-supplicant-manager.h \
|
|
|
|
|
supplicant-manager/nm-supplicant-settings-verify.c \
|
|
|
|
|
supplicant-manager/nm-supplicant-settings-verify.h \
|
|
|
|
|
supplicant-manager/nm-supplicant-types.h \
|
2013-06-04 18:30:20 -05:00
|
|
|
supplicant-manager/nm-call-store.c \
|
|
|
|
|
supplicant-manager/nm-call-store.h \
|
2013-05-06 14:18:26 -04:00
|
|
|
\
|
|
|
|
|
vpn-manager/nm-vpn-connection.c \
|
|
|
|
|
vpn-manager/nm-vpn-connection.h \
|
|
|
|
|
vpn-manager/nm-vpn-manager.c \
|
|
|
|
|
vpn-manager/nm-vpn-manager.h \
|
|
|
|
|
vpn-manager/nm-vpn-service.c \
|
|
|
|
|
vpn-manager/nm-vpn-service.h \
|
|
|
|
|
\
|
|
|
|
|
nm-activation-request.c \
|
|
|
|
|
nm-activation-request.h \
|
|
|
|
|
nm-active-connection.c \
|
|
|
|
|
nm-active-connection.h \
|
2014-07-25 12:04:04 -04:00
|
|
|
nm-config.c \
|
|
|
|
|
nm-config.h \
|
2013-05-06 14:18:26 -04:00
|
|
|
nm-connection-provider.c \
|
|
|
|
|
nm-connection-provider.h \
|
2013-07-29 16:36:00 -04:00
|
|
|
nm-connectivity.c \
|
|
|
|
|
nm-connectivity.h \
|
2013-05-06 14:18:26 -04:00
|
|
|
nm-dbus-manager.c \
|
|
|
|
|
nm-dbus-manager.h \
|
2013-10-03 23:42:26 -05:00
|
|
|
nm-dcb.c \
|
|
|
|
|
nm-dcb.h \
|
2014-08-29 00:03:47 +02:00
|
|
|
nm-default-route-manager.c \
|
|
|
|
|
nm-default-route-manager.h \
|
2013-05-06 14:18:26 -04:00
|
|
|
nm-dhcp4-config.c \
|
|
|
|
|
nm-dhcp4-config.h \
|
|
|
|
|
nm-dhcp6-config.c \
|
|
|
|
|
nm-dhcp6-config.h \
|
|
|
|
|
nm-dispatcher.c \
|
|
|
|
|
nm-dispatcher.h \
|
|
|
|
|
nm-enum-types.c \
|
|
|
|
|
nm-enum-types.h \
|
2014-11-12 12:37:12 +01:00
|
|
|
nm-firewall-manager.c \
|
|
|
|
|
nm-firewall-manager.h \
|
2013-05-06 14:18:26 -04:00
|
|
|
nm-ip4-config.c \
|
|
|
|
|
nm-ip4-config.h \
|
|
|
|
|
nm-ip6-config.c \
|
|
|
|
|
nm-ip6-config.h \
|
2014-07-25 12:04:04 -04:00
|
|
|
nm-logging.c \
|
|
|
|
|
nm-logging.h \
|
2014-08-14 13:34:57 +02:00
|
|
|
nm-auth-manager.c \
|
|
|
|
|
nm-auth-manager.h \
|
2013-07-25 22:53:43 -05:00
|
|
|
nm-auth-subject.c \
|
|
|
|
|
nm-auth-subject.h \
|
2014-08-16 01:33:46 +02:00
|
|
|
nm-auth-utils.c \
|
|
|
|
|
nm-auth-utils.h \
|
2013-05-06 14:18:26 -04:00
|
|
|
nm-manager.c \
|
|
|
|
|
nm-manager.h \
|
|
|
|
|
nm-policy.c \
|
|
|
|
|
nm-policy.h \
|
2014-07-25 12:04:04 -04:00
|
|
|
nm-posix-signals.c \
|
|
|
|
|
nm-posix-signals.h \
|
2013-05-06 14:18:26 -04:00
|
|
|
nm-properties-changed-signal.c \
|
|
|
|
|
nm-properties-changed-signal.h \
|
2013-05-09 10:24:08 -04:00
|
|
|
nm-rfkill-manager.c \
|
|
|
|
|
nm-rfkill-manager.h \
|
2013-05-06 14:18:26 -04:00
|
|
|
nm-session-monitor.h \
|
|
|
|
|
nm-session-utils.c \
|
|
|
|
|
nm-session-utils.h \
|
|
|
|
|
nm-sleep-monitor.h \
|
|
|
|
|
nm-types.h \
|
|
|
|
|
NetworkManagerUtils.c \
|
|
|
|
|
NetworkManagerUtils.h
|
2011-12-05 15:11:13 -06:00
|
|
|
|
2012-02-01 16:49:46 -06:00
|
|
|
if SESSION_TRACKING_SYSTEMD
|
2013-05-08 16:47:48 -04:00
|
|
|
nm_sources += nm-session-monitor-systemd.c
|
2012-02-01 16:49:46 -06:00
|
|
|
else
|
|
|
|
|
if SESSION_TRACKING_CK
|
2013-05-08 16:47:48 -04:00
|
|
|
nm_sources += nm-session-monitor-ck.c
|
2011-12-23 20:07:07 -05:00
|
|
|
else
|
2013-05-08 16:47:48 -04:00
|
|
|
nm_sources += nm-session-monitor-null.c
|
2012-02-01 16:49:46 -06:00
|
|
|
endif
|
2012-11-06 14:22:44 -06:00
|
|
|
endif
|
2012-10-09 00:39:03 -04:00
|
|
|
|
2012-11-06 14:22:44 -06:00
|
|
|
if SUSPEND_RESUME_SYSTEMD
|
2013-05-08 16:47:48 -04:00
|
|
|
nm_sources += nm-sleep-monitor-systemd.c
|
2012-11-06 14:22:44 -06:00
|
|
|
else
|
2012-10-09 00:39:03 -04:00
|
|
|
# UPower suspend/resume used whenever systemd is not enabled
|
2013-05-08 16:47:48 -04:00
|
|
|
nm_sources += nm-sleep-monitor-upower.c
|
2013-05-06 14:18:26 -04:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if WITH_WEXT
|
2014-02-04 14:27:03 +01:00
|
|
|
nm_sources += \
|
|
|
|
|
platform/wifi/wifi-utils-wext.c \
|
|
|
|
|
platform/wifi/wifi-utils-wext.h
|
2011-12-23 20:07:07 -05:00
|
|
|
endif
|
|
|
|
|
|
2013-05-06 14:18:26 -04:00
|
|
|
|
|
|
|
|
GLIB_GENERATED = nm-enum-types.h nm-enum-types.c
|
2014-10-15 15:27:25 -04:00
|
|
|
GLIB_MKENUMS_H_FLAGS = --identifier-prefix NM --fhead '\#include <nm-core-enum-types.h>\n'
|
2013-05-06 14:18:26 -04:00
|
|
|
GLIB_MKENUMS_C_FLAGS = --identifier-prefix NM
|
2013-05-08 16:47:48 -04:00
|
|
|
nm_enum_types_sources = $(nm_sources)
|
2014-02-10 06:35:56 -06:00
|
|
|
|
2013-05-06 14:18:26 -04:00
|
|
|
if WITH_WIMAX
|
2013-05-08 08:37:26 -04:00
|
|
|
nm_enum_types_sources += devices/wimax/nm-device-wimax.h
|
2013-08-22 10:47:21 -04:00
|
|
|
AM_CPPFLAGS += -I$(top_srcdir)/src/devices/wimax
|
2013-05-06 14:18:26 -04:00
|
|
|
endif
|
2006-02-02 20:52:43 +00:00
|
|
|
|
2013-05-08 16:47:48 -04:00
|
|
|
BUILT_SOURCES = $(GLIB_GENERATED)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
glue_sources = \
|
|
|
|
|
nm-access-point-glue.h \
|
|
|
|
|
nm-active-connection-glue.h \
|
|
|
|
|
nm-agent-manager-glue.h \
|
|
|
|
|
nm-device-bond-glue.h \
|
|
|
|
|
nm-device-bridge-glue.h \
|
|
|
|
|
nm-device-ethernet-glue.h \
|
|
|
|
|
nm-device-generic-glue.h \
|
|
|
|
|
nm-device-glue.h \
|
2013-05-21 12:49:24 -03:00
|
|
|
nm-device-gre-glue.h \
|
2013-05-08 16:47:48 -04:00
|
|
|
nm-device-infiniband-glue.h \
|
2013-05-06 09:16:17 -04:00
|
|
|
nm-device-macvlan-glue.h \
|
2013-04-25 15:46:39 -04:00
|
|
|
nm-device-tun-glue.h \
|
2013-05-03 13:55:51 -04:00
|
|
|
nm-device-veth-glue.h \
|
2013-05-08 16:47:48 -04:00
|
|
|
nm-device-vlan-glue.h \
|
2013-06-04 10:31:22 -03:00
|
|
|
nm-device-vxlan-glue.h \
|
2013-05-08 16:47:48 -04:00
|
|
|
nm-dhcp4-config-glue.h \
|
|
|
|
|
nm-dhcp6-config-glue.h \
|
|
|
|
|
nm-ip4-config-glue.h \
|
|
|
|
|
nm-ip6-config-glue.h \
|
|
|
|
|
nm-manager-glue.h \
|
|
|
|
|
nm-ppp-manager-glue.h \
|
|
|
|
|
nm-settings-connection-glue.h \
|
|
|
|
|
nm-settings-glue.h \
|
|
|
|
|
nm-vpn-connection-glue.h
|
|
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(glue_sources)
|
|
|
|
|
|
|
|
|
|
%-glue.h: $(top_srcdir)/introspection/%.xml
|
|
|
|
|
$(AM_V_GEN) dbus-binding-tool --prefix=$(subst -,_,$(subst -glue.h,,$@)) --mode=glib-server --output=$@ $<
|
|
|
|
|
|
|
|
|
|
|
2013-08-22 10:47:21 -04:00
|
|
|
AM_CPPFLAGS += \
|
2009-05-13 21:32:56 -04:00
|
|
|
$(DBUS_CFLAGS) \
|
|
|
|
|
$(GLIB_CFLAGS) \
|
2009-06-05 01:55:02 -04:00
|
|
|
$(GUDEV_CFLAGS) \
|
2009-05-13 21:32:56 -04:00
|
|
|
$(LIBNL_CFLAGS) \
|
2013-05-30 16:53:23 +02:00
|
|
|
$(LIBNDP_CFLAGS) \
|
2013-05-06 14:18:26 -04:00
|
|
|
$(LIBSOUP_CFLAGS) \
|
2012-11-06 14:11:05 -06:00
|
|
|
$(SYSTEMD_LOGIN_CFLAGS) \
|
2014-07-22 12:38:20 -05:00
|
|
|
$(SYSTEMD_DHCP_CFLAGS) \
|
2013-05-06 14:18:26 -04:00
|
|
|
\
|
2009-05-13 21:32:56 -04:00
|
|
|
-DBINDIR=\"$(bindir)\" \
|
|
|
|
|
-DDATADIR=\"$(datadir)\" \
|
2013-05-06 14:18:26 -04:00
|
|
|
-DLIBEXECDIR=\"$(libexecdir)\" \
|
2009-05-13 21:32:56 -04:00
|
|
|
-DLOCALSTATEDIR=\"$(localstatedir)\" \
|
2013-05-06 14:18:26 -04:00
|
|
|
-DSBINDIR=\"$(sbindir)\" \
|
|
|
|
|
-DSYSCONFDIR=\"$(sysconfdir)\" \
|
2013-11-27 19:00:14 -06:00
|
|
|
-DRUNDIR=\"$(rundir)\" \
|
2013-05-06 14:18:26 -04:00
|
|
|
\
|
|
|
|
|
-DNMCONFDIR=\"$(nmconfdir)\" \
|
2009-05-13 21:32:56 -04:00
|
|
|
-DNMLOCALEDIR=\"$(datadir)/locale\" \
|
2012-08-23 11:53:41 +02:00
|
|
|
-DNMPLUGINDIR=\"$(pkglibdir)\" \
|
|
|
|
|
-DNMRUNDIR=\"$(nmrundir)\" \
|
2013-05-06 14:18:26 -04:00
|
|
|
-DNMSTATEDIR=\"$(nmstatedir)\" \
|
|
|
|
|
\
|
|
|
|
|
-DDHCLIENT_PATH=\"$(DHCLIENT_PATH)\" \
|
|
|
|
|
-DDHCPCD_PATH=\"$(DHCPCD_PATH)\" \
|
|
|
|
|
-DPPPD_PLUGIN_DIR=\"$(PPPD_PLUGIN_DIR)\" \
|
|
|
|
|
\
|
|
|
|
|
$(NULL)
|
2011-12-05 15:11:13 -06:00
|
|
|
|
2012-08-23 11:53:41 +02:00
|
|
|
if SESSION_TRACKING_CK
|
2013-05-06 14:18:26 -04:00
|
|
|
AM_CPPFLAGS += -DCKDB_PATH=\"${CKDB_PATH}\"
|
2012-08-23 11:53:41 +02:00
|
|
|
endif
|
|
|
|
|
|
2013-05-08 16:47:48 -04:00
|
|
|
libNetworkManager_la_SOURCES = \
|
|
|
|
|
$(nm_sources) \
|
|
|
|
|
$(glue_sources)
|
|
|
|
|
|
2013-05-06 14:18:26 -04:00
|
|
|
libNetworkManager_la_LIBADD = \
|
2014-05-19 13:44:02 -04:00
|
|
|
$(top_builddir)/libnm-core/libnm-core.la \
|
2014-07-22 12:38:20 -05:00
|
|
|
libsystemd-dhcp.la \
|
2009-08-20 12:31:17 -05:00
|
|
|
$(DBUS_LIBS) \
|
|
|
|
|
$(GLIB_LIBS) \
|
|
|
|
|
$(GUDEV_LIBS) \
|
|
|
|
|
$(LIBNL_LIBS) \
|
2012-11-06 14:11:05 -06:00
|
|
|
$(SYSTEMD_LOGIN_LIBS) \
|
2014-07-17 18:04:17 -04:00
|
|
|
$(LIBNDP_LIBS) \
|
2013-05-06 14:18:26 -04:00
|
|
|
$(LIBDL) \
|
|
|
|
|
$(LIBM)
|
2004-11-12 18:49:33 +00:00
|
|
|
|
2014-07-31 20:35:28 +02:00
|
|
|
if WITH_LIBSOUP
|
2013-05-06 14:18:26 -04:00
|
|
|
libNetworkManager_la_LIBADD += $(LIBSOUP_LIBS)
|
2011-12-05 15:11:13 -06:00
|
|
|
endif
|
|
|
|
|
|
2006-02-27 04:31:52 +00:00
|
|
|
NetworkManager_LDFLAGS = -rdynamic
|
2006-02-02 20:52:43 +00:00
|
|
|
|
2014-07-22 12:38:20 -05:00
|
|
|
######################
|
|
|
|
|
|
2014-10-29 09:12:18 -05:00
|
|
|
libnm_iface_helper_la_SOURCES = \
|
|
|
|
|
dhcp-manager/nm-dhcp-client.c \
|
|
|
|
|
dhcp-manager/nm-dhcp-client.h \
|
|
|
|
|
dhcp-manager/nm-dhcp-utils.c \
|
|
|
|
|
dhcp-manager/nm-dhcp-utils.h \
|
|
|
|
|
dhcp-manager/nm-dhcp-manager.c \
|
|
|
|
|
dhcp-manager/nm-dhcp-manager.h \
|
|
|
|
|
\
|
|
|
|
|
platform/nm-linux-platform.c \
|
|
|
|
|
platform/nm-linux-platform.h \
|
|
|
|
|
platform/nm-platform.c \
|
|
|
|
|
platform/nm-platform.h \
|
|
|
|
|
platform/wifi/wifi-utils-nl80211.c \
|
|
|
|
|
platform/wifi/wifi-utils-nl80211.h \
|
|
|
|
|
platform/wifi/wifi-utils-private.h \
|
|
|
|
|
platform/wifi/wifi-utils.c \
|
|
|
|
|
platform/wifi/wifi-utils.h \
|
|
|
|
|
\
|
|
|
|
|
rdisc/nm-fake-rdisc.c \
|
|
|
|
|
rdisc/nm-fake-rdisc.h \
|
|
|
|
|
rdisc/nm-lndp-rdisc.c \
|
|
|
|
|
rdisc/nm-lndp-rdisc.h \
|
|
|
|
|
rdisc/nm-rdisc.c \
|
|
|
|
|
rdisc/nm-rdisc.h \
|
|
|
|
|
\
|
|
|
|
|
nm-ip4-config.c \
|
|
|
|
|
nm-ip4-config.h \
|
|
|
|
|
nm-ip6-config.c \
|
|
|
|
|
nm-ip6-config.h \
|
|
|
|
|
\
|
|
|
|
|
nm-enum-types.c \
|
|
|
|
|
nm-enum-types.h \
|
|
|
|
|
nm-logging.c \
|
|
|
|
|
nm-logging.h \
|
|
|
|
|
nm-posix-signals.c \
|
|
|
|
|
nm-posix-signals.h \
|
|
|
|
|
NetworkManagerUtils.c \
|
|
|
|
|
NetworkManagerUtils.h
|
|
|
|
|
|
|
|
|
|
if WITH_WEXT
|
|
|
|
|
libnm_iface_helper_la_SOURCES += \
|
|
|
|
|
platform/wifi/wifi-utils-wext.c \
|
|
|
|
|
platform/wifi/wifi-utils-wext.h
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
libnm_iface_helper_la_LIBADD = \
|
|
|
|
|
$(top_builddir)/libnm-core/libnm-core.la \
|
|
|
|
|
libsystemd-dhcp.la \
|
|
|
|
|
$(DBUS_LIBS) \
|
|
|
|
|
$(GLIB_LIBS) \
|
|
|
|
|
$(GUDEV_LIBS) \
|
|
|
|
|
$(LIBNL_LIBS) \
|
|
|
|
|
$(LIBNDP_LIBS) \
|
|
|
|
|
$(LIBDL) \
|
|
|
|
|
$(LIBM)
|
|
|
|
|
|
|
|
|
|
libexec_PROGRAMS = nm-iface-helper
|
|
|
|
|
|
|
|
|
|
nm_iface_helper_SOURCES = \
|
|
|
|
|
dhcp-manager/nm-dhcp-systemd.h \
|
|
|
|
|
dhcp-manager/nm-dhcp-systemd.c \
|
|
|
|
|
nm-iface-helper.c \
|
|
|
|
|
main-utils.c \
|
|
|
|
|
main-utils.h
|
|
|
|
|
|
|
|
|
|
nm_iface_helper_LDADD = \
|
|
|
|
|
$(top_builddir)/libnm-core/libnm-core.la \
|
|
|
|
|
libsystemd-dhcp.la \
|
|
|
|
|
libnm-iface-helper.la \
|
|
|
|
|
$(DBUS_LIBS) \
|
|
|
|
|
$(GLIB_LIBS) \
|
|
|
|
|
$(GUDEV_LIBS) \
|
|
|
|
|
$(LIBNL_LIBS) \
|
|
|
|
|
$(LIBNDP_LIBS) \
|
|
|
|
|
$(LIBM)
|
|
|
|
|
|
|
|
|
|
nm_iface_helper_LDFLAGS = -rdynamic
|
|
|
|
|
|
|
|
|
|
######################
|
|
|
|
|
|
2004-07-28 18:04:23 +00:00
|
|
|
dbusservicedir = $(DBUS_SYS_DIR)
|
2011-12-12 19:31:11 -06:00
|
|
|
dbusservice_DATA = org.freedesktop.NetworkManager.conf
|
2004-06-24 14:18:37 +00:00
|
|
|
|
2012-10-18 11:53:05 -04:00
|
|
|
EXTRA_DIST = \
|
2006-03-05 Dan Williams <dcbw@redhat.com>
Process netlink messages in device subclasses rather than in
NetworkManager.c. Also add support for recognizing Wireless Events.
* configure.in
- Find GLIB_GENMARSHAL
* src/Makefile.am
- Since we're marshalling custom types for wireless event signals,
we get to create our own marshallers using GLIB_GENMARSHAL
* src/NetworkManager.c
- (nm_monitor_wired_link_state): renamed to nm_monitor_setup
- (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
cut down somewhat. We no longer process signals here.
- (nm_data_new): create the netlink monitor here, and remove a
useless call to nm_policy_schedule_device_change_check()
- (nm_data_free): get rid of the netlink monitor here
- (nm_device_link_activated, nm_device_link_deactivated): removed
- (main): don't create the netlink monitor here, let nm_data_new
do that. Call nm_policy_schedule_device_change_check() right
before we jump to the mainloop to figure out which device
to use first
* src/NetworkManagerSystem.[ch]
- (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
convert back and forth from interface names to interface
indexes
* src/nm-device-802-11-wireless.c
- (real_init): connect to wireless-event signals from the netlink
monitor object
- (nm_device_802_11_wireless_event): new function, schedule handler
for wireless event signals from the netlink monitor object. We
want the handler to run in the device's context
- (wireless_event_helper): handle wireless-event signals from netlink
- (nm_device_802_11_wireless_dispose): disconnect wireless-event
signal handler
* src/nm-device-802-11-wireless.h
- remove unused prototype for nm_device_802_11_wireless_new
* src/nm-device-802-3-ethernet.c
- (real_init): new function; set up signal handlers for link events
- (nm_device_802_3_ethernet_link_activated): new function, schedule
handler for netlink link activated events on device's main loop
- (link_activated_helper): when we get a link activated event, set
the device's link to be active
- (nm_device_802_3_ethernet_link_deactivated): new function; schedule
handler for netlink link deactivated events on device's main loop
- (link_deactivated_helper): when we get a link deactivated event, set
the device's link to be inactive
- (nm_device_802_3_ethernet_dispose): disconnect signal handler on
dispose
* src/nm-device-802-3-ethernet.h
- remove unused prototype for nm_device_802_3_ethernet_new
* src/nm-device.[ch]
- (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
but locks the device list
- (nm_device_set_active_link): a little bit of cleanup and de-indenting
* src/nm-netlink-monitor.[ch]
- (nm_netlink_monitor_class_install_signals): New signal
"wireless-event"
- (nm_netlink_monitor_new): keep reference to NMData so we can get
at the device list
- (nm_netlink_monitor_event_handler): expand for wireless events too
* src/nm-marshal-main.c
- Include generated nm-marshal.c and nm-marshal.h
* src/nm-marshal.list
- List of custom marshal functions
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1555 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-06 01:10:58 +00:00
|
|
|
$(dbusservice_DATA) \
|
2007-10-01 21:26:13 +00:00
|
|
|
$(NetworkManager_DATA)
|
2006-03-05 Dan Williams <dcbw@redhat.com>
Process netlink messages in device subclasses rather than in
NetworkManager.c. Also add support for recognizing Wireless Events.
* configure.in
- Find GLIB_GENMARSHAL
* src/Makefile.am
- Since we're marshalling custom types for wireless event signals,
we get to create our own marshallers using GLIB_GENMARSHAL
* src/NetworkManager.c
- (nm_monitor_wired_link_state): renamed to nm_monitor_setup
- (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
cut down somewhat. We no longer process signals here.
- (nm_data_new): create the netlink monitor here, and remove a
useless call to nm_policy_schedule_device_change_check()
- (nm_data_free): get rid of the netlink monitor here
- (nm_device_link_activated, nm_device_link_deactivated): removed
- (main): don't create the netlink monitor here, let nm_data_new
do that. Call nm_policy_schedule_device_change_check() right
before we jump to the mainloop to figure out which device
to use first
* src/NetworkManagerSystem.[ch]
- (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
convert back and forth from interface names to interface
indexes
* src/nm-device-802-11-wireless.c
- (real_init): connect to wireless-event signals from the netlink
monitor object
- (nm_device_802_11_wireless_event): new function, schedule handler
for wireless event signals from the netlink monitor object. We
want the handler to run in the device's context
- (wireless_event_helper): handle wireless-event signals from netlink
- (nm_device_802_11_wireless_dispose): disconnect wireless-event
signal handler
* src/nm-device-802-11-wireless.h
- remove unused prototype for nm_device_802_11_wireless_new
* src/nm-device-802-3-ethernet.c
- (real_init): new function; set up signal handlers for link events
- (nm_device_802_3_ethernet_link_activated): new function, schedule
handler for netlink link activated events on device's main loop
- (link_activated_helper): when we get a link activated event, set
the device's link to be active
- (nm_device_802_3_ethernet_link_deactivated): new function; schedule
handler for netlink link deactivated events on device's main loop
- (link_deactivated_helper): when we get a link deactivated event, set
the device's link to be inactive
- (nm_device_802_3_ethernet_dispose): disconnect signal handler on
dispose
* src/nm-device-802-3-ethernet.h
- remove unused prototype for nm_device_802_3_ethernet_new
* src/nm-device.[ch]
- (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
but locks the device list
- (nm_device_set_active_link): a little bit of cleanup and de-indenting
* src/nm-netlink-monitor.[ch]
- (nm_netlink_monitor_class_install_signals): New signal
"wireless-event"
- (nm_netlink_monitor_new): keep reference to NMData so we can get
at the device list
- (nm_netlink_monitor_event_handler): expand for wireless events too
* src/nm-marshal-main.c
- Include generated nm-marshal.c and nm-marshal.h
* src/nm-marshal.list
- List of custom marshal functions
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1555 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-06 01:10:58 +00:00
|
|
|
|
|
|
|
|
rundir=$(localstatedir)/run/NetworkManager
|
2010-11-08 09:09:54 -06:00
|
|
|
statedir=$(localstatedir)/lib/NetworkManager
|
2006-03-05 Dan Williams <dcbw@redhat.com>
Process netlink messages in device subclasses rather than in
NetworkManager.c. Also add support for recognizing Wireless Events.
* configure.in
- Find GLIB_GENMARSHAL
* src/Makefile.am
- Since we're marshalling custom types for wireless event signals,
we get to create our own marshallers using GLIB_GENMARSHAL
* src/NetworkManager.c
- (nm_monitor_wired_link_state): renamed to nm_monitor_setup
- (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
cut down somewhat. We no longer process signals here.
- (nm_data_new): create the netlink monitor here, and remove a
useless call to nm_policy_schedule_device_change_check()
- (nm_data_free): get rid of the netlink monitor here
- (nm_device_link_activated, nm_device_link_deactivated): removed
- (main): don't create the netlink monitor here, let nm_data_new
do that. Call nm_policy_schedule_device_change_check() right
before we jump to the mainloop to figure out which device
to use first
* src/NetworkManagerSystem.[ch]
- (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
convert back and forth from interface names to interface
indexes
* src/nm-device-802-11-wireless.c
- (real_init): connect to wireless-event signals from the netlink
monitor object
- (nm_device_802_11_wireless_event): new function, schedule handler
for wireless event signals from the netlink monitor object. We
want the handler to run in the device's context
- (wireless_event_helper): handle wireless-event signals from netlink
- (nm_device_802_11_wireless_dispose): disconnect wireless-event
signal handler
* src/nm-device-802-11-wireless.h
- remove unused prototype for nm_device_802_11_wireless_new
* src/nm-device-802-3-ethernet.c
- (real_init): new function; set up signal handlers for link events
- (nm_device_802_3_ethernet_link_activated): new function, schedule
handler for netlink link activated events on device's main loop
- (link_activated_helper): when we get a link activated event, set
the device's link to be active
- (nm_device_802_3_ethernet_link_deactivated): new function; schedule
handler for netlink link deactivated events on device's main loop
- (link_deactivated_helper): when we get a link deactivated event, set
the device's link to be inactive
- (nm_device_802_3_ethernet_dispose): disconnect signal handler on
dispose
* src/nm-device-802-3-ethernet.h
- remove unused prototype for nm_device_802_3_ethernet_new
* src/nm-device.[ch]
- (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
but locks the device list
- (nm_device_set_active_link): a little bit of cleanup and de-indenting
* src/nm-netlink-monitor.[ch]
- (nm_netlink_monitor_class_install_signals): New signal
"wireless-event"
- (nm_netlink_monitor_new): keep reference to NMData so we can get
at the device list
- (nm_netlink_monitor_event_handler): expand for wireless events too
* src/nm-marshal-main.c
- Include generated nm-marshal.c and nm-marshal.h
* src/nm-marshal.list
- List of custom marshal functions
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1555 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-06 01:10:58 +00:00
|
|
|
install-data-hook:
|
2008-08-17 22:54:49 +00:00
|
|
|
$(mkinstalldirs) -m 0700 $(DESTDIR)$(rundir)
|
2010-11-08 09:09:54 -06:00
|
|
|
$(mkinstalldirs) -m 0700 $(DESTDIR)$(statedir)
|
2012-11-20 22:00:46 -05:00
|
|
|
$(mkinstalldirs) -m 0755 $(DESTDIR)$(pkglibdir)
|
2006-03-05 Dan Williams <dcbw@redhat.com>
Process netlink messages in device subclasses rather than in
NetworkManager.c. Also add support for recognizing Wireless Events.
* configure.in
- Find GLIB_GENMARSHAL
* src/Makefile.am
- Since we're marshalling custom types for wireless event signals,
we get to create our own marshallers using GLIB_GENMARSHAL
* src/NetworkManager.c
- (nm_monitor_wired_link_state): renamed to nm_monitor_setup
- (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
cut down somewhat. We no longer process signals here.
- (nm_data_new): create the netlink monitor here, and remove a
useless call to nm_policy_schedule_device_change_check()
- (nm_data_free): get rid of the netlink monitor here
- (nm_device_link_activated, nm_device_link_deactivated): removed
- (main): don't create the netlink monitor here, let nm_data_new
do that. Call nm_policy_schedule_device_change_check() right
before we jump to the mainloop to figure out which device
to use first
* src/NetworkManagerSystem.[ch]
- (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
convert back and forth from interface names to interface
indexes
* src/nm-device-802-11-wireless.c
- (real_init): connect to wireless-event signals from the netlink
monitor object
- (nm_device_802_11_wireless_event): new function, schedule handler
for wireless event signals from the netlink monitor object. We
want the handler to run in the device's context
- (wireless_event_helper): handle wireless-event signals from netlink
- (nm_device_802_11_wireless_dispose): disconnect wireless-event
signal handler
* src/nm-device-802-11-wireless.h
- remove unused prototype for nm_device_802_11_wireless_new
* src/nm-device-802-3-ethernet.c
- (real_init): new function; set up signal handlers for link events
- (nm_device_802_3_ethernet_link_activated): new function, schedule
handler for netlink link activated events on device's main loop
- (link_activated_helper): when we get a link activated event, set
the device's link to be active
- (nm_device_802_3_ethernet_link_deactivated): new function; schedule
handler for netlink link deactivated events on device's main loop
- (link_deactivated_helper): when we get a link deactivated event, set
the device's link to be inactive
- (nm_device_802_3_ethernet_dispose): disconnect signal handler on
dispose
* src/nm-device-802-3-ethernet.h
- remove unused prototype for nm_device_802_3_ethernet_new
* src/nm-device.[ch]
- (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
but locks the device list
- (nm_device_set_active_link): a little bit of cleanup and de-indenting
* src/nm-netlink-monitor.[ch]
- (nm_netlink_monitor_class_install_signals): New signal
"wireless-event"
- (nm_netlink_monitor_new): keep reference to NMData so we can get
at the device list
- (nm_netlink_monitor_event_handler): expand for wireless events too
* src/nm-marshal-main.c
- Include generated nm-marshal.c and nm-marshal.h
* src/nm-marshal.list
- List of custom marshal functions
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1555 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-06 01:10:58 +00:00
|
|
|
|
2014-02-26 09:58:15 -06:00
|
|
|
CLEANFILES = \
|
|
|
|
|
$(BUILT_SOURCES) \
|
|
|
|
|
settings/*-glue.h \
|
|
|
|
|
devices/*-glue.h \
|
|
|
|
|
devices/*/*-glue.h
|
2006-03-05 Dan Williams <dcbw@redhat.com>
Process netlink messages in device subclasses rather than in
NetworkManager.c. Also add support for recognizing Wireless Events.
* configure.in
- Find GLIB_GENMARSHAL
* src/Makefile.am
- Since we're marshalling custom types for wireless event signals,
we get to create our own marshallers using GLIB_GENMARSHAL
* src/NetworkManager.c
- (nm_monitor_wired_link_state): renamed to nm_monitor_setup
- (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
cut down somewhat. We no longer process signals here.
- (nm_data_new): create the netlink monitor here, and remove a
useless call to nm_policy_schedule_device_change_check()
- (nm_data_free): get rid of the netlink monitor here
- (nm_device_link_activated, nm_device_link_deactivated): removed
- (main): don't create the netlink monitor here, let nm_data_new
do that. Call nm_policy_schedule_device_change_check() right
before we jump to the mainloop to figure out which device
to use first
* src/NetworkManagerSystem.[ch]
- (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
convert back and forth from interface names to interface
indexes
* src/nm-device-802-11-wireless.c
- (real_init): connect to wireless-event signals from the netlink
monitor object
- (nm_device_802_11_wireless_event): new function, schedule handler
for wireless event signals from the netlink monitor object. We
want the handler to run in the device's context
- (wireless_event_helper): handle wireless-event signals from netlink
- (nm_device_802_11_wireless_dispose): disconnect wireless-event
signal handler
* src/nm-device-802-11-wireless.h
- remove unused prototype for nm_device_802_11_wireless_new
* src/nm-device-802-3-ethernet.c
- (real_init): new function; set up signal handlers for link events
- (nm_device_802_3_ethernet_link_activated): new function, schedule
handler for netlink link activated events on device's main loop
- (link_activated_helper): when we get a link activated event, set
the device's link to be active
- (nm_device_802_3_ethernet_link_deactivated): new function; schedule
handler for netlink link deactivated events on device's main loop
- (link_deactivated_helper): when we get a link deactivated event, set
the device's link to be inactive
- (nm_device_802_3_ethernet_dispose): disconnect signal handler on
dispose
* src/nm-device-802-3-ethernet.h
- remove unused prototype for nm_device_802_3_ethernet_new
* src/nm-device.[ch]
- (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
but locks the device list
- (nm_device_set_active_link): a little bit of cleanup and de-indenting
* src/nm-netlink-monitor.[ch]
- (nm_netlink_monitor_class_install_signals): New signal
"wireless-event"
- (nm_netlink_monitor_new): keep reference to NMData so we can get
at the device list
- (nm_netlink_monitor_event_handler): expand for wireless events too
* src/nm-marshal-main.c
- Include generated nm-marshal.c and nm-marshal.h
* src/nm-marshal.list
- List of custom marshal functions
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1555 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-06 01:10:58 +00:00
|
|
|
|