common/makefiles/IdlCompilation.gmk

changeset 458
c8d320b48626
parent 425
e1830598f0b7
child 459
3156dff953b1
equal deleted inserted replaced
455:633f2378c904 458:c8d320b48626
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

mercurial