####### kdevelop will overwrite this part!!! (begin)##########
bin_PROGRAMS = kwebget

## INCLUDES were found outside kdevelop specific part

kwebget_SOURCES = videosel.cpp textsel.cpp statusdialog.cpp scheduleconf.cpp proxyconf.cpp prefdialog.cpp passconf.cpp outputwidget.cpp othersel.cpp optconf.cpp mypushbutton.cpp mylineedit.cpp mydialog.cpp mainconf.cpp listenterdialog.cpp kscheduleicon.cpp imagesel.cpp fileconf.cpp domainconf.cpp audiosel.cpp kwebget.cpp main.cpp 
kwebget_LDADD   = ./wizard/libwizard.a  $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI)  $(LIBSOCKET)

SUBDIRS = wizard 

EXTRA_DIST = main.cpp kwebget.cpp kwebget.h kwebget.desktop lo32-app-kwebget.png lo16-app-kwebget.png audiosel.cpp audiosel.h domainconf.cpp domainconf.h fileconf.cpp fileconf.h imagesel.cpp imagesel.h kscheduleicon.cpp kscheduleicon.h kwebget.png listenterdialog.cpp listenterdialog.h mainconf.cpp mainconf.h mini-kwebget.png mydialog.cpp mydialog.h mylineedit.cpp mylineedit.h mypushbutton.cpp mypushbutton.h optconf.cpp optconf.h othersel.cpp othersel.h outputwidget.cpp outputwidget.h passconf.cpp passconf.h prefdialog.cpp prefdialog.h proxyconf.cpp proxyconf.h resource.h scheduleconf.cpp scheduleconf.h statusdialog.cpp statusdialog.h textsel.cpp textsel.h videosel.cpp videosel.h 

install-data-local:
	$(mkinstalldirs) $(kde_appsdir)/Applications/
	$(INSTALL_DATA) $(srcdir)/kwebget.desktop $(kde_appsdir)/Applications/kwebget.desktop
	$(mkinstalldirs) $(kde_icondir)/locolor/32x32/apps/
	$(INSTALL_DATA) $(srcdir)/lo32-app-kwebget.png $(kde_icondir)/locolor/32x32/apps/kwebget.png
	$(mkinstalldirs) $(kde_icondir)/locolor/16x16/apps/
	$(INSTALL_DATA) $(srcdir)/lo16-app-kwebget.png $(kde_icondir)/locolor/16x16/apps/kwebget.png

uninstall-local:
	-rm -f $(kde_appsdir)/Applications/kwebget.desktop
	-rm -f $(kde_icondir)/locolor/32x32/apps/kwebget.png
	-rm -f $(kde_icondir)/locolor/16x16/apps/kwebget.png

####### kdevelop will overwrite this part!!! (end)############
# These paths are KDE specific. Use them:
# kde_appsdir         Where your application's menu entry (.desktop) should go to.
# kde_icondir         Where your icon should go to - better use KDE_ICON.
# kde_sounddir        Where your sounds should go to.
# kde_htmldir         Where your docs should go to. (contains lang subdirs)
# 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 (system-wide ones with default values).
# kde_mimedir         Where mimetypes .desktop files should go to.
# kde_servicesdir     Where services .desktop files should go to.
# kde_servicetypesdir Where servicetypes .desktop files should go to.
# kde_toolbardir      Where general toolbar icons should go to (deprecated, use KDE_ICON).
# kde_wallpaperdir    Where general wallpapers should go to.
# kde_templatesdir    Where templates for the "New" menu (Konqueror/KDesktop) should go to.
# kde_bindir          Where executables should go to. Use bin_PROGRAMS or bin_SCRIPTS.
# kde_libdir          Where shared libraries should go to. Use lib_LTLIBRARIES.
# kde_moduledir       Where modules (e.g. parts) should go to. Use kde_module_LTLIBRARIES.
# kde_styledir        Where Qt/KDE widget styles should go to (new in KDE 3).
# kde_designerdir     Where Qt Designer plugins should go to (new in KDE 3).

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

METASOURCES = AUTO

# the library search path. 
kwebget_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)/kwebget
#rc_DATA = kwebgetui.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)/kwebget.pot; \
	fi

