1 # Copyright 1999-2014 the Claws Mail team.
2 # This file is part of Claws Mail package, and distributed under the
3 # terms of the General Public License version 3 (or later).
4 # See COPYING file for license details.
8 EXTRA_DIST = claws.def plugin.def version.rc
12 -I$(top_srcdir)/src/common \
13 -I$(top_builddir)/src \
14 -I$(top_srcdir)/src/gtk
18 LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RC) \
19 `echo $(DEFS) $(DEFAULT_INCLUDES) $(IFLAGS) | \
20 sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
23 $(LTRCCOMPILE) -i $< -o $@
25 plugin_res = version.lo
26 plugin_res_ldflag = -Wl,.libs/version.o
28 export_symbols = -export-symbols $(srcdir)/plugin.def
30 plugin_deps = libclaws.a $(plugin_res) plugin.def
33 $(DLLTOOL) --output-lib $@ --def $<
35 plugin_ldadd = -L. -lclaws
46 no_undefined = -no-undefined
52 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
57 plugindir = $(pkglibdir)/plugins
60 plugin_LTLIBRARIES = rssyl.la
64 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
65 -avoid-version -module \
70 rssyl_la_DEPENDENCIES = $(plugin_deps) libfeed/libfeed.la
72 rssyl_la_LIBADD = $(plugin_ldadd) $(cygwin_export_lib) \
73 $(GTK_LIBS) $(CURL_LIBS) libfeed/libfeed.la
84 old_feeds.c old_feeds.h \
85 opml_export.c opml_export.h \
86 opml_import.c opml_import.h \
87 parse822.c parse822.h \
90 rssyl_add_item.c rssyl_add_item.h \
91 rssyl_cb_menu.c rssyl_cb_menu.h \
92 rssyl_deleted.c rssyl_deleted.h \
93 rssyl_feed.c rssyl_feed.h \
94 rssyl_feed_props.c rssyl_feed_props.h \
95 rssyl_gtk.c rssyl_gtk.h \
96 rssyl_parse_feed.c rssyl_parse_feed.h \
97 rssyl_prefs.c rssyl_prefs.h \
98 rssyl_update_comments.c rssyl_update_comments.h \
99 rssyl_update_feed.c rssyl_update_feed.h \
100 rssyl_update_format.c rssyl_update_format.h \
101 rssyl_subscribe.c rssyl_subscribe.h \
102 rssyl_subscribe_gtk.c rssyl_subscribe_gtk.h \
103 strutils.c strutils.h