2012-10-31 22:31:06 +01:00
|
|
|
cappletname = notifications
|
|
|
|
|
2014-06-25 11:56:03 +02:00
|
|
|
AM_CPPFLAGS = \
|
2012-10-31 22:31:06 +01:00
|
|
|
$(PANEL_CFLAGS) \
|
|
|
|
$(NOTIFICATIONS_PANEL_CFLAGS) \
|
|
|
|
-DGNOMELOCALEDIR="\"$(datadir)/locale\"" \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libnotifications.la
|
|
|
|
|
2013-01-04 15:37:54 +01:00
|
|
|
BUILT_SOURCES = \
|
|
|
|
cc-notifications-resources.c \
|
|
|
|
cc-notifications-resources.h
|
|
|
|
|
2012-10-31 22:31:06 +01:00
|
|
|
libnotifications_la_SOURCES = \
|
2013-01-04 15:37:54 +01:00
|
|
|
$(BUILT_SOURCES) \
|
2012-10-31 22:31:06 +01:00
|
|
|
cc-edit-dialog.c \
|
|
|
|
cc-edit-dialog.h \
|
|
|
|
cc-notifications-panel.c \
|
|
|
|
cc-notifications-panel.h
|
|
|
|
|
|
|
|
libnotifications_la_LIBADD = $(NOTIFICATIONS_PANEL_LIBS) $(PANEL_LIBS)
|
|
|
|
|
2013-01-07 16:09:44 -05:00
|
|
|
resource_files = $(shell glib-compile-resources --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/notifications.gresource.xml)
|
2013-01-04 15:37:54 +01:00
|
|
|
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 $<
|
2012-10-31 22:31:06 +01:00
|
|
|
|
|
|
|
@INTLTOOL_DESKTOP_RULE@
|
|
|
|
|
|
|
|
desktopdir = $(datadir)/applications
|
|
|
|
desktop_in_files = gnome-notifications-panel.desktop.in
|
|
|
|
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
|
|
|
|
|
2013-01-04 15:37:54 +01:00
|
|
|
CLEANFILES = $(desktop_in_files) $(desktop_DATA) $(BUILT_SOURCES)
|
|
|
|
EXTRA_DIST = $(resource_files) notifications.gresource.xml
|
2012-10-31 22:31:06 +01:00
|
|
|
|
|
|
|
-include $(top_srcdir)/git.mk
|