author | mikael |
Thu, 14 Feb 2013 12:36:07 -0800 | |
changeset 15737 | ca4c7b0381d4 |
parent 15335 | b8366c53960b |
child 15402 | ce612878e7aa |
child 21374 | 9e22d8dc2035 |
permissions | -rw-r--r-- |
12892 | 1 |
# |
2 |
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
|
3 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
|
4 |
# |
|
5 |
# This code is free software; you can redistribute it and/or modify it |
|
6 |
# under the terms of the GNU General Public License version 2 only, as |
|
7 |
# published by the Free Software Foundation. Oracle designates this |
|
8 |
# particular file as subject to the "Classpath" exception as provided |
|
9 |
# by Oracle in the LICENSE file that accompanied this code. |
|
10 |
# |
|
11 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
|
12 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 |
# version 2 for more details (a copy is included in the LICENSE file that |
|
15 |
# accompanied this code). |
|
16 |
# |
|
17 |
# You should have received a copy of the GNU General Public License version |
|
18 |
# 2 along with this work; if not, write to the Free Software Foundation, |
|
19 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
20 |
# |
|
21 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
22 |
# or visit www.oracle.com if you need additional information or have any |
|
23 |
# questions. |
|
24 |
# |
|
25 |
||
26 |
include $(SPEC) |
|
27 |
include MakeBase.gmk |
|
28 |
include JavaCompilation.gmk |
|
29 |
include Setup.gmk |
|
30 |
||
31 |
default: all |
|
32 |
||
15126
bceb690ccf35
8005540: build-infra: Improve incremental build speed on windows by caching find results
erikj
parents:
14790
diff
changeset
|
33 |
# Prepare the find cache. Only used if running on windows. |
bceb690ccf35
8005540: build-infra: Improve incremental build speed on windows by caching find results
erikj
parents:
14790
diff
changeset
|
34 |
$(eval $(call FillCacheFind,$(JDK_OUTPUTDIR)/classes)) |
bceb690ccf35
8005540: build-infra: Improve incremental build speed on windows by caching find results
erikj
parents:
14790
diff
changeset
|
35 |
|
12892 | 36 |
include Tools.gmk |
37 |
||
13164 | 38 |
# |
39 |
# This makefile...so that altering will trigger rebuilding include/exclude-lists => jars |
|
40 |
# |
|
41 |
MAKEFILE=$(JDK_TOPDIR)/makefiles/CreateJars.gmk |
|
12892 | 42 |
|
43 |
MAINMANIFEST := $(JDK_TOPDIR)/make/tools/manifest.mf |
|
44 |
BEANMANIFEST := $(JDK_TOPDIR)/make/javax/swing/beaninfo/manifest |
|
45 |
||
46 |
JARS:= |
|
47 |
||
14231 | 48 |
$(eval $(call MakeDir,$(IMAGES_OUTPUTDIR)/lib)) |
49 |
||
12892 | 50 |
########################################################################################## |
51 |
||
14231 | 52 |
$(eval $(call SetupArchive,BUILD_JCONSOLE_JAR,,\ |
12892 | 53 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
13164 | 54 |
SUFFIXES:=.class .gif .png .properties,\ |
12892 | 55 |
INCLUDES:=sun/tools/jconsole com/sun/tools/jconsole,\ |
56 |
JARMAIN:=sun.tools.jconsole.JConsole,\ |
|
14231 | 57 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/jconsole.jar,\ |
12892 | 58 |
SKIP_METAINF:=true)) |
59 |
||
14231 | 60 |
JARS+=$(IMAGES_OUTPUTDIR)/lib/jconsole.jar |
12892 | 61 |
|
62 |
########################################################################################## |
|
63 |
||
14231 | 64 |
$(eval $(call SetupArchive,BUILD_DNS_JAR,,\ |
12892 | 65 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
66 |
INCLUDES:=sun/net/spi/nameservice/dns,\ |
|
67 |
EXTRA_FILES:=META-INF/services/sun.net.spi.nameservice.NameServiceDescriptor,\ |
|
14231 | 68 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/ext/dnsns.jar,\ |
12892 | 69 |
SKIP_METAINF:=true)) |
70 |
||
14231 | 71 |
JARS+=$(IMAGES_OUTPUTDIR)/lib/ext/dnsns.jar |
12892 | 72 |
|
73 |
########################################################################################## |
|
74 |
||
15289 | 75 |
$(IMAGES_OUTPUTDIR)/lib/tzdb.jar: $(JDK_OUTPUTDIR)/lib/tzdb.jar |
76 |
$(install-file) |
|
77 |
||
78 |
JARS += $(IMAGES_OUTPUTDIR)/lib/tzdb.jar |
|
79 |
||
80 |
########################################################################################## |
|
81 |
||
14334
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
82 |
LOCALEDATA_INCLUDE_LOCALES := ar be bg ca cs da de el es et fi fr ga hi hr hu in is it \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
83 |
iw ja ko lt lv mk ms mt nl no pl pt ro ru sk sl sq sr sv \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
84 |
th tr uk vi zh |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
85 |
|
13583 | 86 |
LOCALEDATA_INCLUDES := $(addprefix sun/text/resources/,$(LOCALEDATA_INCLUDE_LOCALES)) \ |
87 |
$(addprefix sun/util/resources/,$(LOCALEDATA_INCLUDE_LOCALES)) |
|
12892 | 88 |
|
14334
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
89 |
# For non-US English locale data |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
90 |
|
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
91 |
LOCALEDATA_INCLUDES += \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
92 |
sun/text/resources/en/FormatData_en_AU.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
93 |
sun/text/resources/en/FormatData_en_CA.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
94 |
sun/text/resources/en/FormatData_en_GB.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
95 |
sun/text/resources/en/FormatData_en_IE.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
96 |
sun/text/resources/en/FormatData_en_IN.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
97 |
sun/text/resources/en/FormatData_en_MT.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
98 |
sun/text/resources/en/FormatData_en_NZ.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
99 |
sun/text/resources/en/FormatData_en_PH.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
100 |
sun/text/resources/en/FormatData_en_SG.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
101 |
sun/text/resources/en/FormatData_en_ZA.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
102 |
sun/util/resources/en/CalendarData_en_GB.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
103 |
sun/util/resources/en/CalendarData_en_IE.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
104 |
sun/util/resources/en/CalendarData_en_MT.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
105 |
sun/util/resources/en/CurrencyNames_en_AU.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
106 |
sun/util/resources/en/CurrencyNames_en_CA.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
107 |
sun/util/resources/en/CurrencyNames_en_GB.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
108 |
sun/util/resources/en/CurrencyNames_en_IE.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
109 |
sun/util/resources/en/CurrencyNames_en_IN.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
110 |
sun/util/resources/en/CurrencyNames_en_MT.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
111 |
sun/util/resources/en/CurrencyNames_en_NZ.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
112 |
sun/util/resources/en/CurrencyNames_en_PH.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
113 |
sun/util/resources/en/CurrencyNames_en_SG.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
114 |
sun/util/resources/en/CurrencyNames_en_ZA.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
115 |
sun/util/resources/en/LocaleNames_en_MT.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
116 |
sun/util/resources/en/LocaleNames_en_PH.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
117 |
sun/util/resources/en/LocaleNames_en_SG.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
118 |
sun/util/resources/en/TimeZoneNames_en_CA.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
119 |
sun/util/resources/en/TimeZoneNames_en_GB.class \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
120 |
sun/util/resources/en/TimeZoneNames_en_IE.class |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
121 |
|
12892 | 122 |
$(eval $(call SetupArchive,BUILD_LOCALEDATA_JAR,,\ |
123 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
|
124 |
SUFFIXES:=.class _dict _th,\ |
|
125 |
INCLUDES:=$(LOCALEDATA_INCLUDES),\ |
|
13583 | 126 |
EXCLUDES:=sun/text/resources/th/BreakIteratorRules_th.class,\ |
14231 | 127 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/ext/localedata.jar,\ |
12892 | 128 |
SKIP_METAINF:=true)) |
129 |
||
14231 | 130 |
JARS+=$(IMAGES_OUTPUTDIR)/lib/ext/localedata.jar |
12892 | 131 |
|
132 |
########################################################################################## |
|
133 |
# rt.jar and resources.jar are being built in the same way as in the old build. They require |
|
134 |
# the files to be in a certain order and converting that is not easy and will not be needed |
|
135 |
# in jigsaw anyway. |
|
136 |
||
137 |
# Exclude list for rt.jar and resources.jar |
|
138 |
RT_JAR_EXCLUDES := \ |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
139 |
com/oracle/security \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
140 |
com/sun/codemodel \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
141 |
com/sun/crypto/provider \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
142 |
com/sun/istack/internal/tools \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
143 |
com/sun/jarsigner \ |
15324
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
144 |
com/sun/java/accessibility \ |
12892 | 145 |
com/sun/javadoc \ |
146 |
com/sun/jdi \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
147 |
com/sun/net/ssl/internal/ssl \ |
12892 | 148 |
com/sun/source \ |
149 |
com/sun/tools \ |
|
150 |
com/sun/xml/internal/dtdparser \ |
|
151 |
com/sun/xml/internal/rngom \ |
|
152 |
com/sun/xml/internal/xsom \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
153 |
javax/crypto \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
154 |
javax/swing/AbstractButtonBeanInfo.class \ |
12892 | 155 |
javax/swing/beaninfo \ |
156 |
javax/swing/BoxBeanInfo.class \ |
|
157 |
javax/swing/JAppletBeanInfo.class \ |
|
158 |
javax/swing/JButtonBeanInfo.class \ |
|
159 |
javax/swing/JCheckBoxBeanInfo.class \ |
|
160 |
javax/swing/JCheckBoxMenuItemBeanInfo.class \ |
|
161 |
javax/swing/JColorChooserBeanInfo.class \ |
|
162 |
javax/swing/JComboBoxBeanInfo.class \ |
|
163 |
javax/swing/JComponentBeanInfo.class \ |
|
164 |
javax/swing/JDesktopPaneBeanInfo.class \ |
|
165 |
javax/swing/JDialogBeanInfo.class \ |
|
166 |
javax/swing/JEditorPaneBeanInfo.class \ |
|
167 |
javax/swing/JFileChooserBeanInfo.class \ |
|
168 |
javax/swing/JFormattedTextFieldBeanInfo.class \ |
|
169 |
javax/swing/JFrameBeanInfo.class \ |
|
170 |
javax/swing/JInternalFrameBeanInfo.class \ |
|
171 |
javax/swing/JLabelBeanInfo.class \ |
|
172 |
javax/swing/JLayeredPaneBeanInfo.class \ |
|
173 |
javax/swing/JListBeanInfo.class \ |
|
174 |
javax/swing/JMenuBarBeanInfo.class \ |
|
175 |
javax/swing/JMenuBeanInfo.class \ |
|
176 |
javax/swing/JMenuItemBeanInfo.class \ |
|
177 |
javax/swing/JOptionPaneBeanInfo.class \ |
|
178 |
javax/swing/JPanelBeanInfo.class \ |
|
179 |
javax/swing/JPasswordFieldBeanInfo.class \ |
|
180 |
javax/swing/JPopupMenuBeanInfo.class \ |
|
181 |
javax/swing/JProgressBarBeanInfo.class \ |
|
182 |
javax/swing/JRadioButtonBeanInfo.class \ |
|
183 |
javax/swing/JRadioButtonMenuItemBeanInfo.class \ |
|
184 |
javax/swing/JScrollBarBeanInfo.class \ |
|
185 |
javax/swing/JScrollPaneBeanInfo.class \ |
|
186 |
javax/swing/JSeparatorBeanInfo.class \ |
|
187 |
javax/swing/JSliderBeanInfo.class \ |
|
188 |
javax/swing/JSpinnerBeanInfo.class \ |
|
189 |
javax/swing/JSplitPaneBeanInfo.class \ |
|
190 |
javax/swing/JTabbedPaneBeanInfo.class \ |
|
191 |
javax/swing/JTableBeanInfo.class \ |
|
192 |
javax/swing/JTextAreaBeanInfo.class \ |
|
193 |
javax/swing/JTextFieldBeanInfo.class \ |
|
194 |
javax/swing/JTextPaneBeanInfo.class \ |
|
195 |
javax/swing/JToggleButtonBeanInfo.class \ |
|
196 |
javax/swing/JToolBarBeanInfo.class \ |
|
197 |
javax/swing/JTreeBeanInfo.class \ |
|
198 |
javax/swing/JWindowBeanInfo.class \ |
|
199 |
javax/swing/SwingBeanInfoBase.class \ |
|
200 |
javax/swing/text/JTextComponentBeanInfo.class \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
201 |
META-INF/services/com.sun.jdi.connect.Connector \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
202 |
META-INF/services/com.sun.jdi.connect.spi.TransportService \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
203 |
META-INF/services/com.sun.tools.attach.spi.AttachProvider \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
204 |
META-INF/services/com.sun.tools.xjc.Plugin \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
205 |
META-INF/services/java.nio.charset.spi.CharsetProvider \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
206 |
META-INF/services/sun.net.spi.nameservice.NameServiceDescriptor \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
207 |
org/relaxng/datatype \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
208 |
sun/awt/HKSCS.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
209 |
sun/awt/motif/X11GB2312.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
210 |
sun/awt/motif/X11GB2312\$$$$Decoder.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
211 |
sun/awt/motif/X11GB2312\$$$$Encoder.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
212 |
sun/awt/motif/X11GBK.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
213 |
sun/awt/motif/X11GBK\$$$$Encoder.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
214 |
sun/awt/motif/X11KSC5601.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
215 |
sun/awt/motif/X11KSC5601\$$$$Decoder.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
216 |
sun/awt/motif/X11KSC5601\$$$$Encoder.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
217 |
sun/jvmstat \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
218 |
sun/net/spi/nameservice/dns \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
219 |
sun/nio/cs/ext \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
220 |
sun/rmi/rmic \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
221 |
sun/security/ec/ECDHKeyAgreement.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
222 |
sun/security/ec/ECDSASignature.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
223 |
sun/security/ec/ECDSASignature\$$$$Raw.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
224 |
sun/security/ec/ECDSASignature\$$$$SHA1.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
225 |
sun/security/ec/ECDSASignature\$$$$SHA224.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
226 |
sun/security/ec/ECDSASignature\$$$$SHA256.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
227 |
sun/security/ec/ECDSASignature\$$$$SHA384.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
228 |
sun/security/ec/ECDSASignature\$$$$SHA512.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
229 |
sun/security/ec/ECKeyFactory.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
230 |
sun/security/ec/ECKeyPairGenerator.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
231 |
sun/security/ec/SunEC\$$$$1.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
232 |
sun/security/ec/SunEC.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
233 |
sun/security/ec/SunECEntries.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
234 |
sun/security/internal \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
235 |
sun/security/mscapi \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
236 |
sun/security/pkcs11 \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
237 |
sun/security/provider/Sun.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
238 |
sun/security/rsa/SunRsaSign.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
239 |
sun/security/ssl \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
240 |
sun/security/tools/jarsigner \ |
12892 | 241 |
sun/swing/BeanInfoUtils.class \ |
13583 | 242 |
sun/text/resources/cldr \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
243 |
sun/tools/asm \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
244 |
sun/tools/attach \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
245 |
sun/tools/java \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
246 |
sun/tools/javac \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
247 |
sun/tools/jcmd \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
248 |
sun/tools/jconsole \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
249 |
sun/tools/jinfo \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
250 |
sun/tools/jmap \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
251 |
sun/tools/jps \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
252 |
sun/tools/jstack \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
253 |
sun/tools/jstat \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
254 |
sun/tools/jstatd \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
255 |
sun/tools/native2ascii \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
256 |
sun/tools/serialver \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
257 |
sun/tools/tree \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
258 |
sun/tools/util \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
259 |
sun/util/cldr/CLDRLocaleDataMetaInfo.class \ |
13583 | 260 |
sun/util/resources/cldr \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
261 |
$(LOCALEDATA_INCLUDES) |
12892 | 262 |
|
13164 | 263 |
# These files should never be put into rt.jar |
264 |
# but due to a misstake...some are put there if embedded |
|
265 |
# |
|
266 |
ifneq ($(JAVASE_EMBEDDED), true) |
|
267 |
# normal (correct) case |
|
12892 | 268 |
RT_JAR_EXCLUDES += \ |
269 |
com/oracle/jrockit/jfr \ |
|
270 |
oracle/jrockit/jfr |
|
13164 | 271 |
else |
272 |
# embedded (broken) case |
|
273 |
RT_JAR_EXCLUDES += \ |
|
274 |
oracle/jrockit/jfr/parser \ |
|
275 |
oracle/jrockit/jfr/tools \ |
|
276 |
oracle/jrockit/jfr/NativeOptions.class \ |
|
277 |
oracle/jrockit/jfr/RepositoryChunkHandler.class |
|
12892 | 278 |
endif |
13164 | 279 |
|
280 |
ifeq ($(OPENJDK_TARGET_OS), macosx) |
|
281 |
RT_JAR_EXCLUDES += com/sun/nio/sctp \ |
|
14425
0005b8b4ec0b
8003161: small fixes to re-enable new build system
ohrstrom
parents:
14345
diff
changeset
|
282 |
sun/nio/ch/sctp |
12892 | 283 |
endif |
284 |
||
285 |
# Find all files in the classes dir to use as dependencies. This could be more fine granular. |
|
15126
bceb690ccf35
8005540: build-infra: Improve incremental build speed on windows by caching find results
erikj
parents:
14790
diff
changeset
|
286 |
ALL_FILES_IN_CLASSES := $(call not-containing,_the.,$(filter-out %javac_state,\ |
bceb690ccf35
8005540: build-infra: Improve incremental build speed on windows by caching find results
erikj
parents:
14790
diff
changeset
|
287 |
$(call CacheFind,$(JDK_OUTPUTDIR)/classes))) |
12892 | 288 |
|
14231 | 289 |
RT_JAR_MANIFEST_FILE := $(IMAGES_OUTPUTDIR)/lib/_the.rt.jar_manifest |
290 |
RESOURCE_JAR_MANIFEST_FILE := $(IMAGES_OUTPUTDIR)/lib/_the.resources.jar_manifest |
|
12892 | 291 |
|
292 |
$(RT_JAR_MANIFEST_FILE): $(MAINMANIFEST) $(BEANMANIFEST) |
|
293 |
$(MKDIR) -p $(@D) |
|
13702 | 294 |
$(RM) $@ $@.tmp |
12892 | 295 |
$(SED) -e "s#@@RELEASE@@#$(RELEASE)#" \ |
296 |
-e "s#@@COMPANY_NAME@@#$(COMPANY_NAME)#" \ |
|
13702 | 297 |
$(MAINMANIFEST) >> $@.tmp |
298 |
$(ECHO) >> $@.tmp |
|
299 |
$(CAT) $(BEANMANIFEST) >> $@.tmp |
|
300 |
$(MV) $@.tmp $@ |
|
12892 | 301 |
|
302 |
$(RESOURCE_JAR_MANIFEST_FILE): $(MAINMANIFEST) |
|
303 |
$(MKDIR) -p $(@D) |
|
13702 | 304 |
$(RM) $@ $@.tmp |
12892 | 305 |
$(SED) -e "s#@@RELEASE@@#$(RELEASE)#" \ |
306 |
-e "s#@@COMPANY_NAME@@#$(COMPANY_NAME)#" \ |
|
13702 | 307 |
$(MAINMANIFEST) >> $@.tmp |
308 |
$(MV) $@.tmp $@ |
|
12892 | 309 |
|
14231 | 310 |
$(IMAGES_OUTPUTDIR)/lib/_the.jars.exclude: $(MAKEFILE) |
12892 | 311 |
$(MKDIR) -p $(@D) |
13702 | 312 |
$(RM) $@ $@.tmp |
313 |
$(call ListPathsSafely,RT_JAR_EXCLUDES,\n, >> $@.tmp) |
|
314 |
$(MV) $@.tmp $@ |
|
12892 | 315 |
|
14231 | 316 |
$(IMAGES_OUTPUTDIR)/lib/classlist : $(JDK_TOPDIR)/make/tools/sharing/classlist.$(OPENJDK_TARGET_OS) \ |
13164 | 317 |
$(MAKEFILE) |
318 |
$(MKDIR) -p $(@D) |
|
13702 | 319 |
$(RM) $@ $@.tmp |
320 |
$(TOOL_ADDJSUM) $< $@.tmp |
|
321 |
$(MV) $@.tmp $@ |
|
13164 | 322 |
|
14231 | 323 |
$(IMAGES_OUTPUTDIR)/lib/_the.jars.contents: $(BUILD_TOOLS) $(IMAGES_OUTPUTDIR)/lib/_the.jars.exclude \ |
324 |
$(ALL_FILES_IN_CLASSES) $(IMAGES_OUTPUTDIR)/lib/classlist |
|
12892 | 325 |
$(MKDIR) -p $(@D) |
13702 | 326 |
$(RM) $@ $@.tmp |
12892 | 327 |
($(CD) $(JDK_OUTPUTDIR)/classes && \ |
328 |
$(TOOL_JARREORDER) \ |
|
14231 | 329 |
-o $@.tmp $(IMAGES_OUTPUTDIR)/lib/classlist $(IMAGES_OUTPUTDIR)/lib/_the.jars.exclude . ) |
13702 | 330 |
$(MV) $@.tmp $@ |
12892 | 331 |
|
14231 | 332 |
$(IMAGES_OUTPUTDIR)/lib/_the.rt.jar.contents: $(IMAGES_OUTPUTDIR)/lib/_the.jars.contents |
13702 | 333 |
$(MKDIR) -p $(@D) |
334 |
$(RM) $@ $@.tmp |
|
14231 | 335 |
$(GREP) -e '\.class$$' $(IMAGES_OUTPUTDIR)/lib/_the.jars.contents > $@.tmp |
13702 | 336 |
$(MV) $@.tmp $@ |
12892 | 337 |
|
14231 | 338 |
$(IMAGES_OUTPUTDIR)/lib/_the.resources.jar.contents: $(IMAGES_OUTPUTDIR)/lib/_the.jars.contents |
13702 | 339 |
$(MKDIR) -p $(@D) |
340 |
$(RM) $@ $@.tmp |
|
341 |
$(GREP) -v -e '\.class$$' \ |
|
342 |
-e '/_the\.*' -e '^_the\.*' -e '\\_the\.*' -e 'javac_state' \ |
|
14231 | 343 |
$(IMAGES_OUTPUTDIR)/lib/_the.jars.contents > $@.tmp |
13702 | 344 |
$(MV) $@.tmp $@ |
12892 | 345 |
|
13164 | 346 |
RT_JAR_CREATE_OPTIONS := c0fm |
347 |
ifeq ($(COMPRESS_JARS), true) |
|
348 |
RT_JAR_CREATE_OPTIONS := cfm |
|
349 |
endif |
|
350 |
||
14231 | 351 |
$(IMAGES_OUTPUTDIR)/lib/rt.jar: $(IMAGES_OUTPUTDIR)/lib/_the.rt.jar.contents $(RT_JAR_MANIFEST_FILE) |
12892 | 352 |
$(ECHO) Creating rt.jar |
13702 | 353 |
$(MKDIR) -p $(@D) |
354 |
$(RM) $@ $@.tmp |
|
12892 | 355 |
$(CD) $(JDK_OUTPUTDIR)/classes && \ |
13702 | 356 |
$(JAR) $(RT_JAR_CREATE_OPTIONS) $@.tmp $(RT_JAR_MANIFEST_FILE) \ |
14231 | 357 |
@$(IMAGES_OUTPUTDIR)/lib/_the.rt.jar.contents |
13702 | 358 |
$(MV) $@.tmp $@ |
12892 | 359 |
|
14231 | 360 |
$(IMAGES_OUTPUTDIR)/lib/resources.jar: $(IMAGES_OUTPUTDIR)/lib/_the.resources.jar.contents \ |
12892 | 361 |
$(RESOURCE_JAR_MANIFEST_FILE) |
362 |
$(ECHO) Creating resources.jar |
|
13702 | 363 |
$(MKDIR) -p $(@D) |
364 |
$(RM) $@ $@.tmp |
|
12892 | 365 |
$(CD) $(JDK_OUTPUTDIR)/classes && \ |
13702 | 366 |
$(JAR) $(RT_JAR_CREATE_OPTIONS) $@.tmp $(RESOURCE_JAR_MANIFEST_FILE) \ |
14231 | 367 |
@$(IMAGES_OUTPUTDIR)/lib/_the.resources.jar.contents |
13702 | 368 |
$(MV) $@.tmp $@ |
12892 | 369 |
|
14231 | 370 |
JARS+=$(IMAGES_OUTPUTDIR)/lib/rt.jar $(IMAGES_OUTPUTDIR)/lib/resources.jar |
12892 | 371 |
|
372 |
########################################################################################## |
|
373 |
||
13164 | 374 |
ifneq ($(OPENJDK_TARGET_OS), windows) |
12892 | 375 |
CHARSETS_EXTRA_FILES:=sun/awt/motif/X11GBK.class \ |
376 |
sun/awt/motif/X11GB2312\$$$$Decoder.class \ |
|
377 |
sun/awt/motif/X11GB2312.class \ |
|
378 |
sun/awt/motif/X11KSC5601\$$$$Decoder.class \ |
|
379 |
sun/awt/motif/X11KSC5601\$$$$Encoder.class \ |
|
380 |
sun/awt/motif/X11GB2312\$$$$Encoder.class \ |
|
381 |
sun/awt/motif/X11GBK\$$$$Encoder.class \ |
|
382 |
sun/awt/motif/X11KSC5601.class |
|
383 |
endif |
|
384 |
||
14231 | 385 |
$(eval $(call SetupArchive,BUILD_CHARSETS_JAR,,\ |
12892 | 386 |
SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
387 |
SUFFIXES:=.class .dat,\ |
|
388 |
INCLUDES:=sun/nio/cs/ext,\ |
|
389 |
EXTRA_FILES := sun/awt/HKSCS.class \ |
|
390 |
$(CHARSETS_EXTRA_FILES) \ |
|
391 |
META-INF/services/java.nio.charset.spi.CharsetProvider, \ |
|
14231 | 392 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/charsets.jar, \ |
13164 | 393 |
SKIP_METAINF := true, \ |
394 |
CHECK_COMPRESS_JAR:=true)) |
|
12892 | 395 |
|
14231 | 396 |
JARS+=$(IMAGES_OUTPUTDIR)/lib/charsets.jar |
12892 | 397 |
|
398 |
########################################################################################## |
|
399 |
||
14231 | 400 |
ifndef OPENJDK |
13164 | 401 |
ifeq ($(ENABLE_JFR), true) |
12892 | 402 |
$(eval $(call SetupArchive,BUILD_JFR_JAR,,\ |
403 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
|
404 |
INCLUDES:=com/oracle/jrockit/jfr \ |
|
405 |
oracle/jrockit/jfr,\ |
|
14231 | 406 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/jfr.jar,\ |
12892 | 407 |
SKIP_METAINF:=true,\ |
13164 | 408 |
MANIFEST:=$(MAINMANIFEST), \ |
409 |
CHECK_COMPRESS_JAR:=true)) |
|
12892 | 410 |
|
14231 | 411 |
JARS+=$(IMAGES_OUTPUTDIR)/lib/jfr.jar |
412 |
endif |
|
12892 | 413 |
endif |
414 |
||
415 |
########################################################################################## |
|
416 |
||
417 |
$(eval $(call SetupArchive,BUILD_JSSE_JAR,,\ |
|
418 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
|
419 |
INCLUDES:=sun/security/provider/Sun.class \ |
|
420 |
sun/security/rsa/SunRsaSign.class \ |
|
421 |
sun/security/ssl \ |
|
422 |
com/sun/net/ssl/internal/ssl,\ |
|
14231 | 423 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/jsse.jar,\ |
12892 | 424 |
SKIP_METAINF:=true,\ |
13164 | 425 |
MANIFEST:=$(MAINMANIFEST), \ |
426 |
CHECK_COMPRESS_JAR:=true)) |
|
12892 | 427 |
|
14231 | 428 |
JARS+=$(IMAGES_OUTPUTDIR)/lib/jsse.jar |
12892 | 429 |
|
430 |
########################################################################################## |
|
14527
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
431 |
# Create manifest for security jars |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
432 |
|
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
433 |
# |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
434 |
# Include these extra attributes for now, should probably take out. |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
435 |
# |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
436 |
JCE_MANIFEST := $(IMAGES_OUTPUTDIR)/lib/_the.security.manifest.mf |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
437 |
$(JCE_MANIFEST): $(MAINMANIFEST) |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
438 |
$(MKDIR) -p $(@D) |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
439 |
$(RM) $@ $@.tmp |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
440 |
$(SED) -e "s#@@RELEASE@@#$(JDK_VERSION)#" \ |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
441 |
-e "s#@@COMPANY_NAME@@#$(COMPANY_NAME)#" \ |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
442 |
$(MAINMANIFEST) >> $@.tmp |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
443 |
$(ECHO) "Extension-Name: javax.crypto" >> $@.tmp |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
444 |
$(ECHO) "Implementation-Vendor-Id: com.sun" >> $@.tmp |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
445 |
$(MV) $@.tmp $@ |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
446 |
|
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
447 |
########################################################################################## |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
448 |
# For all security jars, always build the jar, but for closed, install the prebuilt signed |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
449 |
# version instead of the newly built jar. For open, signing is not needed. See SignJars.gmk |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
450 |
# for more information. |
12892 | 451 |
|
14231 | 452 |
SUNPKCS11_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/sunpkcs11.jar |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
453 |
SUNPKCS11_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/sunpkcs11.jar |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
454 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
455 |
$(eval $(call SetupArchive,BUILD_SUNPKCS11_JAR,,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
456 |
SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
457 |
SUFFIXES:=.class,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
458 |
INCLUDES:=sun/security/pkcs11,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
459 |
JAR:=$(SUNPKCS11_JAR_UNSIGNED), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
460 |
MANIFEST:=$(JCE_MANIFEST), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
461 |
SKIP_METAINF := true)) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
462 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
463 |
$(SUNPKCS11_JAR_UNSIGNED): $(JCE_MANIFEST) |
12892 | 464 |
|
13702 | 465 |
ifndef OPENJDK |
466 |
SUNPKCS11_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/pkcs11/sunpkcs11.jar |
|
467 |
$(SUNPKCS11_JAR_DST) : $(SUNPKCS11_JAR_SRC) |
|
14231 | 468 |
@$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt SunPKCS11 provider..." |
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
469 |
$(install-file) |
13702 | 470 |
else |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
471 |
$(SUNPKCS11_JAR_DST) : $(SUNPKCS11_JAR_UNSIGNED) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
472 |
$(install-file) |
13702 | 473 |
endif |
12892 | 474 |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
475 |
JARS += $(SUNPKCS11_JAR_DST) $(SUNPKCS11_JAR_UNSIGNED) |
12892 | 476 |
|
477 |
########################################################################################## |
|
478 |
||
14231 | 479 |
SUNEC_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/sunec.jar |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
480 |
SUNEC_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/sunec.jar |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
481 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
482 |
$(eval $(call SetupArchive,BUILD_SUNEC_JAR,,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
483 |
SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
484 |
SUFFIXES:=.class,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
485 |
INCLUDES:=sun/security/ec,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
486 |
JAR:=$(SUNEC_JAR_UNSIGNED), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
487 |
MANIFEST:=$(JCE_MANIFEST), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
488 |
SKIP_METAINF := true)) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
489 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
490 |
$(SUNEC_JAR_UNSIGNED): $(JCE_MANIFEST) |
12892 | 491 |
|
492 |
ifndef OPENJDK |
|
14527
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
493 |
SUNEC_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/ec/sunec.jar |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
494 |
$(SUNEC_JAR_DST) : $(SUNEC_JAR_SRC) |
14231 | 495 |
@$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt SunEC provider..." |
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
496 |
$(install-file) |
12892 | 497 |
else |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
498 |
$(SUNEC_JAR_DST) : $(SUNEC_JAR_UNSIGNED) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
499 |
$(install-file) |
12892 | 500 |
endif |
501 |
||
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
502 |
JARS += $(SUNEC_JAR_DST) $(SUNEC_JAR_UNSIGNED) |
12892 | 503 |
|
504 |
########################################################################################## |
|
505 |
||
506 |
$(eval $(call SetupArchive,BUILD_SWINGBEANS_JAR,,\ |
|
507 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
|
508 |
SUFFIXES:=BeanInfo.class .gif,\ |
|
509 |
INCLUDES:=javax/swing sun/swing,\ |
|
510 |
EXCLUDES:=javax/swing/plaf,\ |
|
511 |
EXTRA_FILES:=javax/swing/SwingBeanInfoBase.class sun/swing/BeanInfoUtils.class,\ |
|
14231 | 512 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/dt.jar,\ |
12892 | 513 |
SKIP_METAINF:=true)) |
514 |
||
14231 | 515 |
JARS+=$(IMAGES_OUTPUTDIR)/lib/dt.jar |
12892 | 516 |
|
517 |
########################################################################################## |
|
518 |
||
14231 | 519 |
SUNJCE_PROVIDER_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/sunjce_provider.jar |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
520 |
SUNJCE_PROVIDER_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/sunjce_provider.jar |
12892 | 521 |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
522 |
$(eval $(call SetupArchive,BUILD_SUNJCE_PROVIDER_JAR,,\ |
12892 | 523 |
SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
524 |
SUFFIXES:=.class,\ |
|
525 |
INCLUDES:= com/sun/crypto/provider,\ |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
526 |
JAR:=$(SUNJCE_PROVIDER_JAR_UNSIGNED), \ |
14527
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
527 |
MANIFEST:=$(JCE_MANIFEST), \ |
12892 | 528 |
SKIP_METAINF := true)) |
14527
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
529 |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
530 |
$(SUNJCE_PROVIDER_JAR_UNSIGNED): $(JCE_MANIFEST) |
14527
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
531 |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
532 |
ifndef OPENJDK |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
533 |
SUNJCE_PROVIDER_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/jce/sunjce_provider.jar |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
534 |
$(SUNJCE_PROVIDER_JAR_DST) : $(SUNJCE_PROVIDER_JAR_SRC) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
535 |
@$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt SunJCE provider..." |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
536 |
$(install-file) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
537 |
else |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
538 |
$(SUNJCE_PROVIDER_JAR_DST) : $(SUNJCE_PROVIDER_JAR_UNSIGNED) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
539 |
$(install-file) |
12892 | 540 |
endif |
541 |
||
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
542 |
JARS += $(SUNJCE_PROVIDER_JAR_DST) $(SUNJCE_PROVIDER_JAR_UNSIGNED) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
543 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
544 |
########################################################################################## |
12892 | 545 |
|
14231 | 546 |
JCE_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/jce.jar |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
547 |
JCE_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/jce.jar |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
548 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
549 |
$(eval $(call SetupArchive,BUILD_JCE_JAR,,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
550 |
SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
551 |
SUFFIXES:=.class,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
552 |
INCLUDES:= javax/crypto sun/security/internal,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
553 |
JAR:=$(JCE_JAR_UNSIGNED), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
554 |
MANIFEST:=$(JCE_MANIFEST), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
555 |
SKIP_METAINF := true)) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
556 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
557 |
$(JCE_JAR_UNSIGNED): $(JCE_MANIFEST) |
12892 | 558 |
|
559 |
ifndef OPENJDK |
|
14527
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
560 |
JCE_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/jce/jce.jar |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
561 |
$(JCE_JAR_DST) : $(JCE_JAR_SRC) |
14231 | 562 |
@$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt jce.jar..." |
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
563 |
$(install-file) |
12892 | 564 |
else |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
565 |
$(JCE_JAR_DST) : $(JCE_JAR_UNSIGNED) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
566 |
$(install-file) |
12892 | 567 |
endif |
568 |
||
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
569 |
JARS += $(JCE_JAR_DST) $(JCE_JAR_UNSIGNED) |
12892 | 570 |
|
571 |
########################################################################################## |
|
572 |
||
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
573 |
US_EXPORT_POLICY_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/security/US_export_policy.jar |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
574 |
US_EXPORT_POLICY_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/US_export_policy.jar |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
575 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
576 |
# |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
577 |
# TODO fix so that SetupArchive does not write files into SRCS |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
578 |
# then we don't need this extra copying |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
579 |
# |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
580 |
# NOTE: We currently do not place restrictions on our limited export |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
581 |
# policy. This was not a typo. |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
582 |
# |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
583 |
US_EXPORT_POLICY_JAR_SRC_DIR := $(JDK_TOPDIR)/make/javax/crypto/policy/unlimited |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
584 |
US_EXPORT_POLICY_JAR_TMP := $(IMAGES_OUTPUTDIR)/US_export_policy_jar.tmp |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
585 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
586 |
$(US_EXPORT_POLICY_JAR_TMP)/% : $(US_EXPORT_POLICY_JAR_SRC_DIR)/% |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
587 |
$(install-file) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
588 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
589 |
US_EXPORT_POLICY_JAR_DEPS := $(US_EXPORT_POLICY_JAR_TMP)/default_US_export.policy |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
590 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
591 |
$(eval $(call SetupArchive,BUILD_US_EXPORT_POLICY_JAR,$(US_EXPORT_POLICY_JAR_DEPS),\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
592 |
SRCS:=$(US_EXPORT_POLICY_JAR_TMP), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
593 |
SUFFIXES:= .policy,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
594 |
JAR:=$(US_EXPORT_POLICY_JAR_UNSIGNED), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
595 |
EXTRA_MANIFEST_ATTR := Crypto-Strength: unlimited, \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
596 |
SKIP_METAINF := true)) |
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
597 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
598 |
ifndef OPENJDK |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
599 |
$(US_EXPORT_POLICY_JAR_DST): $(JDK_TOPDIR)/make/closed/tools/crypto/jce/US_export_policy.jar |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
600 |
$(ECHO) $(LOG_INFO) Copying $(@F) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
601 |
$(install-file) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
602 |
else |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
603 |
$(US_EXPORT_POLICY_JAR_DST): $(US_EXPORT_POLICY_JAR_UNSIGNED) |
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
604 |
$(install-file) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
605 |
endif |
12892 | 606 |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
607 |
JARS += $(US_EXPORT_POLICY_JAR_DST) $(US_EXPORT_POLICY_JAR_UNSIGNED) |
12892 | 608 |
|
609 |
########################################################################################## |
|
610 |
||
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
611 |
LOCAL_POLICY_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/security/local_policy.jar |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
612 |
LOCAL_POLICY_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/local_policy.jar |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
613 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
614 |
# |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
615 |
# TODO fix so that SetupArchive does not write files into SRCS |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
616 |
# then we don't need this extra copying |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
617 |
# |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
618 |
LOCAL_POLICY_JAR_TMP := $(IMAGES_OUTPUTDIR)/local_policy_jar.tmp |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
619 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
620 |
ifeq ($(UNLIMITED_CRYPTO), true) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
621 |
LOCAL_POLICY_JAR_SRC_DIR := $(JDK_TOPDIR)/make/javax/crypto/policy/unlimited |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
622 |
LOCAL_POLICY_JAR_DEPS := $(LOCAL_POLICY_JAR_TMP)/default_local.policy |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
623 |
LOCAL_POLICY_JAR_ATTR := Crypto-Strength: unlimited |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
624 |
else |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
625 |
LOCAL_POLICY_JAR_SRC_DIR := $(JDK_TOPDIR)/make/javax/crypto/policy/limited |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
626 |
LOCAL_POLICY_JAR_DEPS := $(LOCAL_POLICY_JAR_TMP)/exempt_local.policy \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
627 |
$(LOCAL_POLICY_JAR_TMP)/default_local.policy |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
628 |
LOCAL_POLICY_JAR_ATTR := Crypto-Strength: limited |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
629 |
endif |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
630 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
631 |
$(LOCAL_POLICY_JAR_TMP)/% : $(LOCAL_POLICY_JAR_SRC_DIR)/% |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
632 |
$(install-file) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
633 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
634 |
$(eval $(call SetupArchive,BUILD_LOCAL_POLICY_JAR,$(LOCAL_POLICY_JAR_DEPS),\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
635 |
SRCS:=$(LOCAL_POLICY_JAR_TMP),\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
636 |
SUFFIXES:= .policy,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
637 |
JAR:=$(LOCAL_POLICY_JAR_UNSIGNED), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
638 |
EXTRA_MANIFEST_ATTR := $(LOCAL_POLICY_JAR_ATTR), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
639 |
SKIP_METAINF := true)) |
12892 | 640 |
|
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
641 |
ifndef OPENJDK |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
642 |
$(LOCAL_POLICY_JAR_DST): $(JDK_TOPDIR)/make/closed/tools/crypto/jce/local_policy.jar |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
643 |
$(ECHO) $(LOG_INFO) Copying $(@F) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
644 |
$(install-file) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
645 |
else |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
646 |
$(LOCAL_POLICY_JAR_DST): $(LOCAL_POLICY_JAR_UNSIGNED) |
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
647 |
$(install-file) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
648 |
endif |
12892 | 649 |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
650 |
JARS += $(LOCAL_POLICY_JAR_DST) $(LOCAL_POLICY_JAR_UNSIGNED) |
12892 | 651 |
|
652 |
########################################################################################## |
|
653 |
||
13164 | 654 |
ifeq ($(OPENJDK_TARGET_OS),windows) |
12892 | 655 |
|
14231 | 656 |
SUNMSCAPI_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/sunmscapi.jar |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
657 |
SUNMSCAPI_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/sunmscapi.jar |
12892 | 658 |
|
14231 | 659 |
$(eval $(call SetupArchive,BUILD_SUNMSCAPI_JAR,,\ |
12892 | 660 |
SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
661 |
SUFFIXES:=.class,\ |
|
662 |
INCLUDES:= sun/security/mscapi,\ |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
663 |
JAR:=$(SUNMSCAPI_JAR_UNSIGNED), \ |
15137
1ad653469ebc
8006296: build-infra: Unsigned sunmscapi.jar is missing manifest.
erikj
parents:
15133
diff
changeset
|
664 |
MANIFEST:=$(JCE_MANIFEST), \ |
13702 | 665 |
SKIP_METAINF:=true)) |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
666 |
|
15137
1ad653469ebc
8006296: build-infra: Unsigned sunmscapi.jar is missing manifest.
erikj
parents:
15133
diff
changeset
|
667 |
$(SUNMSCAPI_JAR_UNSIGNED): $(JCE_MANIFEST) |
1ad653469ebc
8006296: build-infra: Unsigned sunmscapi.jar is missing manifest.
erikj
parents:
15133
diff
changeset
|
668 |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
669 |
ifndef OPENJDK |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
670 |
SUNMSCAPI_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/mscapi/sunmscapi.jar |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
671 |
$(SUNMSCAPI_JAR_DST) : $(SUNMSCAPI_JAR_SRC) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
672 |
@$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt SunMSCAPI provider..." |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
673 |
$(install-file) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
674 |
else |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
675 |
$(SUNMSCAPI_JAR_DST) : $(SUNMSCAPI_JAR_UNSIGNED) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
676 |
$(install-file) |
12892 | 677 |
endif |
678 |
||
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
679 |
JARS += $(SUNMSCAPI_JAR_DST) $(SUNMSCAPI_JAR_UNSIGNED) |
12892 | 680 |
|
681 |
endif |
|
682 |
||
683 |
########################################################################################## |
|
684 |
||
13164 | 685 |
ifeq ($(OPENJDK_TARGET_OS),solaris) |
12892 | 686 |
ifndef OPENJDK |
687 |
||
14231 | 688 |
UCRYPTO_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/ucrypto.jar |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
689 |
UCRYPTO_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/ucrypto.jar |
12892 | 690 |
UCRYPTO_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/ucrypto/ucrypto.jar |
691 |
||
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
692 |
$(eval $(call SetupArchive,BUILD_UCRYPTO_JAR,,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
693 |
SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
694 |
SUFFIXES:=.class,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
695 |
INCLUDES:=com/oracle/security/ucrypto,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
696 |
JAR:=$(UCRYPTO_JAR_UNSIGNED), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
697 |
MANIFEST:=$(JCE_MANIFEST), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
698 |
SKIP_METAINF:=true)) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
699 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
700 |
$(UCRYPTO_JAR_UNSIGNED): $(JCE_MANIFEST) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
701 |
|
12892 | 702 |
$(UCRYPTO_JAR_DST) : $(UCRYPTO_JAR_SRC) |
14231 | 703 |
@$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt OracleUcrypto provider..." |
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
704 |
$(install-file) |
12892 | 705 |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
706 |
JARS += $(UCRYPTO_JAR_DST) $(UCRYPTO_JAR_UNSIGNED) |
12892 | 707 |
|
708 |
endif |
|
709 |
endif |
|
710 |
||
711 |
########################################################################################## |
|
712 |
||
13583 | 713 |
# Get the CLDRVERSION |
714 |
include GensrcCLDR.gmk |
|
715 |
||
14231 | 716 |
CLDRDATA_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/cldrdata.jar |
13583 | 717 |
|
14231 | 718 |
$(eval $(call SetupArchive,BUILD_CLDRDATA_JAR,,\ |
13583 | 719 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
720 |
SUFFIXES:=.class,\ |
|
721 |
INCLUDES:=sun/text/resources/cldr \ |
|
722 |
sun/util/cldr \ |
|
723 |
sun/util/resources/cldr,\ |
|
724 |
EXCLUDES:=sun/util/cldr/CLDRLocaleProviderAdapter,\ |
|
725 |
JAR:=$(CLDRDATA_JAR_DST),\ |
|
726 |
EXTRA_MANIFEST_ATTR:=CLDR-Version: $(CLDRVERSION),\ |
|
727 |
SKIP_METAINF:=true)) |
|
728 |
||
729 |
JARS += $(CLDRDATA_JAR_DST) |
|
730 |
||
731 |
########################################################################################## |
|
732 |
||
12892 | 733 |
TOOLS_JAR_INCLUDES := \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
734 |
com/sun/codemodel \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
735 |
com/sun/istack/internal/tools \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
736 |
com/sun/jarsigner \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
737 |
com/sun/javadoc \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
738 |
com/sun/jdi \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
739 |
com/sun/source \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
740 |
com/sun/tools/attach \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
741 |
com/sun/tools/classfile \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
742 |
com/sun/tools/corba \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
743 |
com/sun/tools/doclets \ |
14902 | 744 |
com/sun/tools/doclint \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
745 |
com/sun/tools/example/debug/expr \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
746 |
com/sun/tools/example/debug/tty \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
747 |
com/sun/tools/extcheck \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
748 |
com/sun/tools/hat \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
749 |
com/sun/tools/internal/jxc \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
750 |
com/sun/tools/internal/jxc/ap \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
751 |
com/sun/tools/internal/ws \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
752 |
com/sun/tools/internal/ws/wscompile/plugin/at_generated \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
753 |
com/sun/tools/internal/xjc \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
754 |
com/sun/tools/javac \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
755 |
com/sun/tools/javadoc \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
756 |
com/sun/tools/javah \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
757 |
com/sun/tools/javap \ |
14994
a544909d1d1c
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
14902
diff
changeset
|
758 |
com/sun/tools/jdeps \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
759 |
com/sun/tools/jdi \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
760 |
com/sun/tools/script/shell \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
761 |
com/sun/xml/internal/dtdparser \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
762 |
com/sun/xml/internal/rngom \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
763 |
com/sun/xml/internal/xsom \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
764 |
org/relaxng/datatype \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
765 |
sun/applet \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
766 |
sun/jvmstat \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
767 |
sun/rmi/rmic \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
768 |
sun/security/tools/jarsigner \ |
12892 | 769 |
sun/tools/asm \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
770 |
sun/tools/attach \ |
12892 | 771 |
sun/tools/jar \ |
772 |
sun/tools/java \ |
|
773 |
sun/tools/javac \ |
|
774 |
sun/tools/jcmd \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
775 |
sun/tools/jinfo \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
776 |
sun/tools/jmap \ |
12892 | 777 |
sun/tools/jps \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
778 |
sun/tools/jstack \ |
12892 | 779 |
sun/tools/jstat \ |
780 |
sun/tools/jstatd \ |
|
781 |
sun/tools/native2ascii \ |
|
782 |
sun/tools/serialver \ |
|
783 |
sun/tools/tree \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
784 |
sun/tools/util |
12892 | 785 |
|
14231 | 786 |
# The sjavac tools is not ready for public consumption. |
787 |
TOOLS_JAR_EXCLUDES=com/sun/tools/sjavac |
|
788 |
||
789 |
$(eval $(call SetupArchive,BUILD_TOOLS_JAR,,\ |
|
12892 | 790 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
791 |
SUFFIXES:=.class .prp .gif .properties .xml .css .xsd .js .html .txt .java \ |
|
792 |
Tool aliasmap options,\ |
|
793 |
INCLUDES:=$(TOOLS_JAR_INCLUDES),\ |
|
14231 | 794 |
EXCLUDES:=$(TOOLS_JAR_EXCLUDES),\ |
12892 | 795 |
EXTRA_FILES:=META-INF/services/com.sun.jdi.connect.Connector \ |
796 |
META-INF/services/com.sun.jdi.connect.spi.TransportService \ |
|
797 |
META-INF/services/com.sun.tools.attach.spi.AttachProvider \ |
|
798 |
META-INF/services/com.sun.tools.internal.ws.wscompile.Plugin \ |
|
799 |
META-INF/services/com.sun.tools.internal.xjc.Plugin,\ |
|
14231 | 800 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/tools.jar,\ |
13164 | 801 |
SKIP_METAINF:=true, \ |
802 |
CHECK_COMPRESS_JAR:=true)) |
|
12892 | 803 |
|
14231 | 804 |
JARS+=$(IMAGES_OUTPUTDIR)/lib/tools.jar |
12892 | 805 |
|
806 |
########################################################################################## |
|
807 |
||
13702 | 808 |
include javadoc/CORE_PKGS.gmk |
809 |
include javadoc/NON_CORE_PKGS.gmk |
|
12892 | 810 |
|
811 |
# The compiler should not issue a "Proprietary" warning when compiling |
|
812 |
# classes in the com.sun.java.swing.plaf packages, since we've always |
|
813 |
# allowed, and even advocated, extending them (see bug 6476749). |
|
814 |
# |
|
815 |
# This approach is NOT to be used as a general purpose way to avoid such |
|
816 |
# compiler warnings for non-core packages. The correct way is to document |
|
817 |
# the packages in NON_CORE_PKGS.gmk, and include them in the NON_CORE_PKGS |
|
818 |
# definition. |
|
819 |
# |
|
820 |
# Swing has taken this approach only as a temporary measure to avoid |
|
821 |
# the compiler warnings until we can properly document these packages. |
|
822 |
# This is covered under 6491853. |
|
823 |
EXCLUDE_PROPWARN_PKGS = com.sun.java.swing.plaf.windows \ |
|
824 |
com.sun.java.swing.plaf.motif \ |
|
825 |
com.sun.java.swing.plaf.gtk |
|
826 |
||
827 |
# |
|
828 |
# Include the exported private packages in ct.sym. |
|
829 |
# This is an interim solution until the ct.sym is replaced |
|
830 |
# with a new module system (being discussed for JDK 8). |
|
831 |
# |
|
832 |
EXPORTED_PRIVATE_PKGS = com.sun.servicetag \ |
|
833 |
com.oracle.net \ |
|
834 |
com.oracle.nio |
|
835 |
||
14231 | 836 |
$(IMAGES_OUTPUTDIR)/symbols/_the.symbols: $(IMAGES_OUTPUTDIR)/lib/rt.jar |
13702 | 837 |
$(RM) -r $(IMAGES_OUTPUTDIR)/symbols/META-INF/sym |
12892 | 838 |
$(MKDIR) -p $(IMAGES_OUTPUTDIR)/symbols/META-INF/sym |
14790
9d42784b1823
8004803: build-infra: Cannot use icedtea as boot for closed build.
erikj
parents:
14596
diff
changeset
|
839 |
$(JAVA) $(JAVAC_JARS) \ |
9d42784b1823
8004803: build-infra: Cannot use icedtea as boot for closed build.
erikj
parents:
14596
diff
changeset
|
840 |
-bootclasspath $(JDK_OUTPUTDIR)/classes \ |
12892 | 841 |
-XDprocess.packages -proc:only \ |
842 |
-processor com.sun.tools.javac.sym.CreateSymbols \ |
|
14231 | 843 |
-Acom.sun.tools.javac.sym.Jar=$(IMAGES_OUTPUTDIR)/lib/rt.jar \ |
12892 | 844 |
-Acom.sun.tools.javac.sym.Dest=$(IMAGES_OUTPUTDIR)/symbols/META-INF/sym/rt.jar \ |
845 |
$(CORE_PKGS) $(NON_CORE_PKGS) $(EXCLUDE_PROPWARN_PKGS) $(EXPORTED_PRIVATE_PKGS) |
|
846 |
$(TOUCH) $@ |
|
847 |
||
15126
bceb690ccf35
8005540: build-infra: Improve incremental build speed on windows by caching find results
erikj
parents:
14790
diff
changeset
|
848 |
$(eval $(call MakeDir,$(IMAGES_OUTPUTDIR)/symbols)) |
12892 | 849 |
$(eval $(call SetupArchive,BUILD_CT_SYM,$(IMAGES_OUTPUTDIR)/symbols/_the.symbols,\ |
850 |
SRCS:=$(IMAGES_OUTPUTDIR)/symbols,\ |
|
851 |
INCLUDES:=META-INF/sym,\ |
|
14231 | 852 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/ct.sym, \ |
13164 | 853 |
CHECK_COMPRESS_JAR:=true)) |
12892 | 854 |
|
14231 | 855 |
JARS+=$(IMAGES_OUTPUTDIR)/lib/ct.sym |
12892 | 856 |
|
857 |
########################################################################################## |
|
858 |
||
859 |
SRC_ZIP_INCLUDES = \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
860 |
com/sun/corba \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
861 |
com/sun/image/codec/jpeg \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
862 |
com/sun/imageio \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
863 |
com/sun/java_cup \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
864 |
com/sun/javadoc \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
865 |
com/sun/java/swing \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
866 |
com/sun/jlex \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
867 |
com/sun/jmx \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
868 |
com/sun/naming \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
869 |
com/sun/org/apache \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
870 |
com/sun/security/auth \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
871 |
com/sun/security/jgss \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
872 |
com/sun/source \ |
12892 | 873 |
java/applet \ |
874 |
java/awt \ |
|
875 |
java/beans \ |
|
876 |
java/io \ |
|
877 |
java/lang \ |
|
878 |
java/math \ |
|
879 |
java/net \ |
|
880 |
java/nio \ |
|
881 |
java/rmi \ |
|
882 |
java/security \ |
|
883 |
java/sql \ |
|
884 |
java/text \ |
|
885 |
java/util \ |
|
886 |
javax/accessibility \ |
|
887 |
javax/annotation \ |
|
888 |
javax/imageio \ |
|
889 |
javax/lang \ |
|
890 |
javax/management \ |
|
891 |
javax/naming \ |
|
892 |
javax/print \ |
|
893 |
javax/rmi \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
894 |
javax/script \ |
12892 | 895 |
javax/security \ |
896 |
javax/sound \ |
|
897 |
javax/sql \ |
|
898 |
javax/swing \ |
|
899 |
javax/tools \ |
|
900 |
javax/xml \ |
|
901 |
org/ietf \ |
|
902 |
org/omg \ |
|
903 |
org/w3c/dom \ |
|
13702 | 904 |
org/xml/sax \ |
905 |
sunw |
|
12892 | 906 |
|
13702 | 907 |
SRC_ZIP_SRCS = $(JDK_TOPDIR)/src/share/classes $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/classes |
12892 | 908 |
SRC_ZIP_SRCS += $(JDK_OUTPUTDIR)/gensrc |
909 |
SRC_ZIP_SRCS += $(JDK_OUTPUTDIR)/impsrc |
|
910 |
SRC_ZIP_SRCS += $(JDK_OUTPUTDIR)/gendocsrc_rmic |
|
911 |
ifndef OPENJDK |
|
912 |
SRC_ZIP_SRCS += $(JDK_TOPDIR)/src/closed/share/classes |
|
913 |
endif |
|
914 |
||
915 |
# Need to copy launcher src files into desired directory structure |
|
916 |
# before zipping the sources. |
|
917 |
LAUNCHER_SRC_FILES := $(wildcard $(JDK_TOPDIR)/src/share/bin/*) \ |
|
13702 | 918 |
$(wildcard $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/bin/java_md*) |
12892 | 919 |
LAUNCHER_ZIP_SRC := $(patsubst $(JDK_TOPDIR)/src/share/bin/%,$(IMAGES_OUTPUTDIR)/src/launcher/%,\ |
13702 | 920 |
$(patsubst $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/bin/%,$(IMAGES_OUTPUTDIR)/src/launcher/%,\ |
12892 | 921 |
$(LAUNCHER_SRC_FILES))) |
922 |
||
923 |
$(IMAGES_OUTPUTDIR)/src/launcher/%: $(JDK_TOPDIR)/src/share/bin/% |
|
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
924 |
$(install-file) |
12892 | 925 |
|
13702 | 926 |
$(IMAGES_OUTPUTDIR)/src/launcher/%: $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/bin/% |
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
927 |
$(install-file) |
12892 | 928 |
|
929 |
$(IMAGES_OUTPUTDIR)/src.zip: $(LAUNCHER_ZIP_SRC) |
|
930 |
||
14231 | 931 |
# This dir needs to exist before macro is evaluated to avoid warning from find. |
932 |
$(eval $(call MakeDir,$(IMAGES_OUTPUTDIR)/src)) |
|
12892 | 933 |
$(eval $(call SetupZipArchive,BUILD_SRC_ZIP,\ |
934 |
SRC:=$(SRC_ZIP_SRCS) $(IMAGES_OUTPUTDIR)/src,\ |
|
935 |
INCLUDES:=$(SRC_ZIP_INCLUDES) launcher,\ |
|
14231 | 936 |
EXCLUDES:=javax/swing/beaninfo,\ |
12892 | 937 |
SUFFIXES:=.java .c .h,\ |
938 |
ZIP:=$(IMAGES_OUTPUTDIR)/src.zip,\ |
|
939 |
EXTRA_DEPS:=$(LAUNCHER_ZIP_SRC))) |
|
940 |
||
941 |
JARS+=$(IMAGES_OUTPUTDIR)/src.zip |
|
942 |
||
943 |
########################################################################################## |
|
944 |
||
15324
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
945 |
ifndef OPENJDK |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
946 |
ifeq ($(OPENJDK_TARGET_OS), windows) |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
947 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
948 |
$(eval $(call SetupArchive,BUILD_JACCESS_JAR,,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
949 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
950 |
INCLUDES:=com/sun/java/accessibility/util,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
951 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/ext/jaccess.jar,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
952 |
SKIP_METAINF:=true)) |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
953 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
954 |
JARS += $(IMAGES_OUTPUTDIR)/lib/ext/jaccess.jar |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
955 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
956 |
ifeq ($(OPENJDK_TARGET_CPU_BITS), 32) |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
957 |
$(eval $(call SetupArchive,BUILD_ACCESSBRIDGE_32_JAR,,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
958 |
SRCS:=$(JDK_OUTPUTDIR)/classes_ab/32bit $(JDK_OUTPUTDIR)/classes,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
959 |
INCLUDES:=com/sun/java/accessibility,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
960 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/ext/access-bridge-32.jar,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
961 |
SKIP_METAINF:=true)) |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
962 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
963 |
$(eval $(call SetupArchive,BUILD_ACCESSBRIDGE_LEGACY_JAR,,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
964 |
SRCS:=$(JDK_OUTPUTDIR)/classes_ab/legacy $(JDK_OUTPUTDIR)/classes,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
965 |
INCLUDES:=com/sun/java/accessibility,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
966 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/ext/access-bridge.jar,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
967 |
SKIP_METAINF:=true)) |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
968 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
969 |
JARS += $(IMAGES_OUTPUTDIR)/lib/ext/access-bridge-32.jar \ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
970 |
$(IMAGES_OUTPUTDIR)/lib/ext/access-bridge.jar |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
971 |
else |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
972 |
$(eval $(call SetupArchive,BUILD_ACCESSBRIDGE_64_JAR,,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
973 |
SRCS:=$(JDK_OUTPUTDIR)/classes_ab/64bit $(JDK_OUTPUTDIR)/classes,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
974 |
INCLUDES:=com/sun/java/accessibility,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
975 |
EXCLUDES:=com/sun/java/accessibility/util/java,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
976 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/ext/access-bridge-64.jar,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
977 |
SKIP_METAINF:=true)) |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
978 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
979 |
JARS += $(IMAGES_OUTPUTDIR)/lib/ext/access-bridge-64.jar |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
980 |
endif |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
981 |
endif |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
982 |
endif |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
983 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
984 |
########################################################################################## |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
985 |
|
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
986 |
# |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
987 |
# This is an empty jar (only contains manifest) and fits poorly into framework... |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
988 |
# create simple rule instead |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
989 |
# |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
990 |
$(IMAGES_OUTPUTDIR)/lib/management-agent.jar : $(JDK_TOPDIR)/src/share/classes/sun/management/manifest |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
991 |
$(JAR) cfm $@ $< |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
992 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
993 |
JARS += $(IMAGES_OUTPUTDIR)/lib/management-agent.jar |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
994 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
995 |
########################################################################################## |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
996 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
997 |
$(IMAGES_OUTPUTDIR)/lib/ext/zipfs.jar : $(JDK_OUTPUTDIR)/demo/nio/zipfs/zipfs.jar |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
998 |
$(install-file) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
999 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1000 |
JARS += $(IMAGES_OUTPUTDIR)/lib/ext/zipfs.jar |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1001 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1002 |
########################################################################################## |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1003 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1004 |
ifeq ($(OPENJDK_TARGET_OS),macosx) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1005 |
$(eval $(call SetupArchive,BUILD_JOBJC_JAR,,\ |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1006 |
SRCS:=$(JDK_OUTPUTDIR)/jobjc_classes,\ |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1007 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/JObjC.jar, \ |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1008 |
JARINDEX:=true)) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1009 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1010 |
JARS += $(IMAGES_OUTPUTDIR)/lib/JObjC.jar |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1011 |
endif |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1012 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1013 |
########################################################################################## |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1014 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1015 |
ifndef OPENJDK |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1016 |
$(eval $(call SetupArchive,BUILD_ALT_RT_JAR,,\ |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1017 |
SRCS:=$(JDK_OUTPUTDIR)/altclasses_classes,\ |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1018 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/alt-rt.jar)) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1019 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1020 |
JARS += $(IMAGES_OUTPUTDIR)/lib/alt-rt.jar |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1021 |
endif |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1022 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1023 |
########################################################################################## |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1024 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1025 |
# This file is imported from hotspot in Import.gmk. Copying it into images/lib so that |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1026 |
# all jars can be found in one place when creating images in Images.gmk. It needs to be |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1027 |
# done here so that clean targets can be simple and accurate. |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1028 |
$(IMAGES_OUTPUTDIR)/lib/sa-jdi.jar: $(JDK_OUTPUTDIR)/lib/sa-jdi.jar |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1029 |
$(install-file) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1030 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1031 |
JARS += $(IMAGES_OUTPUTDIR)/lib/sa-jdi.jar |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1032 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1033 |
########################################################################################## |
15131 | 1034 |
# |
15132
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1035 |
# sec-bin.zip is used by builds where the corresponding sources are not available |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1036 |
# |
15131 | 1037 |
$(eval $(call SetupZipArchive,BUILD_SEC_BIN_ZIP,\ |
1038 |
SRC:=$(JDK_OUTPUTDIR),\ |
|
1039 |
INCLUDES:=classes/javax/net \ |
|
1040 |
classes/javax/security/cert \ |
|
1041 |
classes/com/sun/net/ssl \ |
|
1042 |
classes/com/sun/security/cert \ |
|
1043 |
classes/sun/net/www/protocol/https \ |
|
1044 |
classes/sun/security/pkcs12 \ |
|
1045 |
classes/sun/security/ssl \ |
|
1046 |
classes/sun/security/krb5 \ |
|
1047 |
classes/sun/security/krb5/internal \ |
|
1048 |
classes/sun/security/krb5/internal/ccache \ |
|
1049 |
classes/sun/security/krb5/internal/crypto \ |
|
1050 |
classes/sun/security/krb5/internal/ktab \ |
|
1051 |
classes/sun/security/krb5/internal/rcache \ |
|
1052 |
classes/sun/security/krb5/internal/util,\ |
|
1053 |
INCLUDE_FILES:=classes/sun/security/jgss/spi/GSSContextSpi.class,\ |
|
15132
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1054 |
EXCLUDES:=classes/sun/security/krb5/internal/tools,\ |
15131 | 1055 |
ZIP:=$(IMAGES_OUTPUTDIR)/sec-bin.zip)) |
1056 |
||
1057 |
JARS += $(IMAGES_OUTPUTDIR)/sec-bin.zip |
|
1058 |
||
1059 |
########################################################################################## |
|
15132
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1060 |
# |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1061 |
# Windows specific binary security packages. |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1062 |
# |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1063 |
ifeq ($(OPENJDK_TARGET_OS),windows) |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1064 |
# sec-windows-bin.zip is used by builds where the corresponding sources are not available |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1065 |
$(eval $(call SetupZipArchive,BUILD_SEC_WINDOWS_BIN_ZIP,\ |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1066 |
SRC:=$(JDK_OUTPUTDIR),\ |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1067 |
INCLUDES:=classes/sun/security/krb5/internal/tools,\ |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1068 |
ZIP:=$(IMAGES_OUTPUTDIR)/sec-windows-bin.zip)) |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1069 |
|
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1070 |
JARS += $(IMAGES_OUTPUTDIR)/sec-windows-bin.zip |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1071 |
|
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1072 |
# JGSS files contain the native Kerberos library |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1073 |
ifeq ($(OPENJDK_TARGET_CPU),x86_64) |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1074 |
JGSS_ZIP_NAME=jgss-windows-x64-bin.zip |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1075 |
else |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1076 |
JGSS_ZIP_NAME=jgss-windows-i586-bin.zip |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1077 |
endif |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1078 |
|
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1079 |
$(eval $(call SetupZipArchive,BUILD_JGSS_BIN_ZIP,\ |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1080 |
SRC:=$(JDK_OUTPUTDIR),\ |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1081 |
INCLUDE_FILES:=bin/w2k_lsa_auth.dll \ |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1082 |
bin/w2k_lsa_auth.map \ |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1083 |
bin/w2k_lsa_auth.pdb,\ |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1084 |
ZIP:=$(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME))) |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1085 |
|
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1086 |
JARS += $(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME) |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1087 |
endif |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1088 |
|
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1089 |
########################################################################################## |
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1090 |
|
13702 | 1091 |
-include $(CUSTOM_MAKE_DIR)/CreateJars.gmk |
1092 |
||
1093 |
########################################################################################## |
|
1094 |
||
12892 | 1095 |
all: $(JARS) |
1096 |
||
1097 |
.PHONY: default all |