METASOURCES = AUTO

noinst_LTLIBRARIES = libdimgeditor.la libshowfoto.la 

libdimgeditor_la_SOURCES = editorwindow.cpp imageiface.cpp imagewindow.cpp editorstackview.cpp \
	                   editortooliface.cpp editortool.cpp editortoolsettings.cpp

libdimgeditor_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TDEPRINT) 

libdimgeditor_la_LIBADD = $(top_builddir)/digikam/utilities/imageeditor/tools/libdimgeditortools.la \
	                      $(top_builddir)/digikam/utilities/imageeditor/rawimport/librawimport.la 

libshowfoto_la_SOURCES = editorwindow.cpp imageiface.cpp editorstackview.cpp \
	                 editortooliface.cpp editortool.cpp editortoolsettings.cpp

libshowfoto_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TDEPRINT) 

libshowfoto_la_LIBADD = $(top_builddir)/digikam/libs/dimg/libdimg.la \
	                $(top_builddir)/digikam/libs/dialogs/libdialogshowfoto.la \
	                $(top_builddir)/digikam/libs/widgets/libwidgets.la \
	                $(top_builddir)/digikam/libs/greycstoration/libgreycstoration.la \
	                $(top_builddir)/digikam/utilities/imageeditor/canvas/libdimgcanvas.la \
	                $(top_builddir)/digikam/utilities/imageeditor/tools/libdimgeditortools.la \
	                $(top_builddir)/digikam/utilities/imageeditor/rawimport/librawimport.la 

INCLUDES = -I$(top_srcdir)/digikam/digikam \
	   -I$(top_srcdir)/digikam/libs/widgets/common \
	   -I$(top_srcdir)/digikam/libs/widgets/imageplugins \
	   -I$(top_srcdir)/digikam/libs/dialogs \
	   -I$(top_srcdir)/digikam/libs/dimg \
	   -I$(top_srcdir)/digikam/libs/themeengine \
	   -I$(top_srcdir)/digikam/libs/dmetadata \
	   -I$(top_srcdir)/digikam/libs/dimg/filters \
	   -I$(top_srcdir)/digikam/libs/imageproperties \
	   -I$(top_srcdir)/digikam/libs/threadimageio \
	   -I$(top_srcdir)/digikam/utilities/setup \
	   -I$(top_srcdir)/digikam/utilities/slideshow \
	   -I$(top_srcdir)/digikam/utilities/imageeditor/canvas \
	   -I$(top_srcdir)/digikam/utilities/imageeditor/tools \
	   -I$(top_builddir)/digikam/libs/dialogs \
	   $(LIBKEXIV2_CFLAGS) $(LIBKDCRAW_CFLAGS) $(all_includes) 

digikaminclude_HEADERS = imageiface.h 

digikamincludedir = $(includedir)/digikam

rcdir = $(kde_datadir)/digikam
rc_DATA = digikamimagewindowui.rc

kde_servicetypes_DATA = digikamimageplugin.desktop

