00001 # 00002 # Copyright (c) 2002-2011 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. 00003 # 00004 # Redistribution and use in source and binary forms, with or without 00005 # modification, are permitted provided that the following conditions are met: 00006 # 00007 # * Redistributions of source code must retain the above copyright notice, this 00008 # list of conditions and the following disclaimer. 00009 # * Redistributions in binary form must reproduce the above copyright notice, 00010 # this list of conditions and the following disclaimer in the documentation 00011 # and/or other materials provided with the distribution. 00012 # * Neither the name of Nokia Corporation nor the names of its contributors 00013 # may be used to endorse or promote products derived from this software 00014 # without specific prior written permission. 00015 # 00016 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 00017 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 00018 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 00019 # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 00020 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 00021 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 00022 # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 00023 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 00024 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 00025 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00026 # 00027 # Description: This is file for creating .mif file (scalable icon) 00028 # 00029 00030 00031 ifeq (WINS,$(findstring WINS, $(PLATFORM))) 00032 ZDIR=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\Z 00033 else 00034 ZDIR=$(EPOCROOT)epoc32\data\z 00035 endif 00036 00037 TARGETDIR=$(ZDIR)\resource\apps 00038 ICONTARGETFILENAME=$(TARGETDIR)\GfxWorkbench.mif 00039 00040 ICONDIR=..\gfx 00041 00042 do_nothing : 00043 @rem do_nothing 00044 00045 MAKMAKE : do_nothing 00046 00047 BLD : do_nothing 00048 00049 CLEAN : do_nothing 00050 00051 LIB : do_nothing 00052 00053 CLEANLIB : do_nothing 00054 00055 # ---------------------------------------------------------------------------- 00056 # NOTE: if you have JUSTINTIME enabled for your S60 3rd FP1 or newer SDK 00057 # and this command crashes, consider adding "/X" to the command line. 00058 # See <http://forum.nokia.com/document/Forum_Nokia_Technical_Library_v1_35/contents/FNTL/Build_process_fails_at_mif_file_creation_in_S60_3rd_Ed_FP1_SDK.htm> 00059 # ---------------------------------------------------------------------------- 00060 00061 RESOURCE : 00062 mifconv $(ICONTARGETFILENAME) \ 00063 /c32 $(ICONDIR)\qgn_menu_GfxWorkbench.svg 00064 00065 FREEZE : do_nothing 00066 00067 SAVESPACE : do_nothing 00068 00069 RELEASABLES : 00070 @echo $(ICONTARGETFILENAME) 00071 00072 FINAL : do_nothing 00073