sftemplateswizard/com.nokia.s60tools.symbianfoundationtemplates/templates/icons_extra.mk
changeset 0 61163b28edca
equal deleted inserted replaced
-1:000000000000 0:61163b28edca
       
     1 # ============================================================================
       
     2 #  Name        : icons_extra.mk
       
     3 #  Part of     : ?Subsystem_name / ?Module_name
       
     4 #  Description : extra icons makefile for project ?myapp
       
     5 #  Version     : %version: %
       
     6 #
       
     7 #  Copyright © ?year-?year ?Company_copyright. 
       
     8 #  All rights reserved.
       
     9 #  This component and the accompanying materials are made available
       
    10 #  under the terms of the License "?License"
       
    11 #  which accompanies this distribution, and is available
       
    12 #  at the URL "?LicenseUrl".
       
    13 #
       
    14 #  Initial Contributors:
       
    15 #  ?Company_name - initial contribution.
       
    16 #
       
    17 #  Contributors:
       
    18 #  ?Company_name
       
    19 # ============================================================================
       
    20 # Template version: 4.1.1
       
    21 
       
    22 *** INSTRUCTIONS TO THE TEMPLATE USER:
       
    23 
       
    24 *** REMEMBER TO CHANGE THIS TEMPLATE FILE NAME TO BE UNIQUE WITHIN
       
    25 *** ARCHITECTURE DOMAIN. 
       
    26 *** DO NOT USE THE DEFAULT NAME
       
    27 
       
    28 *** This template follows the Symbian Foundation coding conventions.
       
    29 *** Remove all unneeded declarations and definitions before checking 
       
    30 *** the file in!  Also remove the template's usage instructions, that is, 
       
    31 *** everything that begins with "***".
       
    32 
       
    33 *** The copyright years should be < the year of the file's creation >
       
    34 *** - < the year of the file's latest update >.
       
    35 
       
    36 *** Words that begin with "?" are for you to replace with your own
       
    37 *** identifiers, filenames, or comments.
       
    38 
       
    39 *** Filenames and pathnames must be completely in lowercase.
       
    40 
       
    41 *** Commands must be preceded by exactly one tab character.  Commands
       
    42 *** can continue to the next line if the last character on the line is
       
    43 *** \.
       
    44 
       
    45 
       
    46 ifeq (WINS,$(findstring WINS, $(PLATFORM)))
       
    47 ZDIR=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\z
       
    48 else
       
    49 ZDIR=$(EPOCROOT)epoc32\data\z
       
    50 endif
       
    51 
       
    52 TARGETDIR=$(ZDIR)\resource\apps
       
    53 ICONTARGETFILENAME=$(TARGETDIR)\?smallmyapp_extraicons.mif
       
    54 
       
    55 HEADERDIR=\epoc32\include
       
    56 HEADERFILENAME=$(HEADERDIR)\?smallmyapp_extraicons.mbg
       
    57 
       
    58 
       
    59 do_nothing :
       
    60 	@rem do_nothing
       
    61 
       
    62 MAKMAKE : do_nothing
       
    63 
       
    64 BLD : do_nothing
       
    65 
       
    66 CLEAN :
       
    67 	@if exist $(ICONTARGETFILENAME) erase $(ICONTARGETFILENAME)
       
    68 	@if exist $(HEADERFILENAME) erase $(HEADERFILENAME)
       
    69 
       
    70 LIB : do_nothing
       
    71 
       
    72 CLEANLIB : do_nothing
       
    73 
       
    74 RESOURCE : $(ICONTARGETFILENAME)
       
    75 
       
    76 $(ICONTARGETFILENAME) (HEADERFILENAME) : qgn_?smallmyapp_icon_1.svg qgn_?smallmyapp_icon_2.svg
       
    77 	mifconv $(ICONTARGETFILENAME) /h$(HEADERFILENAME) \
       
    78 		/c8,8 qgn_?smallmyapp_icon_1.svg \
       
    79 		/c8,8 qgn_?smallmyapp_icon_2.svg
       
    80 
       
    81 FREEZE : do_nothing
       
    82 
       
    83 SAVESPACE : do_nothing
       
    84 
       
    85 RELEASABLES :
       
    86 	@echo $(HEADERFILENAME) && \
       
    87 	@echo $(ICONTARGETFILENAME)
       
    88 
       
    89 FINAL : do_nothing