####### kdevelop will overwrite this part!!! (begin)##########
bin_PROGRAMS = activemirrorcontrol
activemirrorcontrol_SOURCES = amccmdstate.cpp errortestthreadcontroller.cpp errortestthread.cpp amclookuptable.cpp laseradjustthreadcontroller.cpp laseradjustthread.cpp adjustthreadcontroller.cpp adjustthread.cpp calibratepaneldialogbase.ui calibratepaneldialog.cpp videospotthread.cpp videothread.cpp videospot.cpp videopixel.cpp defocusthreadcontroller.cpp defocusthread.cpp amclog.cpp heatstate.cpp linearregression.cpp frameevent.cpp progressinfoevent.cpp calibratelasermovementdialogbase.ui calibratelasermovementdialog.cpp errorinfoevent.cpp movethread.cpp centertread.cpp amcframegrabber.cpp threadcontroller.cpp amcprogdlgbase.ui amcprogdlg.cpp laserthreadcontroller.cpp laserthread.cpp magicmirror.cpp threadinfo.cpp threadevent.cpp motorthreaddialogbase.ui motorthreaddialog.cpp motorthreadcontroller.cpp motorthread.cpp videodisplay.cpp videodisplaybase.ui videoframe.cpp mirrorselector.cpp adjustmirrordlgbase.ui adjustmirrordlg.cpp amcserialport.cpp amcpushbutton.cpp amcmotor.cpp amcmirrorpanel.cpp amcerror.cpp amcstate.cpp amcreportsocket.cpp amccmdserversocket.cpp activemirrorcontrolbase.ui activemirrorcontrol.cpp main.cpp 
activemirrorcontrol_LDADD   = -lqt-mt -lkdeui -lkdecore $(LIBSOCKET)


EXTRA_DIST = main.cpp activemirrorcontrol.cpp activemirrorcontrol.h lo32-app-activemirrorcontrol.png lo16-app-activemirrorcontrol.png activemirrorcontrolbase.ui amccmdserversocket.cpp amccmdserversocket.h amcreportsocket.h amcreportsocket.cpp cc_defs.h amcstate.cpp amcstate.h amcerror.cpp amcerror.h amcerrors.h amcmirrorpanel.cpp amcmirrorpanel.h amcmotor.cpp amcmotor.h amcpushbutton.cpp amcpushbutton.h amccommands.h amcserialport.cpp amcserialport.h adjustmirrordlg.cpp adjustmirrordlg.h adjustmirrordlgbase.ui mirrorselector.cpp mirrorselector.h videoframe.cpp videoframe.h videodisplaybase.ui videodisplay.cpp videodisplay.h motorthread.cpp motorthread.h motorthreadcontroller.cpp motorthreadcontroller.h motorthreaddialog.cpp motorthreaddialog.h motorthreaddialogbase.ui threadevent.cpp threadevent.h threadinfo.cpp threadinfo.h magicmirror.cpp magicmirror.h laserthread.cpp laserthread.h laserthreadcontroller.cpp laserthreadcontroller.h amcprogdlg.cpp amcprogdlg.h amcprogdlgbase.ui threadcontroller.cpp threadcontroller.h amcframegrabber.cpp amcframegrabber.h centerthread.h centertread.cpp movethread.cpp movethread.h errorinfoevent.cpp errorinfoevent.h calibratelasermovementdialog.cpp calibratelasermovementdialog.h calibratelasermovementdialogbase.ui progressinfoevent.cpp progressinfoevent.h eventdefs.h frameevent.cpp frameevent.h linearregression.cpp linearregression.h heatstate.cpp heatstate.h amclog.cpp amclog.h defocusthread.cpp defocusthread.h defocusthreadcontroller.cpp defocusthreadcontroller.h videopixel.cpp videopixel.h videospot.cpp videospot.h videothread.cpp videothread.h videospotthread.cpp videospotthread.h calibratepaneldialog.cpp calibratepaneldialog.h calibratepaneldialogbase.ui adjustthread.cpp adjustthread.h adjustthreadcontroller.cpp adjustthreadcontroller.h laseradjustthread.cpp laseradjustthread.h laseradjustthreadcontroller.cpp laseradjustthreadcontroller.h amclookuptable.cpp amclookuptable.h amcdefs.h errortestthread.cpp errortestthread.h errortestthreadcontroller.cpp errortestthreadcontroller.h amccmdstate.cpp amccmdstate.h 

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

uninstall-local:
	-rm -f $(kde_icondir)/locolor/32x32/apps/activemirrorcontrol.png
	-rm -f $(kde_icondir)/locolor/16x16/apps/activemirrorcontrol.png

####### 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. 
activemirrorcontrol_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
#rcdir = $(kde_datadir)/activemirrorcontrol
#rc_DATA = activemirrorcontrolui.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)/activemirrorcontrol.pot; \
	fi

