1 # Makefile.am for "src/plugins/vcalendar" directory
2 # This file is part of Claws Mail package.
3 # See COPYING file for license details.
5 appdata_in_files = claws-mail-vcalendar.metainfo.xml.in
6 appdatadir=$(datadir)/appdata
7 appdata_DATA = $(appdata_in_files:.xml.in=.xml)
12 EXTRA_DIST = claws.def plugin.def version.rc $(appdata_DATA)
16 -I$(top_srcdir)/src/common \
17 -I$(top_builddir)/src/common \
18 -I$(top_srcdir)/src/gtk \
19 -I$(top_srcdir)/src/plugins/vcalendar/libical/libical
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
64 if BUILD_VCALENDAR_PLUGIN
65 plugin_LTLIBRARIES = vcalendar.la
68 vcalendar_la_SOURCES = \
70 vcalendar.c vcalendar.h \
71 vcal_manager.c vcal_manager.h \
72 vcal_folder.c vcal_folder.h \
73 vcal_meeting_gtk.c vcal_meeting_gtk.h \
74 vcal_prefs.c vcal_prefs.h \
75 vcal_dbus.c vcal_dbus.h \
76 icaltime_as_local.c icaltime_as_local.h \
77 common-views.c common-views.h \
78 day-view.c month-view.c
80 vcalendarincludedir = $(includedir)/claws-mail/plugins/vcalendar
81 vcalendarinclude_HEADERS = \
84 vcalendar_la_LDFLAGS = \
85 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
86 -avoid-version -module \
89 vcalendar_la_DEPENDENCIES = $(plugin_deps)
91 vcalendar_la_LIBADD = $(plugin_ldadd) $(cygwin_export_lib) \
94 $(top_builddir)/src/plugins/vcalendar/libical/libical/libical.la
96 vcalendar_la_CPPFLAGS = \