47 # S60 release is not set, autodetermine |
47 # S60 release is not set, autodetermine |
48 ifneq ($(wildcard $(RD_JAVA_S60_RELEASE_FILE)),) |
48 ifneq ($(wildcard $(RD_JAVA_S60_RELEASE_FILE)),) |
49 # Use release written in file |
49 # Use release written in file |
50 include $(RD_JAVA_S60_RELEASE_FILE) |
50 include $(RD_JAVA_S60_RELEASE_FILE) |
51 else |
51 else |
52 ifneq ($(wildcard $(addsuffix Symbianv4.sis,$(S60_STUBSIS_DIRS))),) |
|
53 RD_JAVA_S60_RELEASE = 10.1 |
|
54 else |
|
55 ifneq ($(wildcard $(addsuffix Series60v5.2.sis,$(S60_STUBSIS_DIRS))),) |
52 ifneq ($(wildcard $(addsuffix Series60v5.2.sis,$(S60_STUBSIS_DIRS))),) |
56 RD_JAVA_S60_RELEASE = 9.2 |
53 RD_JAVA_S60_RELEASE = 9.2 |
57 else |
54 else |
58 ifneq ($(wildcard $(addsuffix Series60v5.1.sis,$(S60_STUBSIS_DIRS))),) |
55 ifneq ($(wildcard $(addsuffix Series60v5.1.sis,$(S60_STUBSIS_DIRS))),) |
59 RD_JAVA_S60_RELEASE = 9.1 |
56 RD_JAVA_S60_RELEASE = 9.1 |
60 else |
57 else |
61 ifneq ($(wildcard $(addsuffix Series60v5.0.sis,$(S60_STUBSIS_DIRS))),) |
58 ifneq ($(wildcard $(addsuffix Series60v5.0.sis,$(S60_STUBSIS_DIRS))),) |
62 RD_JAVA_S60_RELEASE = 5.0 |
59 RD_JAVA_S60_RELEASE = 5.0 |
63 else |
60 else |
64 $(error Cannot determine S60 release, no known stub files in $(S60_STUBSIS_DIRS)) |
61 $(error Cannot determine S60 release, no known stub files in $(S60_STUBSIS_DIRS)) |
65 endif |
|
66 endif |
62 endif |
67 endif |
63 endif |
68 endif |
64 endif |
69 endif |
65 endif |
70 # Export the release info, so that no autodetermination is needed after this |
66 # Export the release info, so that no autodetermination is needed after this |
176 endif |
172 endif |
177 |
173 |
178 ifdef RD_JAVA_USIF_ENABLED |
174 ifdef RD_JAVA_USIF_ENABLED |
179 SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK = 1 |
175 SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK = 1 |
180 PROJECT_DEFINES += SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK |
176 PROJECT_DEFINES += SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK |
|
177 # Following flag enables application registrations to USIF |
|
178 # and disables application registrations to AppArc. |
|
179 PROJECT_DEFINES += RD_JAVA_USIF_APP_REG |
|
180 # Following flag enables application notifications to AppArc. |
|
181 #PROJECT_DEFINES += RD_JAVA_USIF_NOTIFY_APP_ARC |
|
182 # Following flag enables installation progress notifications through USIF. |
|
183 #PROJECT_DEFINES += RD_JAVA_USIF_NOTIFY_PROGRESS |
181 endif |
184 endif |
182 |
185 |
183 # Java proximity Listener support exsist in 9.2 only(can not be used if 5.0 untill IAD dependecy mentioned) |
186 # Java proximity Listener support exsist in 9.2 only(can not be used if 5.0 untill IAD dependecy mentioned) |
184 ifndef RD_JAVA_S60_RELEASE_5_0 |
187 ifndef RD_JAVA_S60_RELEASE_5_0 |
185 RD_JAVA_PROXIMITY_LISTENER_ENABLED = 1 |
188 RD_JAVA_PROXIMITY_LISTENER_ENABLED = 1 |
186 endif |
189 endif |
187 ifdef RD_JAVA_PROXIMITY_LISTENER_ENABLED |
190 ifdef RD_JAVA_PROXIMITY_LISTENER_ENABLED |
188 PROJECT_DEFINES += RD_JAVA_PROXIMITY_LISTENER_ENABLED |
191 PROJECT_DEFINES += RD_JAVA_PROXIMITY_LISTENER_ENABLED |
189 endif |
|
190 |
|
191 # Java PIM Multiple Calendar exsist in 9.2 only(can not be used if 5.0 and for 10.1 as native support doesn't exsist) |
|
192 ifdef RD_JAVA_S60_RELEASE_9_2 |
|
193 RD_JAVA_PIM_MULTICAL_ENABLED = 1 |
|
194 endif |
|
195 ifdef RD_JAVA_PIM_MULTICAL_ENABLED |
|
196 PROJECT_DEFINES += RD_JAVA_PIM_MULTICAL_ENABLED |
|
197 endif |
192 endif |
198 |
193 |
199 ifeq ($(OPENC_BETA_PATCH),1) |
194 ifeq ($(OPENC_BETA_PATCH),1) |
200 PROJECT_DEFINES += RD_JAVA_OPENC_BETA_PATCH |
195 PROJECT_DEFINES += RD_JAVA_OPENC_BETA_PATCH |
201 endif |
196 endif |