makefiles/BuildLangtools.gmk

changeset 1472
0c244701188e
parent 1424
da48ab364ea4
child 1525
2d6789a725a4
equal deleted inserted replaced
1468:690c41cdab55 1472:0c244701188e
73 rm -rf $(@D)/* 73 rm -rf $(@D)/*
74 mkdir -p $(@D) $(PROPDIRS) 74 mkdir -p $(@D) $(PROPDIRS)
75 printf "jdk=$(JDK_VERSION)\nfull=$(FULL_VERSION)\nrelease=$(RELEASE)\n" > $(LANGTOOLS_OUTPUTDIR)/gensrc/com/sun/tools/javah/resources/version.properties 75 printf "jdk=$(JDK_VERSION)\nfull=$(FULL_VERSION)\nrelease=$(RELEASE)\n" > $(LANGTOOLS_OUTPUTDIR)/gensrc/com/sun/tools/javah/resources/version.properties
76 printf "jdk=$(JDK_VERSION)\nfull=$(FULL_VERSION)\nrelease=$(RELEASE)\n" > $(LANGTOOLS_OUTPUTDIR)/gensrc/com/sun/tools/javap/resources/version.properties 76 printf "jdk=$(JDK_VERSION)\nfull=$(FULL_VERSION)\nrelease=$(RELEASE)\n" > $(LANGTOOLS_OUTPUTDIR)/gensrc/com/sun/tools/javap/resources/version.properties
77 printf "jdk=$(JDK_VERSION)\nfull=$(FULL_VERSION)\nrelease=$(RELEASE)\n" > $(LANGTOOLS_OUTPUTDIR)/gensrc/com/sun/tools/javac/resources/version.properties 77 printf "jdk=$(JDK_VERSION)\nfull=$(FULL_VERSION)\nrelease=$(RELEASE)\n" > $(LANGTOOLS_OUTPUTDIR)/gensrc/com/sun/tools/javac/resources/version.properties
78 printf "jdk=$(JDK_VERSION)\nfull=$(FULL_VERSION)\nrelease=$(RELEASE)\n" > $(LANGTOOLS_OUTPUTDIR)/gensrc/com/sun/tools/jdeps/resources/version.properties
78 echo Compiling $(words $(PROPSOURCES) v1 v2 v3) properties into resource bundles 79 echo Compiling $(words $(PROPSOURCES) v1 v2 v3) properties into resource bundles
79 $(TOOL_COMPILEPROPS_CMD) $(PROPCMDLINE) \ 80 $(TOOL_COMPILEPROPS_CMD) $(PROPCMDLINE) \
80 -compile $(LANGTOOLS_OUTPUTDIR)/gensrc/com/sun/tools/javah/resources/version.properties \ 81 -compile $(LANGTOOLS_OUTPUTDIR)/gensrc/com/sun/tools/javah/resources/version.properties \
81 $(LANGTOOLS_OUTPUTDIR)/gensrc/com/sun/tools/javah/resources/version.java \ 82 $(LANGTOOLS_OUTPUTDIR)/gensrc/com/sun/tools/javah/resources/version.java \
82 java.util.ListResourceBundle \ 83 java.util.ListResourceBundle \
83 -compile $(LANGTOOLS_OUTPUTDIR)/gensrc/com/sun/tools/javap/resources/version.properties \ 84 -compile $(LANGTOOLS_OUTPUTDIR)/gensrc/com/sun/tools/javap/resources/version.properties \
84 $(LANGTOOLS_OUTPUTDIR)/gensrc/com/sun/tools/javap/resources/version.java \ 85 $(LANGTOOLS_OUTPUTDIR)/gensrc/com/sun/tools/javap/resources/version.java \
85 java.util.ListResourceBundle \ 86 java.util.ListResourceBundle \
86 -compile $(LANGTOOLS_OUTPUTDIR)/gensrc/com/sun/tools/javac/resources/version.properties \ 87 -compile $(LANGTOOLS_OUTPUTDIR)/gensrc/com/sun/tools/javac/resources/version.properties \
87 $(LANGTOOLS_OUTPUTDIR)/gensrc/com/sun/tools/javac/resources/version.java \ 88 $(LANGTOOLS_OUTPUTDIR)/gensrc/com/sun/tools/javac/resources/version.java \
89 java.util.ListResourceBundle \
90 -compile $(LANGTOOLS_OUTPUTDIR)/gensrc/com/sun/tools/jdeps/resources/version.properties \
91 $(LANGTOOLS_OUTPUTDIR)/gensrc/com/sun/tools/jdeps/resources/version.java \
88 java.util.ListResourceBundle 92 java.util.ListResourceBundle
89 echo PROPS_ARE_CREATED=yes > $@ 93 echo PROPS_ARE_CREATED=yes > $@
90 94
91 # Trigger the generation of the resource bundles. After the resource bundles have 95 # Trigger the generation of the resource bundles. After the resource bundles have
92 # been compiled, then the makefile will restart and the newly created java files 96 # been compiled, then the makefile will restart and the newly created java files

mercurial