jdk/test/java/util/PluggableLocale/providersrc/Makefile
author okutsu
Mon, 10 Dec 2012 10:52:11 +0900
changeset 14765 0987999ed367
parent 14502 d63fed06fed4
permissions -rw-r--r--
8000983: Support narrow display names for calendar fields 8003267: Support generic time zone names in TimeZoneNameProvider (SPI) Reviewed-by: naoto
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 \
14502
d63fed06fed4 8000986: Split java.util.spi.CalendarDataProvider into week parameters and field names portions
okutsu
parents: 14331
diff changeset
    23
	java.util.spi.CalendarDataProvider \
d63fed06fed4 8000986: Split java.util.spi.CalendarDataProvider into week parameters and field names portions
okutsu
parents: 14331
diff changeset
    24
	java.util.spi.CalendarNameProvider
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
FOOFILES_JAVA = \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
    BreakIteratorProviderImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
    CollatorProviderImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
    DateFormatProviderImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
    DateFormatSymbolsProviderImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
    DecimalFormatSymbolsProviderImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
    NumberFormatProviderImpl.java \
7787
d2420a14d0a2 7003643: [Fmt-Me] MessageFormat.toPattern produces wrong quoted string and subformat modifiers
okutsu
parents: 2
diff changeset
    33
    FooDateFormat.java \
d2420a14d0a2 7003643: [Fmt-Me] MessageFormat.toPattern produces wrong quoted string and subformat modifiers
okutsu
parents: 2
diff changeset
    34
    FooNumberFormat.java \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
    Utils.java
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
BARFILES_JAVA = \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
    CurrencyNameProviderImpl.java \
14331
d3411e624053 8000997: Multiple locale sensitive services cannot be loaded
naoto
parents: 13583
diff changeset
    39
    CurrencyNameProviderImpl2.java \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
    TimeZoneNameProviderImpl.java \
14765
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 14502
diff changeset
    41
    GenericTimeZoneNameProviderImpl.java \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
    LocaleNameProviderImpl.java \
13583
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 7787
diff changeset
    43
    CalendarDataProviderImpl.java \
14502
d63fed06fed4 8000986: Split java.util.spi.CalendarDataProvider into week parameters and field names portions
okutsu
parents: 14331
diff changeset
    44
    CalendarNameProviderImpl.java \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
    Utils.java
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
BARFILES_PROPERTIES = \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
    LocaleNames.properties \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
    LocaleNames_ja.properties \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
    LocaleNames_ja_JP_osaka.properties \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
    LocaleNames_ja_JP_kyoto.properties \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
    LocaleNames_xx.properties
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
$(DESTDIR)/fooprovider.jar: $(FOOSERVICES) $(FOOFILES_JAVA)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
	rm -rf $(FOODIR)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
	mkdir -p $(FOODIR)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
	mkdir -p $(FOODIR)/META-INF
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
	mkdir -p $(FOODIR)/META-INF/services
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
	$(BINDIR)/javac -d $(FOODIR) $(FOOFILES_JAVA)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
	cp $(FOOSERVICES) $(FOODIR)/META-INF/services
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
	rm -f $(DESTDIR)/fooprovider.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
	$(BINDIR)/jar  cvf $(DESTDIR)/fooprovider.jar -C $(FOODIR) .
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
$(DESTDIR)/barprovider.jar: $(BARSERVICES) $(BARFILES_JAVA) $(BARFILES_PROPERTIES)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
	rm -rf $(BARDIR)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
	mkdir -p $(BARDIR)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
	mkdir -p $(BARDIR)/META-INF
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
	mkdir -p $(BARDIR)/META-INF/services
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
	$(BINDIR)/javac -d $(BARDIR) $(BARFILES_JAVA)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
	cp $(BARSERVICES) $(BARDIR)/META-INF/services
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
	cp $(BARFILES_PROPERTIES) $(BARDIR)/com/bar
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
	rm -f $(DESTDIR)/barprovider.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
	$(BINDIR)/jar  cvf $(DESTDIR)/barprovider.jar -C $(BARDIR) .
14502
d63fed06fed4 8000986: Split java.util.spi.CalendarDataProvider into week parameters and field names portions
okutsu
parents: 14331
diff changeset
    74
d63fed06fed4 8000986: Split java.util.spi.CalendarDataProvider into week parameters and field names portions
okutsu
parents: 14331
diff changeset
    75
clean:
d63fed06fed4 8000986: Split java.util.spi.CalendarDataProvider into week parameters and field names portions
okutsu
parents: 14331
diff changeset
    76
	rm -rf $(BARDIR) $(FOODIR)
d63fed06fed4 8000986: Split java.util.spi.CalendarDataProvider into week parameters and field names portions
okutsu
parents: 14331
diff changeset
    77
d63fed06fed4 8000986: Split java.util.spi.CalendarDataProvider into week parameters and field names portions
okutsu
parents: 14331
diff changeset
    78
.PHONY: all clean