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 EXTRA_DIST = claws.def plugin.def
9 -I$(top_builddir)/src \
10 -I$(top_builddir)/src/common \
12 -I$(top_srcdir)/src/common \
13 -I$(top_srcdir)/src/gtk
22 $(DLLTOOL) --output-lib $@ --def $<
25 $(LIBTOOL) --mode=compile --tag=RC $(RC) -i $< -o $@
30 -export-symbols $(srcdir)/plugin.def
31 plugin_extra_deps += libclaws.a version.lo plugin.def
32 plugin_libadd += -L. -lclaws
37 plugin_ldflags += -no-undefined
38 plugin_libadd += -L$(top_builddir)/src -lclaws-mail
41 plugindir = $(pkglibdir)/plugins
43 if BUILD_ATTACHWARNER_PLUGIN
44 plugin_LTLIBRARIES = attachwarner.la
47 attachwarner_la_LDFLAGS = \
49 -avoid-version -module
51 EXTRA_attachwarner_la_DEPENDENCIES = $(plugin_extra_deps)
53 attachwarner_la_LIBADD = $(plugin_libadd) \
56 attachwarner_la_CPPFLAGS = \
62 attachwarner_la_SOURCES = \
65 attachwarner_prefs.c \