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.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     1
# guicons_makefont.mk
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     2
# 
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     3
# Copyright (c) 2010 Accenture. All rights reserved.
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     4
# This component and the accompanying materials are made available
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     5
# under the terms of the "Eclipse Public License v1.0"
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     6
# which accompanies this distribution, and is available
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     8
# 
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     9
# Initial Contributors:
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    10
# Accenture - Initial contribution
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    11
#
111
1158876b5622 Adjust .mk files for parallel execution.
Fionntina Carville <fionntinac@symbian.org>
parents: 26
diff changeset
    12
# To ensure that EPOCROOT always ends with a forward slash
1158876b5622 Adjust .mk files for parallel execution.
Fionntina Carville <fionntinac@symbian.org>
parents: 26
diff changeset
    13
TMPROOT:=$(subst \,/,$(EPOCROOT))
1158876b5622 Adjust .mk files for parallel execution.
Fionntina Carville <fionntinac@symbian.org>
parents: 26
diff changeset
    14
EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
1158876b5622 Adjust .mk files for parallel execution.
Fionntina Carville <fionntinac@symbian.org>
parents: 26
diff changeset
    15
1158876b5622 Adjust .mk files for parallel execution.
Fionntina Carville <fionntinac@symbian.org>
parents: 26
diff changeset
    16
GENERATED_SOURCE_DIR = $(EPOCROOT)epoc32/build/fshell/guicons/generated
1158876b5622 Adjust .mk files for parallel execution.
Fionntina Carville <fionntinac@symbian.org>
parents: 26
diff changeset
    17
GENERATED_SOURCE = $(GENERATED_SOURCE_DIR)/defaultfontdata.inl
1158876b5622 Adjust .mk files for parallel execution.
Fionntina Carville <fionntinac@symbian.org>
parents: 26
diff changeset
    18
PNG = $(EPOCROOT)sf/os/fshell/plugins/consoles/guicons/data/font_6x10.PNG
1158876b5622 Adjust .mk files for parallel execution.
Fionntina Carville <fionntinac@symbian.org>
parents: 26
diff changeset
    19
GENFILE:= $(EPOCROOT)sf/os/fshell/plugins/consoles/guicons/group/bin2lit.pl
1158876b5622 Adjust .mk files for parallel execution.
Fionntina Carville <fionntinac@symbian.org>
parents: 26
diff changeset
    20
 
0
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    21
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    22
MAKMAKE : $(GENERATED_SOURCE)
111
1158876b5622 Adjust .mk files for parallel execution.
Fionntina Carville <fionntinac@symbian.org>
parents: 26
diff changeset
    23
$(GENERATED_SOURCE) : 
1
6c055a136ec1 Build fixes for environments which don't have \epoc32\tools in their path.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents: 0
diff changeset
    24
	perl $(EPOCROOT)epoc32\tools\emkdir.pl $(GENERATED_SOURCE_DIR)
111
1158876b5622 Adjust .mk files for parallel execution.
Fionntina Carville <fionntinac@symbian.org>
parents: 26
diff changeset
    25
	perl  $(GENFILE) KDefaultFontImageData < $(PNG) > $(GENERATED_SOURCE)
0
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    26
111
1158876b5622 Adjust .mk files for parallel execution.
Fionntina Carville <fionntinac@symbian.org>
parents: 26
diff changeset
    27
CLEAN : $(CLEANFILES)
1158876b5622 Adjust .mk files for parallel execution.
Fionntina Carville <fionntinac@symbian.org>
parents: 26
diff changeset
    28
$(CLEANFILES) :
1
6c055a136ec1 Build fixes for environments which don't have \epoc32\tools in their path.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents: 0
diff changeset
    29
	perl $(EPOCROOT)epoc32\tools\ermdir.pl $(GENERATED_SOURCE_DIR)
0
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    30
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    31
BLD FREEZE RESOURCE LIB CLEANLIB RESOURCE SAVESPACE RELEASABLES FINAL :