INCLUDES = -I$(top_srcdir)/kontact/interfaces \
	-I$(top_srcdir)/libtdepim \
	-I$(top_srcdir) \
	-I$(top_srcdir)/kpilot/lib \
	-I$(top_srcdir)/kpilot/kpilot \
	$(PISOCK_INCLUDE) $(all_includes)

kde_module_LTLIBRARIES = libkontact_kpilotplugin.la
libkontact_kpilotplugin_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libkontact_kpilotplugin_la_LIBADD = $(top_builddir)/kontact/interfaces/libkpinterfaces.la \
	$(LIB_TDEPARTS) \
	$(top_builddir)/libtdepim/libtdepim.la \
	$(top_builddir)/kpilot/lib/libkpilot.la

libkontact_kpilotplugin_la_SOURCES = kpilot_plugin.cpp summarywidget.cpp \
                                      summarywidget.skel pilotDaemonDCOP.stub

pilotDaemonDCOP_DIR = $(top_srcdir)/kpilot/kpilot
pilotDaemonDCOP_DCOPIDLNG = true

METASOURCES = AUTO

servicedir = $(kde_servicesdir)/kontact
service_DATA = kpilotplugin.desktop
