gnome-control-center/panels/network/Makefile.am
Bastien Nocera f31dbd0271 network: Fix build with NM 0.9.8.x
Team support was only added in the 0.9.9.x branch for the 0.9.10
stable release. It's not available in any releases (beta or stable
ones) yet.

https://bugzilla.gnome.org/show_bug.cgi?id=723769
2014-02-18 09:48:17 +01:00

75 lines
2.1 KiB
Makefile

cappletname = network
SUBDIRS = wireless-security connection-editor
INCLUDES = \
$(PANEL_CFLAGS) \
$(NETWORK_PANEL_CFLAGS) \
$(NETWORK_MANAGER_CFLAGS) \
-DGNOMELOCALEDIR="\"$(datadir)/locale\"" \
-I$(srcdir)/wireless-security \
$(NULL)
noinst_LTLIBRARIES = libnetwork.la
BUILT_SOURCES = \
cc-network-resources.c \
cc-network-resources.h
libnetwork_la_SOURCES = \
$(BUILT_SOURCES) \
panel-common.c \
panel-common.h \
net-object.c \
net-object.h \
net-device.c \
net-device.h \
net-device-wifi.c \
net-device-wifi.h \
net-device-simple.c \
net-device-simple.h \
net-device-ethernet.c \
net-device-ethernet.h \
net-device-mobile.c \
net-device-mobile.h \
net-device-bond.c \
net-device-bond.h \
net-device-bridge.c \
net-device-bridge.h \
net-virtual-device.c \
net-virtual-device.h \
net-vpn.c \
net-vpn.h \
net-proxy.c \
net-proxy.h \
network-dialogs.c \
network-dialogs.h \
cc-network-panel.c \
cc-network-panel.h
TEAM_FILES = net-device-team.c net-device-team.h
EXTRA_DIST = $(TEAM_FILES)
if HAVE_NM_UNSTABLE
libnetwork_la_SOURCES += $(TEAM_FILES)
endif
libnetwork_la_LIBADD = $(PANEL_LIBS) $(NETWORK_PANEL_LIBS) $(NETWORK_MANAGER_LIBS) $(builddir)/connection-editor/libconnection-editor.la
libnetwork_la_LDFLAGS = $(PANEL_LDFLAGS)
resource_files = $(shell glib-compile-resources --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/network.gresource.xml)
cc-network-resources.c: network.gresource.xml $(resource_files)
$(AM_V_GEN) glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-source --c-name cc_network $<
cc-network-resources.h: network.gresource.xml $(resource_files)
$(AM_V_GEN) glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-header --c-name cc_network $<
@INTLTOOL_DESKTOP_RULE@
desktopdir = $(datadir)/applications
desktop_in_files = gnome-network-panel.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
CLEANFILES = $(desktop_in_files) $(desktop_DATA) $(BUILT_SOURCES)
EXTRA_DIST += $(resource_files) network.gresource.xml
-include $(top_srcdir)/git.mk