build/Makefile.project
changeset 67 63b81d807542
parent 35 85266cc22c7f
child 78 71ad690e91f5
equal deleted inserted replaced
64:0ea12c182930 67:63b81d807542
    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
   172 endif
   176 endif
   173 
   177 
   174 ifdef RD_JAVA_USIF_ENABLED
   178 ifdef RD_JAVA_USIF_ENABLED
   175   SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK = 1
   179   SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK = 1
   176   PROJECT_DEFINES += SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
   180   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
       
   184 endif
   181 endif
   185 
   182 
   186 # Java proximity Listener support exsist in 9.2 only(can not be used if 5.0 untill IAD dependecy mentioned)
   183 # Java proximity Listener support exsist in 9.2 only(can not be used if 5.0 untill IAD dependecy mentioned)
   187 ifndef RD_JAVA_S60_RELEASE_5_0
   184 ifndef RD_JAVA_S60_RELEASE_5_0
   188   RD_JAVA_PROXIMITY_LISTENER_ENABLED = 1
   185   RD_JAVA_PROXIMITY_LISTENER_ENABLED = 1
   189 endif
   186 endif
   190 ifdef RD_JAVA_PROXIMITY_LISTENER_ENABLED
   187 ifdef RD_JAVA_PROXIMITY_LISTENER_ENABLED
   191   PROJECT_DEFINES += RD_JAVA_PROXIMITY_LISTENER_ENABLED
   188   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
   192 endif
   197 endif
   193 
   198 
   194 ifeq ($(OPENC_BETA_PATCH),1)
   199 ifeq ($(OPENC_BETA_PATCH),1)
   195   PROJECT_DEFINES += RD_JAVA_OPENC_BETA_PATCH
   200   PROJECT_DEFINES += RD_JAVA_OPENC_BETA_PATCH
   196 endif
   201 endif