author | malenkov |
Fri, 16 May 2014 15:51:57 +0400 | |
changeset 25088 | 8d4b058368f0 |
parent 14765 | 0987999ed367 |
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 \ |
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 | 25 |
|
26 |
FOOFILES_JAVA = \ |
|
27 |
BreakIteratorProviderImpl.java \ |
|
28 |
CollatorProviderImpl.java \ |
|
29 |
DateFormatProviderImpl.java \ |
|
30 |
DateFormatSymbolsProviderImpl.java \ |
|
31 |
DecimalFormatSymbolsProviderImpl.java \ |
|
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 | 35 |
Utils.java |
36 |
||
37 |
BARFILES_JAVA = \ |
|
38 |
CurrencyNameProviderImpl.java \ |
|
14331
d3411e624053
8000997: Multiple locale sensitive services cannot be loaded
naoto
parents:
13583
diff
changeset
|
39 |
CurrencyNameProviderImpl2.java \ |
2 | 40 |
TimeZoneNameProviderImpl.java \ |
14765
0987999ed367
8000983: Support narrow display names for calendar fields
okutsu
parents:
14502
diff
changeset
|
41 |
GenericTimeZoneNameProviderImpl.java \ |
2 | 42 |
LocaleNameProviderImpl.java \ |
13583 | 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 | 45 |
Utils.java |
46 |
||
47 |
BARFILES_PROPERTIES = \ |
|
48 |
LocaleNames.properties \ |
|
49 |
LocaleNames_ja.properties \ |
|
50 |
LocaleNames_ja_JP_osaka.properties \ |
|
51 |
LocaleNames_ja_JP_kyoto.properties \ |
|
52 |
LocaleNames_xx.properties |
|
53 |
||
54 |
$(DESTDIR)/fooprovider.jar: $(FOOSERVICES) $(FOOFILES_JAVA) |
|
55 |
rm -rf $(FOODIR) |
|
56 |
mkdir -p $(FOODIR) |
|
57 |
mkdir -p $(FOODIR)/META-INF |
|
58 |
mkdir -p $(FOODIR)/META-INF/services |
|
59 |
$(BINDIR)/javac -d $(FOODIR) $(FOOFILES_JAVA) |
|
60 |
cp $(FOOSERVICES) $(FOODIR)/META-INF/services |
|
61 |
rm -f $(DESTDIR)/fooprovider.jar |
|
62 |
$(BINDIR)/jar cvf $(DESTDIR)/fooprovider.jar -C $(FOODIR) . |
|
63 |
||
64 |
$(DESTDIR)/barprovider.jar: $(BARSERVICES) $(BARFILES_JAVA) $(BARFILES_PROPERTIES) |
|
65 |
rm -rf $(BARDIR) |
|
66 |
mkdir -p $(BARDIR) |
|
67 |
mkdir -p $(BARDIR)/META-INF |
|
68 |
mkdir -p $(BARDIR)/META-INF/services |
|
69 |
$(BINDIR)/javac -d $(BARDIR) $(BARFILES_JAVA) |
|
70 |
cp $(BARSERVICES) $(BARDIR)/META-INF/services |
|
71 |
cp $(BARFILES_PROPERTIES) $(BARDIR)/com/bar |
|
72 |
rm -f $(DESTDIR)/barprovider.jar |
|
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 |