gnome-control-center/panels/network/Makefile.am
Christophe Fergeau 32d2058ecd network: Use AM_CPPFLAGS rather than INCLUDES
This is deprecated in newer automake versions, and this causes warnings
with automake 1.14:
panels/printers/Makefile.am:3: warning: 'INCLUDES' is the old name for
AM_CPPFLAGS' (or '*_CPPFLAGS')

https://bugzilla.gnome.org/show_bug.cgi?id=732189
2014-06-25 12:32:28 +02:00

75 lines
2.1 KiB
Makefile

cappletname = network
SUBDIRS = wireless-security connection-editor
AM_CPPFLAGS = \
$(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