#############################################################################
# Makefile for building: siggy
# Generated by qmake (2.01a) (Qt 4.6.2) on: Tue Mar 16 16:11:29 2010
# Project:  src.pro
# Template: app
# Command: /opt/qt4-maemo5/bin/qmake -unix -o Makefile src.pro
#############################################################################

####### Compiler, tools and options

CC            = gcc
CXX           = g++
DEFINES       = -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH=1024 -DDATADIR="/usr/share" -DPKGDATADIR="" -DQT_NO_DEBUG -DQT_MAEMO5_LIB -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
CFLAGS        = -pipe -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wall -W -D_REENTRANT $(DEFINES)
CXXFLAGS      = -pipe -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wall -W -D_REENTRANT $(DEFINES)
INCPATH       = -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/linux-g++-maemo5 -I. -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include/QtCore -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include/QtGui -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include/QtSql -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include/QtMaemo5 -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include -I. -I.
LINK          = g++
LFLAGS        = -Wl,-rpath-link,/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -Wl,-rpath,/opt/qt4-maemo5/lib
LIBS          = $(SUBLIBS)  -L/opt/qt4-maemo5/lib -lQtMaemo5 -L/opt/qt4-maemo5/lib -L/usr/X11R6/lib -lQtDBus -lQtXml -lQtSql -lQtGui -lQtCore -lpthread 
AR            = ar cqs
RANLIB        = 
QMAKE         = /opt/qt4-maemo5/bin/qmake
TAR           = tar -cf
COMPRESS      = gzip -9f
COPY          = cp -f
SED           = sed
COPY_FILE     = $(COPY)
COPY_DIR      = $(COPY) -r
STRIP         = strip
INSTALL_FILE  = install -m 644 -p
INSTALL_DIR   = $(COPY_DIR)
INSTALL_PROGRAM = install -m 755 -p
DEL_FILE      = rm -f
SYMLINK       = ln -f -s
DEL_DIR       = rmdir
MOVE          = mv -f
CHK_DIR_EXISTS= test -d
MKDIR         = mkdir -p

####### Output directory

OBJECTS_DIR   = ./

####### Files

SOURCES       = dbmanager.cpp \
		expense.cpp \
		concept.cpp \
		monthdata.cpp \
		controller.cpp \
		mainwindow.cpp \
		expensesgraph.cpp \
		expensedetailsdialog.cpp \
		budgetdialog.cpp \
		conceptsdialog.cpp \
		conceptdetailsdialog.cpp \
		expenseslist.cpp \
		scheduledlist.cpp \
		scheduleddetailsdialog.cpp \
		confirmationdialog.cpp \
		datechooserdialog.cpp \
		periodwindow.cpp \
		summarywindow.cpp \
		summarydata.cpp \
		conceptschart.cpp \
		main.cpp moc_monthdata.cpp \
		moc_controller.cpp \
		moc_expensesgraph.cpp \
		moc_expensedetailsdialog.cpp \
		moc_budgetdialog.cpp \
		moc_conceptsdialog.cpp \
		moc_conceptdetailsdialog.cpp \
		moc_expenseslist.cpp \
		moc_scheduledlist.cpp \
		moc_scheduleddetailsdialog.cpp \
		moc_confirmationdialog.cpp \
		moc_datechooserdialog.cpp \
		moc_periodwindow.cpp \
		moc_summarywindow.cpp \
		moc_summarydata.cpp \
		moc_conceptschart.cpp \
		moc_mainwindow.cpp
OBJECTS       = dbmanager.o \
		expense.o \
		concept.o \
		monthdata.o \
		controller.o \
		mainwindow.o \
		expensesgraph.o \
		expensedetailsdialog.o \
		budgetdialog.o \
		conceptsdialog.o \
		conceptdetailsdialog.o \
		expenseslist.o \
		scheduledlist.o \
		scheduleddetailsdialog.o \
		confirmationdialog.o \
		datechooserdialog.o \
		periodwindow.o \
		summarywindow.o \
		summarydata.o \
		conceptschart.o \
		main.o \
		moc_monthdata.o \
		moc_controller.o \
		moc_expensesgraph.o \
		moc_expensedetailsdialog.o \
		moc_budgetdialog.o \
		moc_conceptsdialog.o \
		moc_conceptdetailsdialog.o \
		moc_expenseslist.o \
		moc_scheduledlist.o \
		moc_scheduleddetailsdialog.o \
		moc_confirmationdialog.o \
		moc_datechooserdialog.o \
		moc_periodwindow.o \
		moc_summarywindow.o \
		moc_summarydata.o \
		moc_conceptschart.o \
		moc_mainwindow.o
DIST          = /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/common/unix.conf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/common/linux.conf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/qconfig.pri \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/qt_functions.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/qt_config.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/exclusive_builds.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/default_pre.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/release.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/default_post.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/warn_on.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/qt.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/unix/thread.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/moc.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/resources.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/uic.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/yacc.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/lex.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/include_source_dir.prf \
		src.pro
QMAKE_TARGET  = siggy
DESTDIR       = 
TARGET        = siggy

first: all
####### Implicit rules

.SUFFIXES: .o .c .cpp .cc .cxx .C

.cpp.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"

.cc.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"

.cxx.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"

.C.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"

.c.o:
	$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"

####### Build rules

all: Makefile $(TARGET)

$(TARGET):  $(OBJECTS)  
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)

Makefile: src.pro  /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/linux-g++-maemo5/qmake.conf /targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/common/unix.conf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/common/linux.conf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/qconfig.pri \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/qt_functions.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/qt_config.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/exclusive_builds.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/default_pre.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/release.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/default_post.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/warn_on.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/qt.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/unix/thread.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/moc.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/resources.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/uic.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/yacc.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/lex.prf \
		/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/include_source_dir.prf \
		/opt/qt4-maemo5/lib/libQtMaemo5.prl \
		/opt/qt4-maemo5/lib/libQtDBus.prl \
		/opt/qt4-maemo5/lib/libQtXml.prl \
		/opt/qt4-maemo5/lib/libQtCore.prl \
		/opt/qt4-maemo5/lib/libQtGui.prl \
		/opt/qt4-maemo5/lib/libQtSql.prl
	$(QMAKE) -unix -o Makefile src.pro
/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/common/unix.conf:
/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/common/linux.conf:
/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/qconfig.pri:
/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/qt_functions.prf:
/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/qt_config.prf:
/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/exclusive_builds.prf:
/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/default_pre.prf:
/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/release.prf:
/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/default_post.prf:
/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/warn_on.prf:
/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/qt.prf:
/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/unix/thread.prf:
/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/moc.prf:
/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/resources.prf:
/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/uic.prf:
/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/yacc.prf:
/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/lex.prf:
/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/features/include_source_dir.prf:
/opt/qt4-maemo5/lib/libQtMaemo5.prl:
/opt/qt4-maemo5/lib/libQtDBus.prl:
/opt/qt4-maemo5/lib/libQtXml.prl:
/opt/qt4-maemo5/lib/libQtCore.prl:
/opt/qt4-maemo5/lib/libQtGui.prl:
/opt/qt4-maemo5/lib/libQtSql.prl:
qmake:  FORCE
	@$(QMAKE) -unix -o Makefile src.pro

dist: 
	@$(CHK_DIR_EXISTS) .tmp/siggy1.0.0 || $(MKDIR) .tmp/siggy1.0.0 
	$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/siggy1.0.0/ && $(COPY_FILE) --parents global.h dbmanager.h expense.h concept.h monthdata.h controller.h expensesgraph.h expensedetailsdialog.h budgetdialog.h conceptsdialog.h conceptdetailsdialog.h expenseslist.h scheduledlist.h scheduleddetailsdialog.h confirmationdialog.h datechooserdialog.h periodwindow.h summarywindow.h summarydata.h conceptschart.h mainwindow.h .tmp/siggy1.0.0/ && $(COPY_FILE) --parents dbmanager.cpp expense.cpp concept.cpp monthdata.cpp controller.cpp mainwindow.cpp expensesgraph.cpp expensedetailsdialog.cpp budgetdialog.cpp conceptsdialog.cpp conceptdetailsdialog.cpp expenseslist.cpp scheduledlist.cpp scheduleddetailsdialog.cpp confirmationdialog.cpp datechooserdialog.cpp periodwindow.cpp summarywindow.cpp summarydata.cpp conceptschart.cpp main.cpp .tmp/siggy1.0.0/ && (cd `dirname .tmp/siggy1.0.0` && $(TAR) siggy1.0.0.tar siggy1.0.0 && $(COMPRESS) siggy1.0.0.tar) && $(MOVE) `dirname .tmp/siggy1.0.0`/siggy1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/siggy1.0.0


clean:compiler_clean 
	-$(DEL_FILE) $(OBJECTS)
	-$(DEL_FILE) *~ core *.core


####### Sub-libraries

distclean: clean
	-$(DEL_FILE) $(TARGET) 
	-$(DEL_FILE) Makefile


mocclean: compiler_moc_header_clean compiler_moc_source_clean

mocables: compiler_moc_header_make_all compiler_moc_source_make_all

compiler_moc_header_make_all: moc_monthdata.cpp moc_controller.cpp moc_expensesgraph.cpp moc_expensedetailsdialog.cpp moc_budgetdialog.cpp moc_conceptsdialog.cpp moc_conceptdetailsdialog.cpp moc_expenseslist.cpp moc_scheduledlist.cpp moc_scheduleddetailsdialog.cpp moc_confirmationdialog.cpp moc_datechooserdialog.cpp moc_periodwindow.cpp moc_summarywindow.cpp moc_summarydata.cpp moc_conceptschart.cpp moc_mainwindow.cpp
compiler_moc_header_clean:
	-$(DEL_FILE) moc_monthdata.cpp moc_controller.cpp moc_expensesgraph.cpp moc_expensedetailsdialog.cpp moc_budgetdialog.cpp moc_conceptsdialog.cpp moc_conceptdetailsdialog.cpp moc_expenseslist.cpp moc_scheduledlist.cpp moc_scheduleddetailsdialog.cpp moc_confirmationdialog.cpp moc_datechooserdialog.cpp moc_periodwindow.cpp moc_summarywindow.cpp moc_summarydata.cpp moc_conceptschart.cpp moc_mainwindow.cpp
moc_monthdata.cpp: expense.h \
		global.h \
		monthdata.h
	/opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) monthdata.h -o moc_monthdata.cpp

moc_controller.cpp: expense.h \
		monthdata.h \
		global.h \
		mainwindow.h \
		expensesgraph.h \
		dbmanager.h \
		concept.h \
		summarydata.h \
		summarywindow.h \
		periodwindow.h \
		conceptschart.h \
		controller.h
	/opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) controller.h -o moc_controller.cpp

moc_expensesgraph.cpp: monthdata.h \
		expense.h \
		global.h \
		expensesgraph.h
	/opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) expensesgraph.h -o moc_expensesgraph.cpp

moc_expensedetailsdialog.cpp: expense.h \
		concept.h \
		expensedetailsdialog.h
	/opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) expensedetailsdialog.h -o moc_expensedetailsdialog.cpp

moc_budgetdialog.cpp: budgetdialog.h
	/opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) budgetdialog.h -o moc_budgetdialog.cpp

moc_conceptsdialog.cpp: conceptsdialog.h
	/opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) conceptsdialog.h -o moc_conceptsdialog.cpp

moc_conceptdetailsdialog.cpp: concept.h \
		conceptdetailsdialog.h
	/opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) conceptdetailsdialog.h -o moc_conceptdetailsdialog.cpp

moc_expenseslist.cpp: expenseslist.h
	/opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) expenseslist.h -o moc_expenseslist.cpp

moc_scheduledlist.cpp: scheduledlist.h
	/opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) scheduledlist.h -o moc_scheduledlist.cpp

moc_scheduleddetailsdialog.cpp: expense.h \
		concept.h \
		scheduleddetailsdialog.h
	/opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) scheduleddetailsdialog.h -o moc_scheduleddetailsdialog.cpp

moc_confirmationdialog.cpp: confirmationdialog.h
	/opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) confirmationdialog.h -o moc_confirmationdialog.cpp

moc_datechooserdialog.cpp: datechooserdialog.h
	/opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) datechooserdialog.h -o moc_datechooserdialog.cpp

moc_periodwindow.cpp: periodwindow.h
	/opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) periodwindow.h -o moc_periodwindow.cpp

moc_summarywindow.cpp: periodwindow.h \
		summarydata.h \
		concept.h \
		conceptschart.h \
		summarywindow.h
	/opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) summarywindow.h -o moc_summarywindow.cpp

moc_summarydata.cpp: concept.h \
		summarydata.h
	/opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) summarydata.h -o moc_summarydata.cpp

moc_conceptschart.cpp: summarydata.h \
		concept.h \
		conceptschart.h
	/opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) conceptschart.h -o moc_conceptschart.cpp

moc_mainwindow.cpp: monthdata.h \
		expense.h \
		global.h \
		expensesgraph.h \
		mainwindow.h
	/opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp

compiler_rcc_make_all:
compiler_rcc_clean:
compiler_image_collection_make_all: qmake_image_collection.cpp
compiler_image_collection_clean:
	-$(DEL_FILE) qmake_image_collection.cpp
compiler_moc_source_make_all:
compiler_moc_source_clean:
compiler_uic_make_all:
compiler_uic_clean:
compiler_yacc_decl_make_all:
compiler_yacc_decl_clean:
compiler_yacc_impl_make_all:
compiler_yacc_impl_clean:
compiler_lex_make_all:
compiler_lex_clean:
compiler_clean: compiler_moc_header_clean 

####### Compile

dbmanager.o: dbmanager.cpp dbmanager.h \
		expense.h \
		concept.h \
		monthdata.h \
		global.h \
		summarydata.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o dbmanager.o dbmanager.cpp

expense.o: expense.cpp expense.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o expense.o expense.cpp

concept.o: concept.cpp concept.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o concept.o concept.cpp

monthdata.o: monthdata.cpp monthdata.h \
		expense.h \
		global.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o monthdata.o monthdata.cpp

controller.o: controller.cpp expensedetailsdialog.h \
		expense.h \
		concept.h \
		scheduleddetailsdialog.h \
		budgetdialog.h \
		conceptsdialog.h \
		conceptdetailsdialog.h \
		expenseslist.h \
		controller.h \
		monthdata.h \
		global.h \
		mainwindow.h \
		expensesgraph.h \
		dbmanager.h \
		summarydata.h \
		summarywindow.h \
		periodwindow.h \
		conceptschart.h \
		scheduledlist.h \
		confirmationdialog.h \
		datechooserdialog.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o controller.o controller.cpp

mainwindow.o: mainwindow.cpp mainwindow.h \
		monthdata.h \
		expense.h \
		global.h \
		expensesgraph.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp

expensesgraph.o: expensesgraph.cpp expensesgraph.h \
		monthdata.h \
		expense.h \
		global.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o expensesgraph.o expensesgraph.cpp

expensedetailsdialog.o: expensedetailsdialog.cpp expensedetailsdialog.h \
		expense.h \
		concept.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o expensedetailsdialog.o expensedetailsdialog.cpp

budgetdialog.o: budgetdialog.cpp budgetdialog.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o budgetdialog.o budgetdialog.cpp

conceptsdialog.o: conceptsdialog.cpp conceptsdialog.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o conceptsdialog.o conceptsdialog.cpp

conceptdetailsdialog.o: conceptdetailsdialog.cpp conceptdetailsdialog.h \
		concept.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o conceptdetailsdialog.o conceptdetailsdialog.cpp

expenseslist.o: expenseslist.cpp expenseslist.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o expenseslist.o expenseslist.cpp

scheduledlist.o: scheduledlist.cpp scheduledlist.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o scheduledlist.o scheduledlist.cpp

scheduleddetailsdialog.o: scheduleddetailsdialog.cpp scheduleddetailsdialog.h \
		expense.h \
		concept.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o scheduleddetailsdialog.o scheduleddetailsdialog.cpp

confirmationdialog.o: confirmationdialog.cpp confirmationdialog.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o confirmationdialog.o confirmationdialog.cpp

datechooserdialog.o: datechooserdialog.cpp datechooserdialog.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o datechooserdialog.o datechooserdialog.cpp

periodwindow.o: periodwindow.cpp periodwindow.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o periodwindow.o periodwindow.cpp

summarywindow.o: summarywindow.cpp summarywindow.h \
		periodwindow.h \
		summarydata.h \
		concept.h \
		conceptschart.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o summarywindow.o summarywindow.cpp

summarydata.o: summarydata.cpp summarydata.h \
		concept.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o summarydata.o summarydata.cpp

conceptschart.o: conceptschart.cpp conceptschart.h \
		summarydata.h \
		concept.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o conceptschart.o conceptschart.cpp

main.o: main.cpp controller.h \
		expense.h \
		monthdata.h \
		global.h \
		mainwindow.h \
		expensesgraph.h \
		dbmanager.h \
		concept.h \
		summarydata.h \
		summarywindow.h \
		periodwindow.h \
		conceptschart.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp

moc_monthdata.o: moc_monthdata.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_monthdata.o moc_monthdata.cpp

moc_controller.o: moc_controller.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_controller.o moc_controller.cpp

moc_expensesgraph.o: moc_expensesgraph.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_expensesgraph.o moc_expensesgraph.cpp

moc_expensedetailsdialog.o: moc_expensedetailsdialog.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_expensedetailsdialog.o moc_expensedetailsdialog.cpp

moc_budgetdialog.o: moc_budgetdialog.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_budgetdialog.o moc_budgetdialog.cpp

moc_conceptsdialog.o: moc_conceptsdialog.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_conceptsdialog.o moc_conceptsdialog.cpp

moc_conceptdetailsdialog.o: moc_conceptdetailsdialog.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_conceptdetailsdialog.o moc_conceptdetailsdialog.cpp

moc_expenseslist.o: moc_expenseslist.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_expenseslist.o moc_expenseslist.cpp

moc_scheduledlist.o: moc_scheduledlist.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_scheduledlist.o moc_scheduledlist.cpp

moc_scheduleddetailsdialog.o: moc_scheduleddetailsdialog.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_scheduleddetailsdialog.o moc_scheduleddetailsdialog.cpp

moc_confirmationdialog.o: moc_confirmationdialog.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_confirmationdialog.o moc_confirmationdialog.cpp

moc_datechooserdialog.o: moc_datechooserdialog.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_datechooserdialog.o moc_datechooserdialog.cpp

moc_periodwindow.o: moc_periodwindow.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_periodwindow.o moc_periodwindow.cpp

moc_summarywindow.o: moc_summarywindow.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_summarywindow.o moc_summarywindow.cpp

moc_summarydata.o: moc_summarydata.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_summarydata.o moc_summarydata.cpp

moc_conceptschart.o: moc_conceptschart.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_conceptschart.o moc_conceptschart.cpp

moc_mainwindow.o: moc_mainwindow.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp

####### Install

install_target: first FORCE
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/bin/ 
	-$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
	-$(STRIP) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"

uninstall_target:  FORCE
	-$(DEL_FILE) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
	-$(DEL_DIR) $(INSTALL_ROOT)/usr/bin/ 


install_desktop: first FORCE
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/applications/hildon/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/applications/hildon/ 
	-$(INSTALL_FILE) /home/magomez/siggy/data/desktop/siggy.desktop $(INSTALL_ROOT)/usr/share/applications/hildon/


uninstall_desktop:  FORCE
	-$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/applications/hildon/siggy.desktop
	-$(DEL_DIR) $(INSTALL_ROOT)/usr/share/applications/hildon/ 


install_backup: first FORCE
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/etc/osso-backup/applications/ || $(MKDIR) $(INSTALL_ROOT)/etc/osso-backup/applications/ 
	-$(INSTALL_FILE) /home/magomez/siggy/data/backup/siggy.conf $(INSTALL_ROOT)/etc/osso-backup/applications/


uninstall_backup:  FORCE
	-$(DEL_FILE) -r $(INSTALL_ROOT)/etc/osso-backup/applications/siggy.conf
	-$(DEL_DIR) $(INSTALL_ROOT)/etc/osso-backup/applications/ 


install_i18n: first FORCE
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/siggy/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/siggy/ 
	-$(INSTALL_FILE) /home/magomez/siggy/i18n/siggy_es.qm $(INSTALL_ROOT)/usr/share/siggy/


uninstall_i18n:  FORCE
	-$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/siggy/siggy_es.qm
	-$(DEL_DIR) $(INSTALL_ROOT)/usr/share/siggy/ 


install_iconxpm: first FORCE
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/pixmaps/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/pixmaps/ 
	-$(INSTALL_FILE) /home/magomez/siggy/data/icons/siggy.xpm $(INSTALL_ROOT)/usr/share/pixmaps/


uninstall_iconxpm:  FORCE
	-$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/pixmaps/siggy.xpm
	-$(DEL_DIR) $(INSTALL_ROOT)/usr/share/pixmaps/ 


install_icon26: first FORCE
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/icons/hicolor/26x26/apps/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/26x26/apps/ 
	-$(INSTALL_FILE) /home/magomez/siggy/data/icons/26x26/siggy.png $(INSTALL_ROOT)/usr/share/icons/hicolor/26x26/apps/


uninstall_icon26:  FORCE
	-$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/icons/hicolor/26x26/apps/siggy.png
	-$(DEL_DIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/26x26/apps/ 


install_icon48: first FORCE
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/icons/hicolor/48x48/apps/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/48x48/apps/ 
	-$(INSTALL_FILE) /home/magomez/siggy/data/icons/48x48/siggy.png $(INSTALL_ROOT)/usr/share/icons/hicolor/48x48/apps/


uninstall_icon48:  FORCE
	-$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/icons/hicolor/48x48/apps/siggy.png
	-$(DEL_DIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/48x48/apps/ 


install_icon64: first FORCE
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/ 
	-$(INSTALL_FILE) /home/magomez/siggy/data/icons/64x64/siggy.png $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/


uninstall_icon64:  FORCE
	-$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/siggy.png
	-$(DEL_DIR) $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/ 


install:  install_target install_desktop install_backup install_i18n install_iconxpm install_icon26 install_icon48 install_icon64  FORCE

uninstall: uninstall_target uninstall_desktop uninstall_backup uninstall_i18n uninstall_iconxpm uninstall_icon26 uninstall_icon48 uninstall_icon64   FORCE

FORCE:

