Fix missing line continuation
[claws.git] / src / plugins / notification / Makefile.am
blobf382bb881709f8e001ec7684b83f301edd7c66fa
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.
6 if BUILD_HOTKEYS
7 hotkey_lib = libcmnpgtkhotkey.la
8 hotkey_lib_path = $(top_builddir)/src/plugins/notification/gtkhotkey/libcmnpgtkhotkey.la
9 else
10 hotkey_lib =
11 hotkey_lib_path =
12 endif
14 SUBDIRS=gtkhotkey
15 EXTRA_DIST = claws.def plugin.def
17 IFLAGS = \
18         -I$(top_srcdir)/src/plugins/notification/gtkhotkey \
19         -I$(top_builddir)/src \
20         -I$(top_srcdir)/src \
21         -I$(top_srcdir)/src/common \
22         -I$(top_srcdir)/src/gtk
24 plugin_ldflags =
25 plugin_extra_deps =
26 plugin_libadd =
28 if OS_WIN32
30 libclaws.a: claws.def
31         $(DLLTOOL) --output-lib $@ --def $<
33 %.lo : %.rc
34         $(LIBTOOL) --mode=compile --tag=RC $(RC) -i $< -o $@
36 plugin_ldflags += \
37         -Wl,.libs/version.o \
38         -no-undefined \
39         -export-symbols $(srcdir)/plugin.def
40 plugin_extra_deps += libclaws.a version.lo plugin.def $(hotkey_lib)
41 plugin_libadd += -L. -lclaws
43 endif
45 if CYGWIN
46 plugin_ldflags += -no-undefined
47 plugin_libadd += -L$(top_builddir)/src -lclaws-mail
48 endif
50 plugindir = $(pkglibdir)/plugins
52 if BUILD_NOTIFICATION_PLUGIN
53 plugin_LTLIBRARIES = notification.la
54 endif
56 notification_la_LDFLAGS = \
57         $(plugin_ldflags) \
58         -avoid-version -module
60 EXTRA_notification_la_DEPENDENCIES = $(plugin_extra_deps) \
61         $(hotkey_lib_path)
63 notification_la_LIBADD = $(plugin_libadd) \
64         $(GTK_LIBS)  \
65         $(libnotify_LIBS) \
66         $(unity_LIBS) \
67         $(libcanberra_gtk_LIBS) \
68         $(hotkey_lib_path)
70 notification_la_CPPFLAGS = \
71         $(IFLAGS) \
72         $(NOTIFY_CFLAGS) \
73         $(GLIB_CFLAGS) \
74         $(GTK_CFLAGS) \
75         $(ENCHANT_CFLAGS) \
76         $(libnotify_CFLAGS) \
77         $(unity_CFLAGS) \
78         $(libcanberra_gtk_CFLAGS) \
79         -Wall
81 notification_la_SOURCES = \
82         notification_banner.c \
83         notification_banner.h \
84         notification_command.c \
85         notification_command.h \
86         notification_core.c \
87         notification_core.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
107 clean-local:
108         rm -f libclaws.a
110 .PHONY: test