3 LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RC) \
4 `echo $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) | \
5 sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
8 $(LTRCCOMPILE) -i $< -o $@
10 plugin_res = version.lo
11 plugin_res_ldflag = -Wl,.libs/version.o
13 export_symbols = -export-symbols $(srcdir)/plugin.def
15 plugin_deps = libclaws.a $(plugin_res) plugin.def
18 $(DLLTOOL) --output-lib $@ --def $<
20 plugin_ldadd = -L. -lclaws
31 no_undefined = -no-undefined
37 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
42 plugindir = $(pkglibdir)/plugins
44 if BUILD_FETCHINFO_PLUGIN
45 plugin_LTLIBRARIES = fetchinfo.la
48 fetchinfo_la_SOURCES = \
49 fetchinfo_plugin.c fetchinfo_plugin.h \
50 fetchinfo_plugin_gtk.c
52 fetchinfo_la_LDFLAGS = \
53 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
54 -avoid-version -module \
57 fetchinfo_la_LIBADD = $(plugin_ldadd) $(cygwin_export_lib) \
60 fetchinfo_la_DEPENDENCIES = $(plugin_deps)
63 $(CLAWS_MAIL_CFLAGS) \
69 -I$(top_srcdir)/src/common \
70 -I$(top_builddir)/src/common \
71 -I$(top_srcdir)/src/gtk
73 EXTRA_DIST = claws.def plugin.def version.rc