jdk/test/java/util/PluggableLocale/providersrc/Makefile
author naoto
Tue, 21 Aug 2012 11:00:30 -0700
changeset 13583 dc0017b1a452
parent 7787 d2420a14d0a2
child 14331 d3411e624053
permissions -rw-r--r--
6336885: RFE: Locale Data Deployment Enhancements 4609153: Provide locale data for Indic locales 5104387: Support for gl_ES locale (galician language) 6337471: desktop/system locale preferences support 7056139: (cal) SPI support for locale-dependent Calendar parameters 7058206: Provide CalendarData SPI for week params and display field value names 7073852: Support multiple scripts for digits and decimal symbols per locale 7079560: [Fmt-Da] Context dependent month names support in SimpleDateFormat 7171324: getAvailableLocales() of locale sensitive services should return the actual availability of locales 7151414: (cal) Support calendar type identification 7168528: LocaleServiceProvider needs to be aware of Locale extensions 7171372: (cal) locale's default Calendar should be created if unknown calendar is specified Summary: JEP 127: Improve Locale Data Packaging and Adopt Unicode CLDR Data (part 1 w/o packaging changes. by Naoto Sato and Masayoshi Okutsu) Reviewed-by: erikj, sherman, peytoia
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
DESTDIR=..
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
FOODIR=foo-contents
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
BARDIR=bar-contents
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
all: $(DESTDIR)/fooprovider.jar $(DESTDIR)/barprovider.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
FOOSERVICES = \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
        java.text.spi.BreakIteratorProvider \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
        java.text.spi.CollatorProvider \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
        java.text.spi.DateFormatProvider \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
	java.text.spi.DateFormatSymbolsProvider \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
	java.text.spi.DecimalFormatSymbolsProvider \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
	java.text.spi.NumberFormatProvider 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
BARSERVICES = \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
	java.util.spi.CurrencyNameProvider \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
	java.util.spi.TimeZoneNameProvider \
13583
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 7787
diff changeset
    22
	java.util.spi.LocaleNameProvider \
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 7787
diff changeset
    23
	java.util.spi.CalendarDataProvider
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
FOOFILES_JAVA = \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
    BreakIteratorProviderImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
    CollatorProviderImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
    DateFormatProviderImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
    DateFormatSymbolsProviderImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
    DecimalFormatSymbolsProviderImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
    NumberFormatProviderImpl.java \
7787
d2420a14d0a2 7003643: [Fmt-Me] MessageFormat.toPattern produces wrong quoted string and subformat modifiers
okutsu
parents: 2
diff changeset
    32
    FooDateFormat.java \
d2420a14d0a2 7003643: [Fmt-Me] MessageFormat.toPattern produces wrong quoted string and subformat modifiers
okutsu
parents: 2
diff changeset
    33
    FooNumberFormat.java \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
    Utils.java
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
BARFILES_JAVA = \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
    CurrencyNameProviderImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
    TimeZoneNameProviderImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
    LocaleNameProviderImpl.java \
13583
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 7787
diff changeset
    40
    CalendarDataProviderImpl.java \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
    Utils.java
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
BARFILES_PROPERTIES = \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
    LocaleNames.properties \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
    LocaleNames_ja.properties \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
    LocaleNames_ja_JP_osaka.properties \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
    LocaleNames_ja_JP_kyoto.properties \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
    LocaleNames_xx.properties
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
$(DESTDIR)/fooprovider.jar: $(FOOSERVICES) $(FOOFILES_JAVA)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
	rm -rf $(FOODIR)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
	mkdir -p $(FOODIR)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
	mkdir -p $(FOODIR)/META-INF
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
	mkdir -p $(FOODIR)/META-INF/services
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
	$(BINDIR)/javac -d $(FOODIR) $(FOOFILES_JAVA)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
	cp $(FOOSERVICES) $(FOODIR)/META-INF/services
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
	rm -f $(DESTDIR)/fooprovider.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
	$(BINDIR)/jar  cvf $(DESTDIR)/fooprovider.jar -C $(FOODIR) .
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
$(DESTDIR)/barprovider.jar: $(BARSERVICES) $(BARFILES_JAVA) $(BARFILES_PROPERTIES)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
	rm -rf $(BARDIR)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
	mkdir -p $(BARDIR)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
	mkdir -p $(BARDIR)/META-INF
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
	mkdir -p $(BARDIR)/META-INF/services
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
	$(BINDIR)/javac -d $(BARDIR) $(BARFILES_JAVA)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
	cp $(BARSERVICES) $(BARDIR)/META-INF/services
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
	cp $(BARFILES_PROPERTIES) $(BARDIR)/com/bar
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
	rm -f $(DESTDIR)/barprovider.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
	$(BINDIR)/jar  cvf $(DESTDIR)/barprovider.jar -C $(BARDIR) .