METASOURCES = AUTO
SUBDIRS = ui icons

AM_CPPFLAGS = $(KOPETE_INCLUDES) \
	-I$(srcdir)/ui \
	-I./ui \
	$(all_includes) \
	$(MEANWHILE_CFLAGS)

noinst_HEADERS = \
	meanwhileprotocol.h \
	meanwhileaddcontactpage.h \
	meanwhileeditaccountwidget.h \
	meanwhileaccount.h \
	meanwhilecontact.h \
	meanwhilesession.h \
	meanwhileplugin.h

kde_module_LTLIBRARIES =  kopete_meanwhile.la

kopete_meanwhile_la_SOURCES = \
	meanwhileprotocol.cpp \
	meanwhileaddcontactpage.cpp \
	meanwhileeditaccountwidget.cpp \
	meanwhileaccount.cpp \
	meanwhilecontact.cpp \
	meanwhilesession.cpp \
	meanwhileplugin.cpp

kopete_meanwhile_la_LDFLAGS = -no-undefined -module \
	$(KDE_PLUGIN) $(all_libraries) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor

kopete_meanwhile_la_LIBADD = $(top_builddir)/kopete/libkopete/libkopete.la \
	ui/libkopetemeanwhileui.la $(MEANWHILE_LIBS)

service_DATA = kopete_meanwhile.desktop
servicedir= $(kde_servicesdir)
