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.
7 EXTRA_DIST = claws.def plugin.def version.rc
11 -I$(top_srcdir)/src/common \
12 -I$(top_builddir)/src/common \
13 -I$(top_srcdir)/src/gtk \
14 -I$(top_srcdir)/src/plugins/vcalendar/libical/libical
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
59 if BUILD_VCALENDAR_PLUGIN
60 plugin_LTLIBRARIES = vcalendar.la
63 vcalendar_la_SOURCES = \
65 vcalendar.c vcalendar.h \
66 vcal_manager.c vcal_manager.h \
67 vcal_folder.c vcal_folder.h \
68 vcal_meeting_gtk.c vcal_meeting_gtk.h \
69 vcal_prefs.c vcal_prefs.h \
70 vcal_dbus.c vcal_dbus.h \
71 icaltime_as_local.c icaltime_as_local.h \
72 common-views.c common-views.h \
73 day-view.c month-view.c
75 vcalendarincludedir = $(includedir)/claws-mail/plugins/vcalendar
76 vcalendarinclude_HEADERS = \
79 vcalendar_la_LDFLAGS = \
80 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
81 -avoid-version -module \
84 vcalendar_la_DEPENDENCIES = $(plugin_deps)
86 vcalendar_la_LIBADD = $(plugin_ldadd) $(cygwin_export_lib) \
89 $(top_builddir)/src/plugins/vcalendar/libical/libical/libical.la
91 vcalendar_la_CPPFLAGS = \