1 # Makefile.am for "src/plugins/rssyl" directory
2 # This file is part of Claws Mail package.
3 # See COPYING file for license details.
5 appdata_in_files = claws-mail-rssyl.metainfo.xml.in
6 appdatadir=$(datadir)/appdata
7 appdata_DATA = $(appdata_in_files:.xml.in=.xml)
11 EXTRA_DIST = claws.def plugin.def version.rc $(appdata_in_files)
15 -I$(top_srcdir)/src/common \
16 -I$(top_builddir)/src/common \
17 -I$(top_srcdir)/src/gtk
21 LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RC) \
22 `echo $(DEFS) $(DEFAULT_INCLUDES) $(IFLAGS) | \
23 sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
26 $(LTRCCOMPILE) -i $< -o $@
28 plugin_res = version.lo
29 plugin_res_ldflag = -Wl,.libs/version.o
31 export_symbols = -export-symbols $(srcdir)/plugin.def
33 plugin_deps = libclaws.a $(plugin_res) plugin.def
36 $(DLLTOOL) --output-lib $@ --def $<
38 plugin_ldadd = -L. -lclaws
49 no_undefined = -no-undefined
55 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
60 plugindir = $(pkglibdir)/plugins
63 plugin_LTLIBRARIES = rssyl.la
67 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
68 -avoid-version -module \
71 rssyl_la_DEPENDENCIES = $(plugin_deps)
73 rssyl_la_LIBADD = $(plugin_ldadd) $(cygwin_export_lib) \
74 $(GTK_LIBS) $(LIBXML_LIBS) $(CURL_LIBS)
86 feedprops.c feedprops.h \
91 rssyl_cb_gtk.c rssyl_cb_gtk.h \
92 rssyl_cb_menu.c rssyl_cb_menu.h \
93 rssyl_gtk.c rssyl_gtk.h \
94 rssyl_prefs.c rssyl_prefs.h \
95 strreplace.c strreplace.h