57 endif |
57 endif |
58 $5 : $4 |
58 $5 : $4 |
59 $(MKDIR) -p $3/$$($4_TMPDIR) |
59 $(MKDIR) -p $3/$$($4_TMPDIR) |
60 $(RM) -rf $3/$$($4_TMPDIR) |
60 $(RM) -rf $3/$$($4_TMPDIR) |
61 $(MKDIR) -p $(dir $5) |
61 $(MKDIR) -p $(dir $5) |
62 $(ECHO) Compiling IDL $(patsubst $2/%,%,$4) |
62 $(ECHO) $(LOG_INFO) Compiling IDL $(patsubst $2/%,%,$4) |
63 $8 -td $3/$$($4_TMPDIR) \ |
63 $8 -td $3/$$($4_TMPDIR) \ |
64 -i $2/org/omg/CORBA \ |
64 -i $2/org/omg/CORBA \ |
65 -i $2/org/omg/PortableInterceptor \ |
65 -i $2/org/omg/PortableInterceptor \ |
66 -i $2/org/omg/PortableServer \ |
66 -i $2/org/omg/PortableServer \ |
67 -D CORBA3 -corba 3.0 \ |
67 -D CORBA3 -corba 3.0 \ |
77 |
77 |
78 define SetupIdlCompilation |
78 define SetupIdlCompilation |
79 # param 1 is for example BUILD_IDLS |
79 # param 1 is for example BUILD_IDLS |
80 # param 2,3,4,5,6,7,8 are named args. |
80 # param 2,3,4,5,6,7,8 are named args. |
81 # IDLJ,SRC,BIN,INCLUDES,EXCLUDES,OLDIMPLBASES,DELETES |
81 # IDLJ,SRC,BIN,INCLUDES,EXCLUDES,OLDIMPLBASES,DELETES |
82 $(if $2,$1_$(strip $2)) |
82 $(foreach i,2 3 4 5 6 7 8 9 10 11 12 13 14 15, $(if $($i),$1_$(strip $($i)))$(NEWLINE)) |
83 $(if $3,$1_$(strip $3)) |
83 $(call LogSetupMacroEntry,SetupIdlCompilation($1),$2,$3,$4,$5,$6,$7,$8,$9,$(10),$(11),$(12),$(13),$(14),$(15)) |
84 $(if $4,$1_$(strip $4)) |
84 $(if $(16),$(error Internal makefile error: Too many arguments to SetupIdlCompilation, please update IdlCompilation.gmk)) |
85 $(if $5,$1_$(strip $5)) |
|
86 $(if $6,$1_$(strip $6)) |
|
87 $(if $7,$1_$(strip $7)) |
|
88 $(if $8,$1_$(strip $8)) |
|
89 $(if $9,$1_$(strip $9)) |
|
90 $(if $(10),$(error Internal makefile error: Too many arguments to SetupIdlCompilation, please update IdlCompilation.gmk)) |
|
91 |
85 |
92 # Remove any relative addressing in the paths. |
86 # Remove any relative addressing in the paths. |
93 $1_SRC := $$(abspath $$($1_SRC)) |
87 $1_SRC := $$(abspath $$($1_SRC)) |
94 $1_BIN := $$(abspath $$($1_BIN)) |
88 $1_BIN := $$(abspath $$($1_BIN)) |
95 # Find all existing java files and existing class files. |
89 # Find all existing java files and existing class files. |