# ==============================================================================
# Generated by qmake (2.01a) (Qt 4.6.2) on: Fri Apr 16 15:48:22 2010
# This file is generated by qmake and should not be modified by the
# user.
#  Name        : Makefile
#  Description : Wrapper Makefile for calling Symbian build tools
#
# ==============================================================================


MAKEFILE          = Makefile
QMAKE             = r:\epoc32\tools\qt\qmake.exe
DEL_FILE          = del
DEL_DIR           = rmdir
MOVE              = move
DEBUG_PLATFORMS   = winscw armv5
RELEASE_PLATFORMS = armv5
MAKE              = make
SBS               = sbs

DEFINES	 = -DSYMBIAN -DUNICODE -DQT_KEYPAD_NAVIGATION -DQT_SOFTKEYS_ENABLED -DQT_USE_MATH_H_FLOATS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
INCPATH	 =  -I"R:/epoc32/include/mw/QtCore"  -I"R:/epoc32/include/mw/QtGui"  -I"R:/epoc32/include/mw"  -I"R:/sf/mw/qt/mkspecs/common/symbian"  -I"R:/epoc32/include"  -I"R:/epoc32/include/stdapis"  -I"R:/epoc32/include/stdapis/sys"  -I"R:/epoc32/include/platform/mw"  -I"R:/epoc32/include/platform"  -I"R:/epoc32/include/platform/loc"  -I"R:/epoc32/include/platform/mw/loc"  -I"R:/epoc32/include/platform/loc/sc"  -I"R:/epoc32/include/platform/mw/loc/sc"  -I"R:/epoc32/include/app"  -I"R:/epoc32/include/platform/app"  -I"R:/epoc32/include/platform/app/loc"  -I"R:/epoc32/include/platform/app/loc/sc"  -I"R:/sf/app/messaging/messagingapp/msgappfw/plugin/tsrc"  -I"R:/epoc32/include/stdapis/stlportv5" 
first: default
default: debug-winscw
all: debug release

qmake:
	$(QMAKE) -spec symbian-sbsv2 -o "bld.inf" "R:/sf/app/messaging/messagingapp/msgappfw/plugin/tsrc/test_plugin.pro"

bld.inf:
	$(QMAKE)

debug: bld.inf
	$(SBS) -c winscw_udeb.mwccinc -c armv5_udeb
release: bld.inf
	$(SBS) -c armv5_urel
debug-winscw: bld.inf
	$(SBS) -c winscw_udeb.mwccinc
debug-armv5: bld.inf
	$(SBS) -c armv5_udeb
release-armv5: bld.inf
	$(SBS) -c armv5_urel

export: bld.inf
	$(SBS) export

cleanexport: bld.inf
	$(SBS) cleanexport



mocclean: compiler_moc_header_clean compiler_moc_source_clean

mocables: compiler_moc_header_make_all compiler_moc_source_make_all
FORCE:

-include .make.cache

sis:
	$(if $(wildcard test_plugin_template.pkg),$(if $(wildcard .make.cache),$(MAKE) -s -f $(MAKEFILE) ok_sis,$(if $(QT_SIS_TARGET),$(MAKE) -s -f $(MAKEFILE) ok_sis,$(MAKE) -s -f $(MAKEFILE) fail_sis_nocache)),$(MAKE) -s -f $(MAKEFILE) fail_sis_nopkg)

ok_sis:
	createpackage.bat $(QT_SIS_OPTIONS) test_plugin_template.pkg $(QT_SIS_TARGET) $(QT_SIS_CERTIFICATE) $(QT_SIS_KEY) $(QT_SIS_PASSPHRASE)

fail_sis_nopkg:
	$(error PKG file does not exist, 'SIS' target is only supported for executables or projects with DEPLOYMENT statement)

fail_sis_nocache:
	$(error Project has to be built or QT_SIS_TARGET environment variable has to be set before calling 'SIS' target)

dodistclean:
	-@ if EXIST "r:\sf\app\messaging\messagingapp\msgappfw\plugin\tsrc\Makefile" $(DEL_FILE)  "r:\sf\app\messaging\messagingapp\msgappfw\plugin\tsrc\Makefile"
	-@ if EXIST "r:\sf\app\messaging\messagingapp\msgappfw\plugin\tsrc\bld.inf" $(DEL_FILE)  "r:\sf\app\messaging\messagingapp\msgappfw\plugin\tsrc\bld.inf"

distclean: clean dodistclean

clean: bld.inf
	-$(SBS) reallyclean

clean-debug: bld.inf
	$(SBS) reallyclean -c winscw_udeb -c armv5_udeb
clean-release: bld.inf
	$(SBS) reallyclean -c armv5_urel
clean-debug-winscw: bld.inf
	$(SBS) reallyclean -c winscw_udeb
clean-debug-armv5: bld.inf
	$(SBS) reallyclean -c armv5_udeb
clean-release-armv5: bld.inf
	$(SBS) reallyclean -c armv5_urel

