1 EXTRA_DIST = claws.def plugin.def version.rc
5 -I$(top_srcdir)/src/common \
6 -I$(top_builddir)/src/common \
7 -I$(top_srcdir)/src/gtk
11 LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RC) \
12 `echo $(DEFS) $(DEFAULT_INCLUDES) $(IFLAGS) | \
13 sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
16 $(LTRCCOMPILE) -i $< -o $@
18 plugin_res = version.lo
19 plugin_res_ldflag = -Wl,.libs/version.o
21 export_symbols = -export-symbols $(srcdir)/plugin.def
23 plugin_deps = libclaws.a $(plugin_res) plugin.def
26 $(DLLTOOL) --output-lib $@ --def $<
28 plugin_ldadd = -L. -lclaws
39 no_undefined = -no-undefined
45 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
50 plugindir = $(pkglibdir)/plugins
52 if BUILD_LIBRAVATAR_PLUGIN
53 plugin_LTLIBRARIES = libravatar.la
56 libravatar_la_LDFLAGS = \
57 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
58 -avoid-version -module \
62 libravatar_la_DEPENDENCIES = $(plugin_deps)
64 libravatar_la_LIBADD = $(plugin_ldadd) $(cygwin_export_lib) \
67 libravatar_la_CPPFLAGS = \
73 libravatar_la_SOURCES = \
74 libravatar.c libravatar.h \
75 libravatar_prefs.c libravatar_prefs.h \
76 libravatar_missing.c libravatar_missing.h \
77 libravatar_federation.c libravatar_federation.h