example/smfclientapp/Makefile
changeset 14 a469c0e6e7fb
parent 6 c39a6cfd1fb9
equal deleted inserted replaced
13:b5d63d5fc252 14:a469c0e6e7fb
     1 # ==============================================================================
     1 # ==============================================================================
     2 # Generated by qmake (2.01a) (Qt 4.6.1) on: Tue May 18 15:54:38 2010
     2 # Generated by qmake (2.01a) (Qt 4.6.3) on: Tue Jun 22 14:45:30 2010
     3 # This file is generated by qmake and should not be modified by the
     3 # This file is generated by qmake and should not be modified by the
     4 # user.
     4 # user.
     5 #  Name        : Makefile
     5 #  Name        : Makefile
     6 #  Description : Wrapper Makefile for calling Symbian build tools
     6 #  Description : Wrapper Makefile for calling Symbian build tools
     7 #
     7 #
     8 # ==============================================================================
     8 # ==============================================================================
     9 
     9 
    10 
    10 
    11 MAKEFILE          = Makefile
    11 MAKEFILE          = Makefile
    12 QMAKE             = d:\Qt\4.6.1\bin\qmake
    12 QMAKE             = f:\Qt\4.6.3\bin\qmake
    13 DEL_FILE          = del
    13 DEL_FILE          = del
    14 DEL_DIR           = rmdir
    14 DEL_DIR           = rmdir
    15 MOVE              = move
    15 MOVE              = move
       
    16 CHK_DIR_EXISTS    = if not exist
       
    17 MKDIR             = mkdir
    16 XCOPY             = xcopy /d /f /h /r /y /i
    18 XCOPY             = xcopy /d /f /h /r /y /i
    17 ABLD              = ABLD.BAT
    19 ABLD              = ABLD.BAT
    18 DEBUG_PLATFORMS   = winscw gcce armv5 armv6
    20 DEBUG_PLATFORMS   = winscw gcce armv5 armv6
    19 RELEASE_PLATFORMS = gcce armv5 armv6
    21 RELEASE_PLATFORMS = gcce armv5 armv6
    20 MAKE              = make
    22 MAKE              = make
    24 else
    26 else
    25 ZDIR=$(EPOCROOT)epoc32\data\z
    27 ZDIR=$(EPOCROOT)epoc32\data\z
    26 endif
    28 endif
    27 
    29 
    28 DEFINES	 = -DSYMBIAN -DUNICODE -DQT_KEYPAD_NAVIGATION -DQT_SOFTKEYS_ENABLED -DQT_USE_MATH_H_FLOATS -DWRITE_LOG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
    30 DEFINES	 = -DSYMBIAN -DUNICODE -DQT_KEYPAD_NAVIGATION -DQT_SOFTKEYS_ENABLED -DQT_USE_MATH_H_FLOATS -DWRITE_LOG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
    29 INCPATH	 =  -I"D:/Qt/4.6.1/include/QtCore" -I"D:/Qt/4.6.1/include/QtCore/tmp" -I"D:/Qt/4.6.1/include/QtNetwork" -I"D:/Qt/4.6.1/include/QtNetwork/tmp" -I"D:/Qt/4.6.1/include/QtGui" -I"D:/Qt/4.6.1/include/QtGui/tmp" -I"D:/Qt/4.6.1/include/QtWebKit" -I"D:/Qt/4.6.1/include/QtWebKit/tmp" -I"D:/Qt/4.6.1/include" -I"D:/Qt/4.6.1/include/tmp" -I"D:/CarbideWorkspace/smfserver_cleaned/example/smfclientapp" -I"D:/CarbideWorkspace/smfserver_cleaned/example/smfclientapp/tmp" -I"D:/Qt/4.6.1/mkspecs/common/symbian" -I"D:/Qt/4.6.1/mkspecs/common/symbian/tmp" -I"D:/S60/devices/S60_5th_Edition_SDK_v0.9/epoc32/include" -I"D:/S60/devices/S60_5th_Edition_SDK_v0.9/epoc32/include/stdapis" -I"D:/S60/devices/S60_5th_Edition_SDK_v0.9/epoc32/include/stdapis/sys" -I"D:/S60/devices/S60_5th_Edition_SDK_v0.9/epoc32/include/middleware" -I"D:/S60/devices/S60_5th_Edition_SDK_v0.9/epoc32/include/domain/middleware" -I"D:/S60/devices/S60_5th_Edition_SDK_v0.9/epoc32/include/applications" -I"D:/S60/devices/S60_5th_Edition_SDK_v0.9/epoc32/include/domain/applications" -I"D:/S60/devices/S60_5th_Edition_SDK_v0.9/epoc32/include/domain/middleware/loc" -I"D:/S60/devices/S60_5th_Edition_SDK_v0.9/epoc32/include/stdapis/stlport" -I"D:/Qt/4.6.1/include/QtXmlPatterns" -I"D:/Qt/4.6.1/include/QtXmlPatterns/tmp"
    31 INCPATH	 =  -I"F:/Qt/4.6.3/include/QtCore" -I"F:/Qt/4.6.3/include/QtCore/tmp" -I"F:/Qt/4.6.3/include/QtNetwork" -I"F:/Qt/4.6.3/include/QtNetwork/tmp" -I"F:/Qt/4.6.3/include/QtGui" -I"F:/Qt/4.6.3/include/QtGui/tmp" -I"F:/Qt/4.6.3/include/QtWebKit" -I"F:/Qt/4.6.3/include/QtWebKit/tmp" -I"F:/Qt/4.6.3/include" -I"F:/Qt/4.6.3/include/tmp" -I"F:/Qt/4.6.3/include/QtContacts" -I"F:/Qt/4.6.3/include/QtContacts/tmp" -I"F:/Qt/4.6.3/include/QtLocation" -I"F:/Qt/4.6.3/include/QtLocation/tmp" -I"F:/Qt/4.6.3/mkspecs/common/symbian" -I"F:/Qt/4.6.3/mkspecs/common/symbian/tmp" -I"F:/Nokia/devices/Nokia_Symbian3_SDK_v0.8/epoc32/include" -I"F:/Nokia/devices/Nokia_Symbian3_SDK_v0.8/epoc32/include/stdapis" -I"F:/Nokia/devices/Nokia_Symbian3_SDK_v0.8/epoc32/include/stdapis/sys" -I"F:/Nokia/devices/Nokia_Symbian3_SDK_v0.8/epoc32/include/mw" -I"F:/Nokia/devices/Nokia_Symbian3_SDK_v0.8/epoc32/include/platform/mw" -I"F:/Nokia/devices/Nokia_Symbian3_SDK_v0.8/epoc32/include/platform" -I"F:/Nokia/devices/Nokia_Symbian3_SDK_v0.8/epoc32/include/app" -I"F:/Nokia/devices/Nokia_Symbian3_SDK_v0.8/epoc32/include/platform/app" -I"F:/Nokia/devices/Nokia_Symbian3_SDK_v0.8/epoc32/include/platform/loc" -I"F:/Nokia/devices/Nokia_Symbian3_SDK_v0.8/epoc32/include/platform/mw/loc" -I"F:/Nokia/devices/Nokia_Symbian3_SDK_v0.8/epoc32/include/platform/app/loc" -I"F:/Nokia/devices/Nokia_Symbian3_SDK_v0.8/epoc32/include/platform/loc/sc" -I"F:/Nokia/devices/Nokia_Symbian3_SDK_v0.8/epoc32/include/platform/mw/loc/sc" -I"F:/Nokia/devices/Nokia_Symbian3_SDK_v0.8/epoc32/include/platform/app/loc/sc" -I"F:/Nokia/devices/Nokia_Symbian3_SDK_v0.8/epoc32/include/stdapis/stlportv5" -I"F:/Qt/4.6.3/include/QtXmlPatterns" -I"F:/Qt/4.6.3/include/QtXmlPatterns/tmp" -I"F:/Nokia/devices/Nokia_Symbian3_SDK_v0.8/SMFCode/smf_baseline_22june_latest/example/smfclientapp" -I"F:/Nokia/devices/Nokia_Symbian3_SDK_v0.8/SMFCode/smf_baseline_22june_latest/example/smfclientapp/tmp"
    30 first: default
    32 first: default
    31 default: debug-winscw
    33 default: debug-winscw
    32 all: debug release
    34 all: debug release
    33 
    35 
    34 qmake:
    36 qmake:
    35 	$(QMAKE) -spec symbian-abld -o "bld.inf" "D:/CarbideWorkspace/smfserver_cleaned/example/smfclientapp/smfclientapp.pro"
    37 	$(QMAKE) -spec symbian-abld -o "bld.inf" "F:/Nokia/devices/Nokia_Symbian3_SDK_v0.8/SMFCode/smf_baseline_22june_latest/example/smfclientapp/smfclientapp.pro"
    36 
    38 
    37 bld.inf:
    39 bld.inf:
    38 	$(QMAKE)
    40 	$(QMAKE)
    39 
    41 
    40 $(ABLD): bld.inf
    42 $(ABLD): bld.inf
    70 	$(ABLD) export
    72 	$(ABLD) export
    71 
    73 
    72 cleanexport: $(ABLD)
    74 cleanexport: $(ABLD)
    73 	$(ABLD) cleanexport
    75 	$(ABLD) cleanexport
    74 
    76 
    75 D:\Qt\4.6.1\bin\moc.exe:
    77 check: first
    76 	(cd $(QTDIR)/src/tools/moc && $(MAKE))
       
    77 
    78 
    78 mocclean: compiler_moc_header_clean compiler_moc_source_clean
    79 mocclean: compiler_moc_header_clean compiler_moc_source_clean
    79 
    80 
    80 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
    81 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
    81 
    82 
    82 compiler_moc_header_make_all: moc_displaywidget.cpp moc_testscreen.cpp moc_smfclientapp.cpp
    83 compiler_moc_header_make_all: moc_posttestui.cpp moc_displaywidget.cpp moc_testscreen.cpp moc_smfclientapp.cpp
    83 compiler_moc_header_clean:
    84 compiler_moc_header_clean:
    84 	-$(DEL_FILE) moc_displaywidget.cpp moc_testscreen.cpp moc_smfclientapp.cpp 2> NUL
    85 	-$(DEL_FILE) moc_posttestui.cpp moc_displaywidget.cpp moc_testscreen.cpp moc_smfclientapp.cpp 2> NUL
       
    86 moc_posttestui.cpp: ui_posttestui.h \
       
    87 		posttestui.h
       
    88 	F:\Qt\4.6.3\bin\moc.exe $(DEFINES) $(INCPATH) -DSYMBIAN posttestui.h -o moc_posttestui.cpp
       
    89 
    85 moc_displaywidget.cpp: ui_displaywidget.h \
    90 moc_displaywidget.cpp: ui_displaywidget.h \
    86 		displaywidget.h \
    91 		displaywidget.h
    87 		..\..\..\..\Qt\4.6.1\bin\moc.exe
    92 	F:\Qt\4.6.3\bin\moc.exe $(DEFINES) $(INCPATH) -DSYMBIAN displaywidget.h -o moc_displaywidget.cpp
    88 	D:\Qt\4.6.1\bin\moc.exe $(DEFINES) $(INCPATH) -DSYMBIAN displaywidget.h -o moc_displaywidget.cpp
       
    89 
    93 
    90 moc_testscreen.cpp: ui_SmfClientApp.h \
    94 moc_testscreen.cpp: ui_SmfClientApp.h \
    91 		testscreen.h \
    95 		testscreen.h
    92 		..\..\..\..\Qt\4.6.1\bin\moc.exe
    96 	F:\Qt\4.6.3\bin\moc.exe $(DEFINES) $(INCPATH) -DSYMBIAN testscreen.h -o moc_testscreen.cpp
    93 	D:\Qt\4.6.1\bin\moc.exe $(DEFINES) $(INCPATH) -DSYMBIAN testscreen.h -o moc_testscreen.cpp
       
    94 
    97 
    95 moc_smfclientapp.cpp: ui_SmfClientApp.h \
    98 moc_smfclientapp.cpp: ui_SmfClientApp.h \
    96 		smfclientapp.h \
    99 		smfclientapp.h
    97 		..\..\..\..\Qt\4.6.1\bin\moc.exe
   100 	F:\Qt\4.6.3\bin\moc.exe $(DEFINES) $(INCPATH) -DSYMBIAN smfclientapp.h -o moc_smfclientapp.cpp
    98 	D:\Qt\4.6.1\bin\moc.exe $(DEFINES) $(INCPATH) -DSYMBIAN smfclientapp.h -o moc_smfclientapp.cpp
       
    99 
   101 
   100 compiler_rcc_make_all:
   102 compiler_rcc_make_all:
   101 compiler_rcc_clean:
   103 compiler_rcc_clean:
   102 compiler_image_collection_make_all: qmake_image_collection.cpp
   104 compiler_image_collection_make_all: qmake_image_collection.cpp
   103 compiler_image_collection_clean:
   105 compiler_image_collection_clean:
   104 	-$(DEL_FILE) qmake_image_collection.cpp 2> NUL
   106 	-$(DEL_FILE) qmake_image_collection.cpp 2> NUL
   105 compiler_moc_source_make_all:
   107 compiler_moc_source_make_all:
   106 compiler_moc_source_clean:
   108 compiler_moc_source_clean:
   107 compiler_uic_make_all: ui_displaywidget.h ui_smfclientapp.h
   109 compiler_uic_make_all: ui_posttestui.h ui_displaywidget.h ui_smfclientapp.h
   108 compiler_uic_clean:
   110 compiler_uic_clean:
   109 	-$(DEL_FILE) ui_displaywidget.h ui_smfclientapp.h 2> NUL
   111 	-$(DEL_FILE) ui_posttestui.h ui_displaywidget.h ui_smfclientapp.h 2> NUL
       
   112 ui_posttestui.h: posttestui.ui
       
   113 	f:\Qt\4.6.3\bin\uic.exe posttestui.ui -o ui_posttestui.h
       
   114 
   110 ui_displaywidget.h: displaywidget.ui
   115 ui_displaywidget.h: displaywidget.ui
   111 	d:\Qt\4.6.1\bin\uic.exe displaywidget.ui -o ui_displaywidget.h
   116 	f:\Qt\4.6.3\bin\uic.exe displaywidget.ui -o ui_displaywidget.h
   112 
   117 
   113 ui_smfclientapp.h: smfclientapp.ui
   118 ui_smfclientapp.h: smfclientapp.ui
   114 	d:\Qt\4.6.1\bin\uic.exe smfclientapp.ui -o ui_smfclientapp.h
   119 	f:\Qt\4.6.3\bin\uic.exe smfclientapp.ui -o ui_smfclientapp.h
   115 
   120 
   116 compiler_yacc_decl_make_all:
   121 compiler_yacc_decl_make_all:
   117 compiler_yacc_decl_clean:
   122 compiler_yacc_decl_clean:
   118 compiler_yacc_impl_make_all:
   123 compiler_yacc_impl_make_all:
   119 compiler_yacc_impl_clean:
   124 compiler_yacc_impl_clean:
   120 compiler_lex_make_all:
   125 compiler_lex_make_all:
   121 compiler_lex_clean:
   126 compiler_lex_clean:
   122 compiler_clean: compiler_moc_header_clean compiler_uic_clean 
   127 compiler_clean: compiler_moc_header_clean compiler_uic_clean 
   123 
   128 
   124 create_temps:
   129 create_temps:
   125 	-@ if NOT EXIST "D:\Qt\4.6.1\include\QtCore\tmp" mkdir "D:\Qt\4.6.1\include\QtCore\tmp"
   130 	-@ if NOT EXIST "F:\Qt\4.6.3\include\QtCore\tmp" mkdir "F:\Qt\4.6.3\include\QtCore\tmp"
   126 	-@ if NOT EXIST "D:\Qt\4.6.1\include\QtNetwork\tmp" mkdir "D:\Qt\4.6.1\include\QtNetwork\tmp"
   131 	-@ if NOT EXIST "F:\Qt\4.6.3\include\QtNetwork\tmp" mkdir "F:\Qt\4.6.3\include\QtNetwork\tmp"
   127 	-@ if NOT EXIST "D:\Qt\4.6.1\include\QtGui\tmp" mkdir "D:\Qt\4.6.1\include\QtGui\tmp"
   132 	-@ if NOT EXIST "F:\Qt\4.6.3\include\QtGui\tmp" mkdir "F:\Qt\4.6.3\include\QtGui\tmp"
   128 	-@ if NOT EXIST "D:\Qt\4.6.1\include\QtWebKit\tmp" mkdir "D:\Qt\4.6.1\include\QtWebKit\tmp"
   133 	-@ if NOT EXIST "F:\Qt\4.6.3\include\QtWebKit\tmp" mkdir "F:\Qt\4.6.3\include\QtWebKit\tmp"
   129 	-@ if NOT EXIST "D:\Qt\4.6.1\include\tmp" mkdir "D:\Qt\4.6.1\include\tmp"
   134 	-@ if NOT EXIST "F:\Qt\4.6.3\include\tmp" mkdir "F:\Qt\4.6.3\include\tmp"
   130 	-@ if NOT EXIST "D:\CarbideWorkspace\smfserver_cleaned\example\smfclientapp\tmp" mkdir "D:\CarbideWorkspace\smfserver_cleaned\example\smfclientapp\tmp"
   135 	-@ if NOT EXIST "F:\Qt\4.6.3\include\QtContacts\tmp" mkdir "F:\Qt\4.6.3\include\QtContacts\tmp"
   131 	-@ if NOT EXIST "D:\Qt\4.6.1\mkspecs\common\symbian\tmp" mkdir "D:\Qt\4.6.1\mkspecs\common\symbian\tmp"
   136 	-@ if NOT EXIST "F:\Qt\4.6.3\include\QtLocation\tmp" mkdir "F:\Qt\4.6.3\include\QtLocation\tmp"
   132 	-@ if NOT EXIST "D:\Qt\4.6.1\include\QtXmlPatterns\tmp" mkdir "D:\Qt\4.6.1\include\QtXmlPatterns\tmp"
   137 	-@ if NOT EXIST "F:\Qt\4.6.3\mkspecs\common\symbian\tmp" mkdir "F:\Qt\4.6.3\mkspecs\common\symbian\tmp"
       
   138 	-@ if NOT EXIST "F:\Qt\4.6.3\include\QtXmlPatterns\tmp" mkdir "F:\Qt\4.6.3\include\QtXmlPatterns\tmp"
       
   139 	-@ if NOT EXIST "F:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\tmp" mkdir "F:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\tmp"
   133 
   140 
   134 extension_clean: compiler_clean
   141 extension_clean: compiler_clean
   135 	-@ if EXIST "D:\Qt\4.6.1\include\QtCore\tmp" rmdir  /S /Q  "D:\Qt\4.6.1\include\QtCore\tmp"
   142 	-@ if EXIST "F:\Qt\4.6.3\include\QtCore\tmp" rmdir  /S /Q  "F:\Qt\4.6.3\include\QtCore\tmp"
   136 	-@ if EXIST "D:\Qt\4.6.1\include\QtNetwork\tmp" rmdir  /S /Q  "D:\Qt\4.6.1\include\QtNetwork\tmp"
   143 	-@ if EXIST "F:\Qt\4.6.3\include\QtNetwork\tmp" rmdir  /S /Q  "F:\Qt\4.6.3\include\QtNetwork\tmp"
   137 	-@ if EXIST "D:\Qt\4.6.1\include\QtGui\tmp" rmdir  /S /Q  "D:\Qt\4.6.1\include\QtGui\tmp"
   144 	-@ if EXIST "F:\Qt\4.6.3\include\QtGui\tmp" rmdir  /S /Q  "F:\Qt\4.6.3\include\QtGui\tmp"
   138 	-@ if EXIST "D:\Qt\4.6.1\include\QtWebKit\tmp" rmdir  /S /Q  "D:\Qt\4.6.1\include\QtWebKit\tmp"
   145 	-@ if EXIST "F:\Qt\4.6.3\include\QtWebKit\tmp" rmdir  /S /Q  "F:\Qt\4.6.3\include\QtWebKit\tmp"
   139 	-@ if EXIST "D:\Qt\4.6.1\include\tmp" rmdir  /S /Q  "D:\Qt\4.6.1\include\tmp"
   146 	-@ if EXIST "F:\Qt\4.6.3\include\tmp" rmdir  /S /Q  "F:\Qt\4.6.3\include\tmp"
   140 	-@ if EXIST "D:\CarbideWorkspace\smfserver_cleaned\example\smfclientapp\tmp" rmdir  /S /Q  "D:\CarbideWorkspace\smfserver_cleaned\example\smfclientapp\tmp"
   147 	-@ if EXIST "F:\Qt\4.6.3\include\QtContacts\tmp" rmdir  /S /Q  "F:\Qt\4.6.3\include\QtContacts\tmp"
   141 	-@ if EXIST "D:\Qt\4.6.1\mkspecs\common\symbian\tmp" rmdir  /S /Q  "D:\Qt\4.6.1\mkspecs\common\symbian\tmp"
   148 	-@ if EXIST "F:\Qt\4.6.3\include\QtLocation\tmp" rmdir  /S /Q  "F:\Qt\4.6.3\include\QtLocation\tmp"
   142 	-@ if EXIST "D:\Qt\4.6.1\include\QtXmlPatterns\tmp" rmdir  /S /Q  "D:\Qt\4.6.1\include\QtXmlPatterns\tmp"
   149 	-@ if EXIST "F:\Qt\4.6.3\mkspecs\common\symbian\tmp" rmdir  /S /Q  "F:\Qt\4.6.3\mkspecs\common\symbian\tmp"
       
   150 	-@ if EXIST "F:\Qt\4.6.3\include\QtXmlPatterns\tmp" rmdir  /S /Q  "F:\Qt\4.6.3\include\QtXmlPatterns\tmp"
       
   151 	-@ if EXIST "F:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\tmp" rmdir  /S /Q  "F:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\tmp"
   143 
   152 
   144 pre_targetdeps: \
   153 pre_targetdeps: \
   145 	generated_sources \
   154 	generated_sources \
   146 	all_source_deps \
   155 	all_source_deps \
       
   156 	ui_posttestui.h \
   147 	ui_displaywidget.h \
   157 	ui_displaywidget.h \
   148 	ui_smfclientapp.h
   158 	ui_smfclientapp.h
   149 
   159 
   150 generated_sources: \
   160 generated_sources: \
       
   161 	moc_posttestui.cpp \
   151 	moc_displaywidget.cpp \
   162 	moc_displaywidget.cpp \
   152 	moc_testscreen.cpp \
   163 	moc_testscreen.cpp \
   153 	moc_smfclientapp.cpp
   164 	moc_smfclientapp.cpp
   154 
   165 
   155 all_source_deps: \
   166 all_source_deps: \
       
   167 	posttestui.h \
       
   168 	ui_posttestui.h \
   156 	displaywidget.h \
   169 	displaywidget.h \
   157 	ui_displaywidget.h \
   170 	ui_displaywidget.h \
   158 	testscreen.h \
   171 	testscreen.h \
   159 	ui_SmfClientApp.h \
   172 	ui_SmfClientApp.h \
   160 	SmfClientApp.h
   173 	SmfClientApp.h
   163 
   176 
   164 winscw_deployment:
   177 winscw_deployment:
   165 
   178 
   166 winscw_deployment_clean:
   179 winscw_deployment_clean:
   167 
   180 
   168 sis: restore_build
   181 deployment:
       
   182 
       
   183 deployment_clean:
       
   184 
       
   185 -include .make.cache
       
   186 
       
   187 sis:
   169 	$(if $(wildcard smfclientapp_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)
   188 	$(if $(wildcard smfclientapp_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)
   170 
   189 
   171 ok_sis:
   190 ok_sis:
   172 	createpackage.bat $(QT_SIS_OPTIONS) smfclientapp_template.pkg $(QT_SIS_TARGET) $(QT_SIS_CERTIFICATE) $(QT_SIS_KEY) $(QT_SIS_PASSPHRASE)
   191 	createpackage.bat $(QT_SIS_OPTIONS) smfclientapp_template.pkg $(QT_SIS_TARGET) $(QT_SIS_CERTIFICATE) $(QT_SIS_KEY) $(QT_SIS_PASSPHRASE)
   173 
   192 
       
   193 smfclientapp.sis:
       
   194 	$(MAKE) -s -f $(MAKEFILE) sis
       
   195 
       
   196 stub_sis:
       
   197 	$(if $(wildcard smfclientapp_template.pkg),$(if $(wildcard .make.cache),$(MAKE) -s -f $(MAKEFILE) ok_stub_sis,$(if $(QT_SIS_TARGET),$(MAKE) -s -f $(MAKEFILE) ok_stub_sis,$(MAKE) -s -f $(MAKEFILE) fail_sis_nocache)),$(MAKE) -s -f $(MAKEFILE) fail_sis_nopkg)
       
   198 
       
   199 ok_stub_sis:
       
   200 	createpackage.bat -s $(QT_SIS_OPTIONS) smfclientapp_template.pkg $(QT_SIS_TARGET) $(QT_SIS_CERTIFICATE) $(QT_SIS_KEY) $(QT_SIS_PASSPHRASE)
       
   201 
       
   202 installer_sis: smfclientapp.sis
       
   203 	$(if $(wildcard smfclientapp_installer.pkg),$(MAKE) -s -f $(MAKEFILE) ok_installer_sis,$(MAKE) -s -f $(MAKEFILE) fail_sis_nopkg)
       
   204 
       
   205 ok_installer_sis: 
       
   206 	createpackage.bat $(QT_SIS_OPTIONS) smfclientapp_installer.pkg - $(QT_SIS_CERTIFICATE) $(QT_SIS_KEY) $(QT_SIS_PASSPHRASE)
       
   207 
   174 fail_sis_nopkg:
   208 fail_sis_nopkg:
   175 	$(error PKG file does not exist, 'SIS' target is only supported for executables or projects with DEPLOYMENT statement)
   209 	$(error PKG file does not exist, 'sis' and 'installer_sis' target are only supported for executables or projects with DEPLOYMENT statement)
   176 
   210 
   177 fail_sis_nocache:
   211 fail_sis_nocache:
   178 	$(error Project has to be built or QT_SIS_TARGET environment variable has to be set before calling 'SIS' target)
   212 	$(error Project has to be built or QT_SIS_TARGET environment variable has to be set before calling 'SIS' target)
   179 
       
   180 restore_build:
       
   181 -include .make.cache
       
   182 
   213 
   183 store_build:
   214 store_build:
   184 	@echo # ============================================================================== > .make.cache
   215 	@echo # ============================================================================== > .make.cache
   185 	@echo # This file is generated by make and should not be modified by the user >> .make.cache
   216 	@echo # This file is generated by make and should not be modified by the user >> .make.cache
   186 	@echo #  Name        : .make.cache >> .make.cache
   217 	@echo #  Name        : .make.cache >> .make.cache
   192 	@echo # ============================================================================== >> .make.cache
   223 	@echo # ============================================================================== >> .make.cache
   193 	@echo. >> .make.cache
   224 	@echo. >> .make.cache
   194 	@echo QT_SIS_TARGET ?= $(QT_SIS_TARGET) >> .make.cache
   225 	@echo QT_SIS_TARGET ?= $(QT_SIS_TARGET) >> .make.cache
   195 
   226 
   196 dodistclean:
   227 dodistclean:
   197 	-@ if EXIST "d:\CarbideWorkspace\smfserver_cleaned\example\smfclientapp\smfclientapp_template.pkg" $(DEL_FILE)  "d:\CarbideWorkspace\smfserver_cleaned\example\smfclientapp\smfclientapp_template.pkg"
   228 	-@ if EXIST "f:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\smfclientapp_template.pkg" $(DEL_FILE)  "f:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\smfclientapp_template.pkg"
   198 	-@ if EXIST "d:\CarbideWorkspace\smfserver_cleaned\example\smfclientapp\Makefile" $(DEL_FILE)  "d:\CarbideWorkspace\smfserver_cleaned\example\smfclientapp\Makefile"
   229 	-@ if EXIST "f:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\smfclientapp_installer.pkg" $(DEL_FILE)  "f:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\smfclientapp_installer.pkg"
   199 	-@ if EXIST "d:\CarbideWorkspace\smfserver_cleaned\example\smfclientapp\Makefile_0xE08059D4.mk" $(DEL_FILE)  "d:\CarbideWorkspace\smfserver_cleaned\example\smfclientapp\Makefile_0xE08059D4.mk"
   230 	-@ if EXIST "f:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\Makefile" $(DEL_FILE)  "f:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\Makefile"
   200 	-@ if EXIST "d:\CarbideWorkspace\smfserver_cleaned\example\smfclientapp\smfclientapp_0xE08059D4.mmp" $(DEL_FILE)  "d:\CarbideWorkspace\smfserver_cleaned\example\smfclientapp\smfclientapp_0xE08059D4.mmp"
   231 	-@ if EXIST "f:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\Makefile_0xE08059D6.mk" $(DEL_FILE)  "f:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\Makefile_0xE08059D6.mk"
   201 	-@ if EXIST "d:\CarbideWorkspace\smfserver_cleaned\example\smfclientapp\smfclientapp_reg.rss" $(DEL_FILE)  "d:\CarbideWorkspace\smfserver_cleaned\example\smfclientapp\smfclientapp_reg.rss"
   232 	-@ if EXIST "f:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\smfclientapp_0xE08059D6.mmp" $(DEL_FILE)  "f:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\smfclientapp_0xE08059D6.mmp"
   202 	-@ if EXIST "d:\CarbideWorkspace\smfserver_cleaned\example\smfclientapp\smfclientapp.rss" $(DEL_FILE)  "d:\CarbideWorkspace\smfserver_cleaned\example\smfclientapp\smfclientapp.rss"
   233 	-@ if EXIST "f:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\smfclientapp_reg.rss" $(DEL_FILE)  "f:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\smfclientapp_reg.rss"
   203 	-@ if EXIST "d:\CarbideWorkspace\smfserver_cleaned\example\smfclientapp\smfclientapp.loc" $(DEL_FILE)  "d:\CarbideWorkspace\smfserver_cleaned\example\smfclientapp\smfclientapp.loc"
   234 	-@ if EXIST "f:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\smfclientapp.rss" $(DEL_FILE)  "f:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\smfclientapp.rss"
   204 	-@ if EXIST "d:\CarbideWorkspace\smfserver_cleaned\example\smfclientapp\.make.cache" $(DEL_FILE)  "d:\CarbideWorkspace\smfserver_cleaned\example\smfclientapp\.make.cache"
   235 	-@ if EXIST "f:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\smfclientapp.loc" $(DEL_FILE)  "f:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\smfclientapp.loc"
   205 	-@ if EXIST "d:\CarbideWorkspace\smfserver_cleaned\example\smfclientapp\bld.inf" $(DEL_FILE)  "d:\CarbideWorkspace\smfserver_cleaned\example\smfclientapp\bld.inf"
   236 	-@ if EXIST "f:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\.make.cache" $(DEL_FILE)  "f:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\.make.cache"
       
   237 	-@ if EXIST "f:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\bld.inf" $(DEL_FILE)  "f:\Nokia\devices\Nokia_Symbian3_SDK_v0.8\SMFCode\smf_baseline_22june_latest\example\smfclientapp\bld.inf"
   206 
   238 
   207 distclean: clean dodistclean
   239 distclean: clean dodistclean
   208 
   240 
   209 clean: $(ABLD)
   241 clean: $(ABLD)
   210 	-$(ABLD) reallyclean
   242 	-$(ABLD) reallyclean
   235 	$(ABLD) reallyclean armv5 urel
   267 	$(ABLD) reallyclean armv5 urel
   236 clean-release-armv6: $(ABLD)
   268 clean-release-armv6: $(ABLD)
   237 	$(ABLD) reallyclean armv6 urel
   269 	$(ABLD) reallyclean armv6 urel
   238 
   270 
   239 run:
   271 run:
   240 	-call /S60/devices/S60_5th_Edition_SDK_v0.9/epoc32/release/winscw/udeb/smfclientapp.exe $(QT_RUN_OPTIONS)
   272 	-call /Nokia/devices/Nokia_Symbian3_SDK_v0.8/epoc32/release/winscw/udeb/smfclientapp.exe $(QT_RUN_OPTIONS)
   241 runonphone: sis
   273 runonphone: sis
   242 	runonphone $(QT_RUN_ON_PHONE_OPTIONS) --sis smfclientapp_$(QT_SIS_TARGET).sis smfclientapp.exe $(QT_RUN_OPTIONS)
   274 	runonphone $(QT_RUN_ON_PHONE_OPTIONS) --sis smfclientapp.sis smfclientapp.exe $(QT_RUN_OPTIONS)
   243 
   275