common/makefiles/JavaCompilation.gmk

changeset 673
2ef28c12d649
parent 635
907a926d3c96
child 751
e5cf1735638c
equal deleted inserted replaced
672:2f43964043c2 673:2ef28c12d649
84 # CHECK_COMPRESS_JAR Check the COMPRESS_JAR variable 84 # CHECK_COMPRESS_JAR Check the COMPRESS_JAR variable
85 85
86 # NOTE: $2 is dependencies, not a named argument! 86 # NOTE: $2 is dependencies, not a named argument!
87 $(foreach i,3 4 5 6 7 8 9 10 11 12 13 14 15, $(if $($i),$1_$(strip $($i)))$(NEWLINE)) 87 $(foreach i,3 4 5 6 7 8 9 10 11 12 13 14 15, $(if $($i),$1_$(strip $($i)))$(NEWLINE))
88 $(call LogSetupMacroEntry,SetupArchive($1),<dependencies>,$3,$4,$5,$6,$7,$8,$9,$(10),$(11),$(12),$(13),$(14),$(15)) 88 $(call LogSetupMacroEntry,SetupArchive($1),<dependencies>,$3,$4,$5,$6,$7,$8,$9,$(10),$(11),$(12),$(13),$(14),$(15))
89 $(if $(findstring $(LOG),debug trace), $(info *[2] <dependencies> = $(strip $2))) 89 $(if $(findstring $(LOG_LEVEL),debug trace), $(info *[2] <dependencies> = $(strip $2)))
90 $(if $(16),$(error Internal makefile error: Too many arguments to SetupArchive, please update JavaCompilation.gmk)) 90 $(if $(16),$(error Internal makefile error: Too many arguments to SetupArchive, please update JavaCompilation.gmk))
91 91
92 $1_JARMAIN:=$(strip $$($1_JARMAIN)) 92 $1_JARMAIN:=$(strip $$($1_JARMAIN))
93 $1_JARNAME:=$$(notdir $$($1_JAR)) 93 $1_JARNAME:=$$(notdir $$($1_JAR))
94 $1_MANIFEST_FILE:=$$(dir $$($1_JAR))_the.$$($1_JARNAME)_manifest 94 $1_MANIFEST_FILE:=$$(dir $$($1_JAR))_the.$$($1_JARNAME)_manifest
503 $$($1_REMOTE) \ 503 $$($1_REMOTE) \
504 -j $(JOBS) \ 504 -j $(JOBS) \
505 --permit-unidentified-artifacts \ 505 --permit-unidentified-artifacts \
506 --permit-sources-without-package \ 506 --permit-sources-without-package \
507 --compare-found-sources $$($1_BIN)/_the.batch.tmp \ 507 --compare-found-sources $$($1_BIN)/_the.batch.tmp \
508 --log=$(LOG) \ 508 --log=$(LOG_LEVEL) \
509 $$($1_SJAVAC_ARGS) \ 509 $$($1_SJAVAC_ARGS) \
510 $$($1_FLAGS) \ 510 $$($1_FLAGS) \
511 $$($1_HEADERS_ARG) \ 511 $$($1_HEADERS_ARG) \
512 -d $$($1_BIN) && \ 512 -d $$($1_BIN) && \
513 $(MV) $$($1_BIN)/_the.batch.tmp $$($1_BIN)/_the.batch) 513 $(MV) $$($1_BIN)/_the.batch.tmp $$($1_BIN)/_the.batch)

mercurial