browser/group/Icon.mk
changeset 0 c316ab048e9d
equal deleted inserted replaced
-1:000000000000 0:c316ab048e9d
       
     1 #/*
       
     2 # * Name        : Icon.mk
       
     3 # * Description : Application icon makefile
       
     4 # * Project     : This file is part of OpenMAR, an Open Mobile Augmented Reality browser
       
     5 # * Website     : http://OpenMAR.org
       
     6 # *
       
     7 # * Copyright (c) 2010 David Caabeiro
       
     8 # *
       
     9 # * All rights reserved. This program and the accompanying materials are made available 
       
    10 # * under the terms of the Eclipse Public License v1.0 which accompanies this 
       
    11 # * distribution, and is available at http://www.eclipse.org/legal/epl-v10.html
       
    12 # *
       
    13 # */
       
    14 
       
    15 ifeq (WINS,$(findstring WINS, $(PLATFORM)))
       
    16 ZDIR=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\Z
       
    17 else
       
    18 ZDIR=$(EPOCROOT)epoc32\data\z
       
    19 endif
       
    20 
       
    21 TARGETDIR=$(ZDIR)\resource\apps
       
    22 ICONTARGETFILENAME=$(TARGETDIR)\OpenMAR_0x2002E1AB.mif
       
    23 
       
    24 ICONDIR=..\gfx
       
    25 
       
    26 do_nothing :
       
    27 	@rem do_nothing
       
    28 
       
    29 MAKMAKE : do_nothing
       
    30 
       
    31 BLD : do_nothing
       
    32 
       
    33 CLEAN : do_nothing
       
    34 
       
    35 LIB : do_nothing
       
    36 
       
    37 CLEANLIB : do_nothing
       
    38 
       
    39 # ----------------------------------------------------------------------------
       
    40 # NOTE: if you have JUSTINTIME enabled for your S60 3rd FP1 or newer SDK
       
    41 # and this command crashes, consider adding "/X" to the command line.
       
    42 # 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>
       
    43 # ----------------------------------------------------------------------------
       
    44 
       
    45 RESOURCE : $(ICONTARGETFILENAME)
       
    46 
       
    47 $(ICONTARGETFILENAME) : $(ICONDIR)\Application.svg
       
    48 	mifconv $(ICONTARGETFILENAME)  \
       
    49 		 /c32 $(ICONDIR)\Application.svg
       
    50 
       
    51 FREEZE : do_nothing
       
    52 
       
    53 SAVESPACE : do_nothing
       
    54 
       
    55 RELEASABLES :
       
    56 	@echo $(ICONTARGETFILENAME)
       
    57 
       
    58 FINAL : do_nothing