make/common/RMICompilation.gmk
changeset 29312 f3f859137ce6
parent 28902 0c09b47449c8
child 32806 e0a88439f971
equal deleted inserted replaced
29311:bc685175f836 29312:f3f859137ce6
    35 #   RUN_V11:=Set to run rmic with -v1.1
    35 #   RUN_V11:=Set to run rmic with -v1.1
    36 #   RUN_V12:=Set to run rmic with -v1.2
    36 #   RUN_V12:=Set to run rmic with -v1.2
    37 #   RUN_IIOP:=Set to run rmic with -iiop
    37 #   RUN_IIOP:=Set to run rmic with -iiop
    38 #   RUN_IIOP_STDPKG:=Set to run rmic with -iiop -standardPackage
    38 #   RUN_IIOP_STDPKG:=Set to run rmic with -iiop -standardPackage
    39 #   KEEP_GENERATED:=Set to keep generated sources around
    39 #   KEEP_GENERATED:=Set to keep generated sources around
    40 define SetupRMICompilation
    40 SetupRMICompilation = $(NamedParamsMacroTemplate)
    41   $(if $(16),$(error Internal makefile error: Too many arguments to SetupRMICompilation, please update RMICompilation.gmk))
    41 define SetupRMICompilationBody
    42   $(call EvalDebugWrapper,$(strip $1),$(call SetupRMICompilationInner,$(strip $1),$2,$3,$4,$5,$6,$7,$8,$9,$(10),$(11),$(12),$(13),$(14),$(15)))
       
    43 endef
       
    44 
       
    45 define SetupRMICompilationInner
       
    46   $(foreach i,2 3 4 5 6 7 8 9 10 11 12 13 14 15, $(if $(strip $($i)),$1_$(strip $($i)))$(NEWLINE))
       
    47   $(call LogSetupMacroEntry,SetupRMICompilation($1),$2,$3,$4,$5,$6,$7,$8,$9,$(10),$(11),$(12),$(13),$(14),$(15))
       
    48   $(if $(16),$(error Internal makefile error: Too many arguments to SetupRMICompilation, please update RMICompilation.gmk))
       
    49 
    42 
    50   $1_DEP_FILE := $$($1_STUB_CLASSES_DIR)/_the.$1_rmic.generated
    43   $1_DEP_FILE := $$($1_STUB_CLASSES_DIR)/_the.$1_rmic.generated
    51 
    44 
    52   $1_CLASSES_SLASH := $$(subst .,/,$$($1_CLASSES))
    45   $1_CLASSES_SLASH := $$(subst .,/,$$($1_CLASSES))
    53   $1_CLASS_FILES := $$(addprefix $$($1_CLASSES_DIR)/,$$(addsuffix .class,$$($1_CLASSES_SLASH)))
    46   $1_CLASS_FILES := $$(addprefix $$($1_CLASSES_DIR)/,$$(addsuffix .class,$$($1_CLASSES_SLASH)))