1 EXTRA_DIST = claws.def plugin.def version.rc
5 LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RC) \
6 `echo $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) | \
7 sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
10 $(LTRCCOMPILE) -i $< -o $@
12 plugin_res = version.lo
13 plugin_res_ldflag = -Wl,.libs/version.o
15 export_symbols = -export-symbols $(srcdir)/plugin.def
17 plugin_deps = libclaws.a $(plugin_res) plugin.def
20 $(DLLTOOL) --output-lib $@ --def $<
22 plugin_ldadd = -L. -lclaws
33 no_undefined = -no-undefined
39 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
44 plugindir = $(pkglibdir)/plugins
46 if BUILD_MAILMBOX_PLUGIN
47 plugin_LTLIBRARIES = mailmbox.la
50 ## Mailmbox folder plugin
52 mailmbox_la_SOURCES = \
53 plugin.c plugin_gtk.c \
58 mailimf_types.c mailimf_types.h \
59 mailimf_types_helper.c mailimf_types_helper.h \
60 mailimf_write.c mailimf_write.h \
61 maillock.c maillock.h \
62 mailmbox.c mailmbox.h \
63 mailmbox_folder.c mailmbox_folder.h \
64 mailmbox_parse.c mailmbox_parse.h \
65 mailmbox_types.c mailmbox_types.h \
66 mmapstring.c mmapstring.h \
69 mailmbox_la_LDFLAGS = \
70 -avoid-version -module
72 mailmbox_la_LIBADD = \
75 mailmbox_la_CPPFLAGS = \
85 -I$(top_srcdir)/src/common \
86 -I$(top_builddir)/src/common \
87 -I$(top_srcdir)/src/gtk