|
1 # |
|
2 # Copyright (c) 2003 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 # Phonebook 2 USIM UI Extension icons makefile. |
|
16 # =========================================================================== |
|
17 # |
|
18 |
|
19 |
|
20 # --------------------------------------------------------------------------- |
|
21 # Inspect platform variables to find out root of the Z drive. |
|
22 # --------------------------------------------------------------------------- |
|
23 ifeq (WINS,$(findstring WINS, $(PLATFORM))) |
|
24 ZDIR=\epoc32\release\$(PLATFORM)\$(CFG)\Z |
|
25 else |
|
26 ZDIR=\epoc32\data\z |
|
27 endif |
|
28 |
|
29 # --------------------------------------------------------------------------- |
|
30 # Set target directories for the icons. |
|
31 #---------------------------------------------------------------------------- |
|
32 |
|
33 MIF_TARGETDIR=$(ZDIR)\resource\apps |
|
34 |
|
35 # --------------------------------------------------------------------------- |
|
36 # Define the icon and header files using directories defined above. |
|
37 # --------------------------------------------------------------------------- |
|
38 HEADERDIR=\epoc32\include |
|
39 MIF_ICONFILE=$(MIF_TARGETDIR)\psu2.mif |
|
40 MIF_HEADERFILE=$(HEADERDIR)\psu2.mbg |
|
41 |
|
42 # --------------------------------------------------------------------------- |
|
43 # Inspect the SCALABLE_FLAG to decide which bitmaps will be used. |
|
44 # --------------------------------------------------------------------------- |
|
45 ifeq ($(SCALABLE_FLAG), off) |
|
46 SIMIN_CONTEXT_ICON=/c8,8 qgn_menu_simin_cxt |
|
47 SIMFDN_CONTEXT_ICON=/c8,8 qgn_menu_simfdn_cxt |
|
48 else |
|
49 SIMIN_CONTEXT_ICON=/c8,8 qgn_menu_simin |
|
50 SIMFDN_CONTEXT_ICON=/c8,8 qgn_menu_simfdn |
|
51 endif |
|
52 |
|
53 # --------------------------------------------------------------------------- |
|
54 # Empty rules. |
|
55 # --------------------------------------------------------------------------- |
|
56 do_nothing : |
|
57 @rem do_nothing |
|
58 |
|
59 MAKMAKE : do_nothing |
|
60 |
|
61 BLD : do_nothing |
|
62 |
|
63 CLEAN : do_nothing |
|
64 |
|
65 LIB : do_nothing |
|
66 |
|
67 CLEANLIB : do_nothing |
|
68 |
|
69 # --------------------------------------------------------------------------- |
|
70 # NOTE 1: DO NOT DEFINE MASK FILE NAMES! They are included automatically by |
|
71 # MifConv if the mask detph is defined. |
|
72 # |
|
73 # NOTE 2: Usually, source paths should not be included in the bitmap |
|
74 # definitions. MifConv searches for the icons in all icon directories in a |
|
75 # predefined order, which is currently \s60\icons, \s60\bitmaps2, |
|
76 # \s60\bitmaps. |
|
77 # The directory \s60\icons is included in the search only if the feature |
|
78 # flag __SCALABLE_ICONS is defined. |
|
79 # --------------------------------------------------------------------------- |
|
80 |
|
81 RESOURCE : MIFICONS |
|
82 |
|
83 MIFICONS : |
|
84 mifconv $(MIF_ICONFILE) /h$(MIF_HEADERFILE) \ |
|
85 /c8,1 qgn_prop_nrtyp_sdn \ |
|
86 /c8,8 qgn_prop_nrtyp_sim_contact \ |
|
87 $(SIMIN_CONTEXT_ICON) \ |
|
88 $(SIMFDN_CONTEXT_ICON) |
|
89 FREEZE : do_nothing |
|
90 |
|
91 SAVESPACE : do_nothing |
|
92 |
|
93 RELEASABLES : |
|
94 @echo $(MIF_HEADERFILE) && \ |
|
95 @echo $(MIF_ICONFILE) |
|
96 |
|
97 FINAL : do_nothing |
|
98 |
|
99 # End of File |