1 # Makefile.am for "src/plugins/att_remover" directory
2 # This file is part of Claws Mail package.
3 # See COPYING file for license details.
5 appdata_in_files = claws-mail-att_remover.metainfo.xml.in
6 appdatadir=$(datadir)/appdata
7 appdata_DATA = $(appdata_in_files:.xml.in=.xml)
10 EXTRA_DIST = claws.def plugin.def version.rc $(appdata_DATA) $(appdata_in_files)
14 -I$(top_srcdir)/src/common \
15 -I$(top_builddir)/src/common \
16 -I$(top_srcdir)/src/gtk
20 LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RC) \
21 `echo $(DEFS) $(DEFAULT_INCLUDES) $(IFLAGS) | \
22 sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
25 $(LTRCCOMPILE) -i $< -o $@
27 plugin_res = version.lo
28 plugin_res_ldflag = -Wl,.libs/version.o
30 export_symbols = -export-symbols $(srcdir)/plugin.def
32 plugin_deps = libclaws.a $(plugin_res) plugin.def
35 $(DLLTOOL) --output-lib $@ --def $<
37 plugin_ldadd = -L. -lclaws
48 no_undefined = -no-undefined
54 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
59 plugindir = $(pkglibdir)/plugins
61 if BUILD_ATT_REMOVER_PLUGIN
62 plugin_LTLIBRARIES = att_remover.la
65 att_remover_la_SOURCES = \
68 att_remover_la_LDFLAGS = \
69 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
70 -avoid-version -module \
73 att_remover_la_LIBADD = $(plugin_ldadd) $(cygwin_export_lib) \
76 att_remover_la_DEPENDENCIES = $(plugin_deps)
78 att_remover_la_CPPFLAGS = \