SUBDIRS = icons libgroupwise ui

AM_CPPFLAGS = $(KOPETE_INCLUDES) $(all_includes)

METASOURCES = AUTO

noinst_HEADERS = gwprotocol.h gwcontact.h gwaccount.h gwbytestream.h \
		gwconnector.h gwmessagemanager.h gwcontactlist.h
kde_module_LTLIBRARIES =  kopete_groupwise.la
kopete_groupwise_la_SOURCES = gwprotocol.cpp gwcontact.cpp gwaccount.cpp \
		gwbytestream.cpp gwconnector.cpp gwmessagemanager.cpp gwcontactlist.cpp
kopete_groupwise_la_LDFLAGS = -module -no-undefined $(KDE_PLUGIN) \
	$(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kopete_groupwise_la_LIBADD = ui/libkopetegroupwiseui.la \
	libgroupwise/libgroupwise.la ../../libkopete/libkopete.la $(LIB_KIO)

service_DATA = kopete_groupwise.desktop
servicedir = $(kde_servicesdir)
INCLUDES = -I$(top_srcdir)/kopete/protocols/groupwise/libgroupwise/tasks \
	-I$(top_srcdir)/kopete/protocols/groupwise/libgroupwise/qca/src -I$(top_srcdir)/kopete/protocols/groupwise/libgroupwise \
	-I$(top_srcdir)/kopete/protocols/groupwise/ui -I$(top_builddir)/kopete/protocols/groupwise/ui

mydatadir = $(kde_datadir)/kopete_groupwise
mydata_DATA = gwchatui.rc