# ============================================================================
# Copyright (c) 2010 Kanrikogaku Kenkyusho, Ltd.
# All rights reserved.
# This component and the accompanying materials are made available
# under the terms of the License "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
#
# Initial Contributors:
# Kanrikogaku Kenkyusho, Ltd. - Initial contribution
#
# Contributors:
#
# Description: This is file for creating .mif file (scalable icon)
#
# ============================================================================
ifeq (WINS,$(findstring WINS, $(PLATFORM)))
ZDIR=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\Z
else
ZDIR=$(EPOCROOT)epoc32\data\z
endif
TARGETDIR=$(ZDIR)\resource\apps
ICONTARGETFILENAME=$(TARGETDIR)\DirectPrintApp.mif
ICONDIR=..\gfx
do_nothing :
@rem do_nothing
MAKMAKE : do_nothing
BLD : do_nothing
CLEAN :
@echo ...Deleting $(ICONTARGETFILENAME)
if exist $(ICONTARGETFILENAME) del /q /f $(ICONTARGETFILENAME)
LIB : do_nothing
CLEANLIB : do_nothing
RESOURCE : $(ICONTARGETFILENAME)
$(ICONTARGETFILENAME) : $(ICONDIR)\qgn_menu_DirectPrintApp.svg
mifconv $(ICONTARGETFILENAME) \
/c32 $(ICONDIR)\qgn_menu_DirectPrintApp.svg
FREEZE : do_nothing
SAVESPACE : do_nothing
RELEASABLES :
@echo $(ICONTARGETFILENAME)
FINAL : do_nothing