From 7d39b2e82f46777efa67224f078c1cec9e827654 Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Thu, 19 Jan 2017 18:46:10 +0100 Subject: Add StatusNotifier support to the Notification Area applet The StatusNotifier part of the implementation is based off gnome-panel's status-notifier applet. --- applets/notification_area/system-tray/Makefile.am | 42 +++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 applets/notification_area/system-tray/Makefile.am (limited to 'applets/notification_area/system-tray/Makefile.am') diff --git a/applets/notification_area/system-tray/Makefile.am b/applets/notification_area/system-tray/Makefile.am new file mode 100644 index 00000000..f3e8c360 --- /dev/null +++ b/applets/notification_area/system-tray/Makefile.am @@ -0,0 +1,42 @@ + +noinst_LTLIBRARIES = libsystem-tray.la + +AM_CPPFLAGS = \ + $(NOTIFICATION_AREA_CFLAGS) \ + -I$(srcdir) \ + -I$(srcdir)/.. \ + -DMATELOCALEDIR=\""$(datadir)/locale"\" \ + -DG_LOG_DOMAIN=\""notification-area-applet"\" \ + $(DISABLE_DEPRECATED_CFLAGS) + +AM_CFLAGS = $(WARN_CFLAGS) + +libsystem_tray_la_SOURCES = \ + fixedtip.h \ + fixedtip.c \ + na-marshal.c \ + na-marshal.h \ + na-tray.c \ + na-tray.h \ + na-tray-child.c \ + na-tray-child.h \ + na-tray-manager.c \ + na-tray-manager.h + +libsystem_tray_la_LIBADD = \ + $(X_LIBS) \ + $(NOTIFICATION_AREA_LIBS) + +na-marshal.h: na-marshal.list $(GLIB_GENMARSHAL) + $(AM_V_GEN)$(GLIB_GENMARSHAL) $< --header --prefix=_na_marshal > $@ + +na-marshal.c: na-marshal.list $(GLIB_GENMARSHAL) + $(AM_V_GEN)echo "#include \"na-marshal.h\"" > $@ && \ + $(GLIB_GENMARSHAL) $< --body --prefix=_na_marshal >> $@ + +BUILT_SOURCES = na-marshal.c na-marshal.h + +EXTRA_DIST = \ + na-marshal.list + +-include $(top_srcdir)/git.mk -- cgit v1.2.1