build: merge "src/devices/team/Makefile.am" into toplevel Makefile
This commit is contained in:
47
Makefile.am
47
Makefile.am
@@ -2509,6 +2509,53 @@ src_devices_wifi_tests_test_general_LDADD = src/libNetworkManager.la
|
|||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# src/devices/team
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
if WITH_TEAMDCTL
|
||||||
|
|
||||||
|
pkglib_LTLIBRARIES += src/devices/team/libnm-device-plugin-team.la
|
||||||
|
|
||||||
|
src_devices_team_libnm_device_plugin_team_la_SOURCES = \
|
||||||
|
src/devices/team/nm-team-factory.c \
|
||||||
|
src/devices/team/nm-device-team.c \
|
||||||
|
src/devices/team/nm-device-team.h
|
||||||
|
|
||||||
|
src_devices_team_libnm_device_plugin_team_la_CPPFLAGS = \
|
||||||
|
-I${top_srcdir}/src \
|
||||||
|
-I${top_builddir}/src \
|
||||||
|
-I${top_srcdir}/src/devices \
|
||||||
|
-I${top_srcdir}/src/platform \
|
||||||
|
-I${top_srcdir}/src/settings \
|
||||||
|
-I${top_builddir}/introspection \
|
||||||
|
-I${top_srcdir}/shared \
|
||||||
|
-I$(top_builddir)/shared \
|
||||||
|
-I${top_builddir}/libnm-core \
|
||||||
|
-I${top_srcdir}/libnm-core \
|
||||||
|
-DG_LOG_DOMAIN=\""NetworkManager"\" \
|
||||||
|
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
|
||||||
|
${LIBTEAMDCTL_CFLAGS} \
|
||||||
|
$(GLIB_CFLAGS)
|
||||||
|
|
||||||
|
src_devices_team_libnm_device_plugin_team_la_LDFLAGS = \
|
||||||
|
-module -avoid-version \
|
||||||
|
-Wl,--version-script="$(top_srcdir)/linker-script-devices.ver"
|
||||||
|
|
||||||
|
src_devices_team_libnm_device_plugin_team_la_LIBADD = \
|
||||||
|
introspection/libnmdbus.la \
|
||||||
|
$(LIBTEAMDCTL_LIBS) \
|
||||||
|
$(GLIB_LIBS) \
|
||||||
|
$(GUDEV_LIBS)
|
||||||
|
|
||||||
|
check-local-devices-team: src/devices/team/libnm-device-plugin-team.la
|
||||||
|
$(top_srcdir)/tools/check-exports.sh $(builddir)/src/devices/team/.libs/libnm-device-plugin-team.so "$(top_srcdir)/linker-script-devices.ver"
|
||||||
|
$(call check_so_symbols,$(builddir)/src/devices/team/.libs/libnm-device-plugin-team.so)
|
||||||
|
|
||||||
|
check_local += check-local-devices-team
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
girdir = $(datadir)/gir-1.0
|
girdir = $(datadir)/gir-1.0
|
||||||
|
@@ -1146,7 +1146,6 @@ src/rdisc/Makefile
|
|||||||
src/rdisc/tests/Makefile
|
src/rdisc/tests/Makefile
|
||||||
src/devices/Makefile
|
src/devices/Makefile
|
||||||
src/devices/tests/Makefile
|
src/devices/tests/Makefile
|
||||||
src/devices/team/Makefile
|
|
||||||
libnm/libnm.pc
|
libnm/libnm.pc
|
||||||
libnm-util/libnm-util.pc
|
libnm-util/libnm-util.pc
|
||||||
libnm-util/Makefile
|
libnm-util/Makefile
|
||||||
|
@@ -1,9 +1,5 @@
|
|||||||
SUBDIRS =
|
SUBDIRS =
|
||||||
|
|
||||||
if WITH_TEAMDCTL
|
|
||||||
SUBDIRS += devices/team
|
|
||||||
endif
|
|
||||||
|
|
||||||
if ENABLE_TESTS
|
if ENABLE_TESTS
|
||||||
SUBDIRS += \
|
SUBDIRS += \
|
||||||
dnsmasq-manager/tests \
|
dnsmasq-manager/tests \
|
||||||
|
@@ -1,48 +0,0 @@
|
|||||||
include $(GLIB_MAKEFILE)
|
|
||||||
|
|
||||||
include $(top_srcdir)/nm.mk
|
|
||||||
|
|
||||||
@GNOME_CODE_COVERAGE_RULES@
|
|
||||||
|
|
||||||
AM_CPPFLAGS = \
|
|
||||||
-I${top_srcdir}/src \
|
|
||||||
-I${top_builddir}/src \
|
|
||||||
-I${top_srcdir}/src/devices \
|
|
||||||
-I${top_srcdir}/src/platform \
|
|
||||||
-I${top_srcdir}/src/settings \
|
|
||||||
-I${top_builddir}/introspection \
|
|
||||||
-I${top_srcdir}/shared \
|
|
||||||
-I$(top_builddir)/shared \
|
|
||||||
-I${top_builddir}/libnm-core \
|
|
||||||
-I${top_srcdir}/libnm-core \
|
|
||||||
-DG_LOG_DOMAIN=\""NetworkManager"\" \
|
|
||||||
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
|
|
||||||
$(GLIB_CFLAGS)
|
|
||||||
|
|
||||||
if WITH_TEAMDCTL
|
|
||||||
AM_CPPFLAGS += ${LIBTEAMDCTL_CFLAGS}
|
|
||||||
endif
|
|
||||||
|
|
||||||
pkglib_LTLIBRARIES = libnm-device-plugin-team.la
|
|
||||||
|
|
||||||
libnm_device_plugin_team_la_SOURCES = \
|
|
||||||
nm-team-factory.c \
|
|
||||||
nm-device-team.c \
|
|
||||||
nm-device-team.h
|
|
||||||
|
|
||||||
libnm_device_plugin_team_la_LDFLAGS = \
|
|
||||||
-module -avoid-version \
|
|
||||||
-Wl,--version-script="$(top_srcdir)/linker-script-devices.ver"
|
|
||||||
|
|
||||||
libnm_device_plugin_team_la_LIBADD = \
|
|
||||||
$(top_builddir)/introspection/libnmdbus.la \
|
|
||||||
$(GLIB_LIBS) \
|
|
||||||
$(GUDEV_LIBS)
|
|
||||||
|
|
||||||
if WITH_TEAMDCTL
|
|
||||||
libnm_device_plugin_team_la_LIBADD += $(LIBTEAMDCTL_LIBS)
|
|
||||||
endif
|
|
||||||
|
|
||||||
check-local:
|
|
||||||
$(top_srcdir)/tools/check-exports.sh $(builddir)/.libs/libnm-device-plugin-team.so "$(top_srcdir)/linker-script-devices.ver"
|
|
||||||
$(call check_so_symbols,$(builddir)/.libs/libnm-device-plugin-team.so)
|
|
Reference in New Issue
Block a user