70
|
1 |
#
|
|
2 |
# Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
# All rights reserved.
|
|
4 |
# This component and the accompanying materials are made available
|
|
5 |
# under the terms of "Eclipse Public License v1.0"
|
|
6 |
# which accompanies this distribution, and is available
|
|
7 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
#
|
|
9 |
# Initial Contributors:
|
|
10 |
# Nokia Corporation - initial contribution.
|
|
11 |
#
|
|
12 |
# Contributors:
|
|
13 |
#
|
|
14 |
# Description: Content Control example
|
|
15 |
#
|
|
16 |
#
|
|
17 |
|
|
18 |
ifeq (WINS,$(findstring WINS, $(PLATFORM)))
|
|
19 |
ZDIR=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\Z
|
|
20 |
else
|
|
21 |
ZDIR=$(EPOCROOT)epoc32\data\z
|
|
22 |
endif
|
|
23 |
|
|
24 |
|
|
25 |
# ----------------------------------------------------------------------------
|
|
26 |
# TODO: Configure these
|
|
27 |
# ----------------------------------------------------------------------------
|
|
28 |
|
|
29 |
TARGETDIR=$(ZDIR)\resource\apps
|
|
30 |
ICONTARGETFILENAME=$(TARGETDIR)\hscontentcontrolexample_aif.mif
|
|
31 |
HEADERDIR=$(EPOCROOT)epoc32\include
|
|
32 |
HEADERFILENAME=$(HEADERDIR)\hscontentcontrolexample_aif.mbg
|
|
33 |
|
|
34 |
ICONDIR=..\gfx
|
|
35 |
|
|
36 |
do_nothing :
|
|
37 |
@rem do_nothing
|
|
38 |
|
|
39 |
MAKMAKE : do_nothing
|
|
40 |
|
|
41 |
BLD : do_nothing
|
|
42 |
|
|
43 |
CLEAN :
|
|
44 |
@echo ...Deleting $(ICONTARGETFILENAME)
|
|
45 |
del /q /f $(ICONTARGETFILENAME)
|
|
46 |
|
|
47 |
LIB : do_nothing
|
|
48 |
|
|
49 |
CLEANLIB : do_nothing
|
|
50 |
|
|
51 |
# ----------------------------------------------------------------------------
|
|
52 |
# TODO: Configure these.
|
|
53 |
#
|
|
54 |
# NOTE 1: DO NOT DEFINE MASK FILE NAMES! They are included automatically by
|
|
55 |
# MifConv if the mask detph is defined.
|
|
56 |
#
|
|
57 |
# NOTE 2: Usually, source paths should not be included in the bitmap
|
|
58 |
# definitions. MifConv searches for the icons in all icon directories in a
|
|
59 |
# predefined order, which is currently \s60\icons, \s60\bitmaps2.
|
|
60 |
# The directory \s60\icons is included in the search only if the feature flag
|
|
61 |
# __SCALABLE_ICONS is defined.
|
|
62 |
# ----------------------------------------------------------------------------
|
|
63 |
# NOTE: if you have JUSTINTIME enabled for your S60 3rd FP1 or newer SDK
|
|
64 |
# and this command crashes, consider adding "/X" to the command line.
|
|
65 |
# 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>
|
|
66 |
# ----------------------------------------------------------------------------
|
|
67 |
|
|
68 |
RESOURCE : $(ICONTARGETFILENAME)
|
|
69 |
|
|
70 |
$(ICONTARGETFILENAME) : $(ICONDIR)\qgn_menu_hscontentcontrolexample.svg
|
|
71 |
mifconv $(ICONTARGETFILENAME) \
|
|
72 |
/H$(HEADERFILENAME) \
|
|
73 |
/c32,8 $(ICONDIR)\qgn_menu_hscontentcontrolexample.svg
|
|
74 |
|
|
75 |
FREEZE : do_nothing
|
|
76 |
|
|
77 |
SAVESPACE : do_nothing
|
|
78 |
|
|
79 |
RELEASABLES :
|
|
80 |
@echo $(ICONTARGETFILENAME)
|
|
81 |
|
|
82 |
FINAL : do_nothing
|
|
83 |
|