example/flickrcontactfetcherplugin/Makefile
changeset 6 c39a6cfd1fb9
equal deleted inserted replaced
5:edb9dc8273d9 6:c39a6cfd1fb9
       
     1 # ==============================================================================
       
     2 # Generated by qmake (2.01a) (Qt 4.6.1) on: Tue May 18 16:01:40 2010
       
     3 # This file is generated by qmake and should not be modified by the
       
     4 # user.
       
     5 #  Name        : Makefile
       
     6 #  Description : Wrapper Makefile for calling Symbian build tools
       
     7 #
       
     8 # ==============================================================================
       
     9 
       
    10 
       
    11 MAKEFILE          = Makefile
       
    12 QMAKE             = d:\Qt\4.6.1\bin\qmake
       
    13 DEL_FILE          = del
       
    14 DEL_DIR           = rmdir
       
    15 MOVE              = move
       
    16 XCOPY             = xcopy /d /f /h /r /y /i
       
    17 ABLD              = ABLD.BAT
       
    18 DEBUG_PLATFORMS   = winscw gcce armv5 armv6
       
    19 RELEASE_PLATFORMS = gcce armv5 armv6
       
    20 MAKE              = make
       
    21 
       
    22 ifeq (WINS,$(findstring WINS, $(PLATFORM)))
       
    23 ZDIR=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\Z
       
    24 else
       
    25 ZDIR=$(EPOCROOT)epoc32\data\z
       
    26 endif
       
    27 
       
    28 DEFINES	 = -DSYMBIAN -DUNICODE -DQT_KEYPAD_NAVIGATION -DQT_SOFTKEYS_ENABLED -DQT_USE_MATH_H_FLOATS -DQT_PLUGIN -DQT_XML_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/QtXml" -I"D:/Qt/4.6.1/include/QtXml/tmp" -I"D:/Qt/4.6.1/include" -I"D:/Qt/4.6.1/include/tmp" -I"D:/CarbideWorkspace/smfserver_cleaned/example/flickrcontactfetcherplugin" -I"D:/CarbideWorkspace/smfserver_cleaned/example/flickrcontactfetcherplugin/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"
       
    30 first: default
       
    31 default: debug-winscw
       
    32 all: debug release
       
    33 
       
    34 qmake:
       
    35 	$(QMAKE) -spec symbian-abld -o "bld.inf" "D:/CarbideWorkspace/smfserver_cleaned/example/flickrcontactfetcherplugin/flickrcontactfetcherplugin.pro"
       
    36 
       
    37 bld.inf:
       
    38 	$(QMAKE)
       
    39 
       
    40 $(ABLD): bld.inf
       
    41 	bldmake bldfiles
       
    42 
       
    43 debug: $(ABLD)
       
    44 	$(ABLD) build winscw udeb
       
    45 	$(ABLD) build gcce udeb
       
    46 	$(ABLD) build armv5 udeb
       
    47 	$(ABLD) build armv6 udeb
       
    48 
       
    49 release: $(ABLD)
       
    50 	$(ABLD) build gcce urel
       
    51 	$(ABLD) build armv5 urel
       
    52 	$(ABLD) build armv6 urel
       
    53 
       
    54 debug-winscw: $(ABLD)
       
    55 	$(ABLD) build winscw udeb
       
    56 debug-gcce: $(ABLD)
       
    57 	$(ABLD) build gcce udeb
       
    58 debug-armv5: $(ABLD)
       
    59 	$(ABLD) build armv5 udeb
       
    60 debug-armv6: $(ABLD)
       
    61 	$(ABLD) build armv6 udeb
       
    62 release-gcce: $(ABLD)
       
    63 	$(ABLD) build gcce urel
       
    64 release-armv5: $(ABLD)
       
    65 	$(ABLD) build armv5 urel
       
    66 release-armv6: $(ABLD)
       
    67 	$(ABLD) build armv6 urel
       
    68 
       
    69 export: $(ABLD)
       
    70 	$(ABLD) export
       
    71 
       
    72 cleanexport: $(ABLD)
       
    73 	$(ABLD) cleanexport
       
    74 
       
    75 D:\Qt\4.6.1\bin\moc.exe:
       
    76 	(cd $(QTDIR)/src/tools/moc && $(MAKE))
       
    77 
       
    78 mocclean: compiler_moc_header_clean compiler_moc_source_clean
       
    79 
       
    80 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
       
    81 
       
    82 compiler_moc_header_make_all: moc_flickrcontactfetcherplugin.cpp
       
    83 compiler_moc_header_clean:
       
    84 	-$(DEL_FILE) moc_flickrcontactfetcherplugin.cpp 2> NUL
       
    85 moc_flickrcontactfetcherplugin.cpp: flickrcontactfetcherplugin.h \
       
    86 		..\..\..\..\Qt\4.6.1\bin\moc.exe
       
    87 	D:\Qt\4.6.1\bin\moc.exe $(DEFINES) $(INCPATH) -DSYMBIAN flickrcontactfetcherplugin.h -o moc_flickrcontactfetcherplugin.cpp
       
    88 
       
    89 compiler_rcc_make_all:
       
    90 compiler_rcc_clean:
       
    91 compiler_image_collection_make_all: qmake_image_collection.cpp
       
    92 compiler_image_collection_clean:
       
    93 	-$(DEL_FILE) qmake_image_collection.cpp 2> NUL
       
    94 compiler_moc_source_make_all:
       
    95 compiler_moc_source_clean:
       
    96 compiler_uic_make_all:
       
    97 compiler_uic_clean:
       
    98 compiler_yacc_decl_make_all:
       
    99 compiler_yacc_decl_clean:
       
   100 compiler_yacc_impl_make_all:
       
   101 compiler_yacc_impl_clean:
       
   102 compiler_lex_make_all:
       
   103 compiler_lex_clean:
       
   104 compiler_clean: compiler_moc_header_clean 
       
   105 
       
   106 create_temps:
       
   107 	-@ if NOT EXIST "D:\Qt\4.6.1\include\QtCore\tmp" mkdir "D:\Qt\4.6.1\include\QtCore\tmp"
       
   108 	-@ if NOT EXIST "D:\Qt\4.6.1\include\QtNetwork\tmp" mkdir "D:\Qt\4.6.1\include\QtNetwork\tmp"
       
   109 	-@ if NOT EXIST "D:\Qt\4.6.1\include\QtGui\tmp" mkdir "D:\Qt\4.6.1\include\QtGui\tmp"
       
   110 	-@ if NOT EXIST "D:\Qt\4.6.1\include\QtXml\tmp" mkdir "D:\Qt\4.6.1\include\QtXml\tmp"
       
   111 	-@ if NOT EXIST "D:\Qt\4.6.1\include\tmp" mkdir "D:\Qt\4.6.1\include\tmp"
       
   112 	-@ if NOT EXIST "D:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\tmp" mkdir "D:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\tmp"
       
   113 	-@ if NOT EXIST "D:\Qt\4.6.1\mkspecs\common\symbian\tmp" mkdir "D:\Qt\4.6.1\mkspecs\common\symbian\tmp"
       
   114 
       
   115 extension_clean: compiler_clean
       
   116 	-@ if EXIST "D:\Qt\4.6.1\include\QtCore\tmp" rmdir  /S /Q  "D:\Qt\4.6.1\include\QtCore\tmp"
       
   117 	-@ if EXIST "D:\Qt\4.6.1\include\QtNetwork\tmp" rmdir  /S /Q  "D:\Qt\4.6.1\include\QtNetwork\tmp"
       
   118 	-@ if EXIST "D:\Qt\4.6.1\include\QtGui\tmp" rmdir  /S /Q  "D:\Qt\4.6.1\include\QtGui\tmp"
       
   119 	-@ if EXIST "D:\Qt\4.6.1\include\QtXml\tmp" rmdir  /S /Q  "D:\Qt\4.6.1\include\QtXml\tmp"
       
   120 	-@ if EXIST "D:\Qt\4.6.1\include\tmp" rmdir  /S /Q  "D:\Qt\4.6.1\include\tmp"
       
   121 	-@ if EXIST "D:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\tmp" rmdir  /S /Q  "D:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\tmp"
       
   122 	-@ if EXIST "D:\Qt\4.6.1\mkspecs\common\symbian\tmp" rmdir  /S /Q  "D:\Qt\4.6.1\mkspecs\common\symbian\tmp"
       
   123 
       
   124 pre_targetdeps: \
       
   125 	generated_sources \
       
   126 	all_source_deps
       
   127 
       
   128 generated_sources: \
       
   129 	moc_flickrcontactfetcherplugin.cpp
       
   130 
       
   131 all_source_deps: \
       
   132 	flickrcontactfetcherplugin.h
       
   133 
       
   134 finalize:
       
   135 
       
   136 winscw_deployment:
       
   137 	-echo Deploying changed files...
       
   138 	-$(XCOPY) "d:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\qmakepluginstubs\flickrcontactfetcherplugin.qtplugin" "\S60\devices\S60_5th_Edition_SDK_v0.9\epoc32\winscw\c\resource\qt\plugins\smf\plugin\contact.fetcher\"
       
   139 
       
   140 winscw_deployment_clean:
       
   141 	-@ if EXIST "\S60\devices\S60_5th_Edition_SDK_v0.9\epoc32\winscw\c\resource\qt\plugins\smf\plugin\contact.fetcher\flickrcontactfetcherplugin.qtplugin" $(DEL_FILE)  "\S60\devices\S60_5th_Edition_SDK_v0.9\epoc32\winscw\c\resource\qt\plugins\smf\plugin\contact.fetcher\flickrcontactfetcherplugin.qtplugin"
       
   142 
       
   143 sis: restore_build
       
   144 	$(if $(wildcard flickrcontactfetcherplugin_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)
       
   145 
       
   146 ok_sis:
       
   147 	createpackage.bat $(QT_SIS_OPTIONS) flickrcontactfetcherplugin_template.pkg $(QT_SIS_TARGET) $(QT_SIS_CERTIFICATE) $(QT_SIS_KEY) $(QT_SIS_PASSPHRASE)
       
   148 
       
   149 fail_sis_nopkg:
       
   150 	$(error PKG file does not exist, 'SIS' target is only supported for executables or projects with DEPLOYMENT statement)
       
   151 
       
   152 fail_sis_nocache:
       
   153 	$(error Project has to be built or QT_SIS_TARGET environment variable has to be set before calling 'SIS' target)
       
   154 
       
   155 restore_build:
       
   156 -include .make.cache
       
   157 
       
   158 store_build:
       
   159 	@echo # ============================================================================== > .make.cache
       
   160 	@echo # This file is generated by make and should not be modified by the user >> .make.cache
       
   161 	@echo #  Name        : .make.cache >> .make.cache
       
   162 	@echo #  Part of     : flickrcontactfetcherplugin >> .make.cache
       
   163 	@echo #  Description : This file is used to cache last build target for >> .make.cache
       
   164 	@echo #                make sis target. >> .make.cache
       
   165 	@echo #  Version     :  >> .make.cache
       
   166 	@echo # >> .make.cache
       
   167 	@echo # ============================================================================== >> .make.cache
       
   168 	@echo. >> .make.cache
       
   169 	@echo QT_SIS_TARGET ?= $(QT_SIS_TARGET) >> .make.cache
       
   170 
       
   171 dodistclean:
       
   172 	-@ if EXIST "d:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\flickrcontactfetcherplugin_template.pkg" $(DEL_FILE)  "d:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\flickrcontactfetcherplugin_template.pkg"
       
   173 	-@ if EXIST "d:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\qmakepluginstubs\flickrcontactfetcherplugin.qtplugin" $(DEL_FILE)  "d:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\qmakepluginstubs\flickrcontactfetcherplugin.qtplugin"
       
   174 	-@ if EXIST "d:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\Makefile" $(DEL_FILE)  "d:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\Makefile"
       
   175 	-@ if EXIST "d:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\Makefile_0xE341a8b4.mk" $(DEL_FILE)  "d:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\Makefile_0xE341a8b4.mk"
       
   176 	-@ if EXIST "d:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\flickrcontactfetcherplugin_0xE341a8b4.mmp" $(DEL_FILE)  "d:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\flickrcontactfetcherplugin_0xE341a8b4.mmp"
       
   177 	-@ if EXIST "d:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\plugin_commonU.def" $(DEL_FILE)  "d:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\plugin_commonU.def"
       
   178 	-@ if EXIST "d:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\.make.cache" $(DEL_FILE)  "d:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\.make.cache"
       
   179 	-@ if EXIST "d:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\bld.inf" $(DEL_FILE)  "d:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\bld.inf"
       
   180 	-@ if EXIST "d:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\qmakepluginstubs" $(DEL_DIR)  "d:\CarbideWorkspace\smfserver_cleaned\example\flickrcontactfetcherplugin\qmakepluginstubs"
       
   181 
       
   182 distclean: clean dodistclean
       
   183 
       
   184 clean: $(ABLD)
       
   185 	-$(ABLD) reallyclean
       
   186 	-bldmake clean
       
   187 
       
   188 clean-debug: $(ABLD)
       
   189 	$(ABLD) reallyclean winscw udeb
       
   190 	$(ABLD) reallyclean gcce udeb
       
   191 	$(ABLD) reallyclean armv5 udeb
       
   192 	$(ABLD) reallyclean armv6 udeb
       
   193 
       
   194 clean-release: $(ABLD)
       
   195 	$(ABLD) reallyclean gcce urel
       
   196 	$(ABLD) reallyclean armv5 urel
       
   197 	$(ABLD) reallyclean armv6 urel
       
   198 
       
   199 clean-debug-winscw: $(ABLD)
       
   200 	$(ABLD) reallyclean winscw udeb
       
   201 clean-debug-gcce: $(ABLD)
       
   202 	$(ABLD) reallyclean gcce udeb
       
   203 clean-debug-armv5: $(ABLD)
       
   204 	$(ABLD) reallyclean armv5 udeb
       
   205 clean-debug-armv6: $(ABLD)
       
   206 	$(ABLD) reallyclean armv6 udeb
       
   207 clean-release-gcce: $(ABLD)
       
   208 	$(ABLD) reallyclean gcce urel
       
   209 clean-release-armv5: $(ABLD)
       
   210 	$(ABLD) reallyclean armv5 urel
       
   211 clean-release-armv6: $(ABLD)
       
   212 	$(ABLD) reallyclean armv6 urel
       
   213