common/makefiles/IdlCompilation.gmk
changeset 13132 bd88bb8dd3af
parent 12258 6ec26f6cc53e
child 13133 701e61c32ece
equal deleted inserted replaced
13082:9b19b2302c28 13132:bd88bb8dd3af
    85 $(if $5,$1_$(strip $5))
    85 $(if $5,$1_$(strip $5))
    86 $(if $6,$1_$(strip $6))
    86 $(if $6,$1_$(strip $6))
    87 $(if $7,$1_$(strip $7))
    87 $(if $7,$1_$(strip $7))
    88 $(if $8,$1_$(strip $8))
    88 $(if $8,$1_$(strip $8))
    89 $(if $9,$1_$(strip $9))
    89 $(if $9,$1_$(strip $9))
       
    90 $(if $(10),$(error Internal makefile error: Too many arguments to SetupIdlCompilation, please update IdlCompilation.gmk))
       
    91 
    90 # Remove any relative addressing in the paths.
    92 # Remove any relative addressing in the paths.
    91 $1_SRC := $$(abspath $$($1_SRC))
    93 $1_SRC := $$(abspath $$($1_SRC))
    92 $1_BIN := $$(abspath $$($1_BIN))
    94 $1_BIN := $$(abspath $$($1_BIN))
    93 # Find all existing java files and existing class files.
    95 # Find all existing java files and existing class files.
    94 $$(shell mkdir -p $$($1_SRC) $$($1_BIN))
    96 $$(shell mkdir -p $$($1_SRC) $$($1_BIN))
   109 # Now create the dependencies for each idl target.
   111 # Now create the dependencies for each idl target.
   110 $$(foreach p,$$($1),$$(eval $$(call add_idl_package,$1,$$($1_SRC),$$($1_BIN),$$(patsubst $$($1_BIN)/%.idl.d,$$($1_SRC)/%.idl,$$p),$$p,$$($1_DELETES),$$($1_OLDIMPLBASES),$$($1_IDLJ))))
   112 $$(foreach p,$$($1),$$(eval $$(call add_idl_package,$1,$$($1_SRC),$$($1_BIN),$$(patsubst $$($1_BIN)/%.idl.d,$$($1_SRC)/%.idl,$$p),$$p,$$($1_DELETES),$$($1_OLDIMPLBASES),$$($1_IDLJ))))
   111 endef
   113 endef
   112 
   114 
   113 .SUFFIXES: .java .class .package
   115 .SUFFIXES: .java .class .package
   114