|
1 # |
|
2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 # All rights reserved. |
|
4 # This component and the accompanying materials are made available |
|
5 # under the terms of "Eclipse Public License v1.0" |
|
6 # which accompanies this distribution, and is available |
|
7 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 # |
|
9 # Initial Contributors: |
|
10 # Nokia Corporation - initial contribution. |
|
11 # |
|
12 # Contributors: |
|
13 # |
|
14 # Description: |
|
15 # |
|
16 |
|
17 # ====================================================================== |
|
18 # Makefile for Scalable Series 60 Skin |
|
19 # ====================================================================== |
|
20 |
|
21 # Name of the skin (used in source filename and directories) |
|
22 AKNSSKINNAME = scalableseries60skin |
|
23 # Real name (used in file names) |
|
24 AKNSSKINREALNAME = series60skin |
|
25 |
|
26 # UID of the skin (used in directory and file names) |
|
27 # NOTE: This is the UID for Scalable System Default Skin |
|
28 # A&H is included within the same file skin, not separately |
|
29 AKNSSKINUID = 101f84b9 |
|
30 |
|
31 # ====================================================================== |
|
32 # Usually nothing to change below this line |
|
33 # Makefile template: (special, scalable skin located in ROM) |
|
34 # ====================================================================== |
|
35 |
|
36 AKNSSRCDIR = ..\srcdata\$(AKNSSKINNAME) |
|
37 AKNSGENDIR = ..\..\generated\$(AKNSSKINNAME) |
|
38 |
|
39 AKNSDATAGENDIR = $(AKNSGENDIR)\data |
|
40 |
|
41 AKNSCOMPILER = \epoc32\release\tools\rel\AknSkinDescCompiler_NR.EXE |
|
42 ERASE = @erase 2>>nul |
|
43 |
|
44 USERELEASETREE = NO |
|
45 |
|
46 ifeq "WINS" "$(PLATFORM)" |
|
47 USERELEASETREE = YES |
|
48 endif |
|
49 ifeq "WINSCW" "$(PLATFORM)" |
|
50 USERELEASETREE = YES |
|
51 endif |
|
52 |
|
53 ifeq "YES" "$(USERELEASETREE)" |
|
54 ifeq "UDEB" "$(CFG)" |
|
55 AKNSTARGETDIR = \epoc32\release\$(PLATFORM)\udeb\z\private\10207114\import\$(AKNSSKINUID) |
|
56 AKNSBMPTARGETDIR = \epoc32\release\$(PLATFORM)\udeb\z\resource\skins\$(AKNSSKINUID) |
|
57 else |
|
58 AKNSTARGETDIR = \epoc32\release\$(PLATFORM)\urel\z\private\10207114\import\$(AKNSSKINUID) |
|
59 AKNSBMPTARGETDIR = \epoc32\release\$(PLATFORM)\urel\z\resource\skins\$(AKNSSKINUID) |
|
60 endif |
|
61 else |
|
62 AKNSTARGETDIR = \epoc32\data\z\private\10207114\import\$(AKNSSKINUID) |
|
63 AKNSBMPTARGETDIR = \epoc32\data\z\resource\skins\$(AKNSSKINUID) |
|
64 endif |
|
65 |
|
66 do_nothing : |
|
67 @rem do_nothing |
|
68 |
|
69 MAKMAKE : |
|
70 cd $(AKNSSRCDIR) && \ |
|
71 perl -S emkdir.pl $(AKNSGENDIR) && \ |
|
72 perl -S emkdir.pl $(AKNSDATAGENDIR) && \ |
|
73 perl -S emkdir.pl $(AKNSTARGETDIR) && \ |
|
74 perl -S emkdir.pl $(AKNSBMPTARGETDIR) && \ |
|
75 $(AKNSCOMPILER) -m$(AKNSDATAGENDIR) -t$(AKNSDATAGENDIR) $(AKNSSKINNAME).txt $(AKNSSKINREALNAME) |
|
76 |
|
77 BLD : do_nothing |
|
78 |
|
79 CLEAN : |
|
80 cd $(AKNSSRCDIR) && \ |
|
81 $(ERASE) "$(AKNSDATAGENDIR)\$(AKNSSKINREALNAME)_MIFList.txt" && \ |
|
82 $(ERASE) "$(AKNSDATAGENDIR)\$(AKNSSKINREALNAME).mbm" && \ |
|
83 $(ERASE) "$(AKNSDATAGENDIR)\$(AKNSSKINREALNAME).mif" && \ |
|
84 $(ERASE) "$(AKNSDATAGENDIR)\$(AKNSSKINREALNAME).skn" && \ |
|
85 $(ERASE) "$(AKNSDATAGENDIR)\$(AKNSSKINREALNAME).pkg" && \ |
|
86 $(ERASE) "$(AKNSDATAGENDIR)\$(AKNSSKINREALNAME).sis" && \ |
|
87 $(ERASE) "$(AKNSTARGETDIR)\$(AKNSSKINREALNAME).sis" && \ |
|
88 $(ERASE) "$(AKNSBMPTARGETDIR)\$(AKNSSKINREALNAME).mbm" && \ |
|
89 $(ERASE) "$(AKNSBMPTARGETDIR)\$(AKNSSKINREALNAME).mif" |
|
90 |
|
91 |
|
92 LIB : do_nothing |
|
93 |
|
94 CLEANLIB : do_nothing |
|
95 |
|
96 RESOURCE : |
|
97 cd $(AKNSSRCDIR) && \ |
|
98 mifconv $(AKNSSKINREALNAME).mif /F$(AKNSDATAGENDIR)\$(AKNSSKINREALNAME)_MIFList.txt && \ |
|
99 MifToCdlIndex -p..\..\srcdata\scalableseries60skin\MifIndexDll -s $(AKNSSKINREALNAME).mif $(AKNSSKINREALNAME)IndexDll 0x$(AKNSSKINUID) && \ |
|
100 perl -S ecopyfile.pl $(AKNSSKINREALNAME).mbm $(AKNSDATAGENDIR)\$(AKNSSKINREALNAME).mbm && \ |
|
101 perl -S ecopyfile.pl $(AKNSSKINREALNAME).mif $(AKNSDATAGENDIR)\$(AKNSSKINREALNAME).mif && \ |
|
102 $(ERASE) $(AKNSSKINREALNAME).mbm && \ |
|
103 $(ERASE) $(AKNSSKINREALNAME).mif |
|
104 |
|
105 FREEZE : do_nothing |
|
106 |
|
107 SAVESPACE : do_nothing |
|
108 |
|
109 RELEASABLES : do_nothing |
|
110 |
|
111 FINAL : |
|
112 cd $(AKNSSRCDIR) && \ |
|
113 perl -S emkdir.pl $(AKNSTARGETDIR) && \ |
|
114 perl -S ecopyfile.pl $(AKNSDATAGENDIR)\$(AKNSSKINREALNAME).mbm $(AKNSBMPTARGETDIR)\$(AKNSSKINREALNAME).mbm && \ |
|
115 perl -S ecopyfile.pl $(AKNSDATAGENDIR)\$(AKNSSKINREALNAME).mif $(AKNSBMPTARGETDIR)\$(AKNSSKINREALNAME).mif && \ |
|
116 perl -S ecopyfile.pl $(AKNSDATAGENDIR)\$(AKNSSKINREALNAME).skn $(AKNSTARGETDIR)\$(AKNSSKINREALNAME).skn |