author | jjg |
Tue, 22 Jan 2013 19:07:20 -0800 | |
changeset 15382 | 4a955817f15e |
parent 15140 | 87c70ee15c73 |
child 15334 | 19ab20cb461f |
child 15289 | 3ac550392e43 |
child 15681 | 8ca785029fe2 |
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 |
||
14334
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
75 |
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
|
76 |
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
|
77 |
th tr uk vi zh |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
78 |
|
13583 | 79 |
LOCALEDATA_INCLUDES := $(addprefix sun/text/resources/,$(LOCALEDATA_INCLUDE_LOCALES)) \ |
80 |
$(addprefix sun/util/resources/,$(LOCALEDATA_INCLUDE_LOCALES)) |
|
12892 | 81 |
|
14334
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
82 |
# For non-US English locale data |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
83 |
|
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
84 |
LOCALEDATA_INCLUDES += \ |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
85 |
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
|
86 |
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
|
87 |
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
|
88 |
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
|
89 |
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
|
90 |
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
|
91 |
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
|
92 |
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
|
93 |
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
|
94 |
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
|
95 |
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
|
96 |
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
|
97 |
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
|
98 |
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
|
99 |
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
|
100 |
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
|
101 |
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
|
102 |
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
|
103 |
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
|
104 |
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
|
105 |
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
|
106 |
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
|
107 |
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
|
108 |
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
|
109 |
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
|
110 |
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
|
111 |
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
|
112 |
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
|
113 |
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
|
114 |
|
12892 | 115 |
$(eval $(call SetupArchive,BUILD_LOCALEDATA_JAR,,\ |
116 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
|
117 |
SUFFIXES:=.class _dict _th,\ |
|
118 |
INCLUDES:=$(LOCALEDATA_INCLUDES),\ |
|
13583 | 119 |
EXCLUDES:=sun/text/resources/th/BreakIteratorRules_th.class,\ |
14231 | 120 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/ext/localedata.jar,\ |
12892 | 121 |
SKIP_METAINF:=true)) |
122 |
||
14231 | 123 |
JARS+=$(IMAGES_OUTPUTDIR)/lib/ext/localedata.jar |
12892 | 124 |
|
125 |
########################################################################################## |
|
126 |
# rt.jar and resources.jar are being built in the same way as in the old build. They require |
|
127 |
# the files to be in a certain order and converting that is not easy and will not be needed |
|
128 |
# in jigsaw anyway. |
|
129 |
||
130 |
# Exclude list for rt.jar and resources.jar |
|
131 |
RT_JAR_EXCLUDES := \ |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
132 |
com/oracle/security \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
133 |
com/sun/codemodel \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
134 |
com/sun/crypto/provider \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
135 |
com/sun/istack/internal/tools \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
136 |
com/sun/jarsigner \ |
12892 | 137 |
com/sun/javadoc \ |
138 |
com/sun/jdi \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
139 |
com/sun/net/ssl/internal/ssl \ |
12892 | 140 |
com/sun/source \ |
141 |
com/sun/tools \ |
|
142 |
com/sun/xml/internal/dtdparser \ |
|
143 |
com/sun/xml/internal/rngom \ |
|
144 |
com/sun/xml/internal/xsom \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
145 |
javax/crypto \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
146 |
javax/swing/AbstractButtonBeanInfo.class \ |
12892 | 147 |
javax/swing/beaninfo \ |
148 |
javax/swing/BoxBeanInfo.class \ |
|
149 |
javax/swing/JAppletBeanInfo.class \ |
|
150 |
javax/swing/JButtonBeanInfo.class \ |
|
151 |
javax/swing/JCheckBoxBeanInfo.class \ |
|
152 |
javax/swing/JCheckBoxMenuItemBeanInfo.class \ |
|
153 |
javax/swing/JColorChooserBeanInfo.class \ |
|
154 |
javax/swing/JComboBoxBeanInfo.class \ |
|
155 |
javax/swing/JComponentBeanInfo.class \ |
|
156 |
javax/swing/JDesktopPaneBeanInfo.class \ |
|
157 |
javax/swing/JDialogBeanInfo.class \ |
|
158 |
javax/swing/JEditorPaneBeanInfo.class \ |
|
159 |
javax/swing/JFileChooserBeanInfo.class \ |
|
160 |
javax/swing/JFormattedTextFieldBeanInfo.class \ |
|
161 |
javax/swing/JFrameBeanInfo.class \ |
|
162 |
javax/swing/JInternalFrameBeanInfo.class \ |
|
163 |
javax/swing/JLabelBeanInfo.class \ |
|
164 |
javax/swing/JLayeredPaneBeanInfo.class \ |
|
165 |
javax/swing/JListBeanInfo.class \ |
|
166 |
javax/swing/JMenuBarBeanInfo.class \ |
|
167 |
javax/swing/JMenuBeanInfo.class \ |
|
168 |
javax/swing/JMenuItemBeanInfo.class \ |
|
169 |
javax/swing/JOptionPaneBeanInfo.class \ |
|
170 |
javax/swing/JPanelBeanInfo.class \ |
|
171 |
javax/swing/JPasswordFieldBeanInfo.class \ |
|
172 |
javax/swing/JPopupMenuBeanInfo.class \ |
|
173 |
javax/swing/JProgressBarBeanInfo.class \ |
|
174 |
javax/swing/JRadioButtonBeanInfo.class \ |
|
175 |
javax/swing/JRadioButtonMenuItemBeanInfo.class \ |
|
176 |
javax/swing/JScrollBarBeanInfo.class \ |
|
177 |
javax/swing/JScrollPaneBeanInfo.class \ |
|
178 |
javax/swing/JSeparatorBeanInfo.class \ |
|
179 |
javax/swing/JSliderBeanInfo.class \ |
|
180 |
javax/swing/JSpinnerBeanInfo.class \ |
|
181 |
javax/swing/JSplitPaneBeanInfo.class \ |
|
182 |
javax/swing/JTabbedPaneBeanInfo.class \ |
|
183 |
javax/swing/JTableBeanInfo.class \ |
|
184 |
javax/swing/JTextAreaBeanInfo.class \ |
|
185 |
javax/swing/JTextFieldBeanInfo.class \ |
|
186 |
javax/swing/JTextPaneBeanInfo.class \ |
|
187 |
javax/swing/JToggleButtonBeanInfo.class \ |
|
188 |
javax/swing/JToolBarBeanInfo.class \ |
|
189 |
javax/swing/JTreeBeanInfo.class \ |
|
190 |
javax/swing/JWindowBeanInfo.class \ |
|
191 |
javax/swing/SwingBeanInfoBase.class \ |
|
192 |
javax/swing/text/JTextComponentBeanInfo.class \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
193 |
META-INF/services/com.sun.jdi.connect.Connector \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
194 |
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
|
195 |
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
|
196 |
META-INF/services/com.sun.tools.xjc.Plugin \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
197 |
META-INF/services/java.nio.charset.spi.CharsetProvider \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
198 |
META-INF/services/sun.net.spi.nameservice.NameServiceDescriptor \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
199 |
org/relaxng/datatype \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
200 |
sun/awt/HKSCS.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
201 |
sun/awt/motif/X11GB2312.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
202 |
sun/awt/motif/X11GB2312\$$$$Decoder.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
203 |
sun/awt/motif/X11GB2312\$$$$Encoder.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
204 |
sun/awt/motif/X11GBK.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
205 |
sun/awt/motif/X11GBK\$$$$Encoder.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
206 |
sun/awt/motif/X11KSC5601.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
207 |
sun/awt/motif/X11KSC5601\$$$$Decoder.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
208 |
sun/awt/motif/X11KSC5601\$$$$Encoder.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
209 |
sun/jvmstat \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
210 |
sun/net/spi/nameservice/dns \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
211 |
sun/nio/cs/ext \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
212 |
sun/rmi/rmic \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
213 |
sun/security/ec/ECDHKeyAgreement.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
214 |
sun/security/ec/ECDSASignature.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
215 |
sun/security/ec/ECDSASignature\$$$$Raw.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
216 |
sun/security/ec/ECDSASignature\$$$$SHA1.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
217 |
sun/security/ec/ECDSASignature\$$$$SHA224.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
218 |
sun/security/ec/ECDSASignature\$$$$SHA256.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
219 |
sun/security/ec/ECDSASignature\$$$$SHA384.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
220 |
sun/security/ec/ECDSASignature\$$$$SHA512.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
221 |
sun/security/ec/ECKeyFactory.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
222 |
sun/security/ec/ECKeyPairGenerator.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
223 |
sun/security/ec/SunEC\$$$$1.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
224 |
sun/security/ec/SunEC.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
225 |
sun/security/ec/SunECEntries.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
226 |
sun/security/internal \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
227 |
sun/security/mscapi \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
228 |
sun/security/pkcs11 \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
229 |
sun/security/provider/Sun.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
230 |
sun/security/rsa/SunRsaSign.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
231 |
sun/security/ssl \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
232 |
sun/security/tools/jarsigner \ |
12892 | 233 |
sun/swing/BeanInfoUtils.class \ |
13583 | 234 |
sun/text/resources/cldr \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
235 |
sun/tools/asm \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
236 |
sun/tools/attach \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
237 |
sun/tools/java \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
238 |
sun/tools/javac \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
239 |
sun/tools/jcmd \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
240 |
sun/tools/jconsole \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
241 |
sun/tools/jinfo \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
242 |
sun/tools/jmap \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
243 |
sun/tools/jps \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
244 |
sun/tools/jstack \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
245 |
sun/tools/jstat \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
246 |
sun/tools/jstatd \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
247 |
sun/tools/native2ascii \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
248 |
sun/tools/serialver \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
249 |
sun/tools/tree \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
250 |
sun/tools/util \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
251 |
sun/util/cldr/CLDRLocaleDataMetaInfo.class \ |
13583 | 252 |
sun/util/resources/cldr \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
253 |
$(LOCALEDATA_INCLUDES) |
12892 | 254 |
|
13164 | 255 |
# These files should never be put into rt.jar |
256 |
# but due to a misstake...some are put there if embedded |
|
257 |
# |
|
258 |
ifneq ($(JAVASE_EMBEDDED), true) |
|
259 |
# normal (correct) case |
|
12892 | 260 |
RT_JAR_EXCLUDES += \ |
261 |
com/oracle/jrockit/jfr \ |
|
262 |
oracle/jrockit/jfr |
|
13164 | 263 |
else |
264 |
# embedded (broken) case |
|
265 |
RT_JAR_EXCLUDES += \ |
|
266 |
oracle/jrockit/jfr/parser \ |
|
267 |
oracle/jrockit/jfr/tools \ |
|
268 |
oracle/jrockit/jfr/NativeOptions.class \ |
|
269 |
oracle/jrockit/jfr/RepositoryChunkHandler.class |
|
12892 | 270 |
endif |
13164 | 271 |
|
272 |
ifeq ($(OPENJDK_TARGET_OS), macosx) |
|
273 |
RT_JAR_EXCLUDES += com/sun/nio/sctp \ |
|
14425
0005b8b4ec0b
8003161: small fixes to re-enable new build system
ohrstrom
parents:
14345
diff
changeset
|
274 |
sun/nio/ch/sctp |
12892 | 275 |
endif |
276 |
||
277 |
# 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
|
278 |
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
|
279 |
$(call CacheFind,$(JDK_OUTPUTDIR)/classes))) |
12892 | 280 |
|
14231 | 281 |
RT_JAR_MANIFEST_FILE := $(IMAGES_OUTPUTDIR)/lib/_the.rt.jar_manifest |
282 |
RESOURCE_JAR_MANIFEST_FILE := $(IMAGES_OUTPUTDIR)/lib/_the.resources.jar_manifest |
|
12892 | 283 |
|
284 |
$(RT_JAR_MANIFEST_FILE): $(MAINMANIFEST) $(BEANMANIFEST) |
|
285 |
$(MKDIR) -p $(@D) |
|
13702 | 286 |
$(RM) $@ $@.tmp |
12892 | 287 |
$(SED) -e "s#@@RELEASE@@#$(RELEASE)#" \ |
288 |
-e "s#@@COMPANY_NAME@@#$(COMPANY_NAME)#" \ |
|
13702 | 289 |
$(MAINMANIFEST) >> $@.tmp |
290 |
$(ECHO) >> $@.tmp |
|
291 |
$(CAT) $(BEANMANIFEST) >> $@.tmp |
|
292 |
$(MV) $@.tmp $@ |
|
12892 | 293 |
|
294 |
$(RESOURCE_JAR_MANIFEST_FILE): $(MAINMANIFEST) |
|
295 |
$(MKDIR) -p $(@D) |
|
13702 | 296 |
$(RM) $@ $@.tmp |
12892 | 297 |
$(SED) -e "s#@@RELEASE@@#$(RELEASE)#" \ |
298 |
-e "s#@@COMPANY_NAME@@#$(COMPANY_NAME)#" \ |
|
13702 | 299 |
$(MAINMANIFEST) >> $@.tmp |
300 |
$(MV) $@.tmp $@ |
|
12892 | 301 |
|
14231 | 302 |
$(IMAGES_OUTPUTDIR)/lib/_the.jars.exclude: $(MAKEFILE) |
12892 | 303 |
$(MKDIR) -p $(@D) |
13702 | 304 |
$(RM) $@ $@.tmp |
305 |
$(call ListPathsSafely,RT_JAR_EXCLUDES,\n, >> $@.tmp) |
|
306 |
$(MV) $@.tmp $@ |
|
12892 | 307 |
|
14231 | 308 |
$(IMAGES_OUTPUTDIR)/lib/classlist : $(JDK_TOPDIR)/make/tools/sharing/classlist.$(OPENJDK_TARGET_OS) \ |
13164 | 309 |
$(MAKEFILE) |
310 |
$(MKDIR) -p $(@D) |
|
13702 | 311 |
$(RM) $@ $@.tmp |
312 |
$(TOOL_ADDJSUM) $< $@.tmp |
|
313 |
$(MV) $@.tmp $@ |
|
13164 | 314 |
|
14231 | 315 |
$(IMAGES_OUTPUTDIR)/lib/_the.jars.contents: $(BUILD_TOOLS) $(IMAGES_OUTPUTDIR)/lib/_the.jars.exclude \ |
316 |
$(ALL_FILES_IN_CLASSES) $(IMAGES_OUTPUTDIR)/lib/classlist |
|
12892 | 317 |
$(MKDIR) -p $(@D) |
13702 | 318 |
$(RM) $@ $@.tmp |
12892 | 319 |
($(CD) $(JDK_OUTPUTDIR)/classes && \ |
320 |
$(TOOL_JARREORDER) \ |
|
14231 | 321 |
-o $@.tmp $(IMAGES_OUTPUTDIR)/lib/classlist $(IMAGES_OUTPUTDIR)/lib/_the.jars.exclude . ) |
13702 | 322 |
$(MV) $@.tmp $@ |
12892 | 323 |
|
14231 | 324 |
$(IMAGES_OUTPUTDIR)/lib/_the.rt.jar.contents: $(IMAGES_OUTPUTDIR)/lib/_the.jars.contents |
13702 | 325 |
$(MKDIR) -p $(@D) |
326 |
$(RM) $@ $@.tmp |
|
14231 | 327 |
$(GREP) -e '\.class$$' $(IMAGES_OUTPUTDIR)/lib/_the.jars.contents > $@.tmp |
13702 | 328 |
$(MV) $@.tmp $@ |
12892 | 329 |
|
14231 | 330 |
$(IMAGES_OUTPUTDIR)/lib/_the.resources.jar.contents: $(IMAGES_OUTPUTDIR)/lib/_the.jars.contents |
13702 | 331 |
$(MKDIR) -p $(@D) |
332 |
$(RM) $@ $@.tmp |
|
333 |
$(GREP) -v -e '\.class$$' \ |
|
334 |
-e '/_the\.*' -e '^_the\.*' -e '\\_the\.*' -e 'javac_state' \ |
|
14231 | 335 |
$(IMAGES_OUTPUTDIR)/lib/_the.jars.contents > $@.tmp |
13702 | 336 |
$(MV) $@.tmp $@ |
12892 | 337 |
|
13164 | 338 |
RT_JAR_CREATE_OPTIONS := c0fm |
339 |
ifeq ($(COMPRESS_JARS), true) |
|
340 |
RT_JAR_CREATE_OPTIONS := cfm |
|
341 |
endif |
|
342 |
||
14231 | 343 |
$(IMAGES_OUTPUTDIR)/lib/rt.jar: $(IMAGES_OUTPUTDIR)/lib/_the.rt.jar.contents $(RT_JAR_MANIFEST_FILE) |
12892 | 344 |
$(ECHO) Creating rt.jar |
13702 | 345 |
$(MKDIR) -p $(@D) |
346 |
$(RM) $@ $@.tmp |
|
12892 | 347 |
$(CD) $(JDK_OUTPUTDIR)/classes && \ |
13702 | 348 |
$(JAR) $(RT_JAR_CREATE_OPTIONS) $@.tmp $(RT_JAR_MANIFEST_FILE) \ |
14231 | 349 |
@$(IMAGES_OUTPUTDIR)/lib/_the.rt.jar.contents |
13702 | 350 |
$(MV) $@.tmp $@ |
12892 | 351 |
|
14231 | 352 |
$(IMAGES_OUTPUTDIR)/lib/resources.jar: $(IMAGES_OUTPUTDIR)/lib/_the.resources.jar.contents \ |
12892 | 353 |
$(RESOURCE_JAR_MANIFEST_FILE) |
354 |
$(ECHO) Creating resources.jar |
|
13702 | 355 |
$(MKDIR) -p $(@D) |
356 |
$(RM) $@ $@.tmp |
|
12892 | 357 |
$(CD) $(JDK_OUTPUTDIR)/classes && \ |
13702 | 358 |
$(JAR) $(RT_JAR_CREATE_OPTIONS) $@.tmp $(RESOURCE_JAR_MANIFEST_FILE) \ |
14231 | 359 |
@$(IMAGES_OUTPUTDIR)/lib/_the.resources.jar.contents |
13702 | 360 |
$(MV) $@.tmp $@ |
12892 | 361 |
|
14231 | 362 |
JARS+=$(IMAGES_OUTPUTDIR)/lib/rt.jar $(IMAGES_OUTPUTDIR)/lib/resources.jar |
12892 | 363 |
|
364 |
########################################################################################## |
|
365 |
||
13164 | 366 |
ifneq ($(OPENJDK_TARGET_OS), windows) |
12892 | 367 |
CHARSETS_EXTRA_FILES:=sun/awt/motif/X11GBK.class \ |
368 |
sun/awt/motif/X11GB2312\$$$$Decoder.class \ |
|
369 |
sun/awt/motif/X11GB2312.class \ |
|
370 |
sun/awt/motif/X11KSC5601\$$$$Decoder.class \ |
|
371 |
sun/awt/motif/X11KSC5601\$$$$Encoder.class \ |
|
372 |
sun/awt/motif/X11GB2312\$$$$Encoder.class \ |
|
373 |
sun/awt/motif/X11GBK\$$$$Encoder.class \ |
|
374 |
sun/awt/motif/X11KSC5601.class |
|
375 |
endif |
|
376 |
||
14231 | 377 |
$(eval $(call SetupArchive,BUILD_CHARSETS_JAR,,\ |
12892 | 378 |
SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
379 |
SUFFIXES:=.class .dat,\ |
|
380 |
INCLUDES:=sun/nio/cs/ext,\ |
|
381 |
EXTRA_FILES := sun/awt/HKSCS.class \ |
|
382 |
$(CHARSETS_EXTRA_FILES) \ |
|
383 |
META-INF/services/java.nio.charset.spi.CharsetProvider, \ |
|
14231 | 384 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/charsets.jar, \ |
13164 | 385 |
SKIP_METAINF := true, \ |
386 |
CHECK_COMPRESS_JAR:=true)) |
|
12892 | 387 |
|
14231 | 388 |
JARS+=$(IMAGES_OUTPUTDIR)/lib/charsets.jar |
12892 | 389 |
|
390 |
########################################################################################## |
|
391 |
||
14231 | 392 |
ifndef OPENJDK |
13164 | 393 |
ifeq ($(ENABLE_JFR), true) |
12892 | 394 |
$(eval $(call SetupArchive,BUILD_JFR_JAR,,\ |
395 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
|
396 |
INCLUDES:=com/oracle/jrockit/jfr \ |
|
397 |
oracle/jrockit/jfr,\ |
|
14231 | 398 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/jfr.jar,\ |
12892 | 399 |
SKIP_METAINF:=true,\ |
13164 | 400 |
MANIFEST:=$(MAINMANIFEST), \ |
401 |
CHECK_COMPRESS_JAR:=true)) |
|
12892 | 402 |
|
14231 | 403 |
JARS+=$(IMAGES_OUTPUTDIR)/lib/jfr.jar |
404 |
endif |
|
12892 | 405 |
endif |
406 |
||
407 |
########################################################################################## |
|
408 |
||
409 |
$(eval $(call SetupArchive,BUILD_JSSE_JAR,,\ |
|
410 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
|
411 |
INCLUDES:=sun/security/provider/Sun.class \ |
|
412 |
sun/security/rsa/SunRsaSign.class \ |
|
413 |
sun/security/ssl \ |
|
414 |
com/sun/net/ssl/internal/ssl,\ |
|
14231 | 415 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/jsse.jar,\ |
12892 | 416 |
SKIP_METAINF:=true,\ |
13164 | 417 |
MANIFEST:=$(MAINMANIFEST), \ |
418 |
CHECK_COMPRESS_JAR:=true)) |
|
12892 | 419 |
|
14231 | 420 |
JARS+=$(IMAGES_OUTPUTDIR)/lib/jsse.jar |
12892 | 421 |
|
422 |
########################################################################################## |
|
14527
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
423 |
# Create manifest for security jars |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
424 |
|
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
425 |
# |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
426 |
# 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
|
427 |
# |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
428 |
JCE_MANIFEST := $(IMAGES_OUTPUTDIR)/lib/_the.security.manifest.mf |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
429 |
$(JCE_MANIFEST): $(MAINMANIFEST) |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
430 |
$(MKDIR) -p $(@D) |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
431 |
$(RM) $@ $@.tmp |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
432 |
$(SED) -e "s#@@RELEASE@@#$(JDK_VERSION)#" \ |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
433 |
-e "s#@@COMPANY_NAME@@#$(COMPANY_NAME)#" \ |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
434 |
$(MAINMANIFEST) >> $@.tmp |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
435 |
$(ECHO) "Extension-Name: javax.crypto" >> $@.tmp |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
436 |
$(ECHO) "Implementation-Vendor-Id: com.sun" >> $@.tmp |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
437 |
$(MV) $@.tmp $@ |
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
438 |
|
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
439 |
########################################################################################## |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
440 |
# 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
|
441 |
# 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
|
442 |
# for more information. |
12892 | 443 |
|
14231 | 444 |
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
|
445 |
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
|
446 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
447 |
$(eval $(call SetupArchive,BUILD_SUNPKCS11_JAR,,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
448 |
SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
449 |
SUFFIXES:=.class,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
450 |
INCLUDES:=sun/security/pkcs11,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
451 |
JAR:=$(SUNPKCS11_JAR_UNSIGNED), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
452 |
MANIFEST:=$(JCE_MANIFEST), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
453 |
SKIP_METAINF := true)) |
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 |
$(SUNPKCS11_JAR_UNSIGNED): $(JCE_MANIFEST) |
12892 | 456 |
|
13702 | 457 |
ifndef OPENJDK |
458 |
SUNPKCS11_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/pkcs11/sunpkcs11.jar |
|
459 |
$(SUNPKCS11_JAR_DST) : $(SUNPKCS11_JAR_SRC) |
|
14231 | 460 |
@$(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
|
461 |
$(install-file) |
13702 | 462 |
else |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
463 |
$(SUNPKCS11_JAR_DST) : $(SUNPKCS11_JAR_UNSIGNED) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
464 |
$(install-file) |
13702 | 465 |
endif |
12892 | 466 |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
467 |
JARS += $(SUNPKCS11_JAR_DST) $(SUNPKCS11_JAR_UNSIGNED) |
12892 | 468 |
|
469 |
########################################################################################## |
|
470 |
||
14231 | 471 |
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
|
472 |
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
|
473 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
474 |
$(eval $(call SetupArchive,BUILD_SUNEC_JAR,,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
475 |
SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
476 |
SUFFIXES:=.class,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
477 |
INCLUDES:=sun/security/ec,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
478 |
JAR:=$(SUNEC_JAR_UNSIGNED), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
479 |
MANIFEST:=$(JCE_MANIFEST), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
480 |
SKIP_METAINF := true)) |
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 |
$(SUNEC_JAR_UNSIGNED): $(JCE_MANIFEST) |
12892 | 483 |
|
484 |
ifndef OPENJDK |
|
14527
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
485 |
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
|
486 |
$(SUNEC_JAR_DST) : $(SUNEC_JAR_SRC) |
14231 | 487 |
@$(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
|
488 |
$(install-file) |
12892 | 489 |
else |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
490 |
$(SUNEC_JAR_DST) : $(SUNEC_JAR_UNSIGNED) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
491 |
$(install-file) |
12892 | 492 |
endif |
493 |
||
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
494 |
JARS += $(SUNEC_JAR_DST) $(SUNEC_JAR_UNSIGNED) |
12892 | 495 |
|
496 |
########################################################################################## |
|
497 |
||
498 |
$(eval $(call SetupArchive,BUILD_SWINGBEANS_JAR,,\ |
|
499 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
|
500 |
SUFFIXES:=BeanInfo.class .gif,\ |
|
501 |
INCLUDES:=javax/swing sun/swing,\ |
|
502 |
EXCLUDES:=javax/swing/plaf,\ |
|
503 |
EXTRA_FILES:=javax/swing/SwingBeanInfoBase.class sun/swing/BeanInfoUtils.class,\ |
|
14231 | 504 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/dt.jar,\ |
12892 | 505 |
SKIP_METAINF:=true)) |
506 |
||
14231 | 507 |
JARS+=$(IMAGES_OUTPUTDIR)/lib/dt.jar |
12892 | 508 |
|
509 |
########################################################################################## |
|
510 |
||
14231 | 511 |
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
|
512 |
SUNJCE_PROVIDER_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/sunjce_provider.jar |
12892 | 513 |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
514 |
$(eval $(call SetupArchive,BUILD_SUNJCE_PROVIDER_JAR,,\ |
12892 | 515 |
SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
516 |
SUFFIXES:=.class,\ |
|
517 |
INCLUDES:= com/sun/crypto/provider,\ |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
518 |
JAR:=$(SUNJCE_PROVIDER_JAR_UNSIGNED), \ |
14527
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
519 |
MANIFEST:=$(JCE_MANIFEST), \ |
12892 | 520 |
SKIP_METAINF := true)) |
14527
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
521 |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
522 |
$(SUNJCE_PROVIDER_JAR_UNSIGNED): $(JCE_MANIFEST) |
14527
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
523 |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
524 |
ifndef OPENJDK |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
525 |
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
|
526 |
$(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
|
527 |
@$(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
|
528 |
$(install-file) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
529 |
else |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
530 |
$(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
|
531 |
$(install-file) |
12892 | 532 |
endif |
533 |
||
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
534 |
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
|
535 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
536 |
########################################################################################## |
12892 | 537 |
|
14231 | 538 |
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
|
539 |
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
|
540 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
541 |
$(eval $(call SetupArchive,BUILD_JCE_JAR,,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
542 |
SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
543 |
SUFFIXES:=.class,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
544 |
INCLUDES:= javax/crypto sun/security/internal,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
545 |
JAR:=$(JCE_JAR_UNSIGNED), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
546 |
MANIFEST:=$(JCE_MANIFEST), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
547 |
SKIP_METAINF := true)) |
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 |
$(JCE_JAR_UNSIGNED): $(JCE_MANIFEST) |
12892 | 550 |
|
551 |
ifndef OPENJDK |
|
14527
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
552 |
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
|
553 |
$(JCE_JAR_DST) : $(JCE_JAR_SRC) |
14231 | 554 |
@$(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
|
555 |
$(install-file) |
12892 | 556 |
else |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
557 |
$(JCE_JAR_DST) : $(JCE_JAR_UNSIGNED) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
558 |
$(install-file) |
12892 | 559 |
endif |
560 |
||
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
561 |
JARS += $(JCE_JAR_DST) $(JCE_JAR_UNSIGNED) |
12892 | 562 |
|
563 |
########################################################################################## |
|
564 |
||
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
565 |
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
|
566 |
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
|
567 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
568 |
# |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
569 |
# 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
|
570 |
# 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
|
571 |
# |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
572 |
# 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
|
573 |
# policy. This was not a typo. |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
574 |
# |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
575 |
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
|
576 |
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
|
577 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
578 |
$(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
|
579 |
$(install-file) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
580 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
581 |
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
|
582 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
583 |
$(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
|
584 |
SRCS:=$(US_EXPORT_POLICY_JAR_TMP), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
585 |
SUFFIXES:= .policy,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
586 |
JAR:=$(US_EXPORT_POLICY_JAR_UNSIGNED), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
587 |
EXTRA_MANIFEST_ATTR := Crypto-Strength: unlimited, \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
588 |
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
|
589 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
590 |
ifndef OPENJDK |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
591 |
$(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
|
592 |
$(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
|
593 |
$(install-file) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
594 |
else |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
595 |
$(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
|
596 |
$(install-file) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
597 |
endif |
12892 | 598 |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
599 |
JARS += $(US_EXPORT_POLICY_JAR_DST) $(US_EXPORT_POLICY_JAR_UNSIGNED) |
12892 | 600 |
|
601 |
########################################################################################## |
|
602 |
||
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
603 |
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
|
604 |
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
|
605 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
606 |
# |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
607 |
# 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
|
608 |
# 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
|
609 |
# |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
610 |
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
|
611 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
612 |
ifeq ($(UNLIMITED_CRYPTO), true) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
613 |
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
|
614 |
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
|
615 |
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
|
616 |
else |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
617 |
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
|
618 |
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
|
619 |
$(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
|
620 |
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
|
621 |
endif |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
622 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
623 |
$(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
|
624 |
$(install-file) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
625 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
626 |
$(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
|
627 |
SRCS:=$(LOCAL_POLICY_JAR_TMP),\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
628 |
SUFFIXES:= .policy,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
629 |
JAR:=$(LOCAL_POLICY_JAR_UNSIGNED), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
630 |
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
|
631 |
SKIP_METAINF := true)) |
12892 | 632 |
|
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
633 |
ifndef OPENJDK |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
634 |
$(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
|
635 |
$(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
|
636 |
$(install-file) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
637 |
else |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
638 |
$(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
|
639 |
$(install-file) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
640 |
endif |
12892 | 641 |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
642 |
JARS += $(LOCAL_POLICY_JAR_DST) $(LOCAL_POLICY_JAR_UNSIGNED) |
12892 | 643 |
|
644 |
########################################################################################## |
|
645 |
||
13164 | 646 |
ifeq ($(OPENJDK_TARGET_OS),windows) |
12892 | 647 |
|
14231 | 648 |
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
|
649 |
SUNMSCAPI_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/sunmscapi.jar |
12892 | 650 |
|
14231 | 651 |
$(eval $(call SetupArchive,BUILD_SUNMSCAPI_JAR,,\ |
12892 | 652 |
SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
653 |
SUFFIXES:=.class,\ |
|
654 |
INCLUDES:= sun/security/mscapi,\ |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
655 |
JAR:=$(SUNMSCAPI_JAR_UNSIGNED), \ |
15137
1ad653469ebc
8006296: build-infra: Unsigned sunmscapi.jar is missing manifest.
erikj
parents:
15133
diff
changeset
|
656 |
MANIFEST:=$(JCE_MANIFEST), \ |
13702 | 657 |
SKIP_METAINF:=true)) |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
658 |
|
15137
1ad653469ebc
8006296: build-infra: Unsigned sunmscapi.jar is missing manifest.
erikj
parents:
15133
diff
changeset
|
659 |
$(SUNMSCAPI_JAR_UNSIGNED): $(JCE_MANIFEST) |
1ad653469ebc
8006296: build-infra: Unsigned sunmscapi.jar is missing manifest.
erikj
parents:
15133
diff
changeset
|
660 |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
661 |
ifndef OPENJDK |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
662 |
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
|
663 |
$(SUNMSCAPI_JAR_DST) : $(SUNMSCAPI_JAR_SRC) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
664 |
@$(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
|
665 |
$(install-file) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
666 |
else |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
667 |
$(SUNMSCAPI_JAR_DST) : $(SUNMSCAPI_JAR_UNSIGNED) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
668 |
$(install-file) |
12892 | 669 |
endif |
670 |
||
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
671 |
JARS += $(SUNMSCAPI_JAR_DST) $(SUNMSCAPI_JAR_UNSIGNED) |
12892 | 672 |
|
673 |
endif |
|
674 |
||
675 |
########################################################################################## |
|
676 |
||
13164 | 677 |
ifeq ($(OPENJDK_TARGET_OS),solaris) |
12892 | 678 |
ifndef OPENJDK |
679 |
||
14231 | 680 |
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
|
681 |
UCRYPTO_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/ucrypto.jar |
12892 | 682 |
UCRYPTO_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/ucrypto/ucrypto.jar |
683 |
||
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
684 |
$(eval $(call SetupArchive,BUILD_UCRYPTO_JAR,,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
685 |
SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
686 |
SUFFIXES:=.class,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
687 |
INCLUDES:=com/oracle/security/ucrypto,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
688 |
JAR:=$(UCRYPTO_JAR_UNSIGNED), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
689 |
MANIFEST:=$(JCE_MANIFEST), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
690 |
SKIP_METAINF:=true)) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
691 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
692 |
$(UCRYPTO_JAR_UNSIGNED): $(JCE_MANIFEST) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
693 |
|
12892 | 694 |
$(UCRYPTO_JAR_DST) : $(UCRYPTO_JAR_SRC) |
14231 | 695 |
@$(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
|
696 |
$(install-file) |
12892 | 697 |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
698 |
JARS += $(UCRYPTO_JAR_DST) $(UCRYPTO_JAR_UNSIGNED) |
12892 | 699 |
|
700 |
endif |
|
701 |
endif |
|
702 |
||
703 |
########################################################################################## |
|
704 |
||
13583 | 705 |
# Get the CLDRVERSION |
706 |
include GensrcCLDR.gmk |
|
707 |
||
14231 | 708 |
CLDRDATA_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/cldrdata.jar |
13583 | 709 |
|
14231 | 710 |
$(eval $(call SetupArchive,BUILD_CLDRDATA_JAR,,\ |
13583 | 711 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
712 |
SUFFIXES:=.class,\ |
|
713 |
INCLUDES:=sun/text/resources/cldr \ |
|
714 |
sun/util/cldr \ |
|
715 |
sun/util/resources/cldr,\ |
|
716 |
EXCLUDES:=sun/util/cldr/CLDRLocaleProviderAdapter,\ |
|
717 |
JAR:=$(CLDRDATA_JAR_DST),\ |
|
718 |
EXTRA_MANIFEST_ATTR:=CLDR-Version: $(CLDRVERSION),\ |
|
719 |
SKIP_METAINF:=true)) |
|
720 |
||
721 |
JARS += $(CLDRDATA_JAR_DST) |
|
722 |
||
723 |
########################################################################################## |
|
724 |
||
12892 | 725 |
TOOLS_JAR_INCLUDES := \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
726 |
com/sun/codemodel \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
727 |
com/sun/istack/internal/tools \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
728 |
com/sun/jarsigner \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
729 |
com/sun/javadoc \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
730 |
com/sun/jdi \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
731 |
com/sun/source \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
732 |
com/sun/tools/attach \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
733 |
com/sun/tools/classfile \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
734 |
com/sun/tools/corba \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
735 |
com/sun/tools/doclets \ |
14902 | 736 |
com/sun/tools/doclint \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
737 |
com/sun/tools/example/debug/expr \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
738 |
com/sun/tools/example/debug/tty \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
739 |
com/sun/tools/extcheck \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
740 |
com/sun/tools/hat \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
741 |
com/sun/tools/internal/jxc \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
742 |
com/sun/tools/internal/jxc/ap \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
743 |
com/sun/tools/internal/ws \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
744 |
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
|
745 |
com/sun/tools/internal/xjc \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
746 |
com/sun/tools/javac \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
747 |
com/sun/tools/javadoc \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
748 |
com/sun/tools/javah \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
749 |
com/sun/tools/javap \ |
14994
a544909d1d1c
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
14902
diff
changeset
|
750 |
com/sun/tools/jdeps \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
751 |
com/sun/tools/jdi \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
752 |
com/sun/tools/script/shell \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
753 |
com/sun/xml/internal/dtdparser \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
754 |
com/sun/xml/internal/rngom \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
755 |
com/sun/xml/internal/xsom \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
756 |
org/relaxng/datatype \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
757 |
sun/applet \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
758 |
sun/jvmstat \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
759 |
sun/rmi/rmic \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
760 |
sun/security/tools/jarsigner \ |
12892 | 761 |
sun/tools/asm \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
762 |
sun/tools/attach \ |
12892 | 763 |
sun/tools/jar \ |
764 |
sun/tools/java \ |
|
765 |
sun/tools/javac \ |
|
766 |
sun/tools/jcmd \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
767 |
sun/tools/jinfo \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
768 |
sun/tools/jmap \ |
12892 | 769 |
sun/tools/jps \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
770 |
sun/tools/jstack \ |
12892 | 771 |
sun/tools/jstat \ |
772 |
sun/tools/jstatd \ |
|
773 |
sun/tools/native2ascii \ |
|
774 |
sun/tools/serialver \ |
|
775 |
sun/tools/tree \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
776 |
sun/tools/util |
12892 | 777 |
|
14231 | 778 |
# The sjavac tools is not ready for public consumption. |
779 |
TOOLS_JAR_EXCLUDES=com/sun/tools/sjavac |
|
780 |
||
781 |
$(eval $(call SetupArchive,BUILD_TOOLS_JAR,,\ |
|
12892 | 782 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
783 |
SUFFIXES:=.class .prp .gif .properties .xml .css .xsd .js .html .txt .java \ |
|
784 |
Tool aliasmap options,\ |
|
785 |
INCLUDES:=$(TOOLS_JAR_INCLUDES),\ |
|
14231 | 786 |
EXCLUDES:=$(TOOLS_JAR_EXCLUDES),\ |
12892 | 787 |
EXTRA_FILES:=META-INF/services/com.sun.jdi.connect.Connector \ |
788 |
META-INF/services/com.sun.jdi.connect.spi.TransportService \ |
|
789 |
META-INF/services/com.sun.tools.attach.spi.AttachProvider \ |
|
790 |
META-INF/services/com.sun.tools.internal.ws.wscompile.Plugin \ |
|
791 |
META-INF/services/com.sun.tools.internal.xjc.Plugin,\ |
|
14231 | 792 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/tools.jar,\ |
13164 | 793 |
SKIP_METAINF:=true, \ |
794 |
CHECK_COMPRESS_JAR:=true)) |
|
12892 | 795 |
|
14231 | 796 |
JARS+=$(IMAGES_OUTPUTDIR)/lib/tools.jar |
12892 | 797 |
|
798 |
########################################################################################## |
|
799 |
||
13702 | 800 |
include javadoc/CORE_PKGS.gmk |
801 |
include javadoc/NON_CORE_PKGS.gmk |
|
12892 | 802 |
|
803 |
# The compiler should not issue a "Proprietary" warning when compiling |
|
804 |
# classes in the com.sun.java.swing.plaf packages, since we've always |
|
805 |
# allowed, and even advocated, extending them (see bug 6476749). |
|
806 |
# |
|
807 |
# This approach is NOT to be used as a general purpose way to avoid such |
|
808 |
# compiler warnings for non-core packages. The correct way is to document |
|
809 |
# the packages in NON_CORE_PKGS.gmk, and include them in the NON_CORE_PKGS |
|
810 |
# definition. |
|
811 |
# |
|
812 |
# Swing has taken this approach only as a temporary measure to avoid |
|
813 |
# the compiler warnings until we can properly document these packages. |
|
814 |
# This is covered under 6491853. |
|
815 |
EXCLUDE_PROPWARN_PKGS = com.sun.java.swing.plaf.windows \ |
|
816 |
com.sun.java.swing.plaf.motif \ |
|
817 |
com.sun.java.swing.plaf.gtk |
|
818 |
||
819 |
# |
|
820 |
# Include the exported private packages in ct.sym. |
|
821 |
# This is an interim solution until the ct.sym is replaced |
|
822 |
# with a new module system (being discussed for JDK 8). |
|
823 |
# |
|
824 |
EXPORTED_PRIVATE_PKGS = com.sun.servicetag \ |
|
825 |
com.oracle.net \ |
|
826 |
com.oracle.nio |
|
827 |
||
14231 | 828 |
$(IMAGES_OUTPUTDIR)/symbols/_the.symbols: $(IMAGES_OUTPUTDIR)/lib/rt.jar |
13702 | 829 |
$(RM) -r $(IMAGES_OUTPUTDIR)/symbols/META-INF/sym |
12892 | 830 |
$(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
|
831 |
$(JAVA) $(JAVAC_JARS) \ |
9d42784b1823
8004803: build-infra: Cannot use icedtea as boot for closed build.
erikj
parents:
14596
diff
changeset
|
832 |
-bootclasspath $(JDK_OUTPUTDIR)/classes \ |
12892 | 833 |
-XDprocess.packages -proc:only \ |
834 |
-processor com.sun.tools.javac.sym.CreateSymbols \ |
|
14231 | 835 |
-Acom.sun.tools.javac.sym.Jar=$(IMAGES_OUTPUTDIR)/lib/rt.jar \ |
12892 | 836 |
-Acom.sun.tools.javac.sym.Dest=$(IMAGES_OUTPUTDIR)/symbols/META-INF/sym/rt.jar \ |
837 |
$(CORE_PKGS) $(NON_CORE_PKGS) $(EXCLUDE_PROPWARN_PKGS) $(EXPORTED_PRIVATE_PKGS) |
|
838 |
$(TOUCH) $@ |
|
839 |
||
15126
bceb690ccf35
8005540: build-infra: Improve incremental build speed on windows by caching find results
erikj
parents:
14790
diff
changeset
|
840 |
$(eval $(call MakeDir,$(IMAGES_OUTPUTDIR)/symbols)) |
12892 | 841 |
$(eval $(call SetupArchive,BUILD_CT_SYM,$(IMAGES_OUTPUTDIR)/symbols/_the.symbols,\ |
842 |
SRCS:=$(IMAGES_OUTPUTDIR)/symbols,\ |
|
843 |
INCLUDES:=META-INF/sym,\ |
|
14231 | 844 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/ct.sym, \ |
13164 | 845 |
CHECK_COMPRESS_JAR:=true)) |
12892 | 846 |
|
14231 | 847 |
JARS+=$(IMAGES_OUTPUTDIR)/lib/ct.sym |
12892 | 848 |
|
849 |
########################################################################################## |
|
850 |
||
851 |
SRC_ZIP_INCLUDES = \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
852 |
com/sun/corba \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
853 |
com/sun/image/codec/jpeg \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
854 |
com/sun/imageio \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
855 |
com/sun/java_cup \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
856 |
com/sun/javadoc \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
857 |
com/sun/java/swing \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
858 |
com/sun/jlex \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
859 |
com/sun/jmx \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
860 |
com/sun/naming \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
861 |
com/sun/org/apache \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
862 |
com/sun/security/auth \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
863 |
com/sun/security/jgss \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
864 |
com/sun/source \ |
12892 | 865 |
java/applet \ |
866 |
java/awt \ |
|
867 |
java/beans \ |
|
868 |
java/io \ |
|
869 |
java/lang \ |
|
870 |
java/math \ |
|
871 |
java/net \ |
|
872 |
java/nio \ |
|
873 |
java/rmi \ |
|
874 |
java/security \ |
|
875 |
java/sql \ |
|
876 |
java/text \ |
|
877 |
java/util \ |
|
878 |
javax/accessibility \ |
|
879 |
javax/annotation \ |
|
880 |
javax/imageio \ |
|
881 |
javax/lang \ |
|
882 |
javax/management \ |
|
883 |
javax/naming \ |
|
884 |
javax/print \ |
|
885 |
javax/rmi \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
886 |
javax/script \ |
12892 | 887 |
javax/security \ |
888 |
javax/sound \ |
|
889 |
javax/sql \ |
|
890 |
javax/swing \ |
|
891 |
javax/tools \ |
|
892 |
javax/xml \ |
|
893 |
org/ietf \ |
|
894 |
org/omg \ |
|
895 |
org/w3c/dom \ |
|
13702 | 896 |
org/xml/sax \ |
897 |
sunw |
|
12892 | 898 |
|
13702 | 899 |
SRC_ZIP_SRCS = $(JDK_TOPDIR)/src/share/classes $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/classes |
12892 | 900 |
SRC_ZIP_SRCS += $(JDK_OUTPUTDIR)/gensrc |
901 |
SRC_ZIP_SRCS += $(JDK_OUTPUTDIR)/impsrc |
|
902 |
SRC_ZIP_SRCS += $(JDK_OUTPUTDIR)/gendocsrc_rmic |
|
903 |
ifndef OPENJDK |
|
904 |
SRC_ZIP_SRCS += $(JDK_TOPDIR)/src/closed/share/classes |
|
905 |
endif |
|
906 |
||
907 |
# Need to copy launcher src files into desired directory structure |
|
908 |
# before zipping the sources. |
|
909 |
LAUNCHER_SRC_FILES := $(wildcard $(JDK_TOPDIR)/src/share/bin/*) \ |
|
13702 | 910 |
$(wildcard $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/bin/java_md*) |
12892 | 911 |
LAUNCHER_ZIP_SRC := $(patsubst $(JDK_TOPDIR)/src/share/bin/%,$(IMAGES_OUTPUTDIR)/src/launcher/%,\ |
13702 | 912 |
$(patsubst $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/bin/%,$(IMAGES_OUTPUTDIR)/src/launcher/%,\ |
12892 | 913 |
$(LAUNCHER_SRC_FILES))) |
914 |
||
915 |
$(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
|
916 |
$(install-file) |
12892 | 917 |
|
13702 | 918 |
$(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
|
919 |
$(install-file) |
12892 | 920 |
|
921 |
$(IMAGES_OUTPUTDIR)/src.zip: $(LAUNCHER_ZIP_SRC) |
|
922 |
||
14231 | 923 |
# This dir needs to exist before macro is evaluated to avoid warning from find. |
924 |
$(eval $(call MakeDir,$(IMAGES_OUTPUTDIR)/src)) |
|
12892 | 925 |
$(eval $(call SetupZipArchive,BUILD_SRC_ZIP,\ |
926 |
SRC:=$(SRC_ZIP_SRCS) $(IMAGES_OUTPUTDIR)/src,\ |
|
927 |
INCLUDES:=$(SRC_ZIP_INCLUDES) launcher,\ |
|
14231 | 928 |
EXCLUDES:=javax/swing/beaninfo,\ |
12892 | 929 |
SUFFIXES:=.java .c .h,\ |
930 |
ZIP:=$(IMAGES_OUTPUTDIR)/src.zip,\ |
|
931 |
EXTRA_DEPS:=$(LAUNCHER_ZIP_SRC))) |
|
932 |
||
933 |
JARS+=$(IMAGES_OUTPUTDIR)/src.zip |
|
934 |
||
935 |
########################################################################################## |
|
936 |
||
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
937 |
# |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
938 |
# 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
|
939 |
# 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
|
940 |
# |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
941 |
$(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
|
942 |
$(JAR) cfm $@ $< |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
943 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
944 |
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
|
945 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
946 |
########################################################################################## |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
947 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
948 |
$(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
|
949 |
$(install-file) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
950 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
951 |
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
|
952 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
953 |
########################################################################################## |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
954 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
955 |
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
|
956 |
$(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
|
957 |
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
|
958 |
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
|
959 |
JARINDEX:=true)) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
960 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
961 |
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
|
962 |
endif |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
963 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
964 |
########################################################################################## |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
965 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
966 |
ifndef OPENJDK |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
967 |
$(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
|
968 |
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
|
969 |
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
|
970 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
971 |
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
|
972 |
endif |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
973 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
974 |
########################################################################################## |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
975 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
976 |
# 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
|
977 |
# 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
|
978 |
# 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
|
979 |
$(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
|
980 |
$(install-file) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
981 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
982 |
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
|
983 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
984 |
########################################################################################## |
15131 | 985 |
# |
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
|
986 |
# 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
|
987 |
# |
15131 | 988 |
$(eval $(call SetupZipArchive,BUILD_SEC_BIN_ZIP,\ |
989 |
SRC:=$(JDK_OUTPUTDIR),\ |
|
990 |
INCLUDES:=classes/javax/net \ |
|
991 |
classes/javax/security/cert \ |
|
992 |
classes/com/sun/net/ssl \ |
|
993 |
classes/com/sun/security/cert \ |
|
994 |
classes/sun/net/www/protocol/https \ |
|
995 |
classes/sun/security/pkcs12 \ |
|
996 |
classes/sun/security/ssl \ |
|
997 |
classes/sun/security/krb5 \ |
|
998 |
classes/sun/security/krb5/internal \ |
|
999 |
classes/sun/security/krb5/internal/ccache \ |
|
1000 |
classes/sun/security/krb5/internal/crypto \ |
|
1001 |
classes/sun/security/krb5/internal/ktab \ |
|
1002 |
classes/sun/security/krb5/internal/rcache \ |
|
1003 |
classes/sun/security/krb5/internal/util,\ |
|
1004 |
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
|
1005 |
EXCLUDES:=classes/sun/security/krb5/internal/tools,\ |
15131 | 1006 |
ZIP:=$(IMAGES_OUTPUTDIR)/sec-bin.zip)) |
1007 |
||
1008 |
JARS += $(IMAGES_OUTPUTDIR)/sec-bin.zip |
|
1009 |
||
1010 |
########################################################################################## |
|
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
|
1011 |
# |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1012 |
# 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
|
1013 |
# |
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1014 |
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
|
1015 |
# 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
|
1016 |
$(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
|
1017 |
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
|
1018 |
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
|
1019 |
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
|
1020 |
|
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1021 |
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
|
1022 |
|
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1023 |
# 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
|
1024 |
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
|
1025 |
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
|
1026 |
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
|
1027 |
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
|
1028 |
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
|
1029 |
|
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1030 |
$(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
|
1031 |
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
|
1032 |
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
|
1033 |
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
|
1034 |
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
|
1035 |
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
|
1036 |
|
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1037 |
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
|
1038 |
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
|
1039 |
|
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1040 |
########################################################################################## |
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1041 |
|
13702 | 1042 |
-include $(CUSTOM_MAKE_DIR)/CreateJars.gmk |
1043 |
||
1044 |
########################################################################################## |
|
1045 |
||
12892 | 1046 |
all: $(JARS) |
1047 |
||
1048 |
.PHONY: default all |