|
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 # |
|
16 |
|
17 |
|
18 # ---------------------------------------------------------------------------- |
|
19 # Inspect platform variables to find out root of the Z drive. |
|
20 # ---------------------------------------------------------------------------- |
|
21 ifeq (WINS,$(findstring WINS, $(PLATFORM))) |
|
22 ZDIR=\epoc32\release\$(PLATFORM)\$(CFG)\Z |
|
23 else |
|
24 ZDIR=\epoc32\data\z |
|
25 endif |
|
26 |
|
27 # ---------------------------------------------------------------------------- |
|
28 # Inspect the SECURITY_FLAG to find out target directories for bitmaps. |
|
29 # ---------------------------------------------------------------------------- |
|
30 ifeq ($(SECURITY_FLAG), off) |
|
31 AIF_TARGETDIR=$(ZDIR)\SYSTEM\APPS\Phonebook |
|
32 MIF_TARGETDIR=$(ZDIR)\SYSTEM\Data |
|
33 else |
|
34 AIF_TARGETDIR=$(ZDIR)\resource\apps |
|
35 MIF_TARGETDIR=$(ZDIR)\resource\apps |
|
36 endif |
|
37 |
|
38 # ---------------------------------------------------------------------------- |
|
39 # Define the icon and header files using directories defined above |
|
40 # ---------------------------------------------------------------------------- |
|
41 HEADERDIR=\epoc32\include |
|
42 AIF_ICONFILE=$(AIF_TARGETDIR)\phonebook_aif.mif |
|
43 MIF_ICONFILE=$(MIF_TARGETDIR)\phonebook.mif |
|
44 MIF_HEADERFILE=$(HEADERDIR)\phonebook.mbg |
|
45 |
|
46 # ---------------------------------------------------------------------------- |
|
47 # Inspect the SCALABLE_FLAG to decide which bitmaps will be used |
|
48 # ---------------------------------------------------------------------------- |
|
49 ifeq ($(SCALABLE_FLAG), off) |
|
50 AIF_APPLICATION_ICON=/c8,8 qgn_menu_phob_lst /c8,8 qgn_menu_phob_cxt |
|
51 AIF_APPLICATION_CONTEXT_ICON=/c8,8 qgn_menu_phob_cxt |
|
52 else |
|
53 AIF_APPLICATION_ICON=/c8,8 qgn_menu_phob |
|
54 AIF_APPLICATION_CONTEXT_ICON=/c8,8 qgn_menu_phob |
|
55 endif |
|
56 |
|
57 # ---------------------------------------------------------------------------- |
|
58 # Empty rules |
|
59 # ---------------------------------------------------------------------------- |
|
60 |
|
61 do_nothing : |
|
62 @rem do_nothing |
|
63 |
|
64 MAKMAKE : do_nothing |
|
65 |
|
66 BLD : do_nothing |
|
67 |
|
68 CLEAN : do_nothing |
|
69 |
|
70 LIB : do_nothing |
|
71 |
|
72 CLEANLIB : do_nothing |
|
73 |
|
74 # ---------------------------------------------------------------------------- |
|
75 # NOTE 1: DO NOT DEFINE MASK FILE NAMES! They are included automatically by |
|
76 # MifConv if the mask detph is defined. |
|
77 # |
|
78 # NOTE 2: Usually, source paths should not be included in the bitmap |
|
79 # definitions. MifConv searches for the icons in all icon directories in a |
|
80 # predefined order, which is currently \s60\icons, \s60\bitmaps2, \s60\bitmaps. |
|
81 # The directory \s60\icons is included in the search only if the feature flag |
|
82 # __SCALABLE_ICONS is defined. |
|
83 # ---------------------------------------------------------------------------- |
|
84 |
|
85 RESOURCE : AIFICONS MIFICONS |
|
86 |
|
87 AIFICONS : |
|
88 mifconv $(AIF_ICONFILE) \ |
|
89 $(AIF_APPLICATION_ICON) |
|
90 |
|
91 MIFICONS : |
|
92 mifconv $(MIF_ICONFILE) /h$(MIF_HEADERFILE) \ |
|
93 /c8,1 qgn_prop_nrtyp_date \ |
|
94 /c8,1 qgn_prop_nrtyp_tone \ |
|
95 /c8,1 qgn_prop_nrtyp_video \ |
|
96 /c8,1 qgn_indi_qdial_add \ |
|
97 /c8,1 qgn_indi_voice_add \ |
|
98 /c8,8 qgn_prop_note_list_alpha_tab2 \ |
|
99 /c8,1 qgn_prop_group_tab2 \ |
|
100 /c8,1 qgn_prop_group_open_tab1 \ |
|
101 /c8,8 qgn_prop_pb_contacts_tab1 \ |
|
102 /c8,1 qgn_prop_pb_contacts_tab3 \ |
|
103 /c8,1 qgn_prop_pb_personal_tab4 \ |
|
104 /c8,1 qgn_prop_pb_photo_tab3 \ |
|
105 /c8,1 qgn_graf_pb_status_backg \ |
|
106 /c8,1 qgn_menu_empty_cxt \ |
|
107 $(AIF_APPLICATION_CONTEXT_ICON) \ |
|
108 /c8,1 qgn_prop_empty \ |
|
109 /c8,8 qgn_graf_bg_phob_thumbnail \ |
|
110 /c8,8 qgn_prop_nrtyp_poc \ |
|
111 /c8,8 qgn_prop_nrtyp_swis \ |
|
112 /c8,8 qgn_prop_nrtyp_sip \ |
|
113 /c8,8 qgn_prop_nrtyp_assistant \ |
|
114 /c8,8 qgn_prop_nrtyp_car |
|
115 |
|
116 |
|
117 FREEZE : do_nothing |
|
118 |
|
119 SAVESPACE : do_nothing |
|
120 |
|
121 RELEASABLES : |
|
122 @echo $(AIF_ICONFILE) && \ |
|
123 @echo $(MIF_HEADERFILE) && \ |
|
124 @echo $(MIF_ICONFILE) |
|
125 |
|
126 FINAL : do_nothing |
|
127 |
|
128 # End of File |