## Makefile.am for kameraklient
INCLUDES = $(KIPI_PLUGINS_COMMON_INCLUDE) $(GPHOTO_CFLAGS) $(LIBKIPI_CFLAGS) $(all_includes)

METASOURCES = AUTO

kde_module_LTLIBRARIES = kipiplugin_kameraklient.la
kipiplugin_kameraklient_la_DEPENDENCIES = $(LIBKIPI_LIBS_DEP)

kipiplugin_kameraklient_la_LIBADD = $(LIB_GPHOTO) $(LIBKIPI_LIBS) $(LIB_TDEIO) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_TQT)

kipiplugin_kameraklient_la_LDFLAGS = $(KIPI_PLUGINS_COMMON_LDFLAGS) -module $(KDE_PLUGIN) $(all_libraries) -lkipiplugins

kde_services_DATA = kipiplugin_kameraklient.desktop

# Gilles Caulier 12/13/06): order of file to compile is important to support --enable-final compilation option.
kipiplugin_kameraklient_la_SOURCES = gpiface.cpp gpcamera.cpp gpcontroller.cpp gpeventfilter.cpp \
				     gpfileitemcontainer.cpp gpfileiteminfo.cpp \
				     gpfileiteminfodlg.cpp gpmessages.cpp gpstatus.cpp \
				     kameraklient.cpp camerafolderitem.cpp camerafolderview.cpp \
				     cameraiconitem.cpp cameraiconview.cpp cameralist.cpp \
				     cameraselection.cpp cameratype.cpp cameraui.cpp \
				     dmessagebox.cpp savefiledialog.cpp setupcamera.cpp \
				     thumbitem.cpp thumbview.cpp

kipiplugin_kameraklientdir = $(kde_datadir)/kipiplugin_kameraklient

# i18n translation messages
messages: rc.cpp
	$(XGETTEXT) *.cpp *.h -o $(podir)/kipiplugin_kameraklient.pot
