0
|
1 |
# ============================================================================
|
|
2 |
# Name : icons_extra.mk
|
|
3 |
# Part of : ?Subsystem_name / ?Module_name
|
|
4 |
# Description : extra icons makefile for project ?myapp
|
|
5 |
# Version : %version: %
|
|
6 |
#
|
|
7 |
# Copyright © ?year-?year ?Company_copyright.
|
|
8 |
# All rights reserved.
|
|
9 |
# This component and the accompanying materials are made available
|
|
10 |
# under the terms of the License "?License"
|
|
11 |
# which accompanies this distribution, and is available
|
|
12 |
# at the URL "?LicenseUrl".
|
|
13 |
#
|
|
14 |
# Initial Contributors:
|
|
15 |
# ?Company_name - initial contribution.
|
|
16 |
#
|
|
17 |
# Contributors:
|
|
18 |
# ?Company_name
|
|
19 |
# ============================================================================
|
|
20 |
# Template version: 4.1.1
|
|
21 |
|
|
22 |
|
|
23 |
ifeq (WINS,$(findstring WINS, $(PLATFORM)))
|
|
24 |
ZDIR=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\z
|
|
25 |
else
|
|
26 |
ZDIR=$(EPOCROOT)epoc32\data\z
|
|
27 |
endif
|
|
28 |
|
|
29 |
TARGETDIR=$(ZDIR)\resource\apps
|
|
30 |
ICONTARGETFILENAME=$(TARGETDIR)\?smallmyapp_extraicons.mif
|
|
31 |
|
|
32 |
HEADERDIR=\epoc32\include
|
|
33 |
HEADERFILENAME=$(HEADERDIR)\?smallmyapp_extraicons.mbg
|
|
34 |
|
|
35 |
|
|
36 |
do_nothing :
|
|
37 |
@rem do_nothing
|
|
38 |
|
|
39 |
MAKMAKE : do_nothing
|
|
40 |
|
|
41 |
BLD : do_nothing
|
|
42 |
|
|
43 |
CLEAN :
|
|
44 |
@if exist $(ICONTARGETFILENAME) erase $(ICONTARGETFILENAME)
|
|
45 |
@if exist $(HEADERFILENAME) erase $(HEADERFILENAME)
|
|
46 |
|
|
47 |
LIB : do_nothing
|
|
48 |
|
|
49 |
CLEANLIB : do_nothing
|
|
50 |
|
|
51 |
RESOURCE : $(ICONTARGETFILENAME)
|
|
52 |
|
|
53 |
$(ICONTARGETFILENAME) (HEADERFILENAME) : qgn_?smallmyapp_icon_1.svg qgn_?smallmyapp_icon_2.svg
|
|
54 |
mifconv $(ICONTARGETFILENAME) /h$(HEADERFILENAME) \
|
|
55 |
/c8,8 qgn_?smallmyapp_icon_1.svg \
|
|
56 |
/c8,8 qgn_?smallmyapp_icon_2.svg
|
|
57 |
|
|
58 |
FREEZE : do_nothing
|
|
59 |
|
|
60 |
SAVESPACE : do_nothing
|
|
61 |
|
|
62 |
RELEASABLES :
|
|
63 |
@echo $(HEADERFILENAME) && \
|
|
64 |
@echo $(ICONTARGETFILENAME)
|
|
65 |
|
|
66 |
FINAL : do_nothing |