201037_02
authorhgs
Fri, 08 Oct 2010 11:42:51 +0300
changeset 77 c18f9fa7f42e
parent 73 7ab51e5db10a
child 81 640d30f4fb64
201037_02
contactwidgethsplugin/contactwidgethsplugin.pro
contactwidgethsplugin/sis/contactwidgethsplugin_stub.pkg
contactwidgethsplugin/sis/contactwidgethsplugin_stub_sis.mk
--- a/contactwidgethsplugin/contactwidgethsplugin.pro	Tue Sep 21 17:27:38 2010 +0300
+++ b/contactwidgethsplugin/contactwidgethsplugin.pro	Fri Oct 08 11:42:51 2010 +0300
@@ -38,6 +38,7 @@
     INCLUDEPATH += $$MOC_DIR
     TARGET.CAPABILITY = ALL -TCB
     TARGET.EPOCALLOWDLLDATA=1
+    MMP_RULES += SMPSAFE
 }
 
 symbian: plugin { # copy qtstub and manifest
@@ -63,21 +64,14 @@
     BLD_INF_RULES.prj_exports += "./rom/contactwidgeths.iby CORE_APP_LAYER_IBY_EXPORT_PATH(contactwidgeths.iby)"
     BLD_INF_RULES.prj_exports += "./rom/contactwidgeths_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(contactwidgeths_resources.iby)"
     
-    
-    contactwidgethsplugin_buildstubsis_extension = \
-        "$${LITERAL_HASH}ifdef MARM" \
-        "    START EXTENSION app-services/buildstubsis" \
-        "    OPTION SRCDIR ." \
-        "    OPTION SISNAME contactwidgethsplugin_stub" \
-        "    END" \
-        "$${LITERAL_HASH}endif" 
-        
-    BLD_INF_RULES.prj_extensions += contactwidgethsplugin_buildstubsis_extension
-}
+    BLD_INF_RULES.prj_mmpfiles +=  "gnumakefile sis/contactwidgethsplugin_stub_sis.mk"
+
+
+	}
 
 symbian {
     TARGET.UID3 = 0x2002C353
-    ICON = qtg_large_friend.svg
+    # ICON = qtg_large_friend.svg
     # themable icon for application library
     SKINICON = qtg_large_friend
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contactwidgethsplugin/sis/contactwidgethsplugin_stub.pkg	Fri Oct 08 11:42:51 2010 +0300
@@ -0,0 +1,36 @@
+;
+; Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+
+
+; Language
+&EN
+
+; SIS header: name, uid, version
+#{"contactwidgethsplugin"},(0x2002C353),1,0,0,TYPE=SA
+
+; Localised Vendor name
+%{"Vendor"}
+
+; Unique Vendor name
+:"Vendor"
+
+
+; Stub Files
+""-"z:\sys\bin\contactwidgethsplugin.dll"
+""-"z:\private\20022F35\import\widgetregistry\2002C353\contactwidgethsplugin.qtplugin"
+""-"z:\private\20022F35\import\widgetregistry\2002C353\contactwidgethsplugin.xml"
+""-"z:\private\20022F35\import\widgetregistry\2002C353\contactwidgethsplugin.manifest"
+""-"z:\private\20022F35\import\widgetregistry\2002C353\qtg_large_friend.svg"
+""-"z:\private\20022F35\import\widgetregistry\2002C353\qtg_graf_hswidget_preview_contact.svg"
+""-"z:\resource\qt\translations\contactwidgethsplugin*.qm"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contactwidgethsplugin/sis/contactwidgethsplugin_stub_sis.mk	Fri Oct 08 11:42:51 2010 +0300
@@ -0,0 +1,56 @@
+#
+# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+# All rights reserved.
+# This component and the accompanying materials are made available
+# under the terms of "Eclipse Public License v1.0"
+# which accompanies this distribution, and is available
+# at the URL "http://www.eclipse.org/legal/epl-v10.html".
+#
+# Initial Contributors:
+# Nokia Corporation - initial contribution.
+#
+# Contributors:
+#
+# Description:  
+#
+
+
+TARGETDIR=$(EPOCROOT)EPOC32\Data\Z\System\Install
+
+SISNAME=contactwidgethsplugin_stub
+PKGNAME=contactwidgethsplugin_stub
+
+$(TARGETDIR) :
+	@perl -S emkdir.pl "$(TARGETDIR)"
+
+do_nothing :
+	rem do_nothing
+
+SISFILE=$(TARGETDIR)\$(SISNAME).sis
+
+$(SISFILE) : ..\sis\$(PKGNAME).pkg
+	makesis -s $? $@ 
+
+
+
+MAKMAKE : do_nothing
+
+RESOURCE : do_nothing
+
+SAVESPACE : do_nothing
+
+BLD : do_nothing
+
+FREEZE : do_nothing
+
+LIB : do_nothing
+
+CLEANLIB : do_nothing
+
+FINAL : $(TARGETDIR) $(SISFILE)
+
+CLEAN : 
+	@if exist $(SISFILE) erase $(SISFILE)
+
+RELEASABLES : 
+	@echo $(SISFILE)
\ No newline at end of file