skins/AknSkinContent/group/skingenerator.flm
author Simon Howkins <simonh@symbian.org>
Wed, 07 Apr 2010 13:02:45 +0100
branchRCL_3
changeset 39 cd0a5a660373
parent 38 a10f447f38bd
parent 18 fb2ed189af9c
child 41 1ba0ae28b9ab
permissions -rw-r--r--
Re-merge NVGRenderStage component, fixes for Bug 1410 and Bug 26, and "theme generation" changes into latest drop from Nokia.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
     1
#
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
     2
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
     3
# All rights reserved.
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
     4
# This component and the accompanying materials are made available
2
abcbdabaa4c5 Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents: 0
diff changeset
     5
# under the terms of "Eclipse Public License v1.0"
7
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
     6
# which accompanies this distribution, and is available
2
abcbdabaa4c5 Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents: 0
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
7
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
     8
#
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
     9
# Initial Contributors:
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    10
# Nokia Corporation - initial contribution.
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    11
#
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    12
# Contributors:
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    13
#
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    14
# Description:
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    15
#
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    16
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    17
# ============================================================================
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    18
# skingenerator.flm
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    19
# This flm will generate both .skn and also .mif files
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    20
#
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    21
# Header file exporting Function Like Makefile (FLM)
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    22
# The file destinations  relative to EPOCROOT
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    23
# ============================================================================
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    24
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    25
## Parameters that are expected
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    26
# AKNSSKINNAME
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    27
# AKNSSKINREALNAME
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    28
# AKNSSKINUID
38
a10f447f38bd Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents: 2
diff changeset
    29
# INPUTBMPS (to be specified in the bld.inf as 'no' if it doesn't has bmps as input); by default assumes that it uses bmps as input
7
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    30
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    31
CREATABLEPATHS:=
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    32
CLEANTARGETS:=
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    33
TARGETDIRS:=
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    34
RELEASEABLES:=
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    35
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    36
# Check if all the inputs are present
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    37
$(if $(AKNSSKINNAME),,$(error Must define AKNSSKINNAME))
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    38
$(if $(AKNSSKINREALNAME),,$(error Must define AKNSSKINREALNAME))
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    39
$(if $(AKNSSKINUID),,$(error Must define AKNSSKINUID))
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    40
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    41
# AKNSTARGETDIR    --> to copy .skn files
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    42
# AKNSBMPTARGETDIR --> to copy .mif/.mbm files
10
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
    43
#MattD 20091208 - Would be prettier if I generated these, but I'm short on time...
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
    44
AKNSTARGETDIR:=$(EPOCROOT)/epoc32/data/z/private/10207114/import/$(AKNSSKINUID)
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
    45
AKNSTARGETDIR:=${AKNSTARGETDIR} $(EPOCROOT)/epoc32/release/winscw/udeb/z/private/10207114/import/$(AKNSSKINUID)
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
    46
AKNSTARGETDIR:=${AKNSTARGETDIR} $(EPOCROOT)/epoc32/release/winscw/urel/z/private/10207114/import/$(AKNSSKINUID)
7
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    47
10
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
    48
AKNSBMPTARGETDIR:=$(EPOCROOT)/epoc32/data/z/resource/skins/$(AKNSSKINUID)
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
    49
AKNSBMPTARGETDIR:=${AKNSBMPTARGETDIR} $(EPOCROOT)/epoc32/release/winscw/udeb/z/resource/skins/$(AKNSSKINUID)
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
    50
AKNSBMPTARGETDIR:=${AKNSBMPTARGETDIR} $(EPOCROOT)/epoc32/release/winscw/urel/z/resource/skins/$(AKNSSKINUID)
7
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    51
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    52
CREATABLEPATHS:=$(AKNSTARGETDIR) $(AKNSBMPTARGETDIR)
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    53
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    54
# By default
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    55
#AKNSGENDIR:=
10
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
    56
AKNSDATAGENDIR:=$(EPOCROOT)/epoc32/build/generated/skins/$(AKNSSKINNAME)/data
7
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    57
AKNSTARGETDIR:=$(subst //,/,$(AKNSTARGETDIR))
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    58
AKNSBMPTARGETDIR:=$(subst //,/,$(AKNSBMPTARGETDIR))
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    59
AKNSSRCDIR:=$(subst //,/,$(AKNSSRCDIR))
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    60
AKNSGENDIR:=$(subst //,/,$(AKNSGENDIR))
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    61
EPOCTOOLS:=$(subst //,/,$(EPOCTOOLS))
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    62
10
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
    63
TARGETSKN:=$(subst //,/,$(patsubst %, %/$(notdir $(AKNSSKINREALNAME).skn),$(AKNSTARGETDIR)))
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
    64
TARGETMIF:=$(subst //,/,$(patsubst %, %/$(notdir $(AKNSSKINREALNAME).mif),$(AKNSBMPTARGETDIR)))
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
    65
TARGETMBM:=$(subst //,/,$(patsubst %, %/$(notdir $(AKNSSKINREALNAME).mbm),$(AKNSBMPTARGETDIR)))
7
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    66
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    67
CREATABLEPATHS:=$(CREATABLEPATHS) $(AKNSGENDIR) $(AKNSDATAGENDIR)
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    68
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    69
ifeq ($(SKINDEBUG),0)
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    70
$(info <AKNSSKINREALNAME aknsskinrealname=$(AKNSSKINREALNAME)'/>)
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    71
$(info <TARGETSKN targetskn='$(TARGETSKN)'/>)
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    72
$(info <TARGETMIF targetmif='$(TARGETMIF)'/>)
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    73
$(info <AKNSSRCDIR aknssrcdir='$(AKNSSRCDIR)'/>)
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    74
$(info <AKNSDATAGENDIR aknsdatagendir='$(AKNSDATAGENDIR)'/>)
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    75
$(info <CREATABLEPATHS creatablepaths='$(CREATABLEPATHS)'/>)
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    76
endif
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    77
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    78
SKNMIFGUARD:=$(call sanitise,TARGET_$(TARGETMIF))
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    79
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    80
define generatesknandmif
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    81
$(SKNMIFGUARD):=1
38
a10f447f38bd Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents: 2
diff changeset
    82
RELEASEABLES:=$(TARGETSKN) $(TARGETMIF)
a10f447f38bd Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents: 2
diff changeset
    83
ifeq ($(INPUTBMPS),yes)
39
cd0a5a660373 Re-merge NVGRenderStage component, fixes for Bug 1410 and Bug 26, and "theme generation" changes into latest drop from Nokia.
Simon Howkins <simonh@symbian.org>
parents: 38 18
diff changeset
    84
RELEASEABLES:=$(RELEASEABLES) $(TARGETMBM)
38
a10f447f38bd Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents: 2
diff changeset
    85
endif
7
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    86
39
cd0a5a660373 Re-merge NVGRenderStage component, fixes for Bug 1410 and Bug 26, and "theme generation" changes into latest drop from Nokia.
Simon Howkins <simonh@symbian.org>
parents: 38 18
diff changeset
    87
BITMAP:: $(RELEASEABLES)
7
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    88
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
    89
$(TARGETMIF) : $(AKNSDATAGENDIR)/$(AKNSSKINREALNAME).mif
10
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
    90
	$(call startrule,mifcopy,FORCESUCCESS) \
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
    91
	$(GNUCP) '$(AKNSDATAGENDIR)/$(AKNSSKINREALNAME).mif' '$$@' \
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
    92
	$(call endrule,mifcopy)
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
    93
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
    94
$(TARGETSKN) : $(AKNSDATAGENDIR)/$(AKNSSKINREALNAME).skn
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
    95
	$(call startrule,skincopy,FORCESUCCESS) \
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
    96
	$(GNUCP) '$(AKNSDATAGENDIR)/$(AKNSSKINREALNAME).skn' '$$@' \
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
    97
	$(call endrule,skincopy)
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
    98
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
    99
$(TARGETMBM) : $(AKNSDATAGENDIR)/$(AKNSSKINREALNAME).mbm 
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
   100
	$(call startrule,mbmcopy,FORCESUCCESS) \
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
   101
	$(GNUCP) '$(AKNSDATAGENDIR)/$(AKNSSKINREALNAME).mbm' '$$@' \
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
   102
	$(call endrule,mbmcopy)
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
   103
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
   104
# Quick patch to get it to do the right thing...
196070facf6d partial candidate fix for 'Bug 1410 - AknSkinContent exports into it's own source tree.'
MattD <mattd@symbian.org>
parents: 9
diff changeset
   105
$(AKNSDATAGENDIR)/$(AKNSSKINREALNAME).mbm : $(AKNSDATAGENDIR)/$(AKNSSKINREALNAME).mif 
7
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   106
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   107
$(AKNSDATAGENDIR)/$(AKNSSKINREALNAME).skn : $(SKINCOMPILER) $(AKNSSRCDIR)/$(AKNSSKINNAME).txt
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   108
	$(call startrule,generateskn,FORCESUCCESS) \
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   109
	cd $(AKNSSRCDIR) && $(SKINCOMPILER) -m$(AKNSDATAGENDIR) -t$(AKNSDATAGENDIR) $(AKNSSKINNAME).txt $(AKNSSKINREALNAME) \
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   110
	$(call endrule,generateskn)
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   111
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   112
#Add the temporary files to the cleanlist
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   113
CLEANTARGETS:=$$(CLEANTARGETS) $(addprefix $(AKNSDATAGENDIR)/,$(addprefix $(AKNSSKINREALNAME),.skn .pkg _MIFlist.txt))
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   114
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   115
$(AKNSDATAGENDIR)/$(AKNSSKINREALNAME).mif : $(MIFTOOL) $(AKNSDATAGENDIR)/$(AKNSSKINREALNAME).skn
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   116
	$(call startrule,generatemif,FORCESUCCESS)\
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   117
	cd $(AKNSSRCDIR) && \
9
474f4af27473 Fix mif generation by creating directly in target location
Shabe Razvi <shaber@symbian.org>
parents: 8
diff changeset
   118
	$(MIFTOOL) $(AKNSDATAGENDIR)/$(AKNSSKINREALNAME).mif -V$(SVGENCODINGVERSION) -F$(AKNSDATAGENDIR)/$(AKNSSKINREALNAME)_MIFList.txt \
7
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   119
	$(call endrule,generatemif)
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   120
38
a10f447f38bd Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents: 2
diff changeset
   121
CLEANTARGETS:=$$(CLEANTARGETS) $$(RELEASEABLES) $(AKNSDATAGENDIR)/$(AKNSSKINREALNAME).mif
a10f447f38bd Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents: 2
diff changeset
   122
ifeq ($(INPUTBMPS),yes)
a10f447f38bd Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents: 2
diff changeset
   123
CLEANTARGETS:=$$(CLEANTARGETS) $(AKNSDATAGENDIR)/$(AKNSSKINREALNAME).mbm
a10f447f38bd Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents: 2
diff changeset
   124
endif
7
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   125
endef
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   126
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   127
ifeq ($($(SKNMIFGUARD)),)
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   128
$(eval -$(generatesknandmif))
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   129
endif
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   130
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   131
# Create dirs
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   132
$(call makepath,$(CREATABLEPATHS))
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   133
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   134
# Clean up
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   135
$(eval $(call GenerateStandardCleanTarget,$(CLEANTARGETS)))
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   136
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   137
# for the abld -what target
0e56b59e4580 Converted Lorenzo's change to unix line-endings for eaiser diffing
MattD <mattd@symbian.org>
parents: 6
diff changeset
   138
$(eval $(call whatmacro,$(RELEASEABLES),WHATBITMAP))