####### kdevelop will overwrite this part!!! (begin)##########
bin_PROGRAMS = digikam
digikam_SOURCES = image_viewer.cpp photo_iconview.cpp image_lister.cpp thumbnailsize.cpp thumbnailloadjob.cpp photo_folder.cpp photo_foldertree.cpp setup_dialog.ui setup.cpp gphoto_messages.cpp gphoto_interface.cpp fileOp.cpp digikam_view.cpp camera_info.cpp camera_iconview.cpp camera_folder.cpp digikam.cpp main.cpp 
digikam_LDADD   =  $(LIB_KFILE) $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT) $(LIBSOCKET)

SUBDIRS = pics 

EXTRA_DIST = main.cpp digikam.cpp digikam.h digikam.desktop camera_folder.cpp camera_folder.h camera_iconview.cpp camera_iconview.h camera_info.cpp camera_info.h digikam_view.cpp digikam_view.h fileOp.cpp fileOp.h gphoto_interface.cpp gphoto_interface.h gphoto_messages.cpp gphoto_messages.h setup.cpp setup.h setup_dialog.ui photo_foldertree.cpp photo_foldertree.h photo_folder.cpp photo_folder.h thumbnailloadjob.cpp thumbnailloadjob.h thumbnailsize.cpp thumbnailsize.h image_lister.cpp image_lister.h photo_iconview.cpp photo_iconview.h image_viewer.cpp image_viewer.h 

install-data-local:
	$(mkinstalldirs) $(kde_appsdir)/Applications/
	$(INSTALL_DATA) $(srcdir)/digikam.desktop $(kde_appsdir)/Applications/digikam.desktop

uninstall-local:
	-rm -f $(kde_appsdir)/Applications/digikam.desktop

####### kdevelop will overwrite this part!!! (end)############
# this 10 paths are KDE specific. Use them:
# kde_htmldir       Where your docs should go to. (contains lang subdirs)
# kde_appsdir       Where your application file (.kdelnk) should go to. 
# kde_icondir       Where your icon should go to.
# kde_minidir       Where your mini icon should go to.
# kde_datadir       Where you install application data. (Use a subdir)
# kde_locale        Where translation files should go to.(contains lang subdirs)
# kde_cgidir        Where cgi-bin executables should go to.
# kde_confdir       Where config files should go to.
# kde_mimedir       Where mimetypes should go to.
# kde_toolbardir    Where general toolbar icons should go to.
# kde_wallpaperdir  Where general wallpapers should go to.

# set the include path for X, qt and KDE
INCLUDES= $(all_includes)

METASOURCES = AUTO

# the library search path. 
digikam_LDFLAGS = $(all_libraries) $(KDE_RPATH)

# Uncomment the following two lines if you add a ui.rc file for your application to make use of
# KDE´s XML GUI builing
#rcdir = $(kde_datadir)/digikam
#rc_DATA = digikamui.rc

#WARNING: if you use a ui.rc file above, use:

# messages: rc.cpp

# instead of 

# messages:

messages: 
	LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
	if test -n "$$LIST"; then \
	 $(XGETTEXT) $$LIST -o $(podir)/digikam.pot; \
	fi

