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 |
52 ifneq ($(wildcard $(addsuffix Series60v5.2.sis,$(S60_STUBSIS_DIRS))),) |
55 ifneq ($(wildcard $(addsuffix Series60v5.2.sis,$(S60_STUBSIS_DIRS))),) |
53 RD_JAVA_S60_RELEASE = 9.2 |
56 RD_JAVA_S60_RELEASE = 9.2 |
54 else |
57 else |
55 ifneq ($(wildcard $(addsuffix Series60v5.1.sis,$(S60_STUBSIS_DIRS))),) |
58 ifneq ($(wildcard $(addsuffix Series60v5.1.sis,$(S60_STUBSIS_DIRS))),) |
56 RD_JAVA_S60_RELEASE = 9.1 |
59 RD_JAVA_S60_RELEASE = 9.1 |
57 else |
60 else |
58 ifneq ($(wildcard $(addsuffix Series60v5.0.sis,$(S60_STUBSIS_DIRS))),) |
61 ifneq ($(wildcard $(addsuffix Series60v5.0.sis,$(S60_STUBSIS_DIRS))),) |
59 RD_JAVA_S60_RELEASE = 5.0 |
62 RD_JAVA_S60_RELEASE = 5.0 |
60 else |
63 else |
61 $(error Cannot determine S60 release, no known stub files in $(S60_STUBSIS_DIRS)) |
64 $(error Cannot determine S60 release, no known stub files in $(S60_STUBSIS_DIRS)) |
|
65 endif |
62 endif |
66 endif |
63 endif |
67 endif |
64 endif |
68 endif |
65 endif |
69 endif |
66 # Export the release info, so that no autodetermination is needed after this |
70 # Export the release info, so that no autodetermination is needed after this |
182 endif |
186 endif |
183 ifdef RD_JAVA_PROXIMITY_LISTENER_ENABLED |
187 ifdef RD_JAVA_PROXIMITY_LISTENER_ENABLED |
184 PROJECT_DEFINES += RD_JAVA_PROXIMITY_LISTENER_ENABLED |
188 PROJECT_DEFINES += RD_JAVA_PROXIMITY_LISTENER_ENABLED |
185 endif |
189 endif |
186 |
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 |
|
198 |
187 ifeq ($(OPENC_BETA_PATCH),1) |
199 ifeq ($(OPENC_BETA_PATCH),1) |
188 PROJECT_DEFINES += RD_JAVA_OPENC_BETA_PATCH |
200 PROJECT_DEFINES += RD_JAVA_OPENC_BETA_PATCH |
189 endif |
201 endif |
190 |
202 |
191 ifeq ($(S60_50_REL2),1) |
203 ifeq ($(S60_50_REL2),1) |