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 plugin_LTLIBRARIES = vcalendar.la
51 -I$(top_srcdir)/src/common \
52 -I$(top_builddir)/src/common \
53 -I$(top_srcdir)/src/gtk \
54 -I$(top_srcdir)/src/plugins/vcalendar/libical/libical
56 vcalendar_la_SOURCES = \
58 vcalendar.c vcalendar.h \
59 vcal_manager.c vcal_manager.h \
60 vcal_folder.c vcal_folder.h \
61 vcal_meeting_gtk.c vcal_meeting_gtk.h \
62 vcal_prefs.c vcal_prefs.h \
63 vcal_dbus.c vcal_dbus.h \
64 icaltime_as_local.c icaltime_as_local.h \
65 common-views.c common-views.h \
66 day-view.c month-view.c
68 vcalendarincludedir = $(includedir)/claws-mail/plugins/vcalendar
69 vcalendarinclude_HEADERS = \
72 vcalendar_la_LDFLAGS = \
73 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
74 -avoid-version -module \
77 vcalendar_la_DEPENDENCIES = $(plugin_deps)
79 vcalendar_la_LIBADD = $(plugin_ldadd) $(cygwin_export_lib) \
81 $(top_builddir)/src/plugins/vcalendar/libical/libical/libical.la
84 $(CLAWS_MAIL_CFLAGS) \
87 -DLOCALEDIR=\""$(localedir)"\"