SUBDIRS = plugins

AM_CPPFLAGS  = -I$(srcdir)/plugins/ikws $(all_includes)

METASOURCES = AUTO

kde_module_LTLIBRARIES = kcm_kurifilt.la
kcm_kurifilt_la_SOURCES = filteropts.cpp main.cpp

kcm_kurifilt_la_LDFLAGS  = $(all_libraries) -module -avoid-version -no-undefined
kcm_kurifilt_la_LIBADD = $(LIB_TDESYCOCA)
# Don't link this lib to the plugins. They are dlopened and linking to them
# results in crashes when closing tdecmshell.
# plugins/ikws/libkuriikwsfilter.la plugins/shorturi/libtdeshorturifilter.la

messages: rc.cpp
	$(EXTRACTRC) plugins/*/*.ui >> rc.cpp
	$(XGETTEXT) *.cpp plugins/ikws/*.cpp plugins/shorturi/*.cpp -o $(podir)/kcmkurifilt.pot

xdg_apps_DATA = ebrowsing.desktop