REL_CR_MMI_GPRS.mak
12.2 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
#
# Copyright Statement:
# --------------------
# This software is protected by Copyright and the information contained
# herein is confidential. The software may not be copied and the information
# contained herein may not be used or disclosed except with the written
# permission of MediaTek Inc. (C) 2005
#
# BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
# THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
# RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
# AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
# NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
# SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
# SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
# THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
# NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
# SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
#
# BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
# LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
# AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
# OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
# MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
#
# THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
# WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
# LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
# RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
# THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
#
# *************************************************************************
# Custom Release Component Configuration
# *************************************************************************
# Be sure the following:
# 1. COMPLIST(for CUSTOM_RELEASE) = CUS_REL_SRC_COMP + CUS_REL_PAR_SRC_COMP
# 2. CUS_REL_SRC_COMP + CUS_REL_PAR_SRC_COMP + CUS_REL_MTK_COMP = COMPLIST(CUSTOM_RELEASE = False)
CUS_REL_OPTION_FILTER = TRUE
CUS_REL_HISTORY_FILTER = TRUE
CUS_REL_BASE_COMP =
CUS_REL_HDR_COMP =
CUS_REL_FILES_LIST =
CUS_REL_OBJ_LIST =
NON_REL_FILES_LIST =
NON_REL_DIRS_LIST =
# Forbidden feature
ifdef CHIP_VERSION_CHECK
ifneq ($(strip $(CHIP_VERSION_CHECK)),TRUE)
$(error Please set CHIP_VERSION_CHECK as TRUE !!)
endif
endif
# Different Release Levels for plutommi/lcmmi related components
# LEVEL1: Customer can change ~50% image files and view on PC simulator
# LEVEL2_OBJ: Customer can change some resources and use PC simulator and Network simulator
# LEVEL2_SRC: Customer will have the source code of PC simulator and Network simulator
ifndef LEVEL
LEVEL = LEVEL2_SRC
endif
include make\REL_COMP_CR_MMI.mak
CUS_REL_FILES_LIST += make\REL_COMP_CR_MMI.mak
ifndef MMI_BASE
MMI_BASE = PLUTO_MMI
MMIDIR = plutommi
else
ifeq ($(strip $(MMI_BASE)),NEPTUNE_MMI)
MMIDIR = lcmmi
else
MMIDIR = plutommi
endif
endif
MMI_PROJ = $(strip $(subst _MMI,,$(MMI_VERSION)))
ifeq ($(strip $(call Upper,$(LEVEL))),LEVEL1)
ifeq ($(strip $(MMI_BASE)),NEPTUNE_MMI)
CUS_REL_BASE_COMP +=
else
CUS_REL_BASE_COMP += plutommi\WIN32FS
endif
else
ifeq ($(strip $(call Upper,$(LEVEL))),LEVEL2_OBJ)
CUS_REL_BASE_COMP += plutommi\WIN32FS
else
ifeq ($(strip $(call Upper,$(LEVEL))),LEVEL2_SRC)
ifdef SUB_LCD_SIZE
ifneq ($(strip $(SUB_LCD_SIZE)),NONE)
ifeq ($(strip $(call Upper,$(EMPTY_RESOURCE))),FALSE)
ifeq ($(findstring BW,$(strip $(SUB_LCD_SIZE))),BW)
SUB_MMI_PRJ := SubLCDBW$(strip $(subst BW,,$($(SUB_LCD_SIZE))))
CUS_REL_BASE_COMP += $(strip $(MMIDIR))\Customer\Images\$(strip $(SUB_MMI_PRJ))
else
SUB_MMI_PRJ := SubLCD$(strip $(SUB_LCD_SIZE))
CUS_REL_BASE_COMP += $(strip $(MMIDIR))\Customer\Images\$(strip $(SUB_MMI_PRJ))
endif
endif
endif
endif
ifneq ($(strip $(MMI_VERSION)),WISDOM_MMI)
CUS_REL_BASE_COMP += $(strip $(MMIDIR))\mmi $(strip $(MMIDIR))\mtkapp $(strip $(MMIDIR))\tool $(MMIDIR)\WIN32FS
CUS_REL_BASE_COMP += $(strip $(MMIDIR))\Customer\CustomerInc \
$(strip $(MMIDIR))\Customer\Customize \
$(strip $(MMIDIR))\Customer\CustResource\$(strip $(MMI_VERSION)) \
$(strip $(MMIDIR))\Customer\debug \
$(strip $(MMIDIR))\Customer\Images\GameImages \
$(strip $(MMIDIR))\Customer\Images\decoder \
$(strip $(MMIDIR))\Customer\Res_MMI \
$(strip $(MMIDIR))\Customer\ResGenerator \
$(strip $(MMIDIR))\Customer\ResourceDLL \
$(strip $(MMIDIR))\Customer\Resources \
$(strip $(MMIDIR))\Customer\Audio
endif
ifeq ($(strip $(MMI_BASE)),VENUS_MMI)
CUS_REL_BASE_COMP += $(strip $(MMIDIR))\Customer\CustResource\PLUTO_MMI
endif
ifeq ($(strip $(MMI_BASE)),NEPTUNE_MMI)
ifneq ($(strip $(MMI_VERSION)),EMPTY_MMI)
ifneq ($(strip $(MMI_VERSION)),WISDOM_MMI)
CUS_REL_BASE_COMP += $(strip $(MMIDIR))\Customer\Images\$(strip $(MMI_PROJ))$(strip $(DISPLAY_TYPE))$(strip $(MAIN_LCD_SIZE))
endif
endif
else
ifeq ($(strip $(MMI_BASE)),PLUTO_MMI)
ifneq ($(strip $(MMI_VERSION)),EMPTY_MMI)
ifneq ($(strip $(MMI_VERSION)),WISDOM_MMI)
CUS_REL_BASE_COMP += $(strip $(MMIDIR))\Framework $(strip $(MMIDIR))\CUI $(strip $(MMIDIR))\Service
IMAGE_FOLDER = $(shell dir $(strip $(MMIDIR))\Customer\Images\$(strip $(MMI_PROJ))$(strip $(MAIN_LCD_SIZE)) /b 2>nul)
ifeq ($(words $(IMAGE_FOLDER)),0)
CUS_REL_BASE_COMP += $(strip $(MMIDIR))\Customer\Images\$(strip $(MMI_PROJ))
else
CUS_REL_BASE_COMP += $(strip $(MMIDIR))\Customer\Images\$(strip $(MMI_PROJ))$(strip $(MAIN_LCD_SIZE))
endif
ifeq ($(call Upper,$(strip $(MAIN_LCD_SIZE))),128X128)
CUS_REL_BASE_COMP += $(strip $(MMIDIR))\Customer\Images\$(strip $(MMI_PROJ))
endif
ifeq ($(strip $(FINGER_TOUCH_SUPPORT)),FTE)
CUS_REL_BASE_COMP += $(strip $(MMIDIR))\Customer\Images\FTE$(strip $(MAIN_LCD_SIZE))
endif
endif
endif
else
ifeq ($(strip $(MMI_BASE)),VENUS_MMI)
IMAGE_FOLDER = $(shell dir $(strip $(MMIDIR))\Customer\Images\$(strip $(MMI_PROJ))$(strip $(MAIN_LCD_SIZE)) /b 2>nul)
ifeq ($(words $(IMAGE_FOLDER)),0)
CUS_REL_BASE_COMP += $(strip $(MMIDIR))\Customer\Images\$(strip $(MMI_PROJ))
else
CUS_REL_BASE_COMP += $(strip $(MMIDIR))\Customer\Images\$(strip $(MMI_PROJ))$(strip $(MAIN_LCD_SIZE))
endif
ifeq ($(call Upper,$(strip $(MAIN_LCD_SIZE))),128X128)
CUS_REL_BASE_COMP += $(strip $(MMIDIR))\Customer\Images\$(strip $(MMI_PROJ))
endif
ifeq ($(strip $(FINGER_TOUCH_SUPPORT)),FTE)
CUS_REL_BASE_COMP += $(strip $(MMIDIR))\Customer\Images\FTE$(strip $(MAIN_LCD_SIZE))
endif
endif
endif
endif
endif
endif
endif
include make\REL_COMMON.mak
ifdef RELEASE_BASE_COMP
CUS_REL_BASE_COMP += $(RELEASE_BASE_COMP)
endif
ifeq ($(strip $(MMI_VERSION)),WISDOM_MMI)
CUS_REL_BASE_COMP += external_mmi
endif
CUS_REL_BASE_COMP += tools
CUS_REL_BASE_COMP += MoDIS_VC9\filesystem
CUS_REL_BASE_COMP += interface\hwdrv
ifndef CUSTOM_OPTION
$(error Please define CUSTOM_OPTION before include release package make file in project make file )
endif
ifdef TCPIP_SUPPORT
ifneq ($(strip $(TCPIP_SUPPORT)),NONE)
CUS_REL_FILES_LIST += $(strip $(PS_FOLDER))\interfaces\local_inc\tcpip2abm_struct.h \
$(strip $(PS_FOLDER))\interfaces\local_inc\soc2mmi_struct.h \
$(strip $(PS_FOLDER))\interfaces\local_inc\soc2tcpip_struct.h \
inet_ps\soc\include\soc_feature.h \
inet_ps\soc\include\soc_defs.h \
inet_ps\soc\include\soc_enum.h \
inet_ps\soc\include\soc_dns.h \
inet_ps\soc\include\soc_struct.h \
inet_ps\soc\include\soc_abm.h \
inet_ps\soc\include\soc_app.h
endif
endif
ifdef GAME_ENGINE
ifeq ($(strip $(GAME_ENGINE)),GE_BROGENT)
CUS_REL_BASE_COMP += vendor\game_engine\brogent
endif
ifeq ($(strip $(GAME_ENGINE)),GE_INTERGRAFX)
CUS_REL_BASE_COMP += vendor\game_engine\intergrafx
endif
endif
CUS_REL_FILES_LIST += $(strip $(PS_FOLDER))\interfaces\local_inc\wap_ps_struct.h \
media\audio\include\aud_dec_imdct_s.dat \
media\audio\include\aud_dec_qc_table.dat \
media\audio\include\aud_dec_rq_table.dat \
media\audio\include\aud_dec_sf_table.dat \
media\audio\include\aud_id3_genre.dat
CUS_REL_FILES_LIST += media\audio\include\aud_mad_tagger.h
CUS_REL_BASE_COMP += MoDIS_VC9\NetSim
CUS_REL_FILES_LIST += MoDIS_VC9\NetSimScript.msc
CUS_REL_FILES_LIST += interface\ps\abm_api.h
CUS_REL_FILES_LIST += inet_ps\abm\include\abm_main.h
CUS_REL_FILES_LIST += inet_ps\abm\include\abm_util.h
CUS_REL_FILES_LIST += $(strip $(PS_FOLDER))\interfaces\enum\mmi_sm_enums.h \
$(strip $(PS_FOLDER))\interfaces\local_inc\abm2soc_struct.h \
$(strip $(PS_FOLDER))\interfaces\local_inc\soc2abm_struct.h \
$(strip $(PS_FOLDER))\interfaces\local_inc\l4c2abm_struct.h \
$(strip $(PS_FOLDER))\interfaces\local_inc\abm2l4c_struct.h \
interface\ps\cbm_api.h \
$(strip $(PS_FOLDER))\interfaces\local_inc\mmi2abm_struct.h \
inet_ps\abm\include\abm_def.h \
$(strip $(PS_FOLDER))\interfaces\local_inc\app2cbm_struct.h \
$(strip $(PS_FOLDER))\interfaces\enum\dhcp_abm_enums.h \
$(strip $(PS_FOLDER))\interfaces\local_inc\dhcp2abm_struct.h \
drv\idp\include\legacy\img_comm.h \
interface\inet_ps\dhcp_consts.h \
interface\wifi\wndrv_supc_types.h \
interface\wifi\wndrv_api.h \
interface\wifi\supc_abm_msgs.h
ifneq ($(filter PLUTO_MMI VENUS_MMI,$(strip $(MMI_BASE))),)
CUS_REL_FILES_LIST += plutommi\Framework\MTE\MTEInc\mteGprot.h \
plutommi\Framework\MTE\MTEInc\mte.h \
plutommi\Framework\MTE\MTEInc\mte_data.h \
plutommi\Customer\CustResource\mte_img_resource.h
endif
CUS_REL_FILES_LIST += tst\database\msglog_db\custom_parse_db.c
########################################################################################
# Custimization part
########################################################################################
ifeq ($(findstring MMI_ZI,$(RELEASE_INPUT_METHODS_SRC)),MMI_ZI)
CUS_REL_BASE_COMP += vendor\InputMethod\ZI\adaptation make\zi
endif
ifeq ($(findstring MMI_T9,$(RELEASE_INPUT_METHODS_SRC)),MMI_T9)
CUS_REL_BASE_COMP += vendor\InputMethod\T9\adaptation make\t9
endif
ifeq ($(findstring MMI_KA,$(RELEASE_INPUT_METHODS_SRC)),MMI_KA)
CUS_REL_BASE_COMP += vendor\InputMethod\KA\adaptation make\ka
endif
ifeq ($(findstring MMI_ITAP,$(RELEASE_INPUT_METHODS_SRC)),MMI_ITAP)
CUS_REL_BASE_COMP += vendor\InputMethod\ITAP\adaptation make\itap
endif
ifeq ($(strip $(J2ME_SUPPORT)),IJET)
ifeq ($(strip $(J2ME_VM)),KVM)
CUS_REL_OBJ_LIST += j2me\vm\IJET\j2me_11.lib
endif
ifeq ($(strip $(J2ME_VM)),HI_VM)
CUS_REL_OBJ_LIST += j2me\vm\IJET\j2me_hi.lib
endif
endif