plugins/consoles/guicons/group/guicons_makefont.mk
author Fionntina Carville <fionntinac@symbian.org>
Tue, 09 Nov 2010 18:43:18 +0000
changeset 112 ed2109be6a18
parent 111 1158876b5622
permissions -rw-r--r--
Add .meta files.

# guicons_makefont.mk
# 
# Copyright (c) 2010 Accenture. All rights reserved.
# This component and the accompanying materials are made available
# under the terms of the "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:
# Accenture - Initial contribution
#
# To ensure that EPOCROOT always ends with a forward slash
TMPROOT:=$(subst \,/,$(EPOCROOT))
EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/

GENERATED_SOURCE_DIR = $(EPOCROOT)epoc32/build/fshell/guicons/generated
GENERATED_SOURCE = $(GENERATED_SOURCE_DIR)/defaultfontdata.inl
PNG = $(EPOCROOT)sf/os/fshell/plugins/consoles/guicons/data/font_6x10.PNG
GENFILE:= $(EPOCROOT)sf/os/fshell/plugins/consoles/guicons/group/bin2lit.pl
 

MAKMAKE : $(GENERATED_SOURCE)
$(GENERATED_SOURCE) : 
	perl $(EPOCROOT)epoc32\tools\emkdir.pl $(GENERATED_SOURCE_DIR)
	perl  $(GENFILE) KDefaultFontImageData < $(PNG) > $(GENERATED_SOURCE)

CLEAN : $(CLEANFILES)
$(CLEANFILES) :
	perl $(EPOCROOT)epoc32\tools\ermdir.pl $(GENERATED_SOURCE_DIR)

BLD FREEZE RESOURCE LIB CLEANLIB RESOURCE SAVESPACE RELEASABLES FINAL :