1 # Copyright 1999-2014 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 version.rc
10 LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RC) \
11 `echo $(DEFS) $(DEFAULT_INCLUDES) $(IFLAGS) | \
12 sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
15 $(LTRCCOMPILE) -i $< -o $@
17 plugin_res = version.lo
18 plugin_res_ldflag = -Wl,.libs/version.o
20 export_symbols = -export-symbols $(srcdir)/plugin.def
22 plugin_deps = libclaws.a $(plugin_res) plugin.def
25 $(DLLTOOL) --output-lib $@ --def $<
27 plugin_ldadd = -L. -lclaws
38 no_undefined = -no-undefined
44 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
49 plugindir = $(pkglibdir)/plugins
51 if BUILD_TNEF_PARSE_PLUGIN
52 plugin_LTLIBRARIES = tnef_parse.la
55 tnef_parse_la_SOURCES = \
60 tnef_parse_la_LDFLAGS = \
61 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
62 -avoid-version -module \
66 tnef_parse_la_DEPENDENCIES = $(plugin_deps)
68 tnef_parse_la_LIBADD = $(plugin_ldadd) $(cygwin_export_lib) \
73 -I$(top_srcdir)/src/common \
74 -I$(top_builddir)/src \
75 -I$(top_srcdir)/src/gtk
77 tnef_parse_la_CPPFLAGS = \