kritarcdir = $(kde_datadir)/krita/kpartplugins
kritarc_DATA = wetplugin.rc
kde_services_DATA = kritawetplugin.desktop

EXTRA_DIST = $(kritarc_DATA)

INCLUDES  = -I$(srcdir)/../../core \
	-I$(srcdir)/../../core/tiles \
	-I$(srcdir)/../../core/tool \
	-I$(srcdir)/../../core/paintop \
	-I$(srcdir)/../../core/resources \
	-I$(srcdir)/../../core/color_strategy \
	-I$(srcdir)/../../core/compositeop \
	-I$(srcdir)/../../ui \
	$(KOFFICE_INCLUDES) \
	-I$(interfacedir) \
	$(KOPAINTER_INCLUDES) \
	$(all_includes)

kde_module_LTLIBRARIES = kritawetplugin.la

kritawetplugin_la_SOURCES = kis_colorspace_wet.cc wet_plugin.cc wetphysicsfilter.cc kis_wetop.cc kis_wet_palette_widget.cc kis_texture_painter.cc
noinst_HEADERS = kis_colorspace_wet.h wet_plugin.h wetphysicsfilter.h kis_wetop.cc kis_wet_palette_widget.h kis_texture_painter.h

kritawetplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
kritawetplugin_la_LIBADD =  ../../libkritacommon.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE)

kritawetplugin_la_METASOURCES = AUTO

