2 hotkey_lib = libcmnpgtkhotkey.la
3 hotkey_lib_path = $(top_builddir)/src/plugins/notification/gtkhotkey/libcmnpgtkhotkey.la
10 EXTRA_DIST = claws.def plugin.def version.rc
14 -I$(top_srcdir)/src/plugins/notification/gtkhotkey \
16 -I$(top_srcdir)/src/common \
17 -I$(top_builddir)/src/common \
18 -I$(top_srcdir)/src/gtk
22 LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RC) \
23 `echo $(DEFS) $(DEFAULT_INCLUDES) $(IFLAGS) | \
24 sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
27 $(LTRCCOMPILE) -i $< -o $@
29 plugin_res = version.lo
30 plugin_res_ldflag = -Wl,.libs/version.o
32 export_symbols = -export-symbols $(srcdir)/plugin.def
34 plugin_deps = libclaws.a $(plugin_res) plugin.def $(hotkey_lib)
37 $(DLLTOOL) --output-lib $@ --def $<
39 plugin_ldadd = -L. -lclaws
50 no_undefined = -no-undefined
56 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
61 plugindir = $(pkglibdir)/plugins
63 if BUILD_NOTIFICATION_PLUGIN
64 plugin_LTLIBRARIES = notification.la
67 notification_la_SOURCES = \
68 notification_plugin.c notification_plugin.h \
69 notification_core.c notification_core.h \
70 notification_popup.c notification_popup.h \
71 notification_banner.c notification_banner.h \
72 notification_command.c notification_command.h \
73 notification_lcdproc.c notification_lcdproc.h \
74 notification_trayicon.c notification_trayicon.h \
75 notification_indicator.c notification_indicator.h \
76 notification_hotkeys.c notification_hotkeys.h \
77 notification_prefs.c notification_prefs.h \
78 notification_foldercheck.c notification_foldercheck.h \
79 notification_pixbuf.c notification_pixbuf.h \
80 raw_claws_mail_logo_64x64.h
82 notification_la_LDFLAGS = \
83 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
84 -avoid-version -module
86 notification_la_DEPENDENCIES = $(plugin_deps) \
89 notification_la_LIBADD = $(plugin_ldadd) $(cygwin_export_lib) \
93 $(libcanberra_gtk_LIBS) \
96 notification_la_CPPFLAGS = \
101 $(libnotify_CFLAGS) \
102 $(libindicate_CFLAGS) \
103 $(libcanberra_gtk_CFLAGS)