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_ATTACHWARNER_PLUGIN
47 plugin_LTLIBRARIES = attachwarner.la
50 attachwarner_la_LDFLAGS = \
51 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
52 -avoid-version -module \
55 attachwarner_la_DEPENDENCIES = $(plugin_deps)
57 attachwarner_la_LIBADD = $(plugin_ldadd) $(cygwin_export_lib) \
62 -I$(top_srcdir)/src/common \
63 -I$(top_builddir)/src/common \
64 -I$(top_srcdir)/src/gtk
68 $(CLAWS_MAIL_CFLAGS) \
71 -DLOCALEDIR=\""$(localedir)"\"
73 attachwarner_la_SOURCES = \
74 attachwarner.c attachwarner.h \
75 attachwarner_prefs.c attachwarner_prefs.h