INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes)

kde_module_LTLIBRARIES = libkdevtipofday.la
libkdevtipofday_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libkdevtipofday_la_LIBADD = $(top_builddir)/lib/libtdevelop.la

libkdevtipofday_la_SOURCES = tipofday_part.cpp

METASOURCES = AUTO
KDE_ICON = AUTO

servicedir = $(kde_servicesdir)
service_DATA = kdevtipofday.desktop

tip_DATA = tips
tipdir = $(kde_datadir)/kdevtipofday

rc_DATA = kdevpart_tipofday.rc
rcdir = $(kde_datadir)/kdevtipofday

messages: rc.cpp
	$(PREPARETIPS) > tips.cpp
	$(XGETTEXT) *.cpp *.h tips.cpp -o $(podir)/kdevtipofday.pot
	rm -f tips.cpp
