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
15 LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RC) \
16 `echo $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) | \
17 sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
20 $(LTRCCOMPILE) -i $< -o $@
22 plugin_res = version.lo
23 plugin_res_ldflag = -Wl,.libs/version.o
25 export_symbols = -export-symbols $(srcdir)/plugin.def
27 plugin_deps = libclaws.a $(plugin_res) plugin.def $(hotkey_lib)
30 $(DLLTOOL) --output-lib $@ --def $<
32 plugin_ldadd = -L. -lclaws
43 no_undefined = -no-undefined
49 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
54 plugindir = $(pkglibdir)/plugins
56 if BUILD_NOTIFICATION_PLUGIN
57 plugin_LTLIBRARIES = notification_plugin.la
60 notification_plugin_la_SOURCES = \
61 notification_plugin.c notification_plugin.h \
62 notification_core.c notification_core.h \
63 notification_popup.c notification_popup.h \
64 notification_banner.c notification_banner.h \
65 notification_command.c notification_command.h \
66 notification_lcdproc.c notification_lcdproc.h \
67 notification_trayicon.c notification_trayicon.h \
68 notification_indicator.c notification_indicator.h \
69 notification_hotkeys.c notification_hotkeys.h \
70 notification_prefs.c notification_prefs.h \
71 notification_foldercheck.c notification_foldercheck.h \
72 notification_pixbuf.c notification_pixbuf.h \
73 raw_claws_mail_logo_64x64.h
75 notification_plugin_la_LDFLAGS = \
76 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
77 -avoid-version -module
79 notification_plugin_la_DEPENDENCIES = $(plugin_deps) \
83 -I$(top_srcdir)/src/plugins/notification/gtkhotkey \
85 -I$(top_srcdir)/src/common \
86 -I$(top_builddir)/src/common \
87 -I$(top_srcdir)/src/gtk
90 notification_plugin_la_LIBADD = $(plugin_ldadd) $(cygwin_export_lib) \
94 $(libcanberra_gtk_LIBS) \
97 notification_plugin_la_CPPFLAGS = \
99 $(CLAWS_MAIL_CFLAGS) \
102 -DLOCALEDIR=\""$(localedir)"\" \
103 $(libnotify_CFLAGS) \
104 $(libindicate_CFLAGS) \
105 $(libcanberra_gtk_CFLAGS)