author | naoto |
Mon, 29 Oct 2012 10:42:41 -0700 | |
changeset 14331 | d3411e624053 |
parent 13583 | dc0017b1a452 |
child 14502 | d63fed06fed4 |
permissions | -rw-r--r-- |
2 | 1 |
# |
2 |
# |
|
3 |
# |
|
4 |
||
5 |
DESTDIR=.. |
|
6 |
FOODIR=foo-contents |
|
7 |
BARDIR=bar-contents |
|
8 |
||
9 |
all: $(DESTDIR)/fooprovider.jar $(DESTDIR)/barprovider.jar |
|
10 |
||
11 |
FOOSERVICES = \ |
|
12 |
java.text.spi.BreakIteratorProvider \ |
|
13 |
java.text.spi.CollatorProvider \ |
|
14 |
java.text.spi.DateFormatProvider \ |
|
15 |
java.text.spi.DateFormatSymbolsProvider \ |
|
16 |
java.text.spi.DecimalFormatSymbolsProvider \ |
|
17 |
java.text.spi.NumberFormatProvider |
|
18 |
||
19 |
BARSERVICES = \ |
|
20 |
java.util.spi.CurrencyNameProvider \ |
|
21 |
java.util.spi.TimeZoneNameProvider \ |
|
13583 | 22 |
java.util.spi.LocaleNameProvider \ |
23 |
java.util.spi.CalendarDataProvider |
|
2 | 24 |
|
25 |
FOOFILES_JAVA = \ |
|
26 |
BreakIteratorProviderImpl.java \ |
|
27 |
CollatorProviderImpl.java \ |
|
28 |
DateFormatProviderImpl.java \ |
|
29 |
DateFormatSymbolsProviderImpl.java \ |
|
30 |
DecimalFormatSymbolsProviderImpl.java \ |
|
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 | 34 |
Utils.java |
35 |
||
36 |
BARFILES_JAVA = \ |
|
37 |
CurrencyNameProviderImpl.java \ |
|
14331
d3411e624053
8000997: Multiple locale sensitive services cannot be loaded
naoto
parents:
13583
diff
changeset
|
38 |
CurrencyNameProviderImpl2.java \ |
2 | 39 |
TimeZoneNameProviderImpl.java \ |
40 |
LocaleNameProviderImpl.java \ |
|
13583 | 41 |
CalendarDataProviderImpl.java \ |
2 | 42 |
Utils.java |
43 |
||
44 |
BARFILES_PROPERTIES = \ |
|
45 |
LocaleNames.properties \ |
|
46 |
LocaleNames_ja.properties \ |
|
47 |
LocaleNames_ja_JP_osaka.properties \ |
|
48 |
LocaleNames_ja_JP_kyoto.properties \ |
|
49 |
LocaleNames_xx.properties |
|
50 |
||
51 |
$(DESTDIR)/fooprovider.jar: $(FOOSERVICES) $(FOOFILES_JAVA) |
|
52 |
rm -rf $(FOODIR) |
|
53 |
mkdir -p $(FOODIR) |
|
54 |
mkdir -p $(FOODIR)/META-INF |
|
55 |
mkdir -p $(FOODIR)/META-INF/services |
|
56 |
$(BINDIR)/javac -d $(FOODIR) $(FOOFILES_JAVA) |
|
57 |
cp $(FOOSERVICES) $(FOODIR)/META-INF/services |
|
58 |
rm -f $(DESTDIR)/fooprovider.jar |
|
59 |
$(BINDIR)/jar cvf $(DESTDIR)/fooprovider.jar -C $(FOODIR) . |
|
60 |
||
61 |
$(DESTDIR)/barprovider.jar: $(BARSERVICES) $(BARFILES_JAVA) $(BARFILES_PROPERTIES) |
|
62 |
rm -rf $(BARDIR) |
|
63 |
mkdir -p $(BARDIR) |
|
64 |
mkdir -p $(BARDIR)/META-INF |
|
65 |
mkdir -p $(BARDIR)/META-INF/services |
|
66 |
$(BINDIR)/javac -d $(BARDIR) $(BARFILES_JAVA) |
|
67 |
cp $(BARSERVICES) $(BARDIR)/META-INF/services |
|
68 |
cp $(BARFILES_PROPERTIES) $(BARDIR)/com/bar |
|
69 |
rm -f $(DESTDIR)/barprovider.jar |
|
70 |
$(BINDIR)/jar cvf $(DESTDIR)/barprovider.jar -C $(BARDIR) . |