1 # Copyright 1999-2021 the Claws Mail team.
2 # This file is part of Claws Mail package, and distributed under the
3 # terms of the General Public License version 3 (or later).
4 # See COPYING file for license details.
7 hotkey_lib = libcmnpgtkhotkey.la
8 hotkey_lib_path = $(top_builddir)/src/plugins/notification/gtkhotkey/libcmnpgtkhotkey.la
15 EXTRA_DIST = claws.def plugin.def
18 -I$(top_srcdir)/src/plugins/notification/gtkhotkey \
19 -I$(top_builddir)/src \
21 -I$(top_srcdir)/src/common \
22 -I$(top_srcdir)/src/gtk
31 $(DLLTOOL) --output-lib $@ --def $<
34 $(LIBTOOL) --mode=compile --tag=RC $(RC) -i $< -o $@
39 -export-symbols $(srcdir)/plugin.def
40 plugin_extra_deps += libclaws.a version.lo plugin.def $(hotkey_lib)
41 plugin_libadd += -L. -lclaws
46 plugin_ldflags += -no-undefined
47 plugin_libadd += -L$(top_builddir)/src -lclaws-mail
50 plugindir = $(pkglibdir)/plugins
52 if BUILD_NOTIFICATION_PLUGIN
53 plugin_LTLIBRARIES = notification.la
56 notification_la_LDFLAGS = \
58 -avoid-version -module
60 EXTRA_notification_la_DEPENDENCIES = $(plugin_extra_deps) \
63 notification_la_LIBADD = $(plugin_libadd) \
67 $(libcanberra_gtk_LIBS) \
70 notification_la_CPPFLAGS = \
78 $(libcanberra_gtk_CFLAGS) \
81 notification_la_SOURCES = \
82 notification_banner.c \
83 notification_banner.h \
84 notification_command.c \
85 notification_command.h \
88 notification_foldercheck.c \
89 notification_foldercheck.h \
90 notification_hotkeys.c \
91 notification_hotkeys.h \
92 notification_indicator.c \
93 notification_indicator.h \
94 notification_lcdproc.c \
95 notification_lcdproc.h \
96 notification_pixbuf.c \
97 notification_pixbuf.h \
98 notification_plugin.c \
99 notification_plugin.h \
100 notification_popup.c \
101 notification_popup.h \
102 notification_prefs.c \
103 notification_prefs.h \
104 notification_trayicon.c \
105 notification_trayicon.h