1 # Makefile.am for "src/plugins/rssyl" directory
2 # This file is part of Claws Mail package.
3 # See COPYING file for license details.
7 appdata_in_files = claws-mail-rssyl.metainfo.xml.in
8 appdatadir=$(datadir)/appdata
9 appdata_DATA = $(appdata_in_files:.xml.in=.xml)
13 EXTRA_DIST = claws.def plugin.def version.rc $(appdata_DATA) $(appdata_in_files)
17 -I$(top_srcdir)/src/common \
18 -I$(top_builddir)/src/common \
19 -I$(top_srcdir)/src/gtk
23 LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RC) \
24 `echo $(DEFS) $(DEFAULT_INCLUDES) $(IFLAGS) | \
25 sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
28 $(LTRCCOMPILE) -i $< -o $@
30 plugin_res = version.lo
31 plugin_res_ldflag = -Wl,.libs/version.o
33 export_symbols = -export-symbols $(srcdir)/plugin.def
35 plugin_deps = libclaws.a $(plugin_res) plugin.def
38 $(DLLTOOL) --output-lib $@ --def $<
40 plugin_ldadd = -L. -lclaws
51 no_undefined = -no-undefined
57 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
62 plugindir = $(pkglibdir)/plugins
65 plugin_LTLIBRARIES = rssyl.la
69 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
70 -avoid-version -module \
73 rssyl_la_DEPENDENCIES = $(plugin_deps) libfeed/libfeed.la
75 rssyl_la_LIBADD = $(plugin_ldadd) $(cygwin_export_lib) \
76 $(GTK_LIBS) $(CURL_LIBS) libfeed/libfeed.la
85 old_feeds.c old_feeds.h \
86 opml_export.c opml_export.h \
87 opml_import.c opml_import.h \
88 parse822.c parse822.h \
91 rssyl_add_item.c rssyl_add_item.h \
92 rssyl_cb_menu.c rssyl_cb_menu.h \
93 rssyl_deleted.c rssyl_deleted.h \
94 rssyl_feed.c rssyl_feed.h \
95 rssyl_feed_props.c rssyl_feed_props.h \
96 rssyl_gtk.c rssyl_gtk.h \
97 rssyl_parse_feed.c rssyl_parse_feed.h \
98 rssyl_prefs.c rssyl_prefs.h \
99 rssyl_update_comments.c rssyl_update_comments.h \
100 rssyl_update_feed.c rssyl_update_feed.h \
101 rssyl_update_format.c rssyl_update_format.h \
102 rssyl_subscribe.c rssyl_subscribe.h \
103 rssyl_subscribe_gtk.c rssyl_subscribe_gtk.h \
104 strutils.c strutils.h