messagingapp/msgappfw/plugins/previewplugin/tsrc/Makefile
changeset 37 518b245aa84c
equal deleted inserted replaced
25:84d9eb65b26f 37:518b245aa84c
       
     1 # ==============================================================================
       
     2 # Generated by qmake (2.01a) (Qt 4.6.2) on: Fri Apr 16 15:48:22 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             = r:\epoc32\tools\qt\qmake.exe
       
    13 DEL_FILE          = del
       
    14 DEL_DIR           = rmdir
       
    15 MOVE              = move
       
    16 DEBUG_PLATFORMS   = winscw armv5
       
    17 RELEASE_PLATFORMS = armv5
       
    18 MAKE              = make
       
    19 SBS               = sbs
       
    20 
       
    21 DEFINES	 = -DSYMBIAN -DUNICODE -DQT_KEYPAD_NAVIGATION -DQT_SOFTKEYS_ENABLED -DQT_USE_MATH_H_FLOATS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
       
    22 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" 
       
    23 first: default
       
    24 default: debug-winscw
       
    25 all: debug release
       
    26 
       
    27 qmake:
       
    28 	$(QMAKE) -spec symbian-sbsv2 -o "bld.inf" "R:/sf/app/messaging/messagingapp/msgappfw/plugin/tsrc/test_plugin.pro"
       
    29 
       
    30 bld.inf:
       
    31 	$(QMAKE)
       
    32 
       
    33 debug: bld.inf
       
    34 	$(SBS) -c winscw_udeb.mwccinc -c armv5_udeb
       
    35 release: bld.inf
       
    36 	$(SBS) -c armv5_urel
       
    37 debug-winscw: bld.inf
       
    38 	$(SBS) -c winscw_udeb.mwccinc
       
    39 debug-armv5: bld.inf
       
    40 	$(SBS) -c armv5_udeb
       
    41 release-armv5: bld.inf
       
    42 	$(SBS) -c armv5_urel
       
    43 
       
    44 export: bld.inf
       
    45 	$(SBS) export
       
    46 
       
    47 cleanexport: bld.inf
       
    48 	$(SBS) cleanexport
       
    49 
       
    50 
       
    51 
       
    52 mocclean: compiler_moc_header_clean compiler_moc_source_clean
       
    53 
       
    54 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
       
    55 FORCE:
       
    56 
       
    57 -include .make.cache
       
    58 
       
    59 sis:
       
    60 	$(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)
       
    61 
       
    62 ok_sis:
       
    63 	createpackage.bat $(QT_SIS_OPTIONS) test_plugin_template.pkg $(QT_SIS_TARGET) $(QT_SIS_CERTIFICATE) $(QT_SIS_KEY) $(QT_SIS_PASSPHRASE)
       
    64 
       
    65 fail_sis_nopkg:
       
    66 	$(error PKG file does not exist, 'SIS' target is only supported for executables or projects with DEPLOYMENT statement)
       
    67 
       
    68 fail_sis_nocache:
       
    69 	$(error Project has to be built or QT_SIS_TARGET environment variable has to be set before calling 'SIS' target)
       
    70 
       
    71 dodistclean:
       
    72 	-@ if EXIST "r:\sf\app\messaging\messagingapp\msgappfw\plugin\tsrc\Makefile" $(DEL_FILE)  "r:\sf\app\messaging\messagingapp\msgappfw\plugin\tsrc\Makefile"
       
    73 	-@ if EXIST "r:\sf\app\messaging\messagingapp\msgappfw\plugin\tsrc\bld.inf" $(DEL_FILE)  "r:\sf\app\messaging\messagingapp\msgappfw\plugin\tsrc\bld.inf"
       
    74 
       
    75 distclean: clean dodistclean
       
    76 
       
    77 clean: bld.inf
       
    78 	-$(SBS) reallyclean
       
    79 
       
    80 clean-debug: bld.inf
       
    81 	$(SBS) reallyclean -c winscw_udeb -c armv5_udeb
       
    82 clean-release: bld.inf
       
    83 	$(SBS) reallyclean -c armv5_urel
       
    84 clean-debug-winscw: bld.inf
       
    85 	$(SBS) reallyclean -c winscw_udeb
       
    86 clean-debug-armv5: bld.inf
       
    87 	$(SBS) reallyclean -c armv5_udeb
       
    88 clean-release-armv5: bld.inf
       
    89 	$(SBS) reallyclean -c armv5_urel
       
    90