jdk/test/java/util/PluggableLocale/providersrc/Makefile
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 2 90ce3da70b43
child 7787 d2420a14d0a2
permissions -rw-r--r--
Initial load
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 \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
	java.util.spi.LocaleNameProvider 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
FOOFILES_JAVA = \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
    BreakIteratorProviderImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
    CollatorProviderImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
    DateFormatProviderImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
    DateFormatSymbolsProviderImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
    DecimalFormatSymbolsProviderImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
    NumberFormatProviderImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
    Utils.java
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
BARFILES_JAVA = \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
    CurrencyNameProviderImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
    TimeZoneNameProviderImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
    LocaleNameProviderImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
    Utils.java
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
BARFILES_PROPERTIES = \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
    LocaleNames.properties \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
    LocaleNames_ja.properties \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
    LocaleNames_ja_JP_osaka.properties \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
    LocaleNames_ja_JP_kyoto.properties \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
    LocaleNames_xx.properties
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
$(DESTDIR)/fooprovider.jar: $(FOOSERVICES) $(FOOFILES_JAVA)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
	rm -rf $(FOODIR)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
	mkdir -p $(FOODIR)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
	mkdir -p $(FOODIR)/META-INF
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
	mkdir -p $(FOODIR)/META-INF/services
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
	$(BINDIR)/javac -d $(FOODIR) $(FOOFILES_JAVA)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
	cp $(FOOSERVICES) $(FOODIR)/META-INF/services
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
	rm -f $(DESTDIR)/fooprovider.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
	$(BINDIR)/jar  cvf $(DESTDIR)/fooprovider.jar -C $(FOODIR) .
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
$(DESTDIR)/barprovider.jar: $(BARSERVICES) $(BARFILES_JAVA) $(BARFILES_PROPERTIES)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
	rm -rf $(BARDIR)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
	mkdir -p $(BARDIR)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
	mkdir -p $(BARDIR)/META-INF
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
	mkdir -p $(BARDIR)/META-INF/services
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
	$(BINDIR)/javac -d $(BARDIR) $(BARFILES_JAVA)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
	cp $(BARSERVICES) $(BARDIR)/META-INF/services
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
	cp $(BARFILES_PROPERTIES) $(BARDIR)/com/bar
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
	rm -f $(DESTDIR)/barprovider.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
	$(BINDIR)/jar  cvf $(DESTDIR)/barprovider.jar -C $(BARDIR) .