wvuing/wvuiave/Group/icons.mk
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 #
       
     2 # Copyright (c) 2005 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: Icons makefile for UI
       
    15 #
       
    16 
       
    17 # ----------------------------------------------------------------------------
       
    18 # z root
       
    19 # ----------------------------------------------------------------------------
       
    20 ifeq (WINS,$(findstring WINS, $(PLATFORM)))
       
    21   ZDIR=\epoc32\release\$(PLATFORM)\$(CFG)\z
       
    22 else
       
    23   ZDIR=\epoc32\data\z
       
    24 endif
       
    25 
       
    26 # ----------------------------------------------------------------------------
       
    27 # targets
       
    28 # ----------------------------------------------------------------------------
       
    29 MIF_HEADERDIR=\epoc32\include
       
    30 MIF_TARGETDIR=$(ZDIR)\resource\apps
       
    31 AIF_TARGETDIR=$(ZDIR)\resource\apps
       
    32 
       
    33 MIF_HEADERFILENAME=$(MIF_HEADERDIR)\chatNG.mbg
       
    34 MIF_TARGETFILENAME=$(MIF_TARGETDIR)\chatNG.mif
       
    35 AIF_TARGETFILENAME=$(AIF_TARGETDIR)\chatNG_aif.mif
       
    36 
       
    37 # ----------------------------------------------------------------------------
       
    38 # icons that need to have different names when using bitmaps
       
    39 # ----------------------------------------------------------------------------
       
    40 ifeq ($(SCALABLE_ICONS), off)
       
    41   AIF_APPLICATION_ICON=/c8,8 qgn_menu_im_lst /c8,8 qgn_menu_im_cxt
       
    42   APPLICATION_CONTEXT_ICONS=\
       
    43         /c8,8 qgn_menu_im_on_cxt\
       
    44         /c8,8 qgn_menu_im_off_cxt\
       
    45         /c8,8 qgn_menu_im_away_cxt\
       
    46         /c8,8 qgn_menu_im_invisible_cxt\
       
    47         /c8,8 qgn_menu_im_busy_cxt
       
    48 else
       
    49   AIF_APPLICATION_ICON=/c8,8 qgn_menu_im
       
    50   APPLICATION_CONTEXT_ICONS=\
       
    51         /c8,8 qgn_menu_im_on\
       
    52         /c8,8 qgn_menu_im_off\
       
    53         /c8,8 qgn_menu_im_away\
       
    54         /c8,8 qgn_menu_im_invisible\
       
    55         /c8,8 qgn_menu_im_busy
       
    56 endif
       
    57 
       
    58 # ----------------------------------------------------------------------------
       
    59 # empty rules 
       
    60 # ----------------------------------------------------------------------------
       
    61 do_nothing :
       
    62 	@rem do_nothing
       
    63 
       
    64 MAKMAKE : do_nothing
       
    65 
       
    66 BLD : do_nothing
       
    67 
       
    68 CLEAN : 
       
    69 	if exist $(MIF_HEADERFILENAME) erase $(MIF_HEADERFILENAME)
       
    70 	if exist $(MIF_TARGETFILENAME) erase $(MIF_TARGETFILENAME)
       
    71 	if exist $(AIF_TARGETFILENAME) erase $(AIF_TARGETFILENAME)
       
    72 
       
    73 
       
    74 LIB : do_nothing
       
    75 
       
    76 CLEANLIB : do_nothing
       
    77 
       
    78 # ----------------------------------------------------------------------------
       
    79 # NOTE 1: DO NOT DEFINE MASK FILE NAMES! They are included automatically by
       
    80 # MifConv if the mask detph is defined.
       
    81 #
       
    82 # NOTE 2: Usually, source paths should not be included in the bitmap
       
    83 # definitions. MifConv searches for the icons in all icon directories in a
       
    84 # predefined order, which is currently \s60\icons, \s60\bitmaps2, \s60\bitmaps.
       
    85 # The directory \s60\icons is included in the search only if the feature flag
       
    86 # __SCALABLE_ICONS is defined.
       
    87 # ----------------------------------------------------------------------------
       
    88 
       
    89 RESOURCE : AIFICONS MIFICONS
       
    90 
       
    91 AIFICONS :
       
    92 	mifconv $(AIF_TARGETFILENAME) \
       
    93 		$(AIF_APPLICATION_ICON)
       
    94 
       
    95 MIFICONS :
       
    96 	mifconv $(MIF_TARGETFILENAME) /h$(MIF_HEADERFILENAME) \
       
    97 		/c8 qgn_stat_im_uni\
       
    98 		$(APPLICATION_CONTEXT_ICONS)\
       
    99 		/c8,8 qgn_prop_im_friends\
       
   100 		/c8,8 qgn_prop_im_ibox\
       
   101 		/c8,8 qgn_prop_im_ibox_new\
       
   102 		/c8,8 qgn_prop_im_saved\
       
   103 		/c8,8 qgn_prop_im_user_created_active\
       
   104 		/c8,8 qgn_prop_im_user_created_active_unread\
       
   105 		/c8,8 qgn_prop_im_nonuser_created_saved_active\
       
   106 		/c8,8 qgn_prop_im_nonuser_created_saved_active_unread\
       
   107 		/c8,8 qgn_prop_im_nonuser_created_saved_inactive\
       
   108 		/c8,8 qgn_prop_im_joined_not_saved\
       
   109 		/c8,8 qgn_prop_im_joined_not_saved_unread\
       
   110 		/c8,8 qgn_prop_im_list\
       
   111 		/c8,8 qgn_prop_im_list_unread\
       
   112 		/c8,1 qgn_prop_im_imsg_new\
       
   113 		/c8,1 qgn_indi_im_watch_add\
       
   114 		/c8,1 qgn_indi_phone_add\
       
   115 		/c8,1 qgn_prop_im_friend_off\
       
   116 		/c8,1 qgn_prop_im_friend_on\
       
   117 		/c8,1 qgn_prop_im_on_mobile_title\
       
   118 		/c8,1 qgn_prop_im_friend_away\
       
   119 		/c8,1 qgn_prop_im_friend_busy\
       
   120 		/c8,1 qgn_prop_im_friend_invisible\
       
   121 		/c8,1 qgn_prop_im_from\
       
   122 		/c8,1 qgn_prop_im_saved_chat_tab3\
       
   123 		/c8,1 qgn_prop_im_saved_chat_tab4\
       
   124 		/c8,1 qgn_prop_im_friend_tab3\
       
   125 		/c8,1 qgn_prop_im_friend_tab4\
       
   126 		/c8,1 qgn_prop_im_ibox_tab3\
       
   127 		/c8,1 qgn_prop_im_ibox_tab4\
       
   128 		/c8,1 qgn_prop_im_list_tab4\
       
   129 		/c8,1 qgn_prop_im_saved_conv\
       
   130 		/c8,1 qgn_prop_im_saved_chat\
       
   131 		/c8,1 qgn_indi_marked_add\
       
   132 		/c8,1 qgn_prop_im_user_created_inactive\
       
   133 		/c8,1 qgn_prop_im_chats_collapsed\
       
   134 		/c8,1 qgn_prop_im_chats_expanded\
       
   135 		/c8,1 qgn_prop_im_friends_collapsed\
       
   136 		/c8,1 qgn_prop_im_friends_expanded\
       
   137 		/c8,1 qgn_prop_im_new_invit\
       
   138 		/c8,1 qgn_prop_im_user_blocked\
       
   139 		/c8,1 qgn_prop_im_imsg\
       
   140 		/c8,1 qgn_prop_im_many\
       
   141 		/c8,1 qgn_prop_im_tome\
       
   142 		/c8,1 qgn_indi_sett_protected_add\
       
   143 		/c8,1 qgn_prop_image_corrupted\
       
   144 		/c8,1 qgn_prop_unknown\
       
   145   		/c8,8 qgn_prop_im_on_title\
       
   146   		/c8,8 qgn_prop_im_off_title\
       
   147   		/c8,8 qgn_prop_im_away_title\
       
   148   		/c8,8 qgn_prop_im_invisible_title\
       
   149   		/c8,8 qgn_prop_im_busy_title\
       
   150 		\
       
   151 		/c8,1 qgn_prop_im_smileys_angry\
       
   152 		/c8,1 qgn_prop_im_smileys_bored\
       
   153 		/c8,1 qgn_prop_im_smileys_crying\
       
   154 		/c8,1 qgn_prop_im_smileys_glasses\
       
   155 		/c8,1 qgn_prop_im_smileys_happy\
       
   156 		/c8,1 qgn_prop_im_smileys_indif\
       
   157 		/c8,1 qgn_prop_im_smileys_kiss\
       
   158 		/c8,1 qgn_prop_im_smileys_laugh\
       
   159 		/c8,1 qgn_prop_im_smileys_robot\
       
   160 		/c8,1 qgn_prop_im_smileys_sad\
       
   161 		/c8,1 qgn_prop_im_smileys_shock\
       
   162 		/c8,1 qgn_prop_im_smileys_skeptical\
       
   163 		/c8,1 qgn_prop_im_smileys_sleepy\
       
   164 		/c8,1 qgn_prop_im_smileys_sunglasses\
       
   165 		/c8,1 qgn_prop_im_smileys_surprise\
       
   166 		/c8,1 qgn_prop_im_smileys_tired\
       
   167 		/c8,1 qgn_prop_im_smileys_veryhappy\
       
   168 		/c8,1 qgn_prop_im_smileys_verysad\
       
   169 		/c8,1 qgn_prop_im_smileys_wickedsmile\
       
   170 		/c8,1 qgn_prop_im_smileys_wink\
       
   171 		/c8,1 qgn_graf_im_splash_screen\
       
   172 		/c8,1 qgn_graf_im_signin_screen
       
   173 
       
   174 FREEZE : do_nothing
       
   175 
       
   176 SAVESPACE : do_nothing
       
   177 
       
   178 RELEASABLES :
       
   179 	@echo $(MIF_HEADERFILENAME) && \
       
   180 	@echo $(MIF_TARGETFILENAME) && \
       
   181 	@echo $(AIF_TARGETFILENAME)
       
   182 
       
   183 FINAL : do_nothing