#############################################################################
# Makefile for building: MGraph
# Generated by qmake (2.01a) (Qt 4.6.1) on: Fri Feb 26 10:22:23 2010
# Project:  MGraph.pro
# Template: app
# Command: /opt/qt4-maemo5/bin/qmake-qt4 -unix -o Makefile MGraph.pro
#############################################################################

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

CC            = g++
CXX           = g++
DEFINES       = -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH=1024 -DQT_NO_DEBUG -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) `pkg-config --cflags dbus-1 glib-2.0 libosso osso-ic`
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/QtNetwork -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include/QtGui -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include -I. -Ijson -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 -lQtGui -L/opt/qt4-maemo5/lib -L/usr/X11R6/lib -lQtNetwork -lgconf-2 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lQtDBus -lQtXml -lQtCore -lpthread `pkg-config --libs dbus-1 glib-2.0 libosso osso-ic`
AR            = ar cqs
RANLIB        = 
QMAKE         = /opt/qt4-maemo5/bin/qmake-qt4
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       = bonus.cpp \
		button.cpp \
		edge.cpp \
		editgraph.cpp \
		finger.cpp \
		graph.cpp \
		icon.cpp \
		main.cpp \
		networkhandler.cpp \
		node.cpp \
		user.cpp \
		validator.cpp \
		view.cpp \
		json/JSON_parser.c moc_networkhandler.cpp \
		moc_view.cpp
OBJECTS       = bonus.o \
		button.o \
		edge.o \
		editgraph.o \
		finger.o \
		graph.o \
		icon.o \
		main.o \
		networkhandler.o \
		node.o \
		user.o \
		validator.o \
		view.o \
		JSON_parser.o \
		moc_networkhandler.o \
		moc_view.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 \
		MGraph.pro
QMAKE_TARGET  = MGraph
DESTDIR       = 
TARGET        = MGraph

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: MGraph.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/libQtGui.prl \
		/opt/qt4-maemo5/lib/libQtCore.prl \
		/opt/qt4-maemo5/lib/libQtNetwork.prl \
		/opt/qt4-maemo5/lib/libQtDBus.prl \
		/opt/qt4-maemo5/lib/libQtXml.prl
	$(QMAKE) -unix -o Makefile MGraph.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/libQtGui.prl:
/opt/qt4-maemo5/lib/libQtCore.prl:
/opt/qt4-maemo5/lib/libQtNetwork.prl:
/opt/qt4-maemo5/lib/libQtDBus.prl:
/opt/qt4-maemo5/lib/libQtXml.prl:
qmake:  FORCE
	@$(QMAKE) -unix -o Makefile MGraph.pro

dist: 
	@$(CHK_DIR_EXISTS) .tmp/MGraph1.0.0 || $(MKDIR) .tmp/MGraph1.0.0 
	$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/MGraph1.0.0/ && $(COPY_FILE) --parents baseobject.h bonus.h button.h edge.h editgraph.h finger.h graph.h icon.h networkhandler.h node.h user.h validator.h view.h json/JSON_parser.h .tmp/MGraph1.0.0/ && $(COPY_FILE) --parents bonus.cpp button.cpp edge.cpp editgraph.cpp finger.cpp graph.cpp icon.cpp main.cpp networkhandler.cpp node.cpp user.cpp validator.cpp view.cpp json/JSON_parser.c .tmp/MGraph1.0.0/ && (cd `dirname .tmp/MGraph1.0.0` && $(TAR) MGraph1.0.0.tar MGraph1.0.0 && $(COMPRESS) MGraph1.0.0.tar) && $(MOVE) `dirname .tmp/MGraph1.0.0`/MGraph1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/MGraph1.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_networkhandler.cpp moc_view.cpp
compiler_moc_header_clean:
	-$(DEL_FILE) moc_networkhandler.cpp moc_view.cpp
moc_networkhandler.cpp: view.h \
		node.h \
		baseobject.h \
		graph.h \
		edge.h \
		bonus.h \
		finger.h \
		button.h \
		editgraph.h \
		icon.h \
		json/JSON_parser.h \
		validator.h \
		networkhandler.h \
		user.h \
		networkhandler.h
	/opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) networkhandler.h -o moc_networkhandler.cpp

moc_view.cpp: node.h \
		baseobject.h \
		view.h \
		graph.h \
		edge.h \
		bonus.h \
		finger.h \
		button.h \
		editgraph.h \
		icon.h \
		json/JSON_parser.h \
		validator.h \
		networkhandler.h \
		user.h \
		view.h
	/opt/qt4-maemo5/bin/moc $(DEFINES) $(INCPATH) view.h -o moc_view.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

bonus.o: bonus.cpp bonus.h \
		baseobject.h \
		graph.h \
		node.h \
		view.h \
		finger.h \
		edge.h \
		button.h \
		editgraph.h \
		icon.h \
		json/JSON_parser.h \
		validator.h \
		networkhandler.h \
		user.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o bonus.o bonus.cpp

button.o: button.cpp button.h \
		baseobject.h \
		graph.h \
		node.h \
		view.h \
		finger.h \
		edge.h \
		bonus.h \
		editgraph.h \
		icon.h \
		json/JSON_parser.h \
		validator.h \
		networkhandler.h \
		user.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o button.o button.cpp

edge.o: edge.cpp edge.h \
		node.h \
		baseobject.h \
		view.h \
		graph.h \
		bonus.h \
		finger.h \
		button.h \
		editgraph.h \
		icon.h \
		json/JSON_parser.h \
		validator.h \
		networkhandler.h \
		user.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o edge.o edge.cpp

editgraph.o: editgraph.cpp editgraph.h \
		node.h \
		baseobject.h \
		view.h \
		graph.h \
		edge.h \
		bonus.h \
		finger.h \
		button.h \
		icon.h \
		json/JSON_parser.h \
		validator.h \
		networkhandler.h \
		user.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o editgraph.o editgraph.cpp

finger.o: finger.cpp finger.h \
		baseobject.h \
		edge.h \
		node.h \
		view.h \
		graph.h \
		bonus.h \
		button.h \
		editgraph.h \
		icon.h \
		json/JSON_parser.h \
		validator.h \
		networkhandler.h \
		user.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o finger.o finger.cpp

graph.o: graph.cpp graph.h \
		node.h \
		baseobject.h \
		view.h \
		finger.h \
		edge.h \
		bonus.h \
		button.h \
		editgraph.h \
		icon.h \
		json/JSON_parser.h \
		validator.h \
		networkhandler.h \
		user.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o graph.o graph.cpp

icon.o: icon.cpp icon.h \
		baseobject.h \
		graph.h \
		node.h \
		view.h \
		finger.h \
		edge.h \
		bonus.h \
		button.h \
		editgraph.h \
		json/JSON_parser.h \
		validator.h \
		networkhandler.h \
		user.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o icon.o icon.cpp

main.o: main.cpp view.h \
		node.h \
		baseobject.h \
		graph.h \
		edge.h \
		bonus.h \
		finger.h \
		button.h \
		editgraph.h \
		icon.h \
		json/JSON_parser.h \
		validator.h \
		networkhandler.h \
		user.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp

networkhandler.o: networkhandler.cpp networkhandler.h \
		view.h \
		node.h \
		baseobject.h \
		graph.h \
		edge.h \
		bonus.h \
		finger.h \
		button.h \
		editgraph.h \
		icon.h \
		json/JSON_parser.h \
		validator.h \
		user.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o networkhandler.o networkhandler.cpp

node.o: node.cpp node.h \
		baseobject.h \
		view.h \
		graph.h \
		edge.h \
		bonus.h \
		finger.h \
		button.h \
		editgraph.h \
		icon.h \
		json/JSON_parser.h \
		validator.h \
		networkhandler.h \
		user.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o node.o node.cpp

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

validator.o: validator.cpp validator.h \
		view.h \
		node.h \
		baseobject.h \
		graph.h \
		edge.h \
		bonus.h \
		finger.h \
		button.h \
		editgraph.h \
		icon.h \
		json/JSON_parser.h \
		networkhandler.h \
		user.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o validator.o validator.cpp

view.o: view.cpp view.h \
		node.h \
		baseobject.h \
		graph.h \
		edge.h \
		bonus.h \
		finger.h \
		button.h \
		editgraph.h \
		icon.h \
		json/JSON_parser.h \
		validator.h \
		networkhandler.h \
		user.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o view.o view.cpp

JSON_parser.o: json/JSON_parser.c json/JSON_parser.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o JSON_parser.o json/JSON_parser.c

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

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

####### Install

install:   FORCE

uninstall:   FORCE

FORCE:

