smf/Makefile
changeset 7 be09cf1f39dd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/smf/Makefile	Tue May 18 17:37:12 2010 +0530
@@ -0,0 +1,180 @@
+# ==============================================================================
+# Generated by qmake (2.01a) (Qt 4.6.1) on: Wed May 5 13:57:42 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             = e:\Qt\4.6.1\bin\qmake
+DEL_FILE          = del
+DEL_DIR           = rmdir
+MOVE              = move
+XCOPY             = xcopy /d /f /h /r /y /i
+ABLD              = ABLD.BAT
+DEBUG_PLATFORMS   = winscw gcce armv5 armv6
+RELEASE_PLATFORMS = gcce armv5 armv6
+MAKE              = make
+
+ifeq (WINS,$(findstring WINS, $(PLATFORM)))
+ZDIR=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\Z
+else
+ZDIR=$(EPOCROOT)epoc32\data\z
+endif
+
+DEFINES	 = -DSYMBIAN -DUNICODE -DQT_KEYPAD_NAVIGATION -DQT_SOFTKEYS_ENABLED -DQT_USE_MATH_H_FLOATS -DQT_GUI_LIB -DQT_CORE_LIB
+INCPATH	 =  -I"E:/Qt/4.6.1/include/QtCore" -I"E:/Qt/4.6.1/include/QtCore/tmp" -I"E:/Qt/4.6.1/include/QtGui" -I"E:/Qt/4.6.1/include/QtGui/tmp" -I"E:/Qt/4.6.1/include" -I"E:/Qt/4.6.1/include/tmp" -I"E:/Qt/4.6.1/mkspecs/common/symbian" -I"E:/Qt/4.6.1/mkspecs/common/symbian/tmp" -I"E:/Symbian/S60_5th_Edition_SDK_v1.0_2/epoc32/include" -I"E:/qt-mobility-src-1.0.0-tp2/smf_integrated_30apr/smfrepo/smf/smfcredentialmgr" -I"E:/qt-mobility-src-1.0.0-tp2/smf_integrated_30apr/smfrepo/smf/smfcredentialmgr/tmp" -I"E:/Symbian/S60_5th_Edition_SDK_v1.0_2/epoc32/include/stdapis" -I"E:/Symbian/S60_5th_Edition_SDK_v1.0_2/epoc32/include/stdapis/sys" -I"E:/Symbian/S60_5th_Edition_SDK_v1.0_2/epoc32/include/stdapis/stlport" -I"E:/Symbian/S60_5th_Edition_SDK_v1.0_2/epoc32/include/middleware" -I"E:/Symbian/S60_5th_Edition_SDK_v1.0_2/epoc32/include/domain/middleware" -I"E:/Symbian/S60_5th_Edition_SDK_v1.0_2/epoc32/include/domain/middleware/loc" -I"E:/qt-mobility-src-1.0.0-tp2/smf_integrated_30apr/smfrepo/smf" -I"E:/qt-mobility-src-1.0.0-tp2/smf_integrated_30apr/smfrepo/smf/tmp"
+first: default
+default: debug-winscw
+all: debug release
+
+qmake:
+	$(QMAKE) -spec symbian-abld -o "bld.inf" "E:/qt-mobility-src-1.0.0-tp2/smf_integrated_30apr/smfrepo/smf/smf.pro"
+
+bld.inf:
+	$(QMAKE)
+
+$(ABLD): bld.inf
+	bldmake bldfiles
+
+debug: $(ABLD)
+	$(ABLD) build winscw udeb
+	$(ABLD) build gcce udeb
+	$(ABLD) build armv5 udeb
+	$(ABLD) build armv6 udeb
+
+release: $(ABLD)
+	$(ABLD) build gcce urel
+	$(ABLD) build armv5 urel
+	$(ABLD) build armv6 urel
+
+debug-winscw: $(ABLD)
+	$(ABLD) build winscw udeb
+debug-gcce: $(ABLD)
+	$(ABLD) build gcce udeb
+debug-armv5: $(ABLD)
+	$(ABLD) build armv5 udeb
+debug-armv6: $(ABLD)
+	$(ABLD) build armv6 udeb
+release-gcce: $(ABLD)
+	$(ABLD) build gcce urel
+release-armv5: $(ABLD)
+	$(ABLD) build armv5 urel
+release-armv6: $(ABLD)
+	$(ABLD) build armv6 urel
+
+export: $(ABLD)
+	$(ABLD) export
+
+cleanexport: $(ABLD)
+	$(ABLD) cleanexport
+
+smfcredentialmgr\$(MAKEFILE): 
+	@$(CHK_DIR_EXISTS) smfcredentialmgr\ $(MKDIR) smfcredentialmgr\ 
+	cd smfcredentialmgr\ && $(QMAKE) smfcredentialmgr.pro -win32 -o $(MAKEFILE)
+sub-smfcredentialmgr-qmake_all:  FORCE
+	@$(CHK_DIR_EXISTS) smfcredentialmgr\ $(MKDIR) smfcredentialmgr\ 
+	cd smfcredentialmgr\ && $(QMAKE) smfcredentialmgr.pro -win32 -o $(MAKEFILE)
+sub-smfcredentialmgr: smfcredentialmgr\$(MAKEFILE) FORCE
+	cd smfcredentialmgr\ && $(MAKE) -f $(MAKEFILE)
+smfservermodule\$(MAKEFILE): 
+	@$(CHK_DIR_EXISTS) smfservermodule\ $(MKDIR) smfservermodule\ 
+	cd smfservermodule\ && $(QMAKE) smfservermodule.pro -win32 -o $(MAKEFILE)
+sub-smfservermodule-qmake_all:  FORCE
+	@$(CHK_DIR_EXISTS) smfservermodule\ $(MKDIR) smfservermodule\ 
+	cd smfservermodule\ && $(QMAKE) smfservermodule.pro -win32 -o $(MAKEFILE)
+sub-smfservermodule: smfservermodule\$(MAKEFILE) FORCE
+	cd smfservermodule\ && $(MAKE) -f $(MAKEFILE)
+smfsettingsui\$(MAKEFILE): 
+	@$(CHK_DIR_EXISTS) smfsettingsui\ $(MKDIR) smfsettingsui\ 
+	cd smfsettingsui\ && $(QMAKE) smfsettingsui.pro -win32 -o $(MAKEFILE)
+sub-smfsettingsui-qmake_all:  FORCE
+	@$(CHK_DIR_EXISTS) smfsettingsui\ $(MKDIR) smfsettingsui\ 
+	cd smfsettingsui\ && $(QMAKE) smfsettingsui.pro -win32 -o $(MAKEFILE)
+sub-smfsettingsui: smfsettingsui\$(MAKEFILE) FORCE
+	cd smfsettingsui\ && $(MAKE) -f $(MAKEFILE)
+
+
+E:\Qt\4.6.1\bin\moc.exe:
+	(cd $(QTDIR)/src/tools/moc && $(MAKE))
+
+mocclean: compiler_moc_header_clean compiler_moc_source_clean
+
+mocables: compiler_moc_header_make_all compiler_moc_source_make_all
+FORCE:
+
+winscw_deployment:
+
+winscw_deployment_clean:
+
+sis: restore_build
+	$(if $(wildcard smf_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) smf_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)
+
+restore_build:
+-include .make.cache
+
+store_build:
+	@echo # ============================================================================== > .make.cache
+	@echo # This file is generated by make and should not be modified by the user >> .make.cache
+	@echo #  Name        : .make.cache >> .make.cache
+	@echo #  Part of     : smf >> .make.cache
+	@echo #  Description : This file is used to cache last build target for >> .make.cache
+	@echo #                make sis target. >> .make.cache
+	@echo #  Version     :  >> .make.cache
+	@echo # >> .make.cache
+	@echo # ============================================================================== >> .make.cache
+	@echo. >> .make.cache
+	@echo QT_SIS_TARGET ?= $(QT_SIS_TARGET) >> .make.cache
+
+dodistclean:
+	-$(MAKE) -f "e:\qt-mobility-src-1.0.0-tp2\smf_integrated_30apr\smfrepo\smf\smfcredentialmgr\Makefile" dodistclean
+	-$(MAKE) -f "e:\qt-mobility-src-1.0.0-tp2\smf_integrated_30apr\smfrepo\smf\smfservermodule\Makefile" dodistclean
+	-$(MAKE) -f "e:\qt-mobility-src-1.0.0-tp2\smf_integrated_30apr\smfrepo\smf\smfsettingsui\Makefile" dodistclean
+	-@ if EXIST "e:\qt-mobility-src-1.0.0-tp2\smf_integrated_30apr\smfrepo\smf\Makefile" $(DEL_FILE)  "e:\qt-mobility-src-1.0.0-tp2\smf_integrated_30apr\smfrepo\smf\Makefile"
+	-@ if EXIST "e:\qt-mobility-src-1.0.0-tp2\smf_integrated_30apr\smfrepo\smf\.make.cache" $(DEL_FILE)  "e:\qt-mobility-src-1.0.0-tp2\smf_integrated_30apr\smfrepo\smf\.make.cache"
+	-@ if EXIST "e:\qt-mobility-src-1.0.0-tp2\smf_integrated_30apr\smfrepo\smf\bld.inf" $(DEL_FILE)  "e:\qt-mobility-src-1.0.0-tp2\smf_integrated_30apr\smfrepo\smf\bld.inf"
+
+distclean: clean dodistclean
+
+clean: $(ABLD)
+	-$(ABLD) reallyclean
+	-bldmake clean
+
+clean-debug: $(ABLD)
+	$(ABLD) reallyclean winscw udeb
+	$(ABLD) reallyclean gcce udeb
+	$(ABLD) reallyclean armv5 udeb
+	$(ABLD) reallyclean armv6 udeb
+
+clean-release: $(ABLD)
+	$(ABLD) reallyclean gcce urel
+	$(ABLD) reallyclean armv5 urel
+	$(ABLD) reallyclean armv6 urel
+
+clean-debug-winscw: $(ABLD)
+	$(ABLD) reallyclean winscw udeb
+clean-debug-gcce: $(ABLD)
+	$(ABLD) reallyclean gcce udeb
+clean-debug-armv5: $(ABLD)
+	$(ABLD) reallyclean armv5 udeb
+clean-debug-armv6: $(ABLD)
+	$(ABLD) reallyclean armv6 udeb
+clean-release-gcce: $(ABLD)
+	$(ABLD) reallyclean gcce urel
+clean-release-armv5: $(ABLD)
+	$(ABLD) reallyclean armv5 urel
+clean-release-armv6: $(ABLD)
+	$(ABLD) reallyclean armv6 urel
+