author | Dario Sestito <darios@symbian.org> |
Fri, 19 Nov 2010 15:21:06 +0000 | |
branch | RCL_3 |
changeset 129 | 67a72ace5294 |
parent 127 | 99f54a3c8e3f |
permissions | -rw-r--r-- |
0
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
1 |
# |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
2 |
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
3 |
# All rights reserved. |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
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" |
0
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
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". |
0
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
8 |
# |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
9 |
# Initial Contributors: |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
10 |
# Nokia Corporation - initial contribution. |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
11 |
# |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
12 |
# Contributors: |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
13 |
# |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
14 |
# Description: |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
15 |
# |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
16 |
|
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
17 |
# ============================================================================ |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
18 |
# skingenerator.flm |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
19 |
# This flm will generate both .skn and also .mif files |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
20 |
# |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
21 |
# Header file exporting Function Like Makefile (FLM) |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
22 |
# The file destinations relative to EPOCROOT |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
23 |
# ============================================================================ |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
24 |
|
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
25 |
## Parameters that are expected |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
26 |
# AKNSSKINNAME |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
27 |
# AKNSSKINREALNAME |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
28 |
# AKNSSKINUID |
107 | 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 |
0
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
30 |
|
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
31 |
CREATABLEPATHS:= |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
32 |
CLEANTARGETS:= |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
33 |
TARGETDIRS:= |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
34 |
RELEASEABLES:= |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
35 |
|
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
36 |
# Check if all the inputs are present |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
37 |
$(if $(AKNSSKINNAME),,$(error Must define AKNSSKINNAME)) |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
38 |
$(if $(AKNSSKINREALNAME),,$(error Must define AKNSSKINREALNAME)) |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
39 |
$(if $(AKNSSKINUID),,$(error Must define AKNSSKINUID)) |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
40 |
|
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
41 |
# AKNSTARGETDIR --> to copy .skn files |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
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) |
0
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
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) |
0
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
51 |
|
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
52 |
CREATABLEPATHS:=$(AKNSTARGETDIR) $(AKNSBMPTARGETDIR) |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
53 |
|
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
54 |
# By default |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
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 |
0
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
57 |
AKNSTARGETDIR:=$(subst //,/,$(AKNSTARGETDIR)) |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
58 |
AKNSBMPTARGETDIR:=$(subst //,/,$(AKNSBMPTARGETDIR)) |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
59 |
AKNSSRCDIR:=$(subst //,/,$(AKNSSRCDIR)) |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
60 |
AKNSGENDIR:=$(subst //,/,$(AKNSGENDIR)) |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
61 |
EPOCTOOLS:=$(subst //,/,$(EPOCTOOLS)) |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
62 |
|
44
14a1a9556453
Added another $ so that turning on MBM output won't remove everything else from the lit of releaseables.
Simon Howkins <simonh@symbian.org>
parents:
41
diff
changeset
|
63 |
TARGETSKN:=$(subst //,/,$(patsubst %,%/$(notdir $(AKNSSKINREALNAME).skn),$(AKNSTARGETDIR))) |
14a1a9556453
Added another $ so that turning on MBM output won't remove everything else from the lit of releaseables.
Simon Howkins <simonh@symbian.org>
parents:
41
diff
changeset
|
64 |
TARGETMIF:=$(subst //,/,$(patsubst %,%/$(notdir $(AKNSSKINREALNAME).mif),$(AKNSBMPTARGETDIR))) |
14a1a9556453
Added another $ so that turning on MBM output won't remove everything else from the lit of releaseables.
Simon Howkins <simonh@symbian.org>
parents:
41
diff
changeset
|
65 |
TARGETMBM:=$(subst //,/,$(patsubst %,%/$(notdir $(AKNSSKINREALNAME).mbm),$(AKNSBMPTARGETDIR))) |
0
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
66 |
|
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
67 |
CREATABLEPATHS:=$(CREATABLEPATHS) $(AKNSGENDIR) $(AKNSDATAGENDIR) |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
68 |
|
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
69 |
ifeq ($(SKINDEBUG),0) |
41
1ba0ae28b9ab
Added a $ when referencing RELEASEABLES inside the "generatesknandmif" define directive so that it expands correctly at the right time, and the skin builds.
Simon Howkins <simonh@symbian.org>
parents:
39
diff
changeset
|
70 |
$(info <AKNSSKINREALNAME aknsskinrealname='$(AKNSSKINREALNAME)'/>) |
0
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
71 |
$(info <TARGETSKN targetskn='$(TARGETSKN)'/>) |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
72 |
$(info <TARGETMIF targetmif='$(TARGETMIF)'/>) |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
73 |
$(info <AKNSSRCDIR aknssrcdir='$(AKNSSRCDIR)'/>) |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
74 |
$(info <AKNSDATAGENDIR aknsdatagendir='$(AKNSDATAGENDIR)'/>) |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
75 |
$(info <CREATABLEPATHS creatablepaths='$(CREATABLEPATHS)'/>) |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
76 |
endif |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
77 |
|
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
78 |
SKNMIFGUARD:=$(call sanitise,TARGET_$(TARGETMIF)) |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
79 |
|
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
80 |
define generatesknandmif |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
81 |
$(SKNMIFGUARD):=1 |
107 | 82 |
RELEASEABLES:=$(TARGETSKN) $(TARGETMIF) |
83 |
ifeq ($(INPUTBMPS),yes) |
|
44
14a1a9556453
Added another $ so that turning on MBM output won't remove everything else from the lit of releaseables.
Simon Howkins <simonh@symbian.org>
parents:
41
diff
changeset
|
84 |
RELEASEABLES:=$$(RELEASEABLES) $(TARGETMBM) |
107 | 85 |
endif |
0
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
86 |
|
41
1ba0ae28b9ab
Added a $ when referencing RELEASEABLES inside the "generatesknandmif" define directive so that it expands correctly at the right time, and the skin builds.
Simon Howkins <simonh@symbian.org>
parents:
39
diff
changeset
|
87 |
BITMAP:: $$(RELEASEABLES) |
0
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
88 |
|
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
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 |
107 | 100 |
$(call startrule,mbmcopy,FORCESUCCESS) \ |
10
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' '$$@' \ |
107 | 102 |
$(call endrule,mbmcopy) |
10
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 |
0
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
106 |
|
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
107 |
$(AKNSDATAGENDIR)/$(AKNSSKINREALNAME).skn : $(SKINCOMPILER) $(AKNSSRCDIR)/$(AKNSSKINNAME).txt |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
108 |
$(call startrule,generateskn,FORCESUCCESS) \ |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
109 |
cd $(AKNSSRCDIR) && $(SKINCOMPILER) -m$(AKNSDATAGENDIR) -t$(AKNSDATAGENDIR) $(AKNSSKINNAME).txt $(AKNSSKINREALNAME) \ |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
110 |
$(call endrule,generateskn) |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
111 |
|
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
112 |
#Add the temporary files to the cleanlist |
107 | 113 |
CLEANTARGETS:=$$(CLEANTARGETS) $(addprefix $(AKNSDATAGENDIR)/,$(addprefix $(AKNSSKINREALNAME),.skn .pkg _MIFList.txt)) |
0
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
114 |
|
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
115 |
$(AKNSDATAGENDIR)/$(AKNSSKINREALNAME).mif : $(MIFTOOL) $(AKNSDATAGENDIR)/$(AKNSSKINREALNAME).skn |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
116 |
$(call startrule,generatemif,FORCESUCCESS)\ |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
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 \ |
106
e4e3998ddda2
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
55
diff
changeset
|
119 |
$(call endrule,generatemif) |
0
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
120 |
|
107 | 121 |
CLEANTARGETS:=$$(CLEANTARGETS) $$(RELEASEABLES) $(AKNSDATAGENDIR)/$(AKNSSKINREALNAME).mif |
122 |
ifeq ($(INPUTBMPS),yes) |
|
123 |
CLEANTARGETS:=$$(CLEANTARGETS) $(AKNSDATAGENDIR)/$(AKNSSKINREALNAME).mbm |
|
124 |
endif |
|
0
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
125 |
endef |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
126 |
|
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
127 |
ifeq ($($(SKNMIFGUARD)),) |
127
99f54a3c8e3f
Removed '-' character which was interfering with the operation of the SKNMIFGUARD.
Simon Howkins <simonh@symbian.org>
parents:
108
diff
changeset
|
128 |
$(eval $(generatesknandmif)) |
0
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
129 |
endif |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
130 |
|
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
131 |
# Create dirs |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
132 |
$(call makepath,$(CREATABLEPATHS)) |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
133 |
|
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
134 |
# Clean up |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
135 |
$(eval $(call GenerateStandardCleanTarget,$(CLEANTARGETS))) |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
136 |
|
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
137 |
# for the abld -what target |
05e9090e2422
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
138 |
$(eval $(call whatmacro,$(RELEASEABLES),WHATBITMAP)) |