#############################################################################
# Makefile for building: ../debug/facebrick
# Generated by qmake (2.01a) (Qt 4.6.2) on: Sat Apr 10 21:34:03 2010
# Project:  facebrick.pro
# Template: app
# Command: /usr/bin/qmake -unix -o Makefile facebrick.pro
#############################################################################

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

CC            = gcc
CXX           = g++
DEFINES       = -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH=1024 -DQT_NO_DEBUG -DQT_MAEMO5_LIB -DQT_WEBKIT_LIB -DQT_XML_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/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-maemo5 -I. -I/targets/FREMANTLE_ARMEL/usr/include/QtCore -I/targets/FREMANTLE_ARMEL/usr/include/QtNetwork -I/targets/FREMANTLE_ARMEL/usr/include/QtGui -I/targets/FREMANTLE_ARMEL/usr/include/QtXml -I/targets/FREMANTLE_ARMEL/usr/include/QtWebKit -I/targets/FREMANTLE_ARMEL/usr/include/QtMaemo5 -I/targets/FREMANTLE_ARMEL/usr/include -I../libqfacebook/inc -I. -I.
LINK          = g++
LFLAGS        = -Wl,-rpath-link,/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -Wl,-rpath,/usr/lib
LIBS          = $(SUBLIBS)  -L/usr/lib /usr/lib/libqfacebookconnect.so -lQtMaemo5 -L/usr/lib -L/usr/X11R6/lib -lQtWebKit -lsqlite3 -lphonon -lQtXmlPatterns -lQtGui -lQtNetwork -lQtDBus -lQtXml -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   = ./

####### Files

SOURCES       = main.cpp \
		mainwindow.cpp \
		newsfeedmodel.cpp \
		newsfeedpost.cpp \
		facebookaccountmodel.cpp \
		facebookaccount.cpp \
		newsfeeddelegate.cpp \
		logindialog.cpp \
		mainwindow_newsfeed.cpp \
		mainwindow_errorhandling.cpp \
		mainwindow_statusupdate.cpp \
		newsfeedpostview.cpp \
		newsfeedpostview_addcomment.cpp \
		newsfeedpostview_fetchcomments.cpp \
		newsfeedpostview_likedislike.cpp moc_mainwindow.cpp \
		moc_newsfeedmodel.cpp \
		moc_newsfeedpost.cpp \
		moc_facebookaccount.cpp \
		moc_logindialog.cpp \
		moc_newsfeedpostview.cpp
OBJECTS       = main.o \
		mainwindow.o \
		newsfeedmodel.o \
		newsfeedpost.o \
		facebookaccountmodel.o \
		facebookaccount.o \
		newsfeeddelegate.o \
		logindialog.o \
		mainwindow_newsfeed.o \
		mainwindow_errorhandling.o \
		mainwindow_statusupdate.o \
		newsfeedpostview.o \
		newsfeedpostview_addcomment.o \
		newsfeedpostview_fetchcomments.o \
		newsfeedpostview_likedislike.o \
		moc_mainwindow.o \
		moc_newsfeedmodel.o \
		moc_newsfeedpost.o \
		moc_facebookaccount.o \
		moc_logindialog.o \
		moc_newsfeedpostview.o
DIST          = /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf \
		/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf \
		/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri \
		/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf \
		/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf \
		/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
		/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf \
		/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf \
		/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf \
		/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf \
		/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf \
		/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf \
		/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf \
		/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf \
		/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf \
		/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf \
		/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf \
		/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf \
		facebrick.pro
QMAKE_TARGET  = facebrick
DESTDIR       = ../debug/
TARGET        = ../debug/facebrick

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

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

dist: 
	@$(CHK_DIR_EXISTS) .tmp/facebrick1.0.0 || $(MKDIR) .tmp/facebrick1.0.0 
	$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/facebrick1.0.0/ && $(COPY_FILE) --parents mainwindow.h newsfeedmodel.h newsfeedpost.h facebookaccountmodel.h facebookaccount.h newsfeeddelegate.h logindialog.h newsfeedpostview.h .tmp/facebrick1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp newsfeedmodel.cpp newsfeedpost.cpp facebookaccountmodel.cpp facebookaccount.cpp newsfeeddelegate.cpp logindialog.cpp mainwindow_newsfeed.cpp mainwindow_errorhandling.cpp mainwindow_statusupdate.cpp newsfeedpostview.cpp newsfeedpostview_addcomment.cpp newsfeedpostview_fetchcomments.cpp newsfeedpostview_likedislike.cpp .tmp/facebrick1.0.0/ && $(COPY_FILE) --parents mainwindow.ui newsfeedpostview.ui .tmp/facebrick1.0.0/ && (cd `dirname .tmp/facebrick1.0.0` && $(TAR) facebrick1.0.0.tar facebrick1.0.0 && $(COMPRESS) facebrick1.0.0.tar) && $(MOVE) `dirname .tmp/facebrick1.0.0`/facebrick1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/facebrick1.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_newsfeedmodel.cpp moc_newsfeedpost.cpp moc_facebookaccount.cpp moc_logindialog.cpp moc_newsfeedpostview.cpp
compiler_moc_header_clean:
	-$(DEL_FILE) moc_mainwindow.cpp moc_newsfeedmodel.cpp moc_newsfeedpost.cpp moc_facebookaccount.cpp moc_logindialog.cpp moc_newsfeedpostview.cpp
moc_mainwindow.cpp: mainwindow.h
	/usr/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp

moc_newsfeedmodel.cpp: newsfeedmodel.h
	/usr/bin/moc $(DEFINES) $(INCPATH) newsfeedmodel.h -o moc_newsfeedmodel.cpp

moc_newsfeedpost.cpp: newsfeedpost.h
	/usr/bin/moc $(DEFINES) $(INCPATH) newsfeedpost.h -o moc_newsfeedpost.cpp

moc_facebookaccount.cpp: facebookaccount.h
	/usr/bin/moc $(DEFINES) $(INCPATH) facebookaccount.h -o moc_facebookaccount.cpp

moc_logindialog.cpp: logindialog.h
	/usr/bin/moc $(DEFINES) $(INCPATH) logindialog.h -o moc_logindialog.cpp

moc_newsfeedpostview.cpp: newsfeedpostview.h
	/usr/bin/moc $(DEFINES) $(INCPATH) newsfeedpostview.h -o moc_newsfeedpostview.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: ui_mainwindow.h ui_newsfeedpostview.h
compiler_uic_clean:
	-$(DEL_FILE) ui_mainwindow.h ui_newsfeedpostview.h
ui_mainwindow.h: mainwindow.ui
	/usr/bin/uic mainwindow.ui -o ui_mainwindow.h

ui_newsfeedpostview.h: newsfeedpostview.ui
	/usr/bin/uic newsfeedpostview.ui -o ui_newsfeedpostview.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

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

mainwindow.o: mainwindow.cpp newsfeeddelegate.h \
		newsfeedmodel.h \
		newsfeedpost.h \
		facebookaccountmodel.h \
		facebookaccount.h \
		mainwindow.h \
		ui_mainwindow.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp

newsfeedmodel.o: newsfeedmodel.cpp newsfeedmodel.h \
		newsfeedpost.h \
		facebookaccount.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o newsfeedmodel.o newsfeedmodel.cpp

newsfeedpost.o: newsfeedpost.cpp newsfeedpost.h \
		facebookaccount.h \
		newsfeedmodel.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o newsfeedpost.o newsfeedpost.cpp

facebookaccountmodel.o: facebookaccountmodel.cpp facebookaccountmodel.h \
		facebookaccount.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o facebookaccountmodel.o facebookaccountmodel.cpp

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

newsfeeddelegate.o: newsfeeddelegate.cpp newsfeeddelegate.h \
		newsfeedmodel.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o newsfeeddelegate.o newsfeeddelegate.cpp

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

mainwindow_newsfeed.o: mainwindow_newsfeed.cpp facebookaccount.h \
		facebookaccountmodel.h \
		newsfeedpost.h \
		newsfeedmodel.h \
		mainwindow.h \
		ui_mainwindow.h \
		newsfeedpostview.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow_newsfeed.o mainwindow_newsfeed.cpp

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

mainwindow_statusupdate.o: mainwindow_statusupdate.cpp mainwindow.h \
		ui_mainwindow.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow_statusupdate.o mainwindow_statusupdate.cpp

newsfeedpostview.o: newsfeedpostview.cpp mainwindow.h \
		newsfeedpost.h \
		facebookaccount.h \
		newsfeedpostview.h \
		newsfeeddelegate.h \
		ui_newsfeedpostview.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o newsfeedpostview.o newsfeedpostview.cpp

newsfeedpostview_addcomment.o: newsfeedpostview_addcomment.cpp newsfeedpost.h \
		mainwindow.h \
		newsfeedpostview.h \
		ui_newsfeedpostview.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o newsfeedpostview_addcomment.o newsfeedpostview_addcomment.cpp

newsfeedpostview_fetchcomments.o: newsfeedpostview_fetchcomments.cpp mainwindow.h \
		facebookaccount.h \
		facebookaccountmodel.h \
		newsfeedpost.h \
		newsfeedmodel.h \
		newsfeedpostview.h \
		ui_newsfeedpostview.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o newsfeedpostview_fetchcomments.o newsfeedpostview_fetchcomments.cpp

newsfeedpostview_likedislike.o: newsfeedpostview_likedislike.cpp mainwindow.h \
		newsfeedpost.h \
		newsfeedpostview.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o newsfeedpostview_likedislike.o newsfeedpostview_likedislike.cpp

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

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

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

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

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

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

####### Install

install_desktop: first FORCE
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/applications/hildon/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/applications/hildon/ 
	-$(INSTALL_FILE) /home/burchr/qfacebookconnect/facebrick/facebrick.desktop $(INSTALL_ROOT)/usr/share/applications/hildon/


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


install_icon: first FORCE
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/pixmaps/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/pixmaps/ 
	-$(INSTALL_FILE) /home/burchr/qfacebookconnect/facebrick/facebrick.png $(INSTALL_ROOT)/usr/share/pixmaps/


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


install_target: first FORCE
	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/bin/ 
	-$(INSTALL_PROGRAM) "../debug/$(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:  install_desktop install_icon install_target  FORCE

uninstall: uninstall_desktop uninstall_icon uninstall_target   FORCE

FORCE:

