kde_services_DATA = chalktoolcrop.desktop

# all_includes must remain last!
INCLUDES =  -I$(srcdir)/../../../sdk \
	-I$(srcdir)/../../../core \
	-I$(srcdir)/../../../chalkcolor/ \
	-I$(srcdir)/../../../ui \
	-I$/../../../ui \
	$(KOFFICE_INCLUDES) \
	$(all_includes)

chalktoolcrop_la_SOURCES = \
	wdg_tool_crop.ui \
	tool_crop.cc \
	kis_tool_crop.cc 

# Install this plugin in the KDE modules directory
kde_module_LTLIBRARIES = chalktoolcrop.la

noinst_HEADERS = \
	tool_crop.h \
	kis_tool_crop.h 

chalktoolcrop_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -ltdecore -ltdeui -lkjs -ltdefx -ltdeio -ltdeparts
chalktoolcrop_la_LIBADD =  ../../../libchalkcommon.la \
	../../../../chalk/chalkcolor/libchalkcolor.la \
	../../../../chalk/core/libchalkimage.la \
	../../../../chalk/ui/libchalkui.la

chalktoolcrop_la_METASOURCES = AUTO

KDE_OPTIONS = nofinal

chalkpics_DATA = \
	tool_crop_cursor.png \
	tool_crop.png

chalkpicsdir = $(kde_datadir)/chalk/pics