dist_noinst_DATA += src/backends/kcalextended/configure-sub.in

src_backends_kcalextended_lib = src/backends/kcalextended/synckcalextended.la
MOSTLYCLEANFILES += $(src_backends_kcalextended_lib)
if ENABLE_MODULES
src_backends_kcalextended_backenddir = $(BACKENDS_DIRECTORY)
src_backends_kcalextended_backend_LTLIBRARIES = $(src_backends_kcalextended_lib)
else
noinst_LTLIBRARIES += $(src_backends_kcalextended_lib)
endif

src_backends_kcalextended_synckcalextended_la_SOURCES = \
  src/backends/kcalextended/KCalExtendedSource.h \
  src/backends/kcalextended/KCalExtendedSource.cpp
src_backends_kcalextended_synckcalextended_la_LIBADD = $(KCALEXTENDED_LIBS) $(SYNCEVOLUTION_LIBS)
src_backends_kcalextended_synckcalextended_la_LDFLAGS = -module -avoid-version
src_backends_kcalextended_synckcalextended_la_CXXFLAGS = $(SYNCEVOLUTION_CXXFLAGS) $(KCALEXTENDED_CFLAGS) $(SYNCEVO_WFLAGS)
src_backends_kcalextended_synckcalextended_la_CPPFLAGS = $(SYNCEVOLUTION_CFLAGS) -I$(top_srcdir)/test $(BACKEND_CPPFLAGS)
src_backends_kcalextended_synckcalextended_la_DEPENDENCIES = src/syncevo/libsyncevolution.la
