comparison makefiles/GensrcCharacterData.gmk @ 5670:1953cf522107

7170079: Adjustments to build-infra makefiles Reviewed-by: ohair, ohrstrom, ihse, jonas Contributed-by: jonas <jonas.oreland@oracle.com>, erikj <erik.joelsson@oracle.com>, ihse <magnus.ihse.bursie@oracle.com>, tgranat <torbjorn.granat@oracle.com>, ykantser <yekaterina.kantserova@oracle.com>
author erikj
date Thu, 07 Jun 2012 20:40:50 -0700
parents 9d3d01aca52c
children 64dd2aba6d33
comparison
equal deleted inserted replaced
0:bdc1f276cb1a 1:427464c1abf3
32 CHARACTERDATA = $(JDK_TOPDIR)/make/tools/GenerateCharacter 32 CHARACTERDATA = $(JDK_TOPDIR)/make/tools/GenerateCharacter
33 UNICODEDATA = $(JDK_TOPDIR)/make/tools/UnicodeData 33 UNICODEDATA = $(JDK_TOPDIR)/make/tools/UnicodeData
34 34
35 define SetupCharacterData 35 define SetupCharacterData
36 $(JDK_OUTPUTDIR)/gensrc_characterdata/java/lang/$1.java : $(CHARACTERDATA)/$1.java.template $(BUILD_TOOLS) 36 $(JDK_OUTPUTDIR)/gensrc_characterdata/java/lang/$1.java : $(CHARACTERDATA)/$1.java.template $(BUILD_TOOLS)
37 mkdir -p $$(@D) 37 $(MKDIR) -p $$(@D)
38 echo Generating $1.java 38 $(ECHO) Generating $1.java
39 $(TOOL_GENERATECHARACTER) $2 \ 39 $(TOOL_GENERATECHARACTER) $2 \
40 -template $(CHARACTERDATA)/$1.java.template \ 40 -template $(CHARACTERDATA)/$1.java.template \
41 -spec $(UNICODEDATA)/UnicodeData.txt \ 41 -spec $(UNICODEDATA)/UnicodeData.txt \
42 -specialcasing $(UNICODEDATA)/SpecialCasing.txt \ 42 -specialcasing $(UNICODEDATA)/SpecialCasing.txt \
43 -proplist $(UNICODEDATA)/PropList.txt \ 43 -proplist $(UNICODEDATA)/PropList.txt \
54 $(eval $(call SetupCharacterData,CharacterData0E,-plane 14,11 4 1)) 54 $(eval $(call SetupCharacterData,CharacterData0E,-plane 14,11 4 1))
55 55
56 # Copy two Java files that need no preprocessing. 56 # Copy two Java files that need no preprocessing.
57 $(JDK_OUTPUTDIR)/gensrc_characterdata/java/lang/%.java : $(CHARACTERDATA)/%.java.template 57 $(JDK_OUTPUTDIR)/gensrc_characterdata/java/lang/%.java : $(CHARACTERDATA)/%.java.template
58 $(MKDIR) -p $(@D) 58 $(MKDIR) -p $(@D)
59 echo Generating $(@F) 59 $(ECHO) Generating $(@F)
60 $(CP) -f $< $@ 60 $(CP) -f $< $@
61 61
62 GENSRC_CHARACTERDATA += $(JDK_OUTPUTDIR)/gensrc_characterdata/java/lang/CharacterDataUndefined.java \ 62 GENSRC_CHARACTERDATA += $(JDK_OUTPUTDIR)/gensrc_characterdata/java/lang/CharacterDataUndefined.java \
63 $(JDK_OUTPUTDIR)/gensrc_characterdata/java/lang/CharacterDataPrivateUse.java 63 $(JDK_OUTPUTDIR)/gensrc_characterdata/java/lang/CharacterDataPrivateUse.java
64 64