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