equal
deleted
inserted
replaced
|
1 # |
|
2 # Copyright (c) 2009 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: |
|
15 # |
|
16 # Build resource files |
|
17 # |
|
18 |
|
19 SOURCEDIR=..\group |
|
20 LANGUAGE=sc |
|
21 |
|
22 # |
|
23 # Target directory |
|
24 # |
|
25 |
|
26 ifeq (WINS,$(findstring WINS, $(PLATFORM))) |
|
27 TARGETDIR=$(EPOCROOT)Epoc32\Release\$(PLATFORM)\$(CFG)\Z\System\Mtm |
|
28 else |
|
29 TARGETDIR=$(EPOCROOT)Epoc32\Data\Z\System\Mtm |
|
30 endif |
|
31 |
|
32 $(TARGETDIR) : |
|
33 @perl $(EPOCROOT)epoc32\tools\emkdir.pl $(TARGETDIR) |
|
34 |
|
35 # |
|
36 # Build the mtm resource files |
|
37 # |
|
38 |
|
39 PROJECT=IRMTMU |
|
40 SOURCERESOURCE=$(SOURCEDIR)\$(PROJECT)Registry.rss |
|
41 TARGETRESOURCE=$(TARGETDIR)\$(PROJECT).r$(LANGUAGE) |
|
42 $(TARGETRESOURCE) : $(TARGETDIR) $(SOURCERESOURCE) |
|
43 @copy $(SOURCERESOURCE) $(TARGETDIR)\$(PROJECT).rss |
|
44 @epocrc.bat -u -I. -I%EPOCROOT%s60\irmtmui\group -I%EPOCROOT%epoc32\include $(TARGETDIR)\$(PROJECT).rss -o$(TARGETRESOURCE) |
|
45 @del $(TARGETDIR)\$(PROJECT).rss |
|
46 |
|
47 do_nothing: |
|
48 rem do nothing |
|
49 |
|
50 # |
|
51 # The targets invoked by abld |
|
52 # |
|
53 |
|
54 MAKMAKE : do_nothing |
|
55 |
|
56 RESOURCE : $(TARGETRESOURCE) |
|
57 |
|
58 SAVESPACE : BLD |
|
59 |
|
60 BLD : do_nothing |
|
61 |
|
62 FREEZE : do_nothing |
|
63 |
|
64 LIB : do_nothing |
|
65 |
|
66 CLEANLIB : do_nothing |
|
67 |
|
68 FINAL : do_nothing |
|
69 |
|
70 CLEAN : |
|
71 @erase $(TARGETRESOURCE) |
|
72 |
|
73 RELEASABLES : |
|
74 @echo $(TARGETRESOURCE) |