author | anoll |
Thu, 10 Oct 2013 15:44:12 +0200 | |
changeset 20707 | b3b658c6d1f8 |
parent 20324 | 9ae20c600c08 |
child 20547 | 453837141fac |
child 20543 | 298a19a1a1f6 |
child 20771 | fd59589eab62 |
permissions | -rw-r--r-- |
12892 | 1 |
# |
15681 | 2 |
# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. |
12892 | 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 |
||
15681 | 38 |
include Profiles.gmk |
39 |
||
13164 | 40 |
# |
41 |
# This makefile...so that altering will trigger rebuilding include/exclude-lists => jars |
|
42 |
# |
|
43 |
MAKEFILE=$(JDK_TOPDIR)/makefiles/CreateJars.gmk |
|
15681 | 44 |
# |
45 |
# And similarly for the Profiles |
|
46 |
PROFILE_MAKEFILES=$(JDK_TOPDIR)/makefiles/Profiles.gmk $(JDK_TOPDIR)/makefiles/profile-rtjar-includes.txt |
|
12892 | 47 |
|
48 |
MAINMANIFEST := $(JDK_TOPDIR)/make/tools/manifest.mf |
|
49 |
BEANMANIFEST := $(JDK_TOPDIR)/make/javax/swing/beaninfo/manifest |
|
50 |
||
14231 | 51 |
$(eval $(call MakeDir,$(IMAGES_OUTPUTDIR)/lib)) |
52 |
||
12892 | 53 |
########################################################################################## |
54 |
||
14231 | 55 |
$(eval $(call SetupArchive,BUILD_JCONSOLE_JAR,,\ |
12892 | 56 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
13164 | 57 |
SUFFIXES:=.class .gif .png .properties,\ |
12892 | 58 |
INCLUDES:=sun/tools/jconsole com/sun/tools/jconsole,\ |
59 |
JARMAIN:=sun.tools.jconsole.JConsole,\ |
|
14231 | 60 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/jconsole.jar,\ |
12892 | 61 |
SKIP_METAINF:=true)) |
62 |
||
63 |
||
64 |
########################################################################################## |
|
65 |
||
14231 | 66 |
$(eval $(call SetupArchive,BUILD_DNS_JAR,,\ |
12892 | 67 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
68 |
INCLUDES:=sun/net/spi/nameservice/dns,\ |
|
69 |
EXTRA_FILES:=META-INF/services/sun.net.spi.nameservice.NameServiceDescriptor,\ |
|
14231 | 70 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/ext/dnsns.jar,\ |
12892 | 71 |
SKIP_METAINF:=true)) |
72 |
||
73 |
||
74 |
########################################################################################## |
|
75 |
||
14334
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
76 |
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
|
77 |
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
|
78 |
th tr uk vi zh |
43556afc3c04
8001231: Move locale data out of rt.jar (except the US locale)
naoto
parents:
14326
diff
changeset
|
79 |
|
13583 | 80 |
LOCALEDATA_INCLUDES := $(addprefix sun/text/resources/,$(LOCALEDATA_INCLUDE_LOCALES)) \ |
81 |
$(addprefix sun/util/resources/,$(LOCALEDATA_INCLUDE_LOCALES)) |
|
12892 | 82 |
|
83 |
$(eval $(call SetupArchive,BUILD_LOCALEDATA_JAR,,\ |
|
84 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
|
85 |
SUFFIXES:=.class _dict _th,\ |
|
86 |
INCLUDES:=$(LOCALEDATA_INCLUDES),\ |
|
13583 | 87 |
EXCLUDES:=sun/text/resources/th/BreakIteratorRules_th.class,\ |
14231 | 88 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/ext/localedata.jar,\ |
12892 | 89 |
SKIP_METAINF:=true)) |
90 |
||
91 |
########################################################################################## |
|
15681 | 92 |
# |
93 |
# Different variants of rt.jar are built based on the current profile. The output |
|
94 |
# directory is augmented with the profile name so that the final jar file and all the |
|
95 |
# intermediary list files will be in directory. This has the form lib$PROFILE rather than |
|
96 |
# lib/$PROFILE so that it won't get copied as part of the image generation process. |
|
97 |
# Each profile customizes the RT_JAR_EXCLUDES variable. |
|
98 |
# |
|
99 |
########################################################################################## |
|
12892 | 100 |
|
15681 | 101 |
# Full JRE exclude list for rt.jar and resources.jar |
18573 | 102 |
# This value should exclude types destined for jars other than rt.jar and resources.jar. |
15681 | 103 |
# When building a Profile this value augments the profile specific exclusions |
104 |
RT_JAR_EXCLUDES += \ |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
105 |
com/oracle/security \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
106 |
com/sun/codemodel \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
107 |
com/sun/crypto/provider \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
108 |
com/sun/istack/internal/tools \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
109 |
com/sun/jarsigner \ |
15324
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
110 |
com/sun/java/accessibility \ |
12892 | 111 |
com/sun/javadoc \ |
112 |
com/sun/jdi \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
113 |
com/sun/net/ssl/internal/ssl \ |
12892 | 114 |
com/sun/source \ |
115 |
com/sun/tools \ |
|
116 |
com/sun/xml/internal/dtdparser \ |
|
117 |
com/sun/xml/internal/rngom \ |
|
118 |
com/sun/xml/internal/xsom \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
119 |
javax/crypto \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
120 |
javax/swing/AbstractButtonBeanInfo.class \ |
12892 | 121 |
javax/swing/beaninfo \ |
122 |
javax/swing/BoxBeanInfo.class \ |
|
123 |
javax/swing/JAppletBeanInfo.class \ |
|
124 |
javax/swing/JButtonBeanInfo.class \ |
|
125 |
javax/swing/JCheckBoxBeanInfo.class \ |
|
126 |
javax/swing/JCheckBoxMenuItemBeanInfo.class \ |
|
127 |
javax/swing/JColorChooserBeanInfo.class \ |
|
128 |
javax/swing/JComboBoxBeanInfo.class \ |
|
129 |
javax/swing/JComponentBeanInfo.class \ |
|
130 |
javax/swing/JDesktopPaneBeanInfo.class \ |
|
131 |
javax/swing/JDialogBeanInfo.class \ |
|
132 |
javax/swing/JEditorPaneBeanInfo.class \ |
|
133 |
javax/swing/JFileChooserBeanInfo.class \ |
|
134 |
javax/swing/JFormattedTextFieldBeanInfo.class \ |
|
135 |
javax/swing/JFrameBeanInfo.class \ |
|
136 |
javax/swing/JInternalFrameBeanInfo.class \ |
|
137 |
javax/swing/JLabelBeanInfo.class \ |
|
138 |
javax/swing/JLayeredPaneBeanInfo.class \ |
|
139 |
javax/swing/JListBeanInfo.class \ |
|
140 |
javax/swing/JMenuBarBeanInfo.class \ |
|
141 |
javax/swing/JMenuBeanInfo.class \ |
|
142 |
javax/swing/JMenuItemBeanInfo.class \ |
|
143 |
javax/swing/JOptionPaneBeanInfo.class \ |
|
144 |
javax/swing/JPanelBeanInfo.class \ |
|
145 |
javax/swing/JPasswordFieldBeanInfo.class \ |
|
146 |
javax/swing/JPopupMenuBeanInfo.class \ |
|
147 |
javax/swing/JProgressBarBeanInfo.class \ |
|
148 |
javax/swing/JRadioButtonBeanInfo.class \ |
|
149 |
javax/swing/JRadioButtonMenuItemBeanInfo.class \ |
|
150 |
javax/swing/JScrollBarBeanInfo.class \ |
|
151 |
javax/swing/JScrollPaneBeanInfo.class \ |
|
152 |
javax/swing/JSeparatorBeanInfo.class \ |
|
153 |
javax/swing/JSliderBeanInfo.class \ |
|
154 |
javax/swing/JSpinnerBeanInfo.class \ |
|
155 |
javax/swing/JSplitPaneBeanInfo.class \ |
|
156 |
javax/swing/JTabbedPaneBeanInfo.class \ |
|
157 |
javax/swing/JTableBeanInfo.class \ |
|
158 |
javax/swing/JTextAreaBeanInfo.class \ |
|
159 |
javax/swing/JTextFieldBeanInfo.class \ |
|
160 |
javax/swing/JTextPaneBeanInfo.class \ |
|
161 |
javax/swing/JToggleButtonBeanInfo.class \ |
|
162 |
javax/swing/JToolBarBeanInfo.class \ |
|
163 |
javax/swing/JTreeBeanInfo.class \ |
|
164 |
javax/swing/JWindowBeanInfo.class \ |
|
165 |
javax/swing/SwingBeanInfoBase.class \ |
|
166 |
javax/swing/text/JTextComponentBeanInfo.class \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
167 |
META-INF/services/com.sun.jdi.connect.Connector \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
168 |
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
|
169 |
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
|
170 |
META-INF/services/com.sun.tools.xjc.Plugin \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
171 |
META-INF/services/sun.net.spi.nameservice.NameServiceDescriptor \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
172 |
org/relaxng/datatype \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
173 |
sun/awt/HKSCS.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
174 |
sun/awt/motif/X11GB2312.class \ |
16478 | 175 |
sun/awt/motif/X11GB2312\$$$$Decoder.class \ |
176 |
sun/awt/motif/X11GB2312\$$$$Encoder.class \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
177 |
sun/awt/motif/X11GBK.class \ |
16478 | 178 |
sun/awt/motif/X11GBK\$$$$Encoder.class \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
179 |
sun/awt/motif/X11KSC5601.class \ |
16478 | 180 |
sun/awt/motif/X11KSC5601\$$$$Decoder.class \ |
181 |
sun/awt/motif/X11KSC5601\$$$$Encoder.class \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
182 |
sun/jvmstat \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
183 |
sun/net/spi/nameservice/dns \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
184 |
sun/nio/cs/ext \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
185 |
sun/rmi/rmic \ |
17491
7a33824ec8c5
7194075: Various classes of sunec.jar are duplicated in rt.jar
vinnie
parents:
16852
diff
changeset
|
186 |
sun/security/ec \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
187 |
sun/security/internal \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
188 |
sun/security/mscapi \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
189 |
sun/security/pkcs11 \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
190 |
sun/security/provider/Sun.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
191 |
sun/security/rsa/SunRsaSign.class \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
192 |
sun/security/ssl \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
193 |
sun/security/tools/jarsigner \ |
12892 | 194 |
sun/swing/BeanInfoUtils.class \ |
13583 | 195 |
sun/text/resources/cldr \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
196 |
sun/tools/asm \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
197 |
sun/tools/attach \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
198 |
sun/tools/java \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
199 |
sun/tools/javac \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
200 |
sun/tools/jcmd \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
201 |
sun/tools/jconsole \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
202 |
sun/tools/jinfo \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
203 |
sun/tools/jmap \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
204 |
sun/tools/jps \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
205 |
sun/tools/jstack \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
206 |
sun/tools/jstat \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
207 |
sun/tools/jstatd \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
208 |
sun/tools/native2ascii \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
209 |
sun/tools/serialver \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
210 |
sun/tools/tree \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
211 |
sun/tools/util \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
212 |
sun/util/cldr/CLDRLocaleDataMetaInfo.class \ |
13583 | 213 |
sun/util/resources/cldr \ |
15681 | 214 |
$(LOCALEDATA_INCLUDES) \ |
12892 | 215 |
com/oracle/jrockit/jfr \ |
18573 | 216 |
oracle/jrockit/jfr \ |
217 |
jdk/jfr |
|
13164 | 218 |
|
219 |
ifeq ($(OPENJDK_TARGET_OS), macosx) |
|
220 |
RT_JAR_EXCLUDES += com/sun/nio/sctp \ |
|
14425
0005b8b4ec0b
8003161: small fixes to re-enable new build system
ohrstrom
parents:
14345
diff
changeset
|
221 |
sun/nio/ch/sctp |
12892 | 222 |
endif |
223 |
||
224 |
# 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
|
225 |
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
|
226 |
$(call CacheFind,$(JDK_OUTPUTDIR)/classes))) |
12892 | 227 |
|
15681 | 228 |
RT_JAR_MANIFEST_FILE := $(IMAGES_OUTPUTDIR)/lib$(PROFILE)/_the.rt.jar_manifest |
229 |
RESOURCE_JAR_MANIFEST_FILE := $(IMAGES_OUTPUTDIR)/lib$(PROFILE)/_the.resources.jar_manifest |
|
12892 | 230 |
|
231 |
$(RT_JAR_MANIFEST_FILE): $(MAINMANIFEST) $(BEANMANIFEST) |
|
232 |
$(MKDIR) -p $(@D) |
|
13702 | 233 |
$(RM) $@ $@.tmp |
12892 | 234 |
$(SED) -e "s#@@RELEASE@@#$(RELEASE)#" \ |
235 |
-e "s#@@COMPANY_NAME@@#$(COMPANY_NAME)#" \ |
|
13702 | 236 |
$(MAINMANIFEST) >> $@.tmp |
237 |
$(ECHO) >> $@.tmp |
|
238 |
$(CAT) $(BEANMANIFEST) >> $@.tmp |
|
239 |
$(MV) $@.tmp $@ |
|
12892 | 240 |
|
241 |
$(RESOURCE_JAR_MANIFEST_FILE): $(MAINMANIFEST) |
|
242 |
$(MKDIR) -p $(@D) |
|
13702 | 243 |
$(RM) $@ $@.tmp |
12892 | 244 |
$(SED) -e "s#@@RELEASE@@#$(RELEASE)#" \ |
245 |
-e "s#@@COMPANY_NAME@@#$(COMPANY_NAME)#" \ |
|
13702 | 246 |
$(MAINMANIFEST) >> $@.tmp |
247 |
$(MV) $@.tmp $@ |
|
12892 | 248 |
|
15681 | 249 |
$(IMAGES_OUTPUTDIR)/lib$(PROFILE)/_the.jars.exclude: $(MAKEFILE) $(PROFILE_MAKEFILES) |
12892 | 250 |
$(MKDIR) -p $(@D) |
13702 | 251 |
$(RM) $@ $@.tmp |
252 |
$(call ListPathsSafely,RT_JAR_EXCLUDES,\n, >> $@.tmp) |
|
253 |
$(MV) $@.tmp $@ |
|
12892 | 254 |
|
14231 | 255 |
$(IMAGES_OUTPUTDIR)/lib/classlist : $(JDK_TOPDIR)/make/tools/sharing/classlist.$(OPENJDK_TARGET_OS) \ |
13164 | 256 |
$(MAKEFILE) |
257 |
$(MKDIR) -p $(@D) |
|
13702 | 258 |
$(RM) $@ $@.tmp |
259 |
$(TOOL_ADDJSUM) $< $@.tmp |
|
260 |
$(MV) $@.tmp $@ |
|
13164 | 261 |
|
15681 | 262 |
$(IMAGES_OUTPUTDIR)/lib$(PROFILE)/_the.jars.contents: $(BUILD_TOOLS) $(IMAGES_OUTPUTDIR)/lib$(PROFILE)/_the.jars.exclude \ |
14231 | 263 |
$(ALL_FILES_IN_CLASSES) $(IMAGES_OUTPUTDIR)/lib/classlist |
12892 | 264 |
$(MKDIR) -p $(@D) |
13702 | 265 |
$(RM) $@ $@.tmp |
12892 | 266 |
($(CD) $(JDK_OUTPUTDIR)/classes && \ |
267 |
$(TOOL_JARREORDER) \ |
|
15681 | 268 |
-o $@.tmp $(IMAGES_OUTPUTDIR)/lib/classlist $(IMAGES_OUTPUTDIR)/lib$(PROFILE)/_the.jars.exclude . ) |
13702 | 269 |
$(MV) $@.tmp $@ |
12892 | 270 |
|
15681 | 271 |
$(IMAGES_OUTPUTDIR)/lib$(PROFILE)/_the.rt.jar.contents: $(IMAGES_OUTPUTDIR)/lib$(PROFILE)/_the.jars.contents |
13702 | 272 |
$(MKDIR) -p $(@D) |
273 |
$(RM) $@ $@.tmp |
|
15681 | 274 |
$(GREP) -e '\.class$$' $(IMAGES_OUTPUTDIR)/lib$(PROFILE)/_the.jars.contents > $@.tmp |
275 |
ifneq ($(PROFILE),) |
|
276 |
# # Add back classes from excluded packages (fixing the $ substitution in the process) |
|
277 |
for type in $(subst \$$,\, $(RT_JAR_INCLUDE_TYPES)) ; do \ |
|
278 |
$(ECHO) $$type >> $@.tmp ; \ |
|
279 |
done |
|
280 |
endif |
|
13702 | 281 |
$(MV) $@.tmp $@ |
12892 | 282 |
|
15681 | 283 |
$(IMAGES_OUTPUTDIR)/lib$(PROFILE)/_the.resources.jar.contents: $(IMAGES_OUTPUTDIR)/lib$(PROFILE)/_the.jars.contents |
13702 | 284 |
$(MKDIR) -p $(@D) |
285 |
$(RM) $@ $@.tmp |
|
286 |
$(GREP) -v -e '\.class$$' \ |
|
287 |
-e '/_the\.*' -e '^_the\.*' -e '\\_the\.*' -e 'javac_state' \ |
|
15681 | 288 |
$(IMAGES_OUTPUTDIR)/lib$(PROFILE)/_the.jars.contents > $@.tmp |
289 |
ifneq ($(PROFILE),) |
|
290 |
# # Strip out all META-INF/services/ entries |
|
291 |
$(GREP) -v -e 'META-INF/services/' $@.tmp > $@.tmp2 |
|
292 |
# # Add back the required services |
|
293 |
# # FIXME: On Solaris if PROFILE_INCLUDE_METAINF_SERVICES is not defined |
|
294 |
# # we get a syntax error from sh. That doesn't happen on linux |
|
295 |
for service in $(PROFILE_INCLUDE_METAINF_SERVICES) ; do \ |
|
296 |
$(ECHO) $$service >> $@.tmp2; \ |
|
297 |
done |
|
298 |
$(MV) $@.tmp2 $@.tmp |
|
299 |
endif |
|
13702 | 300 |
$(MV) $@.tmp $@ |
12892 | 301 |
|
15681 | 302 |
# This is a hack but I don't know how to make this fit into the existing scheme |
303 |
$(PROFILE_VERSION_CLASS_TARGETS) : $(PROFILE_VERSION_JAVA_TARGETS) |
|
304 |
@$(JAVAC) -d $(@D)/../../ $(@D)/$(VERSION_JAVA_FILE) |
|
305 |
||
306 |
||
307 |
# Support for removing the addPropertyChangeListener and removePropertyChangeListener |
|
18573 | 308 |
# methods from classes that only go into the profile builds. |
15681 | 309 |
BEANLESS_CLASSES = $(IMAGES_OUTPUTDIR)/beanless |
310 |
||
16478 | 311 |
# When there are $ characters in filenames we have some very subtle interactions between |
312 |
# make expansion and shell expansion. In this particular case $< will contain a single $ while |
|
313 |
# $@ will contain \$. So we have to pass $< in single-quotes to avoid shell expansion |
|
15681 | 314 |
$(BEANLESS_CLASSES)/%: $(JDK_OUTPUTDIR)/classes/% |
315 |
$(MKDIR) -p $(@D) |
|
16478 | 316 |
$(TOOL_REMOVEMETHODS) '$<' $@ addPropertyChangeListener removePropertyChangeListener |
15681 | 317 |
|
318 |
CLASSES_TO_DEBEAN = \ |
|
319 |
java/util/logging/LogManager.class \ |
|
16478 | 320 |
java/util/jar/Pack200\$$Packer.class \ |
321 |
java/util/jar/Pack200\$$Unpacker.class \ |
|
15681 | 322 |
com/sun/java/util/jar/pack/PackerImpl.class \ |
18573 | 323 |
com/sun/java/util/jar/pack/UnpackerImpl.class |
15681 | 324 |
|
325 |
ifneq ($(PROFILE),) |
|
16478 | 326 |
BEANLESS_CLASSES_TARGETS := $(addprefix $(BEANLESS_CLASSES)/, $(CLASSES_TO_DEBEAN)) |
15681 | 327 |
endif |
328 |
||
329 |
||
13164 | 330 |
RT_JAR_CREATE_OPTIONS := c0fm |
15681 | 331 |
RT_JAR_UPDATE_OPTIONS := u0f |
13164 | 332 |
ifeq ($(COMPRESS_JARS), true) |
333 |
RT_JAR_CREATE_OPTIONS := cfm |
|
15681 | 334 |
RT_JAR_UPDATE_OPTIONS := uf |
13164 | 335 |
endif |
336 |
||
15681 | 337 |
# This defines a target-specific variables to make the shell logic easier to see. |
338 |
# We need to find the Version.class file for the profile currently being built |
|
339 |
$(IMAGES_OUTPUTDIR)/lib$(PROFILE)/rt.jar: \ |
|
340 |
CLASS_FILE = $(if $(PROFILE),$(strip $(foreach class,$(PROFILE_VERSION_CLASS_TARGETS),$(if $(findstring $(PROFILE),$(class)),$(class)))), NO_SUCH_FILE) |
|
341 |
# This is the real target |
|
342 |
$(IMAGES_OUTPUTDIR)/lib$(PROFILE)/rt.jar: $(IMAGES_OUTPUTDIR)/lib$(PROFILE)/_the.rt.jar.contents $(RT_JAR_MANIFEST_FILE) $(PROFILE_VERSION_CLASS_TARGETS) $(BEANLESS_CLASSES_TARGETS) |
|
343 |
$(ECHO) Creating rt.jar $(PROFILE) Compressed=$(COMPRESS_JARS) |
|
13702 | 344 |
$(MKDIR) -p $(@D) |
345 |
$(RM) $@ $@.tmp |
|
12892 | 346 |
$(CD) $(JDK_OUTPUTDIR)/classes && \ |
13702 | 347 |
$(JAR) $(RT_JAR_CREATE_OPTIONS) $@.tmp $(RT_JAR_MANIFEST_FILE) \ |
15681 | 348 |
@$(IMAGES_OUTPUTDIR)/lib$(PROFILE)/_the.rt.jar.contents && \ |
349 |
if [ -f $(CLASS_FILE) ]; then \ |
|
350 |
$(ECHO) Updating rt.jar $(PROFILE) && \ |
|
351 |
$(CD) $(patsubst %$(VERSION_CLASS_PATH),%,$(CLASS_FILE)) && \ |
|
352 |
$(JAR) $(RT_JAR_UPDATE_OPTIONS) $@.tmp $(VERSION_CLASS_PATH); \ |
|
353 |
$(CD) $(BEANLESS_CLASSES) && \ |
|
16478 | 354 |
$(JAR) $(RT_JAR_UPDATE_OPTIONS) $@.tmp $(CLASSES_TO_DEBEAN); \ |
15681 | 355 |
fi |
13702 | 356 |
$(MV) $@.tmp $@ |
12892 | 357 |
|
15681 | 358 |
$(IMAGES_OUTPUTDIR)/lib$(PROFILE)/resources.jar: $(IMAGES_OUTPUTDIR)/lib$(PROFILE)/_the.resources.jar.contents \ |
12892 | 359 |
$(RESOURCE_JAR_MANIFEST_FILE) |
360 |
$(ECHO) Creating resources.jar |
|
13702 | 361 |
$(MKDIR) -p $(@D) |
362 |
$(RM) $@ $@.tmp |
|
12892 | 363 |
$(CD) $(JDK_OUTPUTDIR)/classes && \ |
13702 | 364 |
$(JAR) $(RT_JAR_CREATE_OPTIONS) $@.tmp $(RESOURCE_JAR_MANIFEST_FILE) \ |
15681 | 365 |
@$(IMAGES_OUTPUTDIR)/lib$(PROFILE)/_the.resources.jar.contents |
13702 | 366 |
$(MV) $@.tmp $@ |
12892 | 367 |
|
368 |
########################################################################################## |
|
369 |
||
13164 | 370 |
ifneq ($(OPENJDK_TARGET_OS), windows) |
12892 | 371 |
CHARSETS_EXTRA_FILES:=sun/awt/motif/X11GBK.class \ |
372 |
sun/awt/motif/X11GB2312\$$$$Decoder.class \ |
|
373 |
sun/awt/motif/X11GB2312.class \ |
|
374 |
sun/awt/motif/X11KSC5601\$$$$Decoder.class \ |
|
375 |
sun/awt/motif/X11KSC5601\$$$$Encoder.class \ |
|
376 |
sun/awt/motif/X11GB2312\$$$$Encoder.class \ |
|
377 |
sun/awt/motif/X11GBK\$$$$Encoder.class \ |
|
378 |
sun/awt/motif/X11KSC5601.class |
|
379 |
endif |
|
380 |
||
14231 | 381 |
$(eval $(call SetupArchive,BUILD_CHARSETS_JAR,,\ |
12892 | 382 |
SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
383 |
SUFFIXES:=.class .dat,\ |
|
384 |
INCLUDES:=sun/nio/cs/ext,\ |
|
385 |
EXTRA_FILES := sun/awt/HKSCS.class \ |
|
17470
b65cf2b5983b
8012326: Deadlock occurs when Charset.availableCharsets() is called by several threads at the same time
sherman
parents:
16852
diff
changeset
|
386 |
$(CHARSETS_EXTRA_FILES), \ |
14231 | 387 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/charsets.jar, \ |
13164 | 388 |
SKIP_METAINF := true, \ |
389 |
CHECK_COMPRESS_JAR:=true)) |
|
12892 | 390 |
|
391 |
########################################################################################## |
|
392 |
||
14231 | 393 |
ifndef OPENJDK |
13164 | 394 |
ifeq ($(ENABLE_JFR), true) |
12892 | 395 |
$(eval $(call SetupArchive,BUILD_JFR_JAR,,\ |
396 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
|
18030 | 397 |
SUFFIXES:=.class .jfc .xsd,\ |
12892 | 398 |
INCLUDES:=com/oracle/jrockit/jfr \ |
18573 | 399 |
oracle/jrockit/jfr \ |
400 |
jdk/jfr,\ |
|
14231 | 401 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/jfr.jar,\ |
12892 | 402 |
SKIP_METAINF:=true,\ |
13164 | 403 |
MANIFEST:=$(MAINMANIFEST), \ |
404 |
CHECK_COMPRESS_JAR:=true)) |
|
12892 | 405 |
|
14231 | 406 |
endif |
12892 | 407 |
endif |
408 |
||
409 |
########################################################################################## |
|
410 |
||
411 |
$(eval $(call SetupArchive,BUILD_JSSE_JAR,,\ |
|
412 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
|
413 |
INCLUDES:=sun/security/provider/Sun.class \ |
|
414 |
sun/security/rsa/SunRsaSign.class \ |
|
415 |
sun/security/ssl \ |
|
416 |
com/sun/net/ssl/internal/ssl,\ |
|
14231 | 417 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/jsse.jar,\ |
12892 | 418 |
SKIP_METAINF:=true,\ |
13164 | 419 |
MANIFEST:=$(MAINMANIFEST), \ |
420 |
CHECK_COMPRESS_JAR:=true)) |
|
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 |
########################################################################################## |
18573 | 440 |
# For security and crypto jars, always build the jar, but for closed, install the prebuilt |
441 |
# signed version instead of the newly built jar. Unsigned jars are treated as intermediate |
|
442 |
# targets and explicitly added to the JARS list. For open, signing is not needed. See |
|
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
443 |
# SignJars.gmk for more information. |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
444 |
# |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
445 |
# The source for the crypto jars is not available for all licensees. The BUILD_CRYPTO |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
446 |
# variable is set to no if these jars can't be built to skip that step of the build. |
18573 | 447 |
# Note that for OPENJDK, the build will fail if BUILD_CRYPTO=no since then there is no |
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
448 |
# other way to get the jars than to build them. |
12892 | 449 |
|
14231 | 450 |
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
|
451 |
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
|
452 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
453 |
$(eval $(call SetupArchive,BUILD_SUNPKCS11_JAR,,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
454 |
SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
455 |
SUFFIXES:=.class,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
456 |
INCLUDES:=sun/security/pkcs11,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
457 |
JAR:=$(SUNPKCS11_JAR_UNSIGNED), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
458 |
MANIFEST:=$(JCE_MANIFEST), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
459 |
SKIP_METAINF := true)) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
460 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
461 |
$(SUNPKCS11_JAR_UNSIGNED): $(JCE_MANIFEST) |
12892 | 462 |
|
13702 | 463 |
ifndef OPENJDK |
464 |
SUNPKCS11_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/pkcs11/sunpkcs11.jar |
|
465 |
$(SUNPKCS11_JAR_DST) : $(SUNPKCS11_JAR_SRC) |
|
14231 | 466 |
@$(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
|
467 |
$(install-file) |
13702 | 468 |
else |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
469 |
$(SUNPKCS11_JAR_DST) : $(SUNPKCS11_JAR_UNSIGNED) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
470 |
$(install-file) |
13702 | 471 |
endif |
12892 | 472 |
|
15681 | 473 |
JARS += $(SUNPKCS11_JAR_UNSIGNED) |
12892 | 474 |
|
475 |
########################################################################################## |
|
476 |
||
14231 | 477 |
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
|
478 |
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
|
479 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
480 |
$(eval $(call SetupArchive,BUILD_SUNEC_JAR,,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
481 |
SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
482 |
SUFFIXES:=.class,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
483 |
INCLUDES:=sun/security/ec,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
484 |
JAR:=$(SUNEC_JAR_UNSIGNED), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
485 |
MANIFEST:=$(JCE_MANIFEST), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
486 |
SKIP_METAINF := true)) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
487 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
488 |
$(SUNEC_JAR_UNSIGNED): $(JCE_MANIFEST) |
12892 | 489 |
|
490 |
ifndef OPENJDK |
|
14527
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
491 |
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
|
492 |
$(SUNEC_JAR_DST) : $(SUNEC_JAR_SRC) |
14231 | 493 |
@$(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
|
494 |
$(install-file) |
12892 | 495 |
else |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
496 |
$(SUNEC_JAR_DST) : $(SUNEC_JAR_UNSIGNED) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
497 |
$(install-file) |
12892 | 498 |
endif |
499 |
||
15681 | 500 |
JARS += $(SUNEC_JAR_UNSIGNED) |
12892 | 501 |
|
502 |
########################################################################################## |
|
503 |
||
504 |
$(eval $(call SetupArchive,BUILD_SWINGBEANS_JAR,,\ |
|
505 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
|
506 |
SUFFIXES:=BeanInfo.class .gif,\ |
|
507 |
INCLUDES:=javax/swing sun/swing,\ |
|
508 |
EXCLUDES:=javax/swing/plaf,\ |
|
509 |
EXTRA_FILES:=javax/swing/SwingBeanInfoBase.class sun/swing/BeanInfoUtils.class,\ |
|
14231 | 510 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/dt.jar,\ |
12892 | 511 |
SKIP_METAINF:=true)) |
512 |
||
513 |
########################################################################################## |
|
514 |
||
14231 | 515 |
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
|
516 |
SUNJCE_PROVIDER_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/sunjce_provider.jar |
12892 | 517 |
|
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
518 |
ifneq ($(BUILD_CRYPTO),no) |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
519 |
$(eval $(call SetupArchive,BUILD_SUNJCE_PROVIDER_JAR,,\ |
12892 | 520 |
SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
521 |
SUFFIXES:=.class,\ |
|
522 |
INCLUDES:= com/sun/crypto/provider,\ |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
523 |
JAR:=$(SUNJCE_PROVIDER_JAR_UNSIGNED), \ |
14527
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
524 |
MANIFEST:=$(JCE_MANIFEST), \ |
12892 | 525 |
SKIP_METAINF := true)) |
14527
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
526 |
|
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
527 |
$(SUNJCE_PROVIDER_JAR_UNSIGNED): $(JCE_MANIFEST) |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
528 |
|
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
529 |
JARS += $(SUNJCE_PROVIDER_JAR_UNSIGNED) |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
530 |
endif |
14527
b2b7e2931859
8003482: build-infra: Use correct manifest in security jars
erikj
parents:
14425
diff
changeset
|
531 |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
532 |
ifndef OPENJDK |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
533 |
SUNJCE_PROVIDER_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/jce/sunjce_provider.jar |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
534 |
$(SUNJCE_PROVIDER_JAR_DST) : $(SUNJCE_PROVIDER_JAR_SRC) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
535 |
@$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt SunJCE provider..." |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
536 |
$(install-file) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
537 |
else |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
538 |
$(SUNJCE_PROVIDER_JAR_DST) : $(SUNJCE_PROVIDER_JAR_UNSIGNED) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
539 |
$(install-file) |
12892 | 540 |
endif |
541 |
||
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
542 |
########################################################################################## |
12892 | 543 |
|
14231 | 544 |
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
|
545 |
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
|
546 |
|
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
547 |
ifneq ($(BUILD_CRYPTO),no) |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
548 |
$(eval $(call SetupArchive,BUILD_JCE_JAR,,\ |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
549 |
SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
550 |
SUFFIXES:=.class,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
551 |
INCLUDES:= javax/crypto sun/security/internal,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
552 |
JAR:=$(JCE_JAR_UNSIGNED), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
553 |
MANIFEST:=$(JCE_MANIFEST), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
554 |
SKIP_METAINF := true)) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
555 |
|
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
556 |
$(JCE_JAR_UNSIGNED): $(JCE_MANIFEST) |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
557 |
|
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
558 |
JARS += $(JCE_JAR_UNSIGNED) |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
559 |
endif |
12892 | 560 |
|
561 |
ifndef OPENJDK |
|
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
562 |
JCE_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/jce/jce.jar |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
563 |
$(JCE_JAR_DST) : $(JCE_JAR_SRC) |
14231 | 564 |
@$(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
|
565 |
$(install-file) |
12892 | 566 |
else |
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
567 |
$(JCE_JAR_DST) : $(JCE_JAR_UNSIGNED) |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
568 |
$(install-file) |
12892 | 569 |
endif |
570 |
||
571 |
########################################################################################## |
|
572 |
||
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
573 |
US_EXPORT_POLICY_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/security/US_export_policy.jar |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
574 |
US_EXPORT_POLICY_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/US_export_policy.jar |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
575 |
|
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
576 |
ifneq ($(BUILD_CRYPTO),no) |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
577 |
# |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
578 |
# TODO fix so that SetupArchive does not write files into SRCS |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
579 |
# then we don't need this extra copying |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
580 |
|
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
581 |
# NOTE: We currently do not place restrictions on our limited export |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
582 |
# policy. This was not a typo. |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
583 |
# |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
584 |
US_EXPORT_POLICY_JAR_SRC_DIR := $(JDK_TOPDIR)/make/javax/crypto/policy/unlimited |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
585 |
US_EXPORT_POLICY_JAR_TMP := $(IMAGES_OUTPUTDIR)/US_export_policy_jar.tmp |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
586 |
|
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
587 |
$(US_EXPORT_POLICY_JAR_TMP)/% : $(US_EXPORT_POLICY_JAR_SRC_DIR)/% |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
588 |
$(install-file) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
589 |
|
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
590 |
US_EXPORT_POLICY_JAR_DEPS := $(US_EXPORT_POLICY_JAR_TMP)/default_US_export.policy |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
591 |
|
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
592 |
$(eval $(call SetupArchive,BUILD_US_EXPORT_POLICY_JAR,$(US_EXPORT_POLICY_JAR_DEPS),\ |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
593 |
SRCS:=$(US_EXPORT_POLICY_JAR_TMP), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
594 |
SUFFIXES:= .policy,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
595 |
JAR:=$(US_EXPORT_POLICY_JAR_UNSIGNED), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
596 |
EXTRA_MANIFEST_ATTR := Crypto-Strength: unlimited, \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
597 |
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
|
598 |
|
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
599 |
JARS += $(US_EXPORT_POLICY_JAR_UNSIGNED) |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
600 |
endif |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
601 |
|
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
602 |
ifndef OPENJDK |
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
603 |
$(US_EXPORT_POLICY_JAR_DST): $(JDK_TOPDIR)/make/closed/tools/crypto/jce/US_export_policy.jar |
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
604 |
$(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
|
605 |
$(install-file) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
606 |
else |
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
607 |
$(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
|
608 |
$(install-file) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
609 |
endif |
12892 | 610 |
|
611 |
########################################################################################## |
|
612 |
||
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
613 |
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
|
614 |
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
|
615 |
|
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
616 |
ifneq ($(BUILD_CRYPTO),no) |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
617 |
# |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
618 |
# TODO fix so that SetupArchive does not write files into SRCS |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
619 |
# then we don't need this extra copying |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
620 |
# |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
621 |
LOCAL_POLICY_JAR_TMP := $(IMAGES_OUTPUTDIR)/local_policy_jar.tmp |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
622 |
|
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
623 |
ifeq ($(UNLIMITED_CRYPTO), true) |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
624 |
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
|
625 |
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
|
626 |
LOCAL_POLICY_JAR_ATTR := Crypto-Strength: unlimited |
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
627 |
else |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
628 |
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
|
629 |
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
|
630 |
$(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
|
631 |
LOCAL_POLICY_JAR_ATTR := Crypto-Strength: limited |
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
632 |
endif |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
633 |
|
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
634 |
$(LOCAL_POLICY_JAR_TMP)/% : $(LOCAL_POLICY_JAR_SRC_DIR)/% |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
635 |
$(install-file) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
636 |
|
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
637 |
$(eval $(call SetupArchive,BUILD_LOCAL_POLICY_JAR,$(LOCAL_POLICY_JAR_DEPS),\ |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
638 |
SRCS:=$(LOCAL_POLICY_JAR_TMP),\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
639 |
SUFFIXES:= .policy,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
640 |
JAR:=$(LOCAL_POLICY_JAR_UNSIGNED), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
641 |
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
|
642 |
SKIP_METAINF := true)) |
12892 | 643 |
|
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
644 |
JARS += $(LOCAL_POLICY_JAR_UNSIGNED) |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
645 |
endif |
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
646 |
|
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
647 |
ifndef OPENJDK |
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
648 |
$(LOCAL_POLICY_JAR_DST): $(JDK_TOPDIR)/make/closed/tools/crypto/jce/local_policy.jar |
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
649 |
$(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
|
650 |
$(install-file) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
651 |
else |
17957
1a51992c6097
8010785: JDK 8 build on Linux fails with new build mechanism
erikj
parents:
17493
diff
changeset
|
652 |
$(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
|
653 |
$(install-file) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
654 |
endif |
12892 | 655 |
|
656 |
########################################################################################## |
|
657 |
||
13164 | 658 |
ifeq ($(OPENJDK_TARGET_OS),windows) |
12892 | 659 |
|
14231 | 660 |
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
|
661 |
SUNMSCAPI_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/sunmscapi.jar |
12892 | 662 |
|
14231 | 663 |
$(eval $(call SetupArchive,BUILD_SUNMSCAPI_JAR,,\ |
12892 | 664 |
SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
665 |
SUFFIXES:=.class,\ |
|
666 |
INCLUDES:= sun/security/mscapi,\ |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
667 |
JAR:=$(SUNMSCAPI_JAR_UNSIGNED), \ |
15137
1ad653469ebc
8006296: build-infra: Unsigned sunmscapi.jar is missing manifest.
erikj
parents:
15133
diff
changeset
|
668 |
MANIFEST:=$(JCE_MANIFEST), \ |
13702 | 669 |
SKIP_METAINF:=true)) |
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
670 |
|
15137
1ad653469ebc
8006296: build-infra: Unsigned sunmscapi.jar is missing manifest.
erikj
parents:
15133
diff
changeset
|
671 |
$(SUNMSCAPI_JAR_UNSIGNED): $(JCE_MANIFEST) |
1ad653469ebc
8006296: build-infra: Unsigned sunmscapi.jar is missing manifest.
erikj
parents:
15133
diff
changeset
|
672 |
|
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
673 |
ifndef OPENJDK |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
674 |
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
|
675 |
$(SUNMSCAPI_JAR_DST) : $(SUNMSCAPI_JAR_SRC) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
676 |
@$(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
|
677 |
$(install-file) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
678 |
else |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
679 |
$(SUNMSCAPI_JAR_DST) : $(SUNMSCAPI_JAR_UNSIGNED) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
680 |
$(install-file) |
12892 | 681 |
endif |
682 |
||
15681 | 683 |
JARS += $(SUNMSCAPI_JAR_UNSIGNED) |
12892 | 684 |
|
685 |
endif |
|
686 |
||
687 |
########################################################################################## |
|
688 |
||
13164 | 689 |
ifeq ($(OPENJDK_TARGET_OS),solaris) |
12892 | 690 |
ifndef OPENJDK |
691 |
||
14231 | 692 |
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
|
693 |
UCRYPTO_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/ucrypto.jar |
12892 | 694 |
UCRYPTO_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/ucrypto/ucrypto.jar |
695 |
||
15128
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
696 |
$(eval $(call SetupArchive,BUILD_UCRYPTO_JAR,,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
697 |
SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
698 |
SUFFIXES:=.class,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
699 |
INCLUDES:=com/oracle/security/ucrypto,\ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
700 |
JAR:=$(UCRYPTO_JAR_UNSIGNED), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
701 |
MANIFEST:=$(JCE_MANIFEST), \ |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
702 |
SKIP_METAINF:=true)) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
703 |
|
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
704 |
$(UCRYPTO_JAR_UNSIGNED): $(JCE_MANIFEST) |
296bb1620e00
8005355: build-infra: Java security signing (need a top-level make target).
erikj
parents:
15126
diff
changeset
|
705 |
|
12892 | 706 |
$(UCRYPTO_JAR_DST) : $(UCRYPTO_JAR_SRC) |
14231 | 707 |
@$(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
|
708 |
$(install-file) |
12892 | 709 |
|
18573 | 710 |
JARS += $(UCRYPTO_JAR_UNSIGNED) |
12892 | 711 |
|
712 |
endif |
|
713 |
endif |
|
714 |
||
715 |
########################################################################################## |
|
716 |
||
13583 | 717 |
# Get the CLDRVERSION |
718 |
include GensrcCLDR.gmk |
|
719 |
||
14231 | 720 |
CLDRDATA_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/cldrdata.jar |
13583 | 721 |
|
14231 | 722 |
$(eval $(call SetupArchive,BUILD_CLDRDATA_JAR,,\ |
13583 | 723 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
724 |
SUFFIXES:=.class,\ |
|
725 |
INCLUDES:=sun/text/resources/cldr \ |
|
726 |
sun/util/cldr \ |
|
727 |
sun/util/resources/cldr,\ |
|
728 |
EXCLUDES:=sun/util/cldr/CLDRLocaleProviderAdapter,\ |
|
729 |
JAR:=$(CLDRDATA_JAR_DST),\ |
|
730 |
EXTRA_MANIFEST_ATTR:=CLDR-Version: $(CLDRVERSION),\ |
|
731 |
SKIP_METAINF:=true)) |
|
732 |
||
733 |
########################################################################################## |
|
734 |
||
12892 | 735 |
TOOLS_JAR_INCLUDES := \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
736 |
com/sun/codemodel \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
737 |
com/sun/istack/internal/tools \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
738 |
com/sun/jarsigner \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
739 |
com/sun/javadoc \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
740 |
com/sun/jdi \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
741 |
com/sun/source \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
742 |
com/sun/tools/attach \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
743 |
com/sun/tools/classfile \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
744 |
com/sun/tools/corba \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
745 |
com/sun/tools/doclets \ |
14902 | 746 |
com/sun/tools/doclint \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
747 |
com/sun/tools/example/debug/expr \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
748 |
com/sun/tools/example/debug/tty \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
749 |
com/sun/tools/extcheck \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
750 |
com/sun/tools/hat \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
751 |
com/sun/tools/internal/jxc \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
752 |
com/sun/tools/internal/jxc/ap \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
753 |
com/sun/tools/internal/ws \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
754 |
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
|
755 |
com/sun/tools/internal/xjc \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
756 |
com/sun/tools/javac \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
757 |
com/sun/tools/javadoc \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
758 |
com/sun/tools/javah \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
759 |
com/sun/tools/javap \ |
14994
a544909d1d1c
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
14902
diff
changeset
|
760 |
com/sun/tools/jdeps \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
761 |
com/sun/tools/jdi \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
762 |
com/sun/tools/script/shell \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
763 |
com/sun/xml/internal/dtdparser \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
764 |
com/sun/xml/internal/rngom \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
765 |
com/sun/xml/internal/xsom \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
766 |
org/relaxng/datatype \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
767 |
sun/applet \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
768 |
sun/jvmstat \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
769 |
sun/rmi/rmic \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
770 |
sun/security/tools/jarsigner \ |
12892 | 771 |
sun/tools/asm \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
772 |
sun/tools/attach \ |
12892 | 773 |
sun/tools/jar \ |
774 |
sun/tools/java \ |
|
775 |
sun/tools/javac \ |
|
776 |
sun/tools/jcmd \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
777 |
sun/tools/jinfo \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
778 |
sun/tools/jmap \ |
12892 | 779 |
sun/tools/jps \ |
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
780 |
sun/tools/jstack \ |
12892 | 781 |
sun/tools/jstat \ |
782 |
sun/tools/jstatd \ |
|
783 |
sun/tools/native2ascii \ |
|
784 |
sun/tools/serialver \ |
|
785 |
sun/tools/tree \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
786 |
sun/tools/util |
12892 | 787 |
|
14231 | 788 |
# The sjavac tools is not ready for public consumption. |
789 |
TOOLS_JAR_EXCLUDES=com/sun/tools/sjavac |
|
790 |
||
791 |
$(eval $(call SetupArchive,BUILD_TOOLS_JAR,,\ |
|
12892 | 792 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
793 |
SUFFIXES:=.class .prp .gif .properties .xml .css .xsd .js .html .txt .java \ |
|
794 |
Tool aliasmap options,\ |
|
795 |
INCLUDES:=$(TOOLS_JAR_INCLUDES),\ |
|
14231 | 796 |
EXCLUDES:=$(TOOLS_JAR_EXCLUDES),\ |
12892 | 797 |
EXTRA_FILES:=META-INF/services/com.sun.jdi.connect.Connector \ |
798 |
META-INF/services/com.sun.jdi.connect.spi.TransportService \ |
|
799 |
META-INF/services/com.sun.tools.attach.spi.AttachProvider \ |
|
800 |
META-INF/services/com.sun.tools.internal.ws.wscompile.Plugin \ |
|
801 |
META-INF/services/com.sun.tools.internal.xjc.Plugin,\ |
|
14231 | 802 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/tools.jar,\ |
13164 | 803 |
SKIP_METAINF:=true, \ |
804 |
CHECK_COMPRESS_JAR:=true)) |
|
12892 | 805 |
|
806 |
||
807 |
########################################################################################## |
|
808 |
||
13702 | 809 |
include javadoc/CORE_PKGS.gmk |
810 |
include javadoc/NON_CORE_PKGS.gmk |
|
12892 | 811 |
|
812 |
# The compiler should not issue a "Proprietary" warning when compiling |
|
813 |
# classes in the com.sun.java.swing.plaf packages, since we've always |
|
814 |
# allowed, and even advocated, extending them (see bug 6476749). |
|
815 |
# |
|
816 |
# This approach is NOT to be used as a general purpose way to avoid such |
|
817 |
# compiler warnings for non-core packages. The correct way is to document |
|
818 |
# the packages in NON_CORE_PKGS.gmk, and include them in the NON_CORE_PKGS |
|
819 |
# definition. |
|
820 |
# |
|
821 |
# Swing has taken this approach only as a temporary measure to avoid |
|
822 |
# the compiler warnings until we can properly document these packages. |
|
823 |
# This is covered under 6491853. |
|
824 |
EXCLUDE_PROPWARN_PKGS = com.sun.java.swing.plaf.windows \ |
|
825 |
com.sun.java.swing.plaf.motif \ |
|
826 |
com.sun.java.swing.plaf.gtk |
|
827 |
||
828 |
# |
|
829 |
# Include the exported private packages in ct.sym. |
|
830 |
# This is an interim solution until the ct.sym is replaced |
|
831 |
# with a new module system (being discussed for JDK 8). |
|
832 |
# |
|
16507 | 833 |
EXPORTED_PRIVATE_PKGS = com.oracle.net \ |
12892 | 834 |
com.oracle.nio |
835 |
||
14231 | 836 |
$(IMAGES_OUTPUTDIR)/symbols/_the.symbols: $(IMAGES_OUTPUTDIR)/lib/rt.jar |
13702 | 837 |
$(RM) -r $(IMAGES_OUTPUTDIR)/symbols/META-INF/sym |
12892 | 838 |
$(MKDIR) -p $(IMAGES_OUTPUTDIR)/symbols/META-INF/sym |
15402
ce612878e7aa
8006872: Stop creating four jars with identical content in the new build system.
ohrstrom
parents:
15335
diff
changeset
|
839 |
$(JAVA) $(NEW_JAVAC) \ |
14790
9d42784b1823
8004803: build-infra: Cannot use icedtea as boot for closed build.
erikj
parents:
14596
diff
changeset
|
840 |
-bootclasspath $(JDK_OUTPUTDIR)/classes \ |
12892 | 841 |
-XDprocess.packages -proc:only \ |
842 |
-processor com.sun.tools.javac.sym.CreateSymbols \ |
|
14231 | 843 |
-Acom.sun.tools.javac.sym.Jar=$(IMAGES_OUTPUTDIR)/lib/rt.jar \ |
12892 | 844 |
-Acom.sun.tools.javac.sym.Dest=$(IMAGES_OUTPUTDIR)/symbols/META-INF/sym/rt.jar \ |
15681 | 845 |
-Acom.sun.tools.javac.sym.Profiles=profile-rtjar-includes.txt \ |
12892 | 846 |
$(CORE_PKGS) $(NON_CORE_PKGS) $(EXCLUDE_PROPWARN_PKGS) $(EXPORTED_PRIVATE_PKGS) |
847 |
$(TOUCH) $@ |
|
848 |
||
15126
bceb690ccf35
8005540: build-infra: Improve incremental build speed on windows by caching find results
erikj
parents:
14790
diff
changeset
|
849 |
$(eval $(call MakeDir,$(IMAGES_OUTPUTDIR)/symbols)) |
12892 | 850 |
$(eval $(call SetupArchive,BUILD_CT_SYM,$(IMAGES_OUTPUTDIR)/symbols/_the.symbols,\ |
851 |
SRCS:=$(IMAGES_OUTPUTDIR)/symbols,\ |
|
852 |
INCLUDES:=META-INF/sym,\ |
|
14231 | 853 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/ct.sym, \ |
13164 | 854 |
CHECK_COMPRESS_JAR:=true)) |
12892 | 855 |
|
856 |
||
857 |
########################################################################################## |
|
858 |
||
859 |
SRC_ZIP_INCLUDES = \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
860 |
com/sun/corba \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
861 |
com/sun/image/codec/jpeg \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
862 |
com/sun/imageio \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
863 |
com/sun/java_cup \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
864 |
com/sun/javadoc \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
865 |
com/sun/java/swing \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
866 |
com/sun/jmx \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
867 |
com/sun/naming \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
868 |
com/sun/org/apache \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
869 |
com/sun/security/auth \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
870 |
com/sun/security/jgss \ |
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
871 |
com/sun/source \ |
20324 | 872 |
java \ |
12892 | 873 |
javax/accessibility \ |
874 |
javax/annotation \ |
|
875 |
javax/imageio \ |
|
876 |
javax/lang \ |
|
877 |
javax/management \ |
|
878 |
javax/naming \ |
|
879 |
javax/print \ |
|
880 |
javax/rmi \ |
|
15130
14a47a69bc62
8005694: build-infra: Cleanup of misc changes in build-infra
erikj
parents:
15128
diff
changeset
|
881 |
javax/script \ |
12892 | 882 |
javax/security \ |
883 |
javax/sound \ |
|
884 |
javax/sql \ |
|
885 |
javax/swing \ |
|
886 |
javax/tools \ |
|
887 |
javax/xml \ |
|
888 |
org/ietf \ |
|
889 |
org/omg \ |
|
890 |
org/w3c/dom \ |
|
13702 | 891 |
org/xml/sax \ |
20324 | 892 |
# |
12892 | 893 |
|
13702 | 894 |
SRC_ZIP_SRCS = $(JDK_TOPDIR)/src/share/classes $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/classes |
12892 | 895 |
SRC_ZIP_SRCS += $(JDK_OUTPUTDIR)/gensrc |
896 |
SRC_ZIP_SRCS += $(JDK_OUTPUTDIR)/impsrc |
|
897 |
SRC_ZIP_SRCS += $(JDK_OUTPUTDIR)/gendocsrc_rmic |
|
898 |
ifndef OPENJDK |
|
899 |
SRC_ZIP_SRCS += $(JDK_TOPDIR)/src/closed/share/classes |
|
900 |
endif |
|
901 |
||
902 |
# Need to copy launcher src files into desired directory structure |
|
903 |
# before zipping the sources. |
|
904 |
LAUNCHER_SRC_FILES := $(wildcard $(JDK_TOPDIR)/src/share/bin/*) \ |
|
13702 | 905 |
$(wildcard $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/bin/java_md*) |
12892 | 906 |
LAUNCHER_ZIP_SRC := $(patsubst $(JDK_TOPDIR)/src/share/bin/%,$(IMAGES_OUTPUTDIR)/src/launcher/%,\ |
13702 | 907 |
$(patsubst $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/bin/%,$(IMAGES_OUTPUTDIR)/src/launcher/%,\ |
12892 | 908 |
$(LAUNCHER_SRC_FILES))) |
909 |
||
910 |
$(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
|
911 |
$(install-file) |
12892 | 912 |
|
13702 | 913 |
$(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
|
914 |
$(install-file) |
12892 | 915 |
|
916 |
$(IMAGES_OUTPUTDIR)/src.zip: $(LAUNCHER_ZIP_SRC) |
|
917 |
||
14231 | 918 |
# This dir needs to exist before macro is evaluated to avoid warning from find. |
919 |
$(eval $(call MakeDir,$(IMAGES_OUTPUTDIR)/src)) |
|
12892 | 920 |
$(eval $(call SetupZipArchive,BUILD_SRC_ZIP,\ |
921 |
SRC:=$(SRC_ZIP_SRCS) $(IMAGES_OUTPUTDIR)/src,\ |
|
922 |
INCLUDES:=$(SRC_ZIP_INCLUDES) launcher,\ |
|
14231 | 923 |
EXCLUDES:=javax/swing/beaninfo,\ |
12892 | 924 |
SUFFIXES:=.java .c .h,\ |
925 |
ZIP:=$(IMAGES_OUTPUTDIR)/src.zip,\ |
|
926 |
EXTRA_DEPS:=$(LAUNCHER_ZIP_SRC))) |
|
927 |
||
928 |
########################################################################################## |
|
929 |
||
15324
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
930 |
ifndef OPENJDK |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
931 |
ifeq ($(OPENJDK_TARGET_OS), windows) |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
932 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
933 |
$(eval $(call SetupArchive,BUILD_JACCESS_JAR,,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
934 |
SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
935 |
INCLUDES:=com/sun/java/accessibility/util,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
936 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/ext/jaccess.jar,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
937 |
SKIP_METAINF:=true)) |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
938 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
939 |
JARS += $(IMAGES_OUTPUTDIR)/lib/ext/jaccess.jar |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
940 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
941 |
ifeq ($(OPENJDK_TARGET_CPU_BITS), 32) |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
942 |
$(eval $(call SetupArchive,BUILD_ACCESSBRIDGE_32_JAR,,\ |
20171
099045062d79
8025160: Recent Java Accessibility Bridge push has make failures
ptbrunet
parents:
19837
diff
changeset
|
943 |
SRCS:=$(JDK_OUTPUTDIR)/classes_ab/32bit,\ |
15324
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
944 |
INCLUDES:=com/sun/java/accessibility,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
945 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/ext/access-bridge-32.jar,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
946 |
SKIP_METAINF:=true)) |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
947 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
948 |
$(eval $(call SetupArchive,BUILD_ACCESSBRIDGE_LEGACY_JAR,,\ |
20171
099045062d79
8025160: Recent Java Accessibility Bridge push has make failures
ptbrunet
parents:
19837
diff
changeset
|
949 |
SRCS:=$(JDK_OUTPUTDIR)/classes_ab/legacy,\ |
15324
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
950 |
INCLUDES:=com/sun/java/accessibility,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
951 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/ext/access-bridge.jar,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
952 |
SKIP_METAINF:=true)) |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
953 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
954 |
JARS += $(IMAGES_OUTPUTDIR)/lib/ext/access-bridge-32.jar \ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
955 |
$(IMAGES_OUTPUTDIR)/lib/ext/access-bridge.jar |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
956 |
else |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
957 |
$(eval $(call SetupArchive,BUILD_ACCESSBRIDGE_64_JAR,,\ |
20171
099045062d79
8025160: Recent Java Accessibility Bridge push has make failures
ptbrunet
parents:
19837
diff
changeset
|
958 |
SRCS:=$(JDK_OUTPUTDIR)/classes_ab/64bit,\ |
15324
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
959 |
INCLUDES:=com/sun/java/accessibility,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
960 |
JAR:=$(IMAGES_OUTPUTDIR)/lib/ext/access-bridge-64.jar,\ |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
961 |
SKIP_METAINF:=true)) |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
962 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
963 |
JARS += $(IMAGES_OUTPUTDIR)/lib/ext/access-bridge-64.jar |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
964 |
endif |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
965 |
endif |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
966 |
endif |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
967 |
|
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
968 |
########################################################################################## |
74584166bb07
8000839: Integrate the Java Access Bridge with Java Runtime
raginip
parents:
14996
diff
changeset
|
969 |
|
14596
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 |
# 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
|
972 |
# 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
|
973 |
# |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
974 |
$(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
|
975 |
$(JAR) cfm $@ $< |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
976 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
977 |
########################################################################################## |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
978 |
|
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/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
|
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 |
########################################################################################## |
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 |
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
|
985 |
$(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
|
986 |
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
|
987 |
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
|
988 |
JARINDEX:=true)) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
989 |
endif |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
990 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
991 |
########################################################################################## |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
992 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
993 |
ifndef OPENJDK |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
994 |
$(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
|
995 |
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
|
996 |
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
|
997 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
998 |
endif |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
999 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1000 |
########################################################################################## |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1001 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1002 |
# 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
|
1003 |
# 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
|
1004 |
# 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
|
1005 |
$(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
|
1006 |
$(install-file) |
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1007 |
|
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1008 |
########################################################################################## |
15131 | 1009 |
# |
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
|
1010 |
# 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
|
1011 |
# |
15131 | 1012 |
$(eval $(call SetupZipArchive,BUILD_SEC_BIN_ZIP,\ |
1013 |
SRC:=$(JDK_OUTPUTDIR),\ |
|
1014 |
INCLUDES:=classes/javax/net \ |
|
1015 |
classes/javax/security/cert \ |
|
1016 |
classes/com/sun/net/ssl \ |
|
1017 |
classes/com/sun/security/cert \ |
|
1018 |
classes/sun/net/www/protocol/https \ |
|
1019 |
classes/sun/security/pkcs12 \ |
|
1020 |
classes/sun/security/ssl \ |
|
1021 |
classes/sun/security/krb5 \ |
|
1022 |
classes/sun/security/krb5/internal \ |
|
1023 |
classes/sun/security/krb5/internal/ccache \ |
|
1024 |
classes/sun/security/krb5/internal/crypto \ |
|
1025 |
classes/sun/security/krb5/internal/ktab \ |
|
1026 |
classes/sun/security/krb5/internal/rcache \ |
|
1027 |
classes/sun/security/krb5/internal/util,\ |
|
1028 |
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
|
1029 |
EXCLUDES:=classes/sun/security/krb5/internal/tools,\ |
15131 | 1030 |
ZIP:=$(IMAGES_OUTPUTDIR)/sec-bin.zip)) |
1031 |
||
1032 |
JARS += $(IMAGES_OUTPUTDIR)/sec-bin.zip |
|
1033 |
||
1034 |
########################################################################################## |
|
15132
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1035 |
# |
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 |
# 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
|
1037 |
# |
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 |
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
|
1039 |
# 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
|
1040 |
$(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
|
1041 |
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
|
1042 |
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
|
1043 |
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
|
1044 |
|
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1045 |
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
|
1046 |
|
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1047 |
# 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
|
1048 |
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
|
1049 |
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
|
1050 |
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
|
1051 |
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
|
1052 |
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
|
1053 |
|
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1054 |
$(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
|
1055 |
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
|
1056 |
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
|
1057 |
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
|
1058 |
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
|
1059 |
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
|
1060 |
|
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1061 |
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
|
1062 |
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
|
1063 |
|
81c49c63a316
8005723: build-infra: in new infra build, sec-windows-bin-zip and jgss-windows-*-bin.zip are missing
erikj
parents:
15131
diff
changeset
|
1064 |
########################################################################################## |
14596
a1f29d55b5ee
8004281: build-infra: Move all jar creation to images target and put jars in images/lib
erikj
parents:
14527
diff
changeset
|
1065 |
|
16029 | 1066 |
# Import nashorn.jar from nashorn dist dir. |
1067 |
$(IMAGES_OUTPUTDIR)/lib/ext/nashorn.jar: $(NASHORN_DIST)/nashorn.jar |
|
1068 |
$(install-file) |
|
1069 |
||
1070 |
########################################################################################## |
|
1071 |
||
13702 | 1072 |
-include $(CUSTOM_MAKE_DIR)/CreateJars.gmk |
1073 |
||
1074 |
########################################################################################## |
|
1075 |
||
12892 | 1076 |
all: $(JARS) |
1077 |
||
1078 |
.PHONY: default all |