INCLUDES = $(KIPI_PLUGINS_COMMON_INCLUDE) $(LIBKIPI_CFLAGS) $(all_includes)

METASOURCES = AUTO

# Install this plugin in the KDE modules directory
kde_module_LTLIBRARIES = kipiplugin_calendar.la
kipiplugin_calendar_la_DEPENDENCIES = $(LIBKIPI_LIBS_DEP)
kipiplugin_calendar_la_SOURCES = plugin_calendar.cpp calwizard.cpp \
		caltemplate.cpp calsettings.cpp calwidget.cpp calpainter.cpp calselect.cpp \
		monthwidget.cpp calformatter.cpp calevents.cpp caleventsbase.ui

kipiplugin_calendar_la_LIBADD = $(LIB_KDEPRINT) $(LIBKIPI_LIBS) $(LIB_KIO) $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT)

kipiplugin_calendar_la_LDFLAGS = $(KIPI_PLUGINS_COMMON_LDFLAGS) -module $(KDE_PLUGIN) $(all_libraries) -lkipiplugins -lkcal

kde_services_DATA = kipiplugin_calendar.desktop

messages: rc.cpp
	$(XGETTEXT) *.cpp *.h -o $(podir)/kipiplugin_calendar.pot

noinst_HEADERS = calformatter.h calevents.h
