1 # Makefile.am for "src/plugins/spam_report" directory
2 # This file is part of Claws Mail package.
3 # See COPYING file for license details.
5 appdata_files = claws-mail-spam_report.metainfo.xml
6 appdatadir = $(datadir)/appdata
7 appdata_DATA = $(appdata_files)
8 EXTRA_DIST = claws.def plugin.def version.rc $(appdata_files)
12 -I$(top_srcdir)/src/common \
13 -I$(top_builddir)/src/common \
14 -I$(top_srcdir)/src/gtk
18 LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RC) \
19 `echo $(DEFS) $(DEFAULT_INCLUDES) $(IFLAGS) | \
20 sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
23 $(LTRCCOMPILE) -i $< -o $@
25 plugin_res = version.lo
26 plugin_res_ldflag = -Wl,.libs/version.o
28 export_symbols = -export-symbols $(srcdir)/plugin.def
30 plugin_deps = libclaws.a $(plugin_res) plugin.def
33 $(DLLTOOL) --output-lib $@ --def $<
35 plugin_ldadd = -L. -lclaws
46 no_undefined = -no-undefined
52 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
57 plugindir = $(pkglibdir)/plugins
59 if BUILD_SPAM_REPORT_PLUGIN
60 plugin_LTLIBRARIES = spamreport.la
63 spamreport_la_SOURCES = \
68 spamreport_la_LDFLAGS = \
69 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
70 -avoid-version -module \
73 spamreport_la_LIBADD = $(plugin_ldadd) $(cygwin_export_lib) \
77 spamreport_la_DEPENDENCIES = $(plugin_deps)
79 spamreport_la_CPPFLAGS = \