gnome-control-center/panels/notifications/Makefile.am
Christophe Fergeau 53b8c0a346 notifications: 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:29 +02:00

39 lines
1.3 KiB
Makefile

cappletname = notifications
AM_CPPFLAGS = \
$(PANEL_CFLAGS) \
$(NOTIFICATIONS_PANEL_CFLAGS) \
-DGNOMELOCALEDIR="\"$(datadir)/locale\"" \
$(NULL)
noinst_LTLIBRARIES = libnotifications.la
BUILT_SOURCES = \
cc-notifications-resources.c \
cc-notifications-resources.h
libnotifications_la_SOURCES = \
$(BUILT_SOURCES) \
cc-edit-dialog.c \
cc-edit-dialog.h \
cc-notifications-panel.c \
cc-notifications-panel.h
libnotifications_la_LIBADD = $(NOTIFICATIONS_PANEL_LIBS) $(PANEL_LIBS)
resource_files = $(shell glib-compile-resources --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/notifications.gresource.xml)
cc-notifications-resources.c: notifications.gresource.xml $(resource_files)
$(AM_V_GEN) glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-source --c-name cc_notifications $<
cc-notifications-resources.h: notifications.gresource.xml $(resource_files)
$(AM_V_GEN) glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-header --c-name cc_notifications $<
@INTLTOOL_DESKTOP_RULE@
desktopdir = $(datadir)/applications
desktop_in_files = gnome-notifications-panel.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
CLEANFILES = $(desktop_in_files) $(desktop_DATA) $(BUILT_SOURCES)
EXTRA_DIST = $(resource_files) notifications.gresource.xml
-include $(top_srcdir)/git.mk