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