-
Notifications
You must be signed in to change notification settings - Fork 0
/
application_icons.mk
executable file
·63 lines (41 loc) · 1021 Bytes
/
application_icons.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#
# General makefile for application icon MIF files
# Usage:
# Define APPNAME, AIFNAME, ICONLISTFILENAME
# and include this file for applicaton specific makefile
#
ifndef APPNAME
$(error Application name not defined)
endif
ifndef AIFNAME
$(error Aif filename not defined)
endif
ifndef ICONLISTFILENAME
$(error Icon list file not defined)
endif
include $(EPOCROOT)\epoc32\include\sdk_version.mk
ifeq (WINS,$(findstring WINS, $(PLATFORM)))
ZDIR=$(EPOCROOT)\epoc32\release\$(PLATFORM)\$(CFG)\Z
else
ZDIR=$(EPOCROOT)\epoc32\data\z
endif
ifdef __S60V3__
TARGETDIR=$(ZDIR)\resource\apps
else
TARGETDIR=$(ZDIR)\SYSTEM\APPS\$(APPNAME)
endif
ICONTARGETFILENAME=$(TARGETDIR)\$(AIFNAME).MIF
do_nothing :
@rem do_nothing
MAKMAKE : do_nothing
BLD : do_nothing
CLEAN : do_nothing
LIB : do_nothing
CLEANLIB : do_nothing
RESOURCE : $(ICONLISTFILENAME)
mifconv $(ICONTARGETFILENAME) /F$(ICONLISTFILENAME)
FREEZE : do_nothing
SAVESPACE : do_nothing
RELEASABLES :
@echo $(ICONTARGETFILENAME)
FINAL : do_nothing