1 # Makefile.am for "src/plugins/vcalendar" directory
2 # This file is part of Claws Mail package.
3 # See COPYING file for license details.
6 EXTRA_DIST = claws.def plugin.def version.rc
10 -I$(top_srcdir)/src/common \
11 -I$(top_builddir)/src/common \
12 -I$(top_srcdir)/src/gtk \
13 -I$(top_srcdir)/src/plugins/vcalendar/libical/libical
17 LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RC) \
18 `echo $(DEFS) $(DEFAULT_INCLUDES) $(IFLAGS) | \
19 sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
22 $(LTRCCOMPILE) -i $< -o $@
24 plugin_res = version.lo
25 plugin_res_ldflag = -Wl,.libs/version.o
27 export_symbols = -export-symbols $(srcdir)/plugin.def
29 plugin_deps = libclaws.a $(plugin_res) plugin.def
32 $(DLLTOOL) --output-lib $@ --def $<
34 plugin_ldadd = -L. -lclaws
45 no_undefined = -no-undefined
51 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
56 plugindir = $(pkglibdir)/plugins
58 if BUILD_VCALENDAR_PLUGIN
59 plugin_LTLIBRARIES = vcalendar.la
62 vcalendar_la_SOURCES = \
64 vcalendar.c vcalendar.h \
65 vcal_manager.c vcal_manager.h \
66 vcal_folder.c vcal_folder.h \
67 vcal_meeting_gtk.c vcal_meeting_gtk.h \
68 vcal_prefs.c vcal_prefs.h \
69 vcal_dbus.c vcal_dbus.h \
70 icaltime_as_local.c icaltime_as_local.h \
71 common-views.c common-views.h \
72 day-view.c month-view.c
74 vcalendarincludedir = $(includedir)/claws-mail/plugins/vcalendar
75 vcalendarinclude_HEADERS = \
78 vcalendar_la_LDFLAGS = \
79 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
80 -avoid-version -module \
83 vcalendar_la_DEPENDENCIES = $(plugin_deps)
85 vcalendar_la_LIBADD = $(plugin_ldadd) $(cygwin_export_lib) \
88 $(top_builddir)/src/plugins/vcalendar/libical/libical/libical.la
90 vcalendar_la_CPPFLAGS = \