#############################################################################
# Makefile for building: facebrick
# Generated by qmake (2.01a) (Qt 4.7.0) on: Sun Oct 10 17:01:35 2010
# Project:  facebrick.pro
# Template: app
# Command: /usr/bin/qmake -o Makefile facebrick.pro
#############################################################################

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

CC            = gcc
CXX           = g++
DEFINES       = -DQT_WEBKIT_LIB -DQT_XML_LIB -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       = -I/usr/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtWebKit -I/usr/include -I../libqfacebook/inc -Iinclude -I. -I.
LINK          = g++
LFLAGS        = -Wl,-rpath,/usr/lib
LIBS          = $(SUBLIBS)  -L/usr//lib ../libqfacebook/debug/libqfacebookconnect.so -lQtWebKit -lQtXml -L/usr//lib -lQtGui -L/usr/X11R6/lib -lQtNetwork -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       = src/main.cpp \
		src/mainwindow.cpp \
		src/newsfeedmodel.cpp \
		src/newsfeedpost.cpp \
		src/facebookaccountmodel.cpp \
		src/facebookaccount.cpp \
		src/newsfeed.cpp \
		src/newsfeeddelegate.cpp \
		src/mainwindow_newsfeed.cpp \
		src/mainwindow_errorhandling.cpp \
		src/mainwindow_statusupdate.cpp \
		src/newsfeedpostview.cpp \
		src/newsfeedpostview_addcomment.cpp \
		src/newsfeedpostview_fetchcomments.cpp \
		src/newsfeedpostview_likedislike.cpp \
		src/facebrick.cpp \
		src/newsfeedpostattachment.cpp \
		src/settingsdialog.cpp \
		src/desktopwidget.cpp \
		src/newsfeed_errorhandling.cpp moc_mainwindow.cpp \
		moc_newsfeedmodel.cpp \
		moc_newsfeedpost.cpp \
		moc_facebookaccount.cpp \
		moc_newsfeeddelegate.cpp \
		moc_newsfeedpostview.cpp \
		moc_facebrick.cpp \
		moc_settingsdialog.cpp \
		moc_desktopwidget.cpp \
		moc_newsfeed.cpp
OBJECTS       = main.o \
		mainwindow.o \
		newsfeedmodel.o \
		newsfeedpost.o \
		facebookaccountmodel.o \
		facebookaccount.o \
		newsfeed.o \
		newsfeeddelegate.o \
		mainwindow_newsfeed.o \
		mainwindow_errorhandling.o \
		mainwindow_statusupdate.o \
		newsfeedpostview.o \
		newsfeedpostview_addcomment.o \
		newsfeedpostview_fetchcomments.o \
		newsfeedpostview_likedislike.o \
		facebrick.o \
		newsfeedpostattachment.o \
		settingsdialog.o \
		desktopwidget.o \
		newsfeed_errorhandling.o \
		moc_mainwindow.o \
		moc_newsfeedmodel.o \
		moc_newsfeedpost.o \
		moc_facebookaccount.o \
		moc_newsfeeddelegate.o \
		moc_newsfeedpostview.o \
		moc_facebrick.o \
		moc_settingsdialog.o \
		moc_desktopwidget.o \
		moc_newsfeed.o
DIST          = /usr/mkspecs/common/g++.conf \
		/usr/mkspecs/common/unix.conf \
		/usr/mkspecs/common/linux.conf \
		/usr/mkspecs/qconfig.pri \
		/usr/mkspecs/features/qt_functions.prf \
		/usr/mkspecs/features/qt_config.prf \
		/usr/mkspecs/features/exclusive_builds.prf \
		/usr/mkspecs/features/default_pre.prf \
		/usr/mkspecs/features/debug.prf \
		/usr/mkspecs/features/default_post.prf \
		/usr/mkspecs/features/warn_on.prf \
		/usr/mkspecs/features/qt.prf \
		/usr/mkspecs/features/unix/thread.prf \
		/usr/mkspecs/features/moc.prf \
		/usr/mkspecs/features/resources.prf \
		/usr/mkspecs/features/uic.prf \
		/usr/mkspecs/features/yacc.prf \
		/usr/mkspecs/features/lex.prf \
		/usr/mkspecs/features/include_source_dir.prf \
		facebrick.pro
QMAKE_TARGET  = facebrick
DESTDIR       = 
TARGET        = 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_desktopwidget.h ui_mainwindow.h ui_newsfeedpostview.h ui_settingsdialog.h $(OBJECTS)  
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)

Makefile: facebrick.pro  /usr/mkspecs/default/qmake.conf /usr/mkspecs/common/g++.conf \
		/usr/mkspecs/common/unix.conf \
		/usr/mkspecs/common/linux.conf \
		/usr/mkspecs/qconfig.pri \
		/usr/mkspecs/features/qt_functions.prf \
		/usr/mkspecs/features/qt_config.prf \
		/usr/mkspecs/features/exclusive_builds.prf \
		/usr/mkspecs/features/default_pre.prf \
		/usr/mkspecs/features/debug.prf \
		/usr/mkspecs/features/default_post.prf \
		/usr/mkspecs/features/warn_on.prf \
		/usr/mkspecs/features/qt.prf \
		/usr/mkspecs/features/unix/thread.prf \
		/usr/mkspecs/features/moc.prf \
		/usr/mkspecs/features/resources.prf \
		/usr/mkspecs/features/uic.prf \
		/usr/mkspecs/features/yacc.prf \
		/usr/mkspecs/features/lex.prf \
		/usr/mkspecs/features/include_source_dir.prf \
		/usr/lib/libQtWebKit.prl \
		/usr/lib/libQtXml.prl \
		/usr/lib/libQtCore.prl \
		/usr/lib/libQtGui.prl \
		/usr/lib/libQtNetwork.prl
	$(QMAKE) -o Makefile facebrick.pro
/usr/mkspecs/common/g++.conf:
/usr/mkspecs/common/unix.conf:
/usr/mkspecs/common/linux.conf:
/usr/mkspecs/qconfig.pri:
/usr/mkspecs/features/qt_functions.prf:
/usr/mkspecs/features/qt_config.prf:
/usr/mkspecs/features/exclusive_builds.prf:
/usr/mkspecs/features/default_pre.prf:
/usr/mkspecs/features/debug.prf:
/usr/mkspecs/features/default_post.prf:
/usr/mkspecs/features/warn_on.prf:
/usr/mkspecs/features/qt.prf:
/usr/mkspecs/features/unix/thread.prf:
/usr/mkspecs/features/moc.prf:
/usr/mkspecs/features/resources.prf:
/usr/mkspecs/features/uic.prf:
/usr/mkspecs/features/yacc.prf:
/usr/mkspecs/features/lex.prf:
/usr/mkspecs/features/include_source_dir.prf:
/usr/lib/libQtWebKit.prl:
/usr/lib/libQtXml.prl:
/usr/lib/libQtCore.prl:
/usr/lib/libQtGui.prl:
/usr/lib/libQtNetwork.prl:
qmake:  FORCE
	@$(QMAKE) -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 include/mainwindow.h include/newsfeedmodel.h include/newsfeedpost.h include/facebookaccountmodel.h include/facebookaccount.h include/newsfeeddelegate.h include/newsfeedpostview.h include/facebrick.h include/settingsdialog.h include/desktopwidget.h include/newsfeed.h .tmp/facebrick1.0.0/ && $(COPY_FILE) --parents src/main.cpp src/mainwindow.cpp src/newsfeedmodel.cpp src/newsfeedpost.cpp src/facebookaccountmodel.cpp src/facebookaccount.cpp src/newsfeed.cpp src/newsfeeddelegate.cpp src/mainwindow_newsfeed.cpp src/mainwindow_errorhandling.cpp src/mainwindow_statusupdate.cpp src/newsfeedpostview.cpp src/newsfeedpostview_addcomment.cpp src/newsfeedpostview_fetchcomments.cpp src/newsfeedpostview_likedislike.cpp src/facebrick.cpp src/newsfeedpostattachment.cpp src/settingsdialog.cpp src/desktopwidget.cpp src/newsfeed_errorhandling.cpp .tmp/facebrick1.0.0/ && $(COPY_FILE) --parents src/ui/desktopwidget.ui src/ui/mainwindow.ui src/ui/newsfeedpostview.ui src/ui/settingsdialog.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


check: first

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_newsfeeddelegate.cpp moc_newsfeedpostview.cpp moc_facebrick.cpp moc_settingsdialog.cpp moc_desktopwidget.cpp moc_newsfeed.cpp
compiler_moc_header_clean:
	-$(DEL_FILE) moc_mainwindow.cpp moc_newsfeedmodel.cpp moc_newsfeedpost.cpp moc_facebookaccount.cpp moc_newsfeeddelegate.cpp moc_newsfeedpostview.cpp moc_facebrick.cpp moc_settingsdialog.cpp moc_desktopwidget.cpp moc_newsfeed.cpp
moc_mainwindow.cpp: include/mainwindow.h
	/usr//bin/moc $(DEFINES) $(INCPATH) include/mainwindow.h -o moc_mainwindow.cpp

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

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

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

moc_newsfeeddelegate.cpp: include/newsfeeddelegate.h
	/usr//bin/moc $(DEFINES) $(INCPATH) include/newsfeeddelegate.h -o moc_newsfeeddelegate.cpp

moc_newsfeedpostview.cpp: include/newsfeedpostview.h
	/usr//bin/moc $(DEFINES) $(INCPATH) include/newsfeedpostview.h -o moc_newsfeedpostview.cpp

moc_facebrick.cpp: include/facebrick.h
	/usr//bin/moc $(DEFINES) $(INCPATH) include/facebrick.h -o moc_facebrick.cpp

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

moc_desktopwidget.cpp: include/desktopwidget.h
	/usr//bin/moc $(DEFINES) $(INCPATH) include/desktopwidget.h -o moc_desktopwidget.cpp

moc_newsfeed.cpp: include/newsfeed.h
	/usr//bin/moc $(DEFINES) $(INCPATH) include/newsfeed.h -o moc_newsfeed.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_desktopwidget.h ui_mainwindow.h ui_newsfeedpostview.h ui_settingsdialog.h
compiler_uic_clean:
	-$(DEL_FILE) ui_desktopwidget.h ui_mainwindow.h ui_newsfeedpostview.h ui_settingsdialog.h
ui_desktopwidget.h: src/ui/desktopwidget.ui
	/usr/bin/uic src/ui/desktopwidget.ui -o ui_desktopwidget.h

ui_mainwindow.h: src/ui/mainwindow.ui
	/usr/bin/uic src/ui/mainwindow.ui -o ui_mainwindow.h

ui_newsfeedpostview.h: src/ui/newsfeedpostview.ui
	/usr/bin/uic src/ui/newsfeedpostview.ui -o ui_newsfeedpostview.h

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

####### Compile

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

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

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

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

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

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

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

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

mainwindow_newsfeed.o: src/mainwindow_newsfeed.cpp ui_mainwindow.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow_newsfeed.o src/mainwindow_newsfeed.cpp

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

mainwindow_statusupdate.o: src/mainwindow_statusupdate.cpp ui_mainwindow.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow_statusupdate.o src/mainwindow_statusupdate.cpp

newsfeedpostview.o: src/newsfeedpostview.cpp ui_newsfeedpostview.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o newsfeedpostview.o src/newsfeedpostview.cpp

newsfeedpostview_addcomment.o: src/newsfeedpostview_addcomment.cpp ui_newsfeedpostview.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o newsfeedpostview_addcomment.o src/newsfeedpostview_addcomment.cpp

newsfeedpostview_fetchcomments.o: src/newsfeedpostview_fetchcomments.cpp ui_newsfeedpostview.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o newsfeedpostview_fetchcomments.o src/newsfeedpostview_fetchcomments.cpp

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

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

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

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

desktopwidget.o: src/desktopwidget.cpp ui_desktopwidget.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o desktopwidget.o src/desktopwidget.cpp

newsfeed_errorhandling.o: src/newsfeed_errorhandling.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o newsfeed_errorhandling.o src/newsfeed_errorhandling.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_newsfeeddelegate.o: moc_newsfeeddelegate.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_newsfeeddelegate.o moc_newsfeeddelegate.cpp

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

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

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

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

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

####### Install

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

uninstall: uninstall_target   FORCE

FORCE:

