langtools/make/Makefile
changeset 5219 6765bf7b1023
parent 4941 37df21e3fdb7
child 5520 86e4b9a9da40
equal deleted inserted replaced
5218:066372a81ca9 5219:6765bf7b1023
   186 clobber: clean
   186 clobber: clean
   187 
   187 
   188 # All ant targets of interest
   188 # All ant targets of interest
   189 ANT_TARGETS = build clean sanity post-sanity diagnostics # for now
   189 ANT_TARGETS = build clean sanity post-sanity diagnostics # for now
   190 
   190 
       
   191 # Create diagnostics log (careful, ant 1.8.0 -diagnostics always does an exit 1)
       
   192 $(OUTPUTDIR)/build/ant-diagnostics.log:
       
   193 	@mkdir -p $(OUTPUTDIR)/build $(ANT_TMPDIR)
       
   194 	@$(RM) $@
       
   195 	$(ANT_JAVA_HOME) $(ANT_OPTS) $(ANT) -diagnostics > $@ ; \
       
   196 	  $(ANT_JAVA_HOME) $(ANT_OPTS) $(ANT) -version >> $@
       
   197 
   191 # Create a make target for each
   198 # Create a make target for each
   192 $(ANT_TARGETS):
   199 $(ANT_TARGETS): $(OUTPUTDIR)/build/ant-diagnostics.log
   193 	@ mkdir -p $(OUTPUTDIR)/build $(ANT_TMPDIR)
   200 	@ mkdir -p $(OUTPUTDIR)/build $(ANT_TMPDIR)
   194 	$(ANT_JAVA_HOME) $(ANT_OPTS) $(ANT) -diagnostics > $(OUTPUTDIR)/build/ant-diagnostics.log
       
   195 	$(ANT_JAVA_HOME) $(ANT_OPTS) $(ANT) $(ANT_OPTIONS) $@
   201 	$(ANT_JAVA_HOME) $(ANT_OPTS) $(ANT) $(ANT_OPTIONS) $@
   196 
   202 
   197 #-------------------------------------------------------------------
   203 #-------------------------------------------------------------------
   198 #
   204 #
   199 # Targets for Sun's internal JPRT build system
   205 # Targets for Sun's internal JPRT build system