599
|
1 |
# Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
# All rights reserved.
|
|
3 |
# This component and the accompanying materials are made available
|
|
4 |
# under the terms of "Eclipse Public License v1.0"
|
|
5 |
# which accompanies this distribution, and is available
|
|
6 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
#
|
|
8 |
# Initial Contributors:
|
|
9 |
# Nokia Corporation - initial contribution.
|
|
10 |
#
|
|
11 |
# Contributors:
|
|
12 |
#
|
|
13 |
# Description:
|
|
14 |
#
|
|
15 |
|
|
16 |
TMPROOT:=$(subst \,/,$(EPOCROOT))
|
|
17 |
EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
|
|
18 |
|
|
19 |
include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk
|
|
20 |
|
|
21 |
ifeq ($(findstring WINS,$(PLATFORM)),WINS)
|
|
22 |
EPOCDATADIR = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)
|
|
23 |
else
|
|
24 |
EPOCDATADIR = $(EPOCROOT)epoc32/data
|
|
25 |
endif
|
|
26 |
|
|
27 |
SECURETARGETDIR = $(EPOCDATADIR)/z/private/10202BE9
|
|
28 |
|
|
29 |
PCCENREPSOURCE = $(EXTENSION_ROOT)/../test
|
|
30 |
PCCENREPDATADIR = $(EPOCROOT)epoc32/winscw/c/private/00000000
|
|
31 |
PCCENREPTESTDIR = $(EPOCROOT)epoc32/winscw/c
|
|
32 |
PCCENREPPCTESTDIR = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)
|
|
33 |
|
|
34 |
$(SECURETARGETDIR) :
|
|
35 |
$(call createdir, "$@")
|
|
36 |
|
|
37 |
$(PCCENREPDATADIR) :
|
|
38 |
$(call createdir, "$@")
|
|
39 |
|
|
40 |
COPYFILES :
|
|
41 |
ifneq ($(findstring TOOLS2,$(PLATFORM)),TOOLS2)
|
|
42 |
|
|
43 |
$(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(SECURETARGETDIR)/000001ff.txt)
|
|
44 |
$(call forcecopy,$(PCCENREPSOURCE)/00001fff.cre,$(SECURETARGETDIR)/00001fff.cre)
|
|
45 |
$(call forcecopy,$(PCCENREPSOURCE)/000002ff.cre,$(SECURETARGETDIR)/000002ff.cre)
|
|
46 |
$(call forcecopy,$(PCCENREPSOURCE)/88888880.txt,$(SECURETARGETDIR)/88888880.txt)
|
|
47 |
$(call forcecopy,$(PCCENREPSOURCE)/88888881.cre,$(SECURETARGETDIR)/88888881.cre)
|
|
48 |
$(call forcecopy,$(PCCENREPSOURCE)/00022222.txt,$(SECURETARGETDIR)/00022222.txt)
|
|
49 |
|
|
50 |
ifeq ($(findstring WINS,$(PLATFORM)),WINS)
|
|
51 |
$(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(PCCENREPDATADIR)/000001ff.txt)
|
|
52 |
$(call forcecopy,$(PCCENREPSOURCE)/00001fff.cre,$(PCCENREPDATADIR)/00001fff.cre)
|
|
53 |
$(call forcecopy,$(PCCENREPSOURCE)/000002ff.cre,$(PCCENREPDATADIR)/000002ff.cre)
|
|
54 |
$(call forcecopy,$(PCCENREPSOURCE)/88888880.txt,$(PCCENREPDATADIR)/88888880.txt)
|
|
55 |
$(call forcecopy,$(PCCENREPSOURCE)/88888881.cre,$(PCCENREPDATADIR)/88888881.cre)
|
|
56 |
$(call forcecopy,$(PCCENREPSOURCE)/winscwcre.cre,$(PCCENREPDATADIR)/ref_winscwcre.cre)
|
|
57 |
$(call forcecopy,$(PCCENREPSOURCE)/winscwtxt.cre,$(PCCENREPDATADIR)/ref_winscwtxt.cre)
|
|
58 |
$(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(PCCENREPDATADIR)/copy000001ff.txt)
|
|
59 |
$(call forcecopy,$(PCCENREPSOURCE)/00001fff.cre,$(PCCENREPDATADIR)/copy00001fff.cre)
|
|
60 |
$(call forcecopy,$(PCCENREPSOURCE)/000002ff.cre,$(PCCENREPDATADIR)/copy000002ff.cre)
|
|
61 |
$(call forcecopy,$(PCCENREPSOURCE)/00022222.txt,$(PCCENREPDATADIR)/00022222.txt)
|
|
62 |
$(call forcecopy,$(PCCENREPSOURCE)/00022222.cre,$(PCCENREPDATADIR)/copy00022222.cre)
|
|
63 |
$(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(PCCENREPTESTDIR)/000001ff.txt)
|
|
64 |
$(call forcecopy,$(PCCENREPSOURCE)/00001fff.cre,$(PCCENREPTESTDIR)/00001fff.cre)
|
|
65 |
$(call forcecopy,$(PCCENREPSOURCE)/00001fff.cre,$(PCCENREPTESTDIR)/copy00001fff.cre)
|
|
66 |
$(call forcecopy,$(PCCENREPSOURCE)/00022222.txt,$(PCCENREPTESTDIR)/00022222.txt)
|
|
67 |
$(call forcecopy,$(PCCENREPSOURCE)/00022222.cre,$(PCCENREPTESTDIR)/copy00022222.cre)
|
|
68 |
endif
|
|
69 |
|
|
70 |
else
|
|
71 |
$(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(PCCENREPPCTESTDIR)/000001ff.txt)
|
|
72 |
$(call forcecopy,$(PCCENREPSOURCE)/00001fff.cre,$(PCCENREPPCTESTDIR)/00001fff.cre)
|
|
73 |
$(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(PCCENREPPCTESTDIR)/copy000001ff.txt)
|
|
74 |
$(call forcecopy,$(PCCENREPSOURCE)/00001fff.cre,$(PCCENREPPCTESTDIR)/copy00001fff.cre)
|
|
75 |
$(call forcecopy,$(PCCENREPSOURCE)/000002ff.cre,$(PCCENREPPCTESTDIR)/000002ff.cre)
|
|
76 |
$(call forcecopy,$(PCCENREPSOURCE)/000002ff.cre,$(PCCENREPPCTESTDIR)/copy000002ff.cre)
|
|
77 |
$(call forcecopy,$(PCCENREPSOURCE)/winscwcre.cre,$(PCCENREPPCTESTDIR)/ref_winscwcre.cre)
|
|
78 |
$(call forcecopy,$(PCCENREPSOURCE)/winscwtxt.cre,$(PCCENREPPCTESTDIR)/ref_winscwtxt.cre)
|
|
79 |
$(call forcecopy,$(PCCENREPSOURCE)/88888880.txt,$(PCCENREPPCTESTDIR)/88888880.txt)
|
|
80 |
$(call forcecopy,$(PCCENREPSOURCE)/88888881.cre,$(PCCENREPPCTESTDIR)/88888881.cre)
|
|
81 |
$(call forcecopy,$(PCCENREPSOURCE)/00022222.txt,$(PCCENREPPCTESTDIR)/00022222.txt)
|
|
82 |
$(call forcecopy,$(PCCENREPSOURCE)/00022222.cre,$(PCCENREPPCTESTDIR)/copy00022222.cre)
|
|
83 |
|
|
84 |
endif
|
|
85 |
|
|
86 |
DO_NOTHING:
|
|
87 |
@echo do nothing
|
|
88 |
|
|
89 |
#
|
|
90 |
# The targets invoked by bld...
|
|
91 |
#
|
|
92 |
|
|
93 |
BLD : $(SECURETARGETDIR) $(PCCENREPDATADIR) $(PCCENREPTESTDIR) $(PCCENREPSOURCE) $(PCCENREPPCTESTDIR) COPYFILES
|
|
94 |
|
|
95 |
CLEAN :
|
|
96 |
|
|
97 |
ifneq ($(findstring TOOLS2,$(PLATFORM)),TOOLS2)
|
|
98 |
|
|
99 |
$(call forceremove,$(SECURETARGETDIR)/000001ff.txt)
|
|
100 |
$(call forceremove,$(SECURETARGETDIR)/00001fff.cre)
|
|
101 |
$(call forceremove,$(SECURETARGETDIR)/000002ff.cre)
|
|
102 |
$(call forceremove,$(SECURETARGETDIR)/88888880.txt)
|
|
103 |
$(call forceremove,$(SECURETARGETDIR)/88888881.cre)
|
|
104 |
$(call forceremove,$(SECURETARGETDIR)/00022222.txt)
|
|
105 |
|
|
106 |
ifeq ($(findstring WINS,$(PLATFORM)),WINS)
|
|
107 |
$(call forceremove,$(PCCENREPDATADIR)/000001ff.txt)
|
|
108 |
$(call forceremove,$(PCCENREPDATADIR)/00001fff.cre)
|
|
109 |
$(call forceremove,$(PCCENREPDATADIR)/000002ff.cre)
|
|
110 |
$(call forceremove,$(PCCENREPDATADIR)/88888880.txt)
|
|
111 |
$(call forceremove,$(PCCENREPDATADIR)/88888881.cre)
|
|
112 |
$(call forceremove,$(PCCENREPDATADIR)/ref_winscwcre.cre)
|
|
113 |
$(call forceremove,$(PCCENREPDATADIR)/ref_winscwtxt.cre)
|
|
114 |
$(call forceremove,$(PCCENREPDATADIR)/copy000001ff.txt)
|
|
115 |
$(call forceremove,$(PCCENREPDATADIR)/copy00001fff.cre)
|
|
116 |
$(call forceremove,$(PCCENREPDATADIR)/copy000002ff.cre)
|
|
117 |
$(call forceremove,$(PCCENREPDATADIR)/00022222.txt)
|
|
118 |
$(call forceremove,$(PCCENREPDATADIR)/copy00022222.cre)
|
|
119 |
$(call forceremove,$(PCCENREPTESTDIR)/000001ff.txt)
|
|
120 |
$(call forceremove,$(PCCENREPTESTDIR)/00001fff.cre)
|
|
121 |
$(call forceremove,$(PCCENREPTESTDIR)/copy00001fff.cre)
|
|
122 |
$(call forceremove,$(PCCENREPTESTDIR)/00022222.txt)
|
|
123 |
$(call forceremove,$(PCCENREPTESTDIR)/copy00022222.cre)
|
|
124 |
|
|
125 |
endif
|
|
126 |
|
|
127 |
else
|
|
128 |
$(call forceremove,$(PCCENREPPCTESTDIR)/000001ff.txt)
|
|
129 |
$(call forceremove,$(PCCENREPPCTESTDIR)/00001fff.cre)
|
|
130 |
$(call forceremove,$(PCCENREPPCTESTDIR)/copy000001ff.txt)
|
|
131 |
$(call forceremove,$(PCCENREPPCTESTDIR)/copy00001fff.cre)
|
|
132 |
$(call forceremove,$(PCCENREPPCTESTDIR)/000002ff.cre)
|
|
133 |
$(call forceremove,$(PCCENREPPCTESTDIR)/copy000002ff.cre)
|
|
134 |
$(call forceremove,$(PCCENREPPCTESTDIR)/ref_winscwcre.cre)
|
|
135 |
$(call forceremove,$(PCCENREPPCTESTDIR)/ref_winscwtxt.cre)
|
|
136 |
$(call forceremove,$(PCCENREPPCTESTDIR)/88888880.txt)
|
|
137 |
$(call forceremove,$(PCCENREPPCTESTDIR)/88888881.cre)
|
|
138 |
$(call forceremove,$(PCCENREPPCTESTDIR)/00022222.txt)
|
|
139 |
$(call forceremove,$(PCCENREPPCTESTDIR)/copy00022222.cre)
|
|
140 |
|
|
141 |
endif
|
|
142 |
|
|
143 |
RELEASABLES :
|
|
144 |
ifneq ($(findstring TOOLS2,$(PLATFORM)),TOOLS2)
|
|
145 |
|
|
146 |
@echo $(SECURETARGETDIR)/000001ff.txt
|
|
147 |
@echo $(SECURETARGETDIR)/00001fff.cre
|
|
148 |
@echo $(SECURETARGETDIR)/000002ff.cre
|
|
149 |
@echo $(SECURETARGETDIR)/88888880.txt
|
|
150 |
@echo $(SECURETARGETDIR)/88888881.cre
|
|
151 |
@echo $(SECURETARGETDIR)/00022222.txt
|
|
152 |
|
|
153 |
ifeq ($(findstring WINS,$(PLATFORM)),WINS)
|
|
154 |
@echo $(PCCENREPDATADIR)/000001ff.txt
|
|
155 |
@echo $(PCCENREPDATADIR)/00001fff.cre
|
|
156 |
@echo $(PCCENREPDATADIR)/000002ff.cre
|
|
157 |
@echo $(PCCENREPDATADIR)/88888880.txt
|
|
158 |
@echo $(PCCENREPDATADIR)/88888881.cre
|
|
159 |
@echo $(PCCENREPDATADIR)/ref_winscwcre.cre
|
|
160 |
@echo $(PCCENREPDATADIR)/ref_winscwtxt.cre
|
|
161 |
@echo $(PCCENREPDATADIR)/copy000001ff.txt
|
|
162 |
@echo $(PCCENREPDATADIR)/copy00001fff.cre
|
|
163 |
@echo $(PCCENREPDATADIR)/copy000002ff.cre
|
|
164 |
@echo $(PCCENREPDATADIR)/00022222.txt
|
|
165 |
@echo $(PCCENREPDATADIR)/copy00022222.cre
|
|
166 |
@echo $(PCCENREPTESTDIR)/000001ff.txt
|
|
167 |
@echo $(PCCENREPTESTDIR)/00001fff.cre
|
|
168 |
@echo $(PCCENREPTESTDIR)/copy00001fff.cre
|
|
169 |
@echo $(PCCENREPTESTDIR)/00022222.txt
|
|
170 |
@echo $(PCCENREPTESTDIR)/copy00022222.cre
|
|
171 |
|
|
172 |
endif
|
|
173 |
|
|
174 |
else
|
|
175 |
@echo $(PCCENREPPCTESTDIR)/000001ff.txt
|
|
176 |
@echo $(PCCENREPPCTESTDIR)/00001fff.cre
|
|
177 |
@echo $(PCCENREPPCTESTDIR)/copy000001ff.txt
|
|
178 |
@echo $(PCCENREPPCTESTDIR)/copy00001fff.cre
|
|
179 |
@echo $(PCCENREPPCTESTDIR)/000002ff.cre
|
|
180 |
@echo $(PCCENREPPCTESTDIR)/copy000002ff.cre
|
|
181 |
@echo $(PCCENREPPCTESTDIR)/ref_winscwcre.cre
|
|
182 |
@echo $(PCCENREPPCTESTDIR)/ref_winscwtxt.cre
|
|
183 |
@echo $(PCCENREPPCTESTDIR)/88888880.txt
|
|
184 |
@echo $(PCCENREPPCTESTDIR)/88888881.cre
|
|
185 |
@echo $(PCCENREPPCTESTDIR)/00022222.txt
|
|
186 |
@echo $(PCCENREPPCTESTDIR)/copy00022222.cre
|
|
187 |
endif
|
|
188 |
|
|
189 |
MAKMAKE : DO_NOTHING
|
|
190 |
|
|
191 |
RESOURCE : DO_NOTHING
|
|
192 |
|
|
193 |
SAVESPACE : DO_NOTHING
|
|
194 |
|
|
195 |
FREEZE : DO_NOTHING
|
|
196 |
|
|
197 |
LIB : DO_NOTHING
|
|
198 |
|
|
199 |
CLEANLIB : DO_NOTHING
|
|
200 |
|
|
201 |
FINAL : DO_NOTHING
|
|
202 |
|
|
203 |
ROMFILE : DO_NOTHING
|