#############################################################################
# Makefile for building: build/Unwrap360
# Generated by qmake (2.01a) (Qt 4.6.2) on: Sun Aug 1 02:42:00 2010
# Project:  Unwrap360.pro
# Template: app
# Command: /usr/bin/qmake -unix CONFIG+=release -o Makefile Unwrap360.pro
#############################################################################

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

CC            = gcc
CXX           = g++
DEFINES       = -DDATADIR=\"/usr/share\" -DPKGDATADIR=\"/usr/share\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
CFLAGS        = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
CXXFLAGS      = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
INCPATH       = -I/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/linux-g++ -I. -I/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/include/QtCore -I/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/include/QtGui -I/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/include -Isrc -Ibuild -Ibuild
LINK          = g++
LFLAGS        = -Wl,-O1 -Wl,-rpath,/usr/lib
LIBS          = $(SUBLIBS)  -L/usr/lib -lQtGui -L/usr/lib -L/usr/X11R6/lib -lQtCore -lpthread 
AR            = ar cqs
RANLIB        = 
QMAKE         = /usr/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   = build/

####### Files

SOURCES       = src/main.cpp \
		src/mainwindow.cpp \
		src/imagearea.cpp \
		src/imagemarker.cpp \
		src/settingsdialog.cpp \
		src/interpolation.cpp build/moc_mainwindow.cpp \
		build/moc_imagearea.cpp \
		build/moc_fullscreenexitbutton.cpp \
		build/moc_settingsdialog.cpp \
		build/qrc_icons.cpp
OBJECTS       = build/main.o \
		build/mainwindow.o \
		build/imagearea.o \
		build/imagemarker.o \
		build/settingsdialog.o \
		build/interpolation.o \
		build/moc_mainwindow.o \
		build/moc_imagearea.o \
		build/moc_fullscreenexitbutton.o \
		build/moc_settingsdialog.o \
		build/qrc_icons.o
DIST          = /targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/common/g++.conf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/common/unix.conf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/common/linux.conf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/qconfig.pri \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/qt_functions.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/qt_config.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/default_pre.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/release.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/default_post.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/warn_on.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/qt.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/unix/thread.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/moc.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/resources.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/uic.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/yacc.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/lex.prf \
		Unwrap360.pro
QMAKE_TARGET  = Unwrap360
DESTDIR       = build/
TARGET        = build/Unwrap360

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): build/ui_mainwindow.h build/ui_settingsdialog.h $(OBJECTS)  
	@$(CHK_DIR_EXISTS) build/ || $(MKDIR) build/ 
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)

Makefile: Unwrap360.pro  /targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/linux-g++/qmake.conf /targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/common/g++.conf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/common/unix.conf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/common/linux.conf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/qconfig.pri \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/qt_functions.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/qt_config.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/default_pre.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/release.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/default_post.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/warn_on.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/qt.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/unix/thread.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/moc.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/resources.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/uic.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/yacc.prf \
		/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/lex.prf \
		/usr/lib/libQtGui.prl \
		/usr/lib/libQtCore.prl
	$(QMAKE) -unix CONFIG+=release -o Makefile Unwrap360.pro
/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/common/g++.conf:
/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/common/unix.conf:
/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/common/linux.conf:
/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/qconfig.pri:
/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/qt_functions.prf:
/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/qt_config.prf:
/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/default_pre.prf:
/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/release.prf:
/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/default_post.prf:
/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/warn_on.prf:
/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/qt.prf:
/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/unix/thread.prf:
/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/moc.prf:
/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/resources.prf:
/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/uic.prf:
/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/yacc.prf:
/targets/maemo5-i386-cc6710ed56e0514e2e370d3fb2f800dcc737befa/usr/share/qt4/mkspecs/features/lex.prf:
/usr/lib/libQtGui.prl:
/usr/lib/libQtCore.prl:
qmake:  FORCE
	@$(QMAKE) -unix CONFIG+=release -o Makefile Unwrap360.pro

dist: 
	@$(CHK_DIR_EXISTS) build/Unwrap3601.0.0 || $(MKDIR) build/Unwrap3601.0.0 
	$(COPY_FILE) --parents $(SOURCES) $(DIST) build/Unwrap3601.0.0/ && $(COPY_FILE) --parents src/mainwindow.h src/imagearea.h src/fullscreenexitbutton.h src/imagemarker.h src/settingsdialog.h build/Unwrap3601.0.0/ && $(COPY_FILE) --parents data/icons.qrc build/Unwrap3601.0.0/ && $(COPY_FILE) --parents src/main.cpp src/mainwindow.cpp src/imagearea.cpp src/imagemarker.cpp src/settingsdialog.cpp src/interpolation.cpp build/Unwrap3601.0.0/ && $(COPY_FILE) --parents src/mainwindow.ui src/settingsdialog.ui build/Unwrap3601.0.0/ && (cd `dirname build/Unwrap3601.0.0` && $(TAR) Unwrap3601.0.0.tar Unwrap3601.0.0 && $(COMPRESS) Unwrap3601.0.0.tar) && $(MOVE) `dirname build/Unwrap3601.0.0`/Unwrap3601.0.0.tar.gz . && $(DEL_FILE) -r build/Unwrap3601.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: build/moc_mainwindow.cpp build/moc_imagearea.cpp build/moc_fullscreenexitbutton.cpp build/moc_settingsdialog.cpp
compiler_moc_header_clean:
	-$(DEL_FILE) build/moc_mainwindow.cpp build/moc_imagearea.cpp build/moc_fullscreenexitbutton.cpp build/moc_settingsdialog.cpp
build/moc_mainwindow.cpp: src/mainwindow.h
	/usr/bin/moc $(DEFINES) $(INCPATH) src/mainwindow.h -o build/moc_mainwindow.cpp

build/moc_imagearea.cpp: src/imagearea.h
	/usr/bin/moc $(DEFINES) $(INCPATH) src/imagearea.h -o build/moc_imagearea.cpp

build/moc_fullscreenexitbutton.cpp: src/fullscreenexitbutton.h
	/usr/bin/moc $(DEFINES) $(INCPATH) src/fullscreenexitbutton.h -o build/moc_fullscreenexitbutton.cpp

build/moc_settingsdialog.cpp: src/settingsdialog.h
	/usr/bin/moc $(DEFINES) $(INCPATH) src/settingsdialog.h -o build/moc_settingsdialog.cpp

compiler_rcc_make_all: build/qrc_icons.cpp
compiler_rcc_clean:
	-$(DEL_FILE) build/qrc_icons.cpp
build/qrc_icons.cpp: data/icons.qrc \
		data/icons/stop.png \
		data/icons/load.png \
		data/icons/back.png \
		data/icons/fullsize.png \
		data/icons/zoomin.png \
		data/icons/forward.png \
		data/icons/zoomout.png \
		data/icons/settings.png \
		data/icons/save.png
	/usr/bin/rcc -name icons data/icons.qrc -o build/qrc_icons.cpp

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_mainwindow.h build/ui_settingsdialog.h
compiler_uic_clean:
	-$(DEL_FILE) build/ui_mainwindow.h build/ui_settingsdialog.h
build/ui_mainwindow.h: src/mainwindow.ui
	/usr/bin/uic src/mainwindow.ui -o build/ui_mainwindow.h

build/ui_settingsdialog.h: src/settingsdialog.ui
	/usr/bin/uic src/settingsdialog.ui -o build/ui_settingsdialog.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_rcc_clean compiler_uic_clean 

####### Compile

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

build/mainwindow.o: src/mainwindow.cpp src/mainwindow.h \
		build/ui_mainwindow.h \
		src/fullscreenexitbutton.h \
		src/settingsdialog.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/mainwindow.o src/mainwindow.cpp

build/imagearea.o: src/imagearea.cpp src/imagearea.h \
		src/imagemarker.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/imagearea.o src/imagearea.cpp

build/imagemarker.o: src/imagemarker.cpp src/imagemarker.h \
		src/imagearea.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/imagemarker.o src/imagemarker.cpp

build/settingsdialog.o: src/settingsdialog.cpp src/settingsdialog.h \
		build/ui_settingsdialog.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/settingsdialog.o src/settingsdialog.cpp

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

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

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

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

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

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

####### Install

install_target: first FORCE
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/bin/ 
	-$(INSTALL_PROGRAM) "build/$(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/builder1/maemo-fremantle-i386-extras-devel/work/unwrap360-0.2.1/data/unwrap360.desktop $(INSTALL_ROOT)/usr/share/applications/hildon/


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


install_icons48: 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/builder1/maemo-fremantle-i386-extras-devel/work/unwrap360-0.2.1/data/icons/48x48/unwrap360.png $(INSTALL_ROOT)/usr/share/icons/hicolor/48x48/apps/


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


install_icons64: 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/builder1/maemo-fremantle-i386-extras-devel/work/unwrap360-0.2.1/data/icons/64x64/unwrap360.png $(INSTALL_ROOT)/usr/share/icons/hicolor/64x64/apps/


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


install:  install_target install_desktop install_icons48 install_icons64  FORCE

uninstall: uninstall_target uninstall_desktop uninstall_icons48 uninstall_icons64   FORCE

FORCE:

