2 EXTRA_DIST = claws.def plugin.def version.rc
6 LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RC) \
7 `echo $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) | \
8 sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
11 $(LTRCCOMPILE) -i $< -o $@
13 plugin_res = version.lo
14 plugin_res_ldflag = -Wl,.libs/version.o
16 export_symbols = -export-symbols $(srcdir)/plugin.def
18 plugin_deps = libclaws.a $(plugin_res) plugin.def
21 $(DLLTOOL) --output-lib $@ --def $<
23 plugin_ldadd = -L. -lclaws
34 no_undefined = -no-undefined
40 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
45 plugindir = $(pkglibdir)/plugins
47 if BUILD_VCALENDAR_PLUGIN
48 plugin_LTLIBRARIES = vcalendar.la
53 -I$(top_srcdir)/src/common \
54 -I$(top_builddir)/src/common \
55 -I$(top_srcdir)/src/gtk \
56 -I$(top_srcdir)/src/plugins/vcalendar/libical/libical
58 vcalendar_la_SOURCES = \
60 vcalendar.c vcalendar.h \
61 vcal_manager.c vcal_manager.h \
62 vcal_folder.c vcal_folder.h \
63 vcal_meeting_gtk.c vcal_meeting_gtk.h \
64 vcal_prefs.c vcal_prefs.h \
65 vcal_dbus.c vcal_dbus.h \
66 icaltime_as_local.c icaltime_as_local.h \
67 common-views.c common-views.h \
68 day-view.c month-view.c
70 vcalendarincludedir = $(includedir)/claws-mail/plugins/vcalendar
71 vcalendarinclude_HEADERS = \
74 vcalendar_la_LDFLAGS = \
75 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
76 -avoid-version -module \
79 vcalendar_la_DEPENDENCIES = $(plugin_deps)
81 vcalendar_la_LIBADD = $(plugin_ldadd) $(cygwin_export_lib) \
84 $(top_builddir)/src/plugins/vcalendar/libical/libical/libical.la
87 $(CLAWS_MAIL_CFLAGS) \
91 -DLOCALEDIR=\""$(localedir)"\"