#############################################################################
# Makefile for building: qtwol
# Generated by qmake (2.01a) (Qt 4.6.2) on: Thu May 6 13:00:21 2010
# Project:  qtwol.pro
# Template: app
# Command: /opt/qt4-maemo5/bin/qmake -unix -o Makefile qtwol.pro
#############################################################################

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

CC            = gcc
CXX           = g++
DEFINES       = -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH=1024 -DDATADIR="debian/qtwol/usr/share" -DPKGDATADIR="" -DQT_NO_DEBUG -DQT_MAEMO5_LIB -DQT_GUI_LIB -DQT_NETWORK_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/opt/qt4-maemo5/mkspecs/linux-g++-maemo5 -I. -I/opt/qt4-maemo5/include/QtCore -I/opt/qt4-maemo5/include/QtNetwork -I/opt/qt4-maemo5/include/QtGui -I/opt/qt4-maemo5/include/QtMaemo5 -I/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 -lQtGui -lQtNetwork -lgconf-2 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lQtDBus -lQtXml -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       = main.cpp \
		mainwindow.cpp \
		hexspinbox.cpp \
		hexlineedit.cpp \
		imagegridwidget.cpp \
		newhostdlg.cpp \
		aboutdlg.cpp \
		testmousedlg.cpp \
		arp.cpp \
		host.cpp moc_mainwindow.cpp \
		moc_hexspinbox.cpp \
		moc_imagegridwidget.cpp \
		moc_newhostdlg.cpp \
		moc_aboutdlg.cpp \
		moc_testmousedlg.cpp \
		qrc_monsters.cpp
OBJECTS       = main.o \
		mainwindow.o \
		hexspinbox.o \
		hexlineedit.o \
		imagegridwidget.o \
		newhostdlg.o \
		aboutdlg.o \
		testmousedlg.o \
		arp.o \
		host.o \
		moc_mainwindow.o \
		moc_hexspinbox.o \
		moc_imagegridwidget.o \
		moc_newhostdlg.o \
		moc_aboutdlg.o \
		moc_testmousedlg.o \
		qrc_monsters.o
DIST          = /opt/qt4-maemo5/mkspecs/common/unix.conf \
		/opt/qt4-maemo5/mkspecs/common/linux.conf \
		/opt/qt4-maemo5/mkspecs/qconfig.pri \
		/opt/qt4-maemo5/mkspecs/features/qt_functions.prf \
		/opt/qt4-maemo5/mkspecs/features/qt_config.prf \
		/opt/qt4-maemo5/mkspecs/features/exclusive_builds.prf \
		/opt/qt4-maemo5/mkspecs/features/default_pre.prf \
		/opt/qt4-maemo5/mkspecs/features/release.prf \
		/opt/qt4-maemo5/mkspecs/features/default_post.prf \
		/opt/qt4-maemo5/mkspecs/features/warn_on.prf \
		/opt/qt4-maemo5/mkspecs/features/qt.prf \
		/opt/qt4-maemo5/mkspecs/features/unix/thread.prf \
		/opt/qt4-maemo5/mkspecs/features/moc.prf \
		/opt/qt4-maemo5/mkspecs/features/resources.prf \
		/opt/qt4-maemo5/mkspecs/features/uic.prf \
		/opt/qt4-maemo5/mkspecs/features/yacc.prf \
		/opt/qt4-maemo5/mkspecs/features/lex.prf \
		/opt/qt4-maemo5/mkspecs/features/include_source_dir.prf \
		qtwol.pro
QMAKE_TARGET  = qtwol
DESTDIR       = 
TARGET        = qtwol

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): ui_mainwindow.h ui_newhostdlg.h ui_aboutdlg.h ui_testmousedlg.h $(OBJECTS)  
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)

Makefile: qtwol.pro  /opt/qt4-maemo5/mkspecs/linux-g++-maemo5/qmake.conf /opt/qt4-maemo5/mkspecs/common/unix.conf \
		/opt/qt4-maemo5/mkspecs/common/linux.conf \
		/opt/qt4-maemo5/mkspecs/qconfig.pri \
		/opt/qt4-maemo5/mkspecs/features/qt_functions.prf \
		/opt/qt4-maemo5/mkspecs/features/qt_config.prf \
		/opt/qt4-maemo5/mkspecs/features/exclusive_builds.prf \
		/opt/qt4-maemo5/mkspecs/features/default_pre.prf \
		/opt/qt4-maemo5/mkspecs/features/release.prf \
		/opt/qt4-maemo5/mkspecs/features/default_post.prf \
		/opt/qt4-maemo5/mkspecs/features/warn_on.prf \
		/opt/qt4-maemo5/mkspecs/features/qt.prf \
		/opt/qt4-maemo5/mkspecs/features/unix/thread.prf \
		/opt/qt4-maemo5/mkspecs/features/moc.prf \
		/opt/qt4-maemo5/mkspecs/features/resources.prf \
		/opt/qt4-maemo5/mkspecs/features/uic.prf \
		/opt/qt4-maemo5/mkspecs/features/yacc.prf \
		/opt/qt4-maemo5/mkspecs/features/lex.prf \
		/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/libQtNetwork.prl
	$(QMAKE) -unix -o Makefile qtwol.pro
/opt/qt4-maemo5/mkspecs/common/unix.conf:
/opt/qt4-maemo5/mkspecs/common/linux.conf:
/opt/qt4-maemo5/mkspecs/qconfig.pri:
/opt/qt4-maemo5/mkspecs/features/qt_functions.prf:
/opt/qt4-maemo5/mkspecs/features/qt_config.prf:
/opt/qt4-maemo5/mkspecs/features/exclusive_builds.prf:
/opt/qt4-maemo5/mkspecs/features/default_pre.prf:
/opt/qt4-maemo5/mkspecs/features/release.prf:
/opt/qt4-maemo5/mkspecs/features/default_post.prf:
/opt/qt4-maemo5/mkspecs/features/warn_on.prf:
/opt/qt4-maemo5/mkspecs/features/qt.prf:
/opt/qt4-maemo5/mkspecs/features/unix/thread.prf:
/opt/qt4-maemo5/mkspecs/features/moc.prf:
/opt/qt4-maemo5/mkspecs/features/resources.prf:
/opt/qt4-maemo5/mkspecs/features/uic.prf:
/opt/qt4-maemo5/mkspecs/features/yacc.prf:
/opt/qt4-maemo5/mkspecs/features/lex.prf:
/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/libQtNetwork.prl:
qmake:  FORCE
	@$(QMAKE) -unix -o Makefile qtwol.pro

dist: 
	@$(CHK_DIR_EXISTS) .tmp/qtwol1.0.0 || $(MKDIR) .tmp/qtwol1.0.0 
	$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/qtwol1.0.0/ && $(COPY_FILE) --parents mainwindow.h hexspinbox.h hexlineedit.h imagegridwidget.h newhostdlg.h aboutdlg.h testmousedlg.h arp.h host.h .tmp/qtwol1.0.0/ && $(COPY_FILE) --parents monsters.qrc .tmp/qtwol1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp hexspinbox.cpp hexlineedit.cpp imagegridwidget.cpp newhostdlg.cpp aboutdlg.cpp testmousedlg.cpp arp.cpp host.cpp .tmp/qtwol1.0.0/ && $(COPY_FILE) --parents mainwindow.ui newhostdlg.ui aboutdlg.ui testmousedlg.ui .tmp/qtwol1.0.0/ && (cd `dirname .tmp/qtwol1.0.0` && $(TAR) qtwol1.0.0.tar qtwol1.0.0 && $(COMPRESS) qtwol1.0.0.tar) && $(MOVE) `dirname .tmp/qtwol1.0.0`/qtwol1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/qtwol1.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_mainwindow.cpp moc_hexspinbox.cpp moc_imagegridwidget.cpp moc_newhostdlg.cpp moc_aboutdlg.cpp moc_testmousedlg.cpp
compiler_moc_header_clean:
	-$(DEL_FILE) moc_mainwindow.cpp moc_hexspinbox.cpp moc_imagegridwidget.cpp moc_newhostdlg.cpp moc_aboutdlg.cpp moc_testmousedlg.cpp
moc_mainwindow.cpp: imagegridwidget.h \
		host.h \
		mainwindow.h
	/opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp

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

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

moc_newhostdlg.cpp: imagegridwidget.h \
		newhostdlg.h
	/opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) newhostdlg.h -o moc_newhostdlg.cpp

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

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

compiler_rcc_make_all: qrc_monsters.cpp
compiler_rcc_clean:
	-$(DEL_FILE) qrc_monsters.cpp
qrc_monsters.cpp: monsters.qrc \
		rc/green.png \
		rc/blue.png \
		rc/1.png \
		rc/2.png \
		rc/3.png \
		rc/4.png \
		rc/5.png \
		rc/pink.png \
		rc/6.png \
		rc/7.png \
		rc/yellow.png
	/opt/qt4-maemo5/bin/rcc -name monsters monsters.qrc -o qrc_monsters.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: ui_mainwindow.h ui_newhostdlg.h ui_aboutdlg.h ui_testmousedlg.h
compiler_uic_clean:
	-$(DEL_FILE) ui_mainwindow.h ui_newhostdlg.h ui_aboutdlg.h ui_testmousedlg.h
ui_mainwindow.h: mainwindow.ui \
		imagegridwidget.h
	/opt/qt4-maemo5/bin/uic mainwindow.ui -o ui_mainwindow.h

ui_newhostdlg.h: newhostdlg.ui \
		imagegridwidget.h
	/opt/qt4-maemo5/bin/uic newhostdlg.ui -o ui_newhostdlg.h

ui_aboutdlg.h: aboutdlg.ui
	/opt/qt4-maemo5/bin/uic aboutdlg.ui -o ui_aboutdlg.h

ui_testmousedlg.h: testmousedlg.ui
	/opt/qt4-maemo5/bin/uic testmousedlg.ui -o ui_testmousedlg.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

main.o: main.cpp mainwindow.h \
		imagegridwidget.h \
		host.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp

mainwindow.o: mainwindow.cpp mainwindow.h \
		imagegridwidget.h \
		host.h \
		ui_mainwindow.h \
		newhostdlg.h \
		aboutdlg.h \
		testmousedlg.h \
		arp.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp

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

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

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

newhostdlg.o: newhostdlg.cpp newhostdlg.h \
		imagegridwidget.h \
		ui_newhostdlg.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o newhostdlg.o newhostdlg.cpp

aboutdlg.o: aboutdlg.cpp aboutdlg.h \
		ui_aboutdlg.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o aboutdlg.o aboutdlg.cpp

testmousedlg.o: testmousedlg.cpp testmousedlg.h \
		ui_testmousedlg.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o testmousedlg.o testmousedlg.cpp

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

host.o: host.cpp host.h \
		imagegridwidget.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o host.o host.cpp

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

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

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

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

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

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

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

####### Install

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

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


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


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


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


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


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


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


install_icon40: first FORCE
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)debian/qtwol/usr/share/icons/hicolor/40x40/apps/ || $(MKDIR) $(INSTALL_ROOT)debian/qtwol/usr/share/icons/hicolor/40x40/apps/ 
	-$(INSTALL_PROGRAM) data/40x40/qtwol.png $(INSTALL_ROOT)debian/qtwol/usr/share/icons/hicolor/40x40/apps/
	-strip $(INSTALL_ROOT)debian/qtwol/usr/share/icons/hicolor/40x40/apps/qtwol.png


uninstall_icon40:  FORCE
	-$(DEL_FILE) -r $(INSTALL_ROOT)debian/qtwol/usr/share/icons/hicolor/40x40/apps/qtwol.png
	-$(DEL_DIR) $(INSTALL_ROOT)debian/qtwol/usr/share/icons/hicolor/40x40/apps/ 


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


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


install_iconxpm: first FORCE
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)debian/qtwol/usr/share/pixmap/ || $(MKDIR) $(INSTALL_ROOT)debian/qtwol/usr/share/pixmap/ 
	-$(INSTALL_FILE) data/48x48/qtwol.xpm $(INSTALL_ROOT)debian/qtwol/usr/share/pixmap/


uninstall_iconxpm:  FORCE
	-$(DEL_FILE) -r $(INSTALL_ROOT)debian/qtwol/usr/share/pixmap/qtwol.xpm
	-$(DEL_DIR) $(INSTALL_ROOT)debian/qtwol/usr/share/pixmap/ 


install:  install_target install_desktop install_icon26 install_icon48 install_icon40 install_icon64 install_iconxpm  FORCE

uninstall: uninstall_target uninstall_desktop uninstall_icon26 uninstall_icon48 uninstall_icon40 uninstall_icon64 uninstall_iconxpm   FORCE

FORCE:

