#############################################################################
# Makefile for building: build/sticky-notes
# Generated by qmake (2.01a) (Qt 4.6.2) on: P jn. 25 10:22:29 2010
# Project:  sticky-notes.pro
# Template: app
# Command: c:/MADDE/0.6.72/targets/fremantle-pr12/bin/qmake.exe -unix -o Makefile sticky-notes.pro
#############################################################################

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

CC            = gcc
CXX           = g++
DEFINES       = -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH=1024 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
CFLAGS        = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
CXXFLAGS      = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
INCPATH       = -Ic:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/default -I. -Ic:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtCore -Ic:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtNetwork -Ic:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtGui -Ic:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include -Isrc/QtExtensions -Isrc/QtExtensions/QtSingleApplication -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/hildon-notify -I/usr/include/gconf/2 -Ibuild -Ibuild
LINK          = g++
LFLAGS        = -Wl,-rpath-link,/usr/lib -Wl,-rpath,C:/usr/lib
LIBS          = $(SUBLIBS)  -LC:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/lib -lhildonnotify -lQtGui -L/usr/lib -L/usr/X11R6/lib -lQtNetwork -lQtDBus -lQtXml -lQtCore -lpthread 
AR            = ar cqs
RANLIB        = 
QMAKE         = c:/MADDE/0.6.72/targets/fremantle-pr12/bin/qmake.exe
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   = build/

####### Files

SOURCES       = src/main.cpp \
		src/stickynoteswidget.cpp \
		src/appeventlistener.cpp \
		src/QtExtensions/QtSingleApplication/qtsingleapplication.cpp \
		src/QtExtensions/QtSingleApplication/qtlocalpeer.cpp \
		src/QtExtensions/qsettingsmanager.cpp \
		src/QtExtensions/qmaemo5dynamichomescreenwidget.cpp \
		src/QtExtensions/qmaemo5dynamicwidgethelper.cpp build/moc_stickynoteswidget.cpp \
		build/moc_appeventlistener.cpp \
		build/moc_qtsingleapplication.cpp \
		build/moc_qtlocalpeer.cpp \
		build/moc_qmaemo5dynamichomescreenwidget.cpp
OBJECTS       = build/main.o \
		build/stickynoteswidget.o \
		build/appeventlistener.o \
		build/qtsingleapplication.o \
		build/qtlocalpeer.o \
		build/qsettingsmanager.o \
		build/qmaemo5dynamichomescreenwidget.o \
		build/qmaemo5dynamicwidgethelper.o \
		build/moc_stickynoteswidget.o \
		build/moc_appeventlistener.o \
		build/moc_qtsingleapplication.o \
		build/moc_qtlocalpeer.o \
		build/moc_qmaemo5dynamichomescreenwidget.o
DIST          = c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/common/unix.conf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/common/linux.conf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/qconfig.pri \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/qt_functions.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/qt_config.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/default_pre.prf \
		src/QtExtensions/QtSingleApplication/qtsingleapplication.pri \
		src/QtExtensions/QtExtensions.pri \
		src/Sticky-Notes.pro \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/debug.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/default_post.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/warn_on.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/qt.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/unix/thread.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/moc.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/resources.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/uic.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/yacc.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/lex.prf \
		sticky-notes.pro
QMAKE_TARGET  = sticky-notes
DESTDIR       = build/
TARGET        = build/sticky-notes

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

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

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

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

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

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

####### Build rules

all: Makefile $(TARGET)

$(TARGET): build/ui_stickynoteswidget.h $(OBJECTS)  
	@$(CHK_DIR_EXISTS) build/ || $(MKDIR) build/ 
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)

Makefile: sticky-notes.pro  c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/default/qmake.conf c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/common/unix.conf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/common/linux.conf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/qconfig.pri \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/qt_functions.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/qt_config.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/default_pre.prf \
		src/QtExtensions/QtSingleApplication/qtsingleapplication.pri \
		src/QtExtensions/QtExtensions.pri \
		src/Sticky-Notes.pro \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/debug.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/default_post.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/warn_on.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/qt.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/unix/thread.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/moc.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/resources.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/uic.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/yacc.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/lex.prf \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/lib/libQtGui.prl \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/lib/libQtCore.prl \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/lib/libQtNetwork.prl \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/lib/libQtDBus.prl \
		c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/lib/libQtXml.prl
	$(QMAKE) -unix -o Makefile sticky-notes.pro
c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/common/unix.conf:
c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/common/linux.conf:
c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/qconfig.pri:
c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/qt_functions.prf:
c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/qt_config.prf:
c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/default_pre.prf:
src/QtExtensions/QtSingleApplication/qtsingleapplication.pri:
src/QtExtensions/QtExtensions.pri:
src/Sticky-Notes.pro:
c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/debug.prf:
c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/default_post.prf:
c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/warn_on.prf:
c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/qt.prf:
c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/unix/thread.prf:
c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/moc.prf:
c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/resources.prf:
c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/uic.prf:
c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/yacc.prf:
c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/features/lex.prf:
c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/lib/libQtGui.prl:
c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/lib/libQtCore.prl:
c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/lib/libQtNetwork.prl:
c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/lib/libQtDBus.prl:
c:/MADDE/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/lib/libQtXml.prl:
qmake:  FORCE
	@$(QMAKE) -unix -o Makefile sticky-notes.pro

dist: 
	@$(CHK_DIR_EXISTS) build/sticky-notes0.1.4 || $(MKDIR) build/sticky-notes0.1.4 
	$(COPY_FILE) --parents $(SOURCES) $(DIST) build/sticky-notes0.1.4/ && $(COPY_FILE) --parents src/stickynoteswidget.hpp src/appeventlistener.hpp src/QtExtensions/QtSingleApplication/qtsingleapplication.h src/QtExtensions/QtSingleApplication/qtlocalpeer.h src/QtExtensions/qsettingsmanager.h src/QtExtensions/qmaemo5dynamichomescreenwidget.h src/QtExtensions/qmaemo5dynamicwidgethelper.h build/sticky-notes0.1.4/ && $(COPY_FILE) --parents src/main.cpp src/stickynoteswidget.cpp src/appeventlistener.cpp src/QtExtensions/QtSingleApplication/qtsingleapplication.cpp src/QtExtensions/QtSingleApplication/qtlocalpeer.cpp src/QtExtensions/qsettingsmanager.cpp src/QtExtensions/qmaemo5dynamichomescreenwidget.cpp src/QtExtensions/qmaemo5dynamicwidgethelper.cpp build/sticky-notes0.1.4/ && $(COPY_FILE) --parents src/stickynoteswidget.ui build/sticky-notes0.1.4/ && (cd `dirname build/sticky-notes0.1.4` && $(TAR) sticky-notes0.1.4.tar sticky-notes0.1.4 && $(COMPRESS) sticky-notes0.1.4.tar) && $(MOVE) `dirname build/sticky-notes0.1.4`/sticky-notes0.1.4.tar.gz . && $(DEL_FILE) -r build/sticky-notes0.1.4


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


####### Sub-libraries

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


debian-all: debian-src debian-bin

debian-src:
	dpkg-buildpackage -S -r -us -uc -d

debian-bin:
	dpkg-buildpackage -b -r -uc -d

compiler_clean:
	-$(DEL_FILE) $(TARGET)

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: build/moc_stickynoteswidget.cpp build/moc_appeventlistener.cpp build/moc_qtsingleapplication.cpp build/moc_qtlocalpeer.cpp build/moc_qmaemo5dynamichomescreenwidget.cpp
compiler_moc_header_clean:
	-$(DEL_FILE) build/moc_stickynoteswidget.cpp build/moc_appeventlistener.cpp build/moc_qtsingleapplication.cpp build/moc_qtlocalpeer.cpp build/moc_qmaemo5dynamichomescreenwidget.cpp
build/moc_stickynoteswidget.cpp: src/QtExtensions/qmaemo5dynamichomescreenwidget.h \
		src/stickynoteswidget.hpp
	C:/MADDE/0.6.72/targets/fremantle-pr12/bin/moc $(DEFINES) $(INCPATH) src/stickynoteswidget.hpp -o build/moc_stickynoteswidget.cpp

build/moc_appeventlistener.cpp: src/appeventlistener.hpp
	C:/MADDE/0.6.72/targets/fremantle-pr12/bin/moc $(DEFINES) $(INCPATH) src/appeventlistener.hpp -o build/moc_appeventlistener.cpp

build/moc_qtsingleapplication.cpp: src/QtExtensions/QtSingleApplication/qtsingleapplication.h
	C:/MADDE/0.6.72/targets/fremantle-pr12/bin/moc $(DEFINES) $(INCPATH) src/QtExtensions/QtSingleApplication/qtsingleapplication.h -o build/moc_qtsingleapplication.cpp

build/moc_qtlocalpeer.cpp: src/QtExtensions/QtSingleApplication/qtlockedfile.h \
		src/QtExtensions/QtSingleApplication/qtlocalpeer.h
	C:/MADDE/0.6.72/targets/fremantle-pr12/bin/moc $(DEFINES) $(INCPATH) src/QtExtensions/QtSingleApplication/qtlocalpeer.h -o build/moc_qtlocalpeer.cpp

build/moc_qmaemo5dynamichomescreenwidget.cpp: src/QtExtensions/qmaemo5dynamichomescreenwidget.h
	C:/MADDE/0.6.72/targets/fremantle-pr12/bin/moc $(DEFINES) $(INCPATH) src/QtExtensions/qmaemo5dynamichomescreenwidget.h -o build/moc_qmaemo5dynamichomescreenwidget.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: build/ui_stickynoteswidget.h
compiler_uic_clean:
	-$(DEL_FILE) build/ui_stickynoteswidget.h
build/ui_stickynoteswidget.h: src/stickynoteswidget.ui
	c:/MADDE/0.6.72/targets/fremantle-pr12/bin/uic src/stickynoteswidget.ui -o build/ui_stickynoteswidget.h

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 compiler_uic_clean 

####### Compile

build/main.o: src/main.cpp src/QtExtensions/qmaemo5dynamicwidgethelper.h \
		src/QtExtensions/qmaemo5dynamichomescreenwidget.h \
		src/QtExtensions/QtSingleApplication/qtsingleapplication.h \
		src/stickynoteswidget.hpp \
		src/appeventlistener.hpp
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/main.o src/main.cpp

build/stickynoteswidget.o: src/stickynoteswidget.cpp src/stickynoteswidget.hpp \
		src/QtExtensions/qmaemo5dynamichomescreenwidget.h \
		build/ui_stickynoteswidget.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/stickynoteswidget.o src/stickynoteswidget.cpp

build/appeventlistener.o: src/appeventlistener.cpp src/appeventlistener.hpp \
		src/stickynoteswidget.hpp \
		src/QtExtensions/qmaemo5dynamichomescreenwidget.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/appeventlistener.o src/appeventlistener.cpp

build/qtsingleapplication.o: src/QtExtensions/QtSingleApplication/qtsingleapplication.cpp src/QtExtensions/QtSingleApplication/qtsingleapplication.h \
		src/QtExtensions/QtSingleApplication/qtlocalpeer.h \
		src/QtExtensions/QtSingleApplication/qtlockedfile.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/qtsingleapplication.o src/QtExtensions/QtSingleApplication/qtsingleapplication.cpp

build/qtlocalpeer.o: src/QtExtensions/QtSingleApplication/qtlocalpeer.cpp src/QtExtensions/QtSingleApplication/qtlocalpeer.h \
		src/QtExtensions/QtSingleApplication/qtlockedfile.h \
		src/QtExtensions/QtSingleApplication/qtlockedfile.cpp \
		src/QtExtensions/QtSingleApplication/qtlockedfile_win.cpp \
		src/QtExtensions/QtSingleApplication/qtlockedfile_unix.cpp
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/qtlocalpeer.o src/QtExtensions/QtSingleApplication/qtlocalpeer.cpp

build/qsettingsmanager.o: src/QtExtensions/qsettingsmanager.cpp src/QtExtensions/qsettingsmanager.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/qsettingsmanager.o src/QtExtensions/qsettingsmanager.cpp

build/qmaemo5dynamichomescreenwidget.o: src/QtExtensions/qmaemo5dynamichomescreenwidget.cpp src/QtExtensions/qmaemo5dynamichomescreenwidget.h \
		src/QtExtensions/qmaemo5dynamicwidgethelper.h \
		src/QtExtensions/qsettingsmanager.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/qmaemo5dynamichomescreenwidget.o src/QtExtensions/qmaemo5dynamichomescreenwidget.cpp

build/qmaemo5dynamicwidgethelper.o: src/QtExtensions/qmaemo5dynamicwidgethelper.cpp src/QtExtensions/qmaemo5dynamicwidgethelper.h \
		src/QtExtensions/qmaemo5dynamichomescreenwidget.h \
		src/QtExtensions/qsettingsmanager.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/qmaemo5dynamicwidgethelper.o src/QtExtensions/qmaemo5dynamicwidgethelper.cpp

build/moc_stickynoteswidget.o: build/moc_stickynoteswidget.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_stickynoteswidget.o build/moc_stickynoteswidget.cpp

build/moc_appeventlistener.o: build/moc_appeventlistener.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_appeventlistener.o build/moc_appeventlistener.cpp

build/moc_qtsingleapplication.o: build/moc_qtsingleapplication.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_qtsingleapplication.o build/moc_qtsingleapplication.cpp

build/moc_qtlocalpeer.o: build/moc_qtlocalpeer.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_qtlocalpeer.o build/moc_qtlocalpeer.cpp

build/moc_qmaemo5dynamichomescreenwidget.o: build/moc_qmaemo5dynamichomescreenwidget.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_qmaemo5dynamichomescreenwidget.o build/moc_qmaemo5dynamichomescreenwidget.cpp

####### Install

install_target: first FORCE
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/opt/sticky-notes/ || $(MKDIR) $(INSTALL_ROOT)/opt/sticky-notes/ 
	-$(INSTALL_PROGRAM) "build/$(QMAKE_TARGET)" "$(INSTALL_ROOT)/opt/sticky-notes/$(QMAKE_TARGET)"

uninstall_target:  FORCE
	-$(DEL_FILE) "$(INSTALL_ROOT)/opt/sticky-notes/$(QMAKE_TARGET)"
	-$(DEL_DIR) $(INSTALL_ROOT)/opt/sticky-notes/ 


install_desktop: first FORCE
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/applications/hildon/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/applications/hildon/ 
	-$(INSTALL_FILE) c:/Projects/EVE-Watcher/poc/sticky-notes/sticky-notes/data/sticky-notes.desktop $(INSTALL_ROOT)/usr/share/applications/hildon/


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


install_widgetdesktop: first FORCE
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/applications/hildon-home/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/applications/hildon-home/ 
	-$(INSTALL_FILE) c:/Projects/EVE-Watcher/poc/sticky-notes/sticky-notes/data/sticky-notes-widget.desktop $(INSTALL_ROOT)/usr/share/applications/hildon-home/


uninstall_widgetdesktop:  FORCE
	-$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/applications/hildon-home/sticky-notes-widget.desktop
	-$(DEL_DIR) $(INSTALL_ROOT)/usr/share/applications/hildon-home/ 


install_icon: first FORCE
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/pixmaps/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/pixmaps/ 
	-$(INSTALL_FILE) c:/Projects/EVE-Watcher/poc/sticky-notes/sticky-notes/data/sticky-notes.png $(INSTALL_ROOT)/usr/share/pixmaps/


uninstall_icon:  FORCE
	-$(DEL_FILE) -r $(INSTALL_ROOT)/usr/share/pixmaps/sticky-notes.png
	-$(DEL_DIR) $(INSTALL_ROOT)/usr/share/pixmaps/ 


install_startupscript: first FORCE
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/etc/event.d/ || $(MKDIR) $(INSTALL_ROOT)/etc/event.d/ 
	-$(INSTALL_FILE) c:/Projects/EVE-Watcher/poc/sticky-notes/sticky-notes/data/sticky-notes $(INSTALL_ROOT)/etc/event.d/


uninstall_startupscript:  FORCE
	-$(DEL_FILE) -r $(INSTALL_ROOT)/etc/event.d/sticky-notes
	-$(DEL_DIR) $(INSTALL_ROOT)/etc/event.d/ 


install:  install_target install_desktop install_widgetdesktop install_icon install_startupscript  FORCE

uninstall: uninstall_target uninstall_desktop uninstall_widgetdesktop uninstall_icon uninstall_startupscript   FORCE

FORCE:

